@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Premium Obsidian & Emerald/Mint Palette (Cyberpunk Luxury) */
  --bg-color: #010302;
  --panel-bg: rgba(3, 7, 5, 0.86); /* Pure dark obsidian glass */
  --panel-bg-hover: rgba(5, 12, 8, 0.9);
  --primary-color: #059669; /* Rich Emerald */
  --primary-hover: #10b981; /* Glowing Emerald */
  --primary-glow: rgba(16, 185, 129, 0.25);
  --accent-neon: #34d399; /* Bright Cyber Mint */
  --text-primary: #ffffff;
  --text-secondary: #a7f3d0; /* Soft mint text */
  --text-muted: #15803d; /* Forest green quiet text */
  --border-light: rgba(52, 211, 153, 0.16); /* Subtle green border */
  --border-highlight: rgba(52, 211, 153, 0.32); /* Glowing green outline */
  
  /* Luxury Shadows & Neon Glows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 20px 45px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 35px 70px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 30px rgba(52, 211, 153, 0.2);
  --shadow-neon-red: 0 0 15px rgba(239, 68, 68, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Body with Visible & Detailed ASCII Code Matrix Background */
body {
  font-family: 'Manrope', 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 30% 25%, rgba(16, 185, 129, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 80% 75%, rgba(16, 185, 129, 0.18) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Ctext x='10' y='30' fill='%2310b981' font-family='monospace' font-size='12' font-weight='bold' opacity='0.16'%3E+ + + x x / / - -%3C/text%3E%3Ctext x='10' y='65' fill='%2334d399' font-family='monospace' font-size='12' font-weight='bold' opacity='0.22'%3E+ + + + + + + + +%3C/text%3E%3Ctext x='10' y='100' fill='%2310b981' font-family='monospace' font-size='12' font-weight='bold' opacity='0.16'%3E+ + X X / / / /%3C/text%3E%3Ctext x='10' y='135' fill='%2334d399' font-family='monospace' font-size='12' font-weight='bold' opacity='0.22'%3E+ X X / / / / / -%3C/text%3E%3C/svg%3E");
  background-size: cover, cover, 140px 140px;
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Elegant Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb {
  background: rgba(52, 211, 153, 0.25);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(52, 211, 153, 0.45);
}

/* Fine Digital Grid Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: 
    linear-gradient(rgba(52, 211, 153, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* Premium Frosted Glassmorphism Panel with glowing mint borders */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--border-light);
  border-top: 1px solid rgba(52, 211, 153, 0.35);
  border-left: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  background: var(--panel-bg-hover);
  border-color: rgba(52, 211, 153, 0.45);
  border-top-color: rgba(52, 211, 153, 0.6);
  border-left-color: rgba(52, 211, 153, 0.48);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Solid Panel (no backdrop-filter blur) */
.solid-panel {
  background: rgba(3, 7, 5, 0.98); 
  border: 1px solid var(--border-light);
  border-top: 1px solid rgba(52, 211, 153, 0.35);
  border-left: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.solid-panel:hover {
  border-color: rgba(52, 211, 153, 0.45);
  border-top-color: rgba(52, 211, 153, 0.6);
  border-left-color: rgba(52, 211, 153, 0.48);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Modern Editorial Typography (Geometric & Luxury) */
h1, h2, h3, .lesson-title, .stat-value, .hero-title-clipped, .hero-title-solid {
  font-family: 'Montserrat', 'Manrope', sans-serif;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 {
  font-size: 2.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

h2 {
  font-size: 1.6rem;
  color: #fff;
}

h3 {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
}
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Premium Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #059669, #064e3b);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 10px 25px rgba(4, 120, 87, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(4, 120, 87, 0.5), var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, var(--accent-neon), #047857);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-2px);
}

/* Premium Buttons for Landing (Tracking & High-End Style) */
.btn-premium-primary {
  background: linear-gradient(135deg, #10b981, #065f46);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.btn-premium-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.5), var(--shadow-glow);
}

.btn-premium-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.btn-premium-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(52, 211, 153, 0.45);
  transform: translateY(-3px);
}

/* Inputs & Form Controls */
.input-group {
  margin-bottom: 1.75rem;
}
.input-group label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.input-control {
  width: 100%;
  padding: 1rem 1.4rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
.input-control:focus {
  outline: none;
  border-color: var(--accent-neon);
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), inset 0 2px 4px rgba(0,0,0,0.3);
}

/* Calendar Grid */
.calendar-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: rgba(2, 5, 3, 0.5);
  box-shadow: var(--shadow-md);
}
.calendar-header-row {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--border-light);
}
.calendar-header {
  padding: 1.4rem 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}
.calendar-time-col {
  padding: 1.4rem 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
}
.calendar-body {
  position: relative;
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  height: 840px; /* 14 hours * 60px */
  overflow-y: auto;
}
.calendar-time-col-container {
  border-right: 1px solid var(--border-light);
  position: relative;
  background: rgba(255, 255, 255, 0.003);
}
.calendar-time-label {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transform: translateY(-50%);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.calendar-day-col {
  position: relative;
  border-right: 1px solid var(--border-light);
}
.calendar-day-col:last-child {
  border-right: none;
}
.calendar-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(52, 211, 153, 0.03);
  pointer-events: none;
}

/* Premium Time Line with Glowing Neon Indicator */
.current-time-line {
  position: absolute;
  left: 80px;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ef4444 0%, rgba(239, 68, 68, 0.15) 100%);
  z-index: 50;
  pointer-events: none;
  box-shadow: var(--shadow-neon-red);
}
.current-time-dot {
  position: absolute;
  left: -6px;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444;
  border: 2px solid #fff;
}

/* Exquisite Lesson Card Design */
.lesson-card {
  position: absolute;
  left: 8px;
  right: 8px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12) 0%, rgba(6, 78, 59, 0.02) 100%);
  border-left: 3px solid var(--accent-neon);
  border-top: 1px solid rgba(52, 211, 153, 0.12);
  border-right: 1px solid rgba(52, 211, 153, 0.04);
  border-bottom: 1px solid rgba(52, 211, 153, 0.04);
  border-radius: 12px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.lesson-card:hover {
  z-index: 20;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), var(--shadow-glow);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(6, 78, 59, 0.06) 100%);
  border-top-color: rgba(52, 211, 153, 0.3);
}
.lesson-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}
.lesson-time {
  color: var(--accent-neon);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-family: 'Montserrat', sans-serif;
}

/* Premium Avatars */
.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid rgba(52, 211, 153, 0.2);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  padding: 5px;
  background: rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}
.avatar:hover {
  transform: rotate(5deg) scale(1.05);
}
.avatar-small {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 2px;
  background: rgba(0,0,0,0.2);
}

/* Elegant Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent-neon);
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.05);
  font-family: 'Montserrat', sans-serif;
}

/* Luxury Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  background: rgba(2, 5, 3, 0.9);
  width: 100%;
  max-width: 600px;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border: 1px solid var(--border-light);
  border-top: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.95);
  border-radius: 28px;
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Navigation Tabs (Montserrat wide letters like SMART MANAGEMENT) */
.tabs {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(52, 211, 153, 0.1);
  padding-bottom: 2px;
}
.tab {
  padding: 0.85rem 0;
  cursor: pointer;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
}
.tab:hover {
  color: #fff;
}
.tab.active {
  color: var(--accent-neon);
  border-bottom-color: var(--accent-neon);
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}

/* Interactive Materials Link Item */
.link-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem;
  background: rgba(255,255,255,0.01);
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-primary);
  text-decoration: none;
}
.link-item:hover {
  background: rgba(52, 211, 153, 0.05);
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateX(10px) translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3), var(--shadow-glow);
}

/* Sidebar CRM List */
.student-list-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(52, 211, 153, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  margin-bottom: 0.4rem;
}
.student-list-item:hover {
  background: rgba(52, 211, 153, 0.06);
  border-left: 3px solid var(--accent-neon);
  transform: translateX(4px);
}
.student-list-item:last-child {
  border-bottom: none;
}

/* Dashboard Statistics Cards (Student Panel) */
.stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.002) 100%);
  border: 1px solid rgba(52, 211, 153, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.25);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4), var(--shadow-glow);
}
.stat-value {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 30%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Student Schedule List */
.schedule-item {
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid rgba(52, 211, 153, 0.06);
  border-left: 4px solid var(--primary-hover);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.schedule-item:hover {
  background: rgba(52, 211, 153, 0.03);
  border-color: rgba(52, 211, 153, 0.18);
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}
.time-badge {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--accent-neon);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Micro-animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Luxury Editorial Landing Page (Parity with User Reference Photo)
   ========================================================================== */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.landing-card {
  width: 100%;
  max-width: 1100px;
  height: 620px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border-radius: 32px !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85);
  background: transparent !important; /* Убираем фон с родителя, чтобы панели настраивались раздельно */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.landing-left-pane {
  background: rgba(3, 7, 5, 1) !important; /* Настоящее прозрачное матовое стекло */
  backdrop-filter: blur(40px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(52, 211, 153, 0.15) !important;
  border-top: 1px solid rgba(52, 211, 153, 0.35) !important;
  border-left: 1px solid rgba(52, 211, 153, 0.25) !important;
  border-bottom: 1px solid rgba(52, 211, 153, 0.15) !important;
  border-radius: 32px 0 0 32px !important; /* Скругление углов только с левой стороны */
  position: relative;
  z-index: 2;
}

.landing-right-pane {
  background: rgba(3, 7, 5, 0.67) !important; /* Плотное обсидиановое стекло для легкого чтения */
  backdrop-filter: blur(40px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-top: 1px solid rgba(52, 211, 153, 0.35) !important;
  border-right: 1px solid rgba(52, 211, 153, 0.25) !important;
  border-bottom: 1px solid rgba(52, 211, 153, 0.15) !important;
  border-radius: 0 32px 32px 0 !important; /* Скругление углов только с правой стороны */
  z-index: 1;
}

/* Brand header with high tracked letters */
.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}
.brand-header .social-icons span {
  display: inline-block;
  margin-left: 6px;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s;
}
.brand-header .social-icons span:hover {
  opacity: 1;
}

.hero-text-wrap {
  margin: 2rem 0;
  user-select: none;
}

/* Text coloring changed from clipping of background to a solid premium emerald gradient */
.hero-title-clipped {
  font-size: 5.8rem;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.05em;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.15));
}

.hero-title-solid {
  font-size: 5.8rem;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.05em;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.hero-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* SMART MANAGEMENT beautiful tracked header, fully supporting Cyrillic */
.hero-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--accent-neon);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  max-width: 440px;
}

/* Nav bar styles with beautiful wide fonts */
.landing-nav {
  display: flex;
  gap: 1.75rem;
  justify-content: flex-end;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.landing-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 0.3s;
}
.landing-nav a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(52,211,200,0.4);
}

.landing-student-cta {
  max-width: 360px;
  align-self: flex-end;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}
.landing-student-cta h2 {
  font-size: 1.55rem;
  font-weight: 800;
}
.landing-student-cta p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.landing-slider-nav {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  align-self: flex-end;
}
.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.2);
  transition: all 0.3s;
}
.nav-dot.active {
  background: var(--accent-neon);
  box-shadow: 0 0 8px var(--accent-neon);
  width: 14px;
  border-radius: 3px;
}

/* ==========================================================================
   Iteration 3: Premium Symmetrical Logo & Student Settings / Showcase
   ========================================================================== */

/* Symmetrical Z-axis Logo Container */
.logo-v2-container {
  display: flex;
  flex-direction: column;
  width: 260px; /* Slightly wider */
  gap: 0;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.logo-v2-container .hero-title-clipped,
.logo-v2-container .hero-title-solid {
  font-size: 6.6rem; /* Larger font size */
  line-height: 0.8;
  letter-spacing: -0.05em;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.logo-edu {
  align-self: flex-end;
}

.logo-plat {
  align-self: flex-start;
}

.logo-form {
  align-self: flex-end; /* Highly symmetric zigzag alignment */
}

/* Premium Logout Button (Solid red, stunning neon glow) */
.btn-premium-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%); /* Solid gradient, no transparency */
  color: #ffffff !important;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-premium-logout:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #f87171 0%, #b91c1c 100%);
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.45), 0 0 20px rgba(239, 68, 68, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-premium-logout:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
}

/* Settings & Showcase UI elements */
.settings-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.settings-btn:hover {
  background: rgba(52, 211, 153, 0.12);
  border-color: var(--accent-neon);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Glowing showcased achievements list in profile header */
.showcase-icon-badge {
  font-size: 1.8rem;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.showcase-icon-badge:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--accent-neon);
  box-shadow: var(--shadow-glow), 0 8px 16px rgba(16, 185, 129, 0.15);
}

/* Toggle-card achievements list inside settings modal */
.showcase-toggle-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.showcase-toggle-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.showcase-toggle-card.selected {
  background: rgba(52, 211, 153, 0.08);
  border-color: var(--accent-neon);
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.05);
}

.showcase-toggle-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-neon);
  cursor: pointer;
}

/* Unified Admin Toolbar Buttons */
.toolbar-btn {
  padding: 0.65rem 1.25rem !important;
  font-size: 0.82rem !important;
  border-radius: 14px !important;
  height: auto !important;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
}
.toolbar-btn.active {
  background: linear-gradient(135deg, var(--accent-neon), #047857) !important;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Settings Modal Action Cards */
.settings-action-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.settings-action-card:hover {
  background: rgba(52, 211, 153, 0.06);
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}
.settings-action-card .action-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.08);
  border-radius: 14px;
  flex-shrink: 0;
}
.settings-action-card .action-text h4 {
  color: #fff;
  margin: 0 0 0.2rem 0;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.settings-action-card .action-text p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Adaptive styles for mobile */
@media (max-width: 900px) {
  .landing-card {
    grid-template-columns: 1fr;
    height: auto;
    max-width: 500px;
  }
  .landing-left-pane, .landing-right-pane {
    padding: 2rem;
    align-items: center;
    text-align: center;
  }
  .landing-student-cta {
    align-self: center;
    text-align: center;
    align-items: center;
  }
  .hero-title-clipped, .hero-title-solid {
    font-size: 4rem;
  }
  .landing-nav {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
}
