﻿:root {
      --void: #020408;
      --deep: #050A14;
      --abyss: #08101E;
      --surface: #0D1A2E;
      --elevated: #112238;

      --cyan: #00E5FF;
      --cyan-dim: rgba(0, 229, 255, 0.15);
      --cyan-glow: rgba(0, 229, 255, 0.4);
      --violet: #7B2FFF;
      --violet-dim: rgba(123, 47, 255, 0.15);
      --magenta: #FF2D6B;
      --magenta-dim: rgba(255, 45, 107, 0.15);
      --gold: #FFB020;
      --green: #00FF88;
      --green-dim: rgba(0, 255, 136, 0.12);

      --text-primary: #E8F4FF;
      --text-secondary: rgba(220, 235, 255, 0.85); 
      --text-muted: rgba(180, 200, 230, 0.65); 

      --border: rgba(0, 229, 255, 0.15);
      --border-bright: rgba(0, 229, 255, 0.4);

      --font-display: 'Syne', sans-serif;
      --font-body: 'Space Grotesk', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-padding-top: 80px; scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--void);
      color: var(--text-primary);
      overflow-x: hidden;
      line-height: 1.6;
      opacity: 0;
      transition: opacity 0.6s ease;
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      z-index: 0;
      pointer-events: none;
    }

    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
      );
      z-index: 0;
      pointer-events: none;
    }

    #starfield {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    .star {
      position: absolute;
      background: white;
      border-radius: 50%;
      animation: starPulse var(--dur, 4s) infinite ease-in-out var(--delay, 0s);
    }

    @keyframes starPulse {
      0%, 100% { opacity: 0.15; transform: scale(1); }
      50% { opacity: 0.9; transform: scale(1.5); }
    }

    .nebula {
      position: fixed;
      border-radius: 50%;
      filter: blur(120px);
      z-index: 0;
      pointer-events: none;
      animation: nebulaDrift 25s infinite ease-in-out alternate;
    }
    .nebula-1 { width: 600px; height: 600px; top: -200px; left: -150px; background: radial-gradient(circle, rgba(123,47,255,0.18), transparent 70%); animation-delay: 0s; }
    .nebula-2 { width: 500px; height: 500px; top: 30%; right: -100px; background: radial-gradient(circle, rgba(0,229,255,0.12), transparent 70%); animation-delay: -8s; }
    .nebula-3 { width: 400px; height: 400px; bottom: 10%; left: 30%; background: radial-gradient(circle, rgba(255,45,107,0.1), transparent 70%); animation-delay: -16s; }

    @keyframes nebulaDrift {
      from { transform: translate(0, 0) scale(1); }
      to { transform: translate(40px, 30px) scale(1.1); }
    }

    .navbar {
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      padding: 1rem 0;
      background: rgba(2, 4, 8, 0.7);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-bottom: 1px solid var(--border);
      transition: all 0.4s ease;
    }

    .navbar.scrolled {
      background: rgba(2, 4, 8, 0.92);
      border-bottom-color: var(--border-bright);
      box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
    }

    .navbar::before {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 80px;
      height: 3px;
      background: linear-gradient(90deg, var(--cyan), transparent);
    }
    .navbar::after {
      content: '';
      position: absolute;
      bottom: -1px;
      right: 0;
      width: 80px;
      height: 3px;
      background: linear-gradient(270deg, var(--violet), transparent);
    }

    .nav-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .navbar-brand {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(1rem, 2vw, 1.15rem);
      text-decoration: none;
      color: var(--text-primary);
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      transition: all 0.3s ease;
    }

    .brand-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--cyan);
      box-shadow: 0 0 12px var(--cyan);
      animation: brandPulse 2s infinite ease-in-out;
    }

    @keyframes brandPulse {
      0%, 100% { box-shadow: 0 0 8px var(--cyan); transform: scale(1); }
      50% { box-shadow: 0 0 20px var(--cyan), 0 0 40px rgba(0,229,255,0.3); transform: scale(1.3); }
    }

    .navbar-brand:hover { color: var(--cyan); text-shadow: 0 0 20px var(--cyan-glow); }

    .nav-menu {
      display: flex;
      list-style: none;
      gap: 2rem;
      align-items: center;
    }

    .nav-link {
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: all 0.3s ease;
      position: relative;
    }

    .nav-link::before {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--cyan);
      box-shadow: 0 0 8px var(--cyan);
      transition: width 0.3s ease;
    }

    .nav-link:hover { color: var(--cyan); text-shadow: 0 0 12px var(--cyan-glow); }
    .nav-link:hover::before { width: 100%; }

    .login-btn {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      padding: 0.5rem 1.2rem;
      border: 1px solid var(--border-bright);
      border-radius: 4px;
      color: var(--cyan) !important;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    }

    .login-btn::before { display: none; }
    .login-btn:hover {
      background: var(--cyan-dim);
      border-color: var(--cyan);
      box-shadow: 0 0 20px var(--cyan-glow), inset 0 0 20px rgba(0,229,255,0.05);
      color: var(--cyan) !important;
    }

    .social-icons { display: flex; gap: 0.8rem; margin-left: 1rem; }
    .social-icons a { color: var(--text-muted); font-size: 1.1rem; transition: all 0.3s ease; }
    .social-icons a:hover { color: var(--cyan); text-shadow: 0 0 10px var(--cyan-glow); transform: translateY(-2px); }

    .mobile-menu-toggle {
      display: none;
      background: none;
      border: 1px solid var(--border);
      color: var(--text-primary);
      font-size: 1.2rem;
      cursor: pointer;
      padding: 0.5rem 0.7rem;
      border-radius: 4px;
      transition: all 0.3s ease;
    }
    .mobile-menu-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 9rem 2rem 6rem;
      z-index: 1;
      overflow: hidden;
    }

    .data-streams {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .stream-line {
      position: absolute;
      width: 1px;
      background: linear-gradient(180deg, transparent, var(--cyan), transparent);
      animation: streamFlow var(--d, 6s) infinite linear var(--delay, 0s);
      opacity: 0.3;
    }

    @keyframes streamFlow {
      0% { transform: translateY(-100%); opacity: 0; }
      10% { opacity: 0.4; }
      90% { opacity: 0.4; }
      100% { transform: translateY(100vh); opacity: 0; }
    }

    .hero-content {
      max-width: 1000px;
      margin: 0 auto;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--cyan);
      border: 1px solid var(--border-bright);
      padding: 0.5rem 1.2rem;
      border-radius: 2px;
      margin-bottom: 2.5rem;
      background: rgba(0, 229, 255, 0.04);
      clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
      animation: fadeSlideUp 0.8s ease both;
    }

    .status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 8px var(--green);
      animation: statusBlink 1.5s infinite;
    }

    @keyframes statusBlink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 3.8vw, 3.3rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.02em; 
      margin-bottom: 1.5rem;
      animation: fadeSlideUp 0.8s ease 0.1s both;
    }

    .hero h1 .line-1 { display: block; color: var(--text-primary); }
    .hero h1 .line-2 {
      display: block;
      background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 50%, var(--magenta) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      filter: drop-shadow(0 0 30px rgba(0,229,255,0.3));
    }

    .hero-subtitle {
      font-size: clamp(1rem, 1.8vw, 1.25rem);
      color: var(--text-secondary);
      max-width: 65ch; 
      margin: 0 auto 3rem;
      line-height: 1.8;
      font-weight: 400;
      animation: fadeSlideUp 0.8s ease 0.2s both;
    }

    .gen-ai-insight {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      background: rgba(123, 47, 255, 0.06);
      border: 1px solid rgba(123, 47, 255, 0.3);
      border-radius: 8px;
      padding: 1.4rem 2rem;
      max-width: 75ch; 
      margin: 0 auto 2.5rem;
      text-align: left;
      position: relative;
      overflow: hidden;
      animation: fadeSlideUp 0.8s ease 0.3s both;
      clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    }

    .gen-ai-insight::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(123,47,255,0.08), transparent 60%);
    }

    .gen-ai-insight::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 20px;
      height: 20px;
      border-top: 1px solid rgba(123, 47, 255, 0.6);
      border-right: 1px solid rgba(123, 47, 255, 0.6);
    }

    .gen-ai-icon-box {
      flex-shrink: 0;
      width: 52px;
      height: 52px;
      background: rgba(123, 47, 255, 0.15);
      border: 1px solid rgba(123, 47, 255, 0.5);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      color: var(--violet);
      box-shadow: 0 0 20px rgba(123,47,255,0.2);
      position: relative;
    }

    .gen-ai-content p { margin: 0; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
    .gen-ai-content strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1rem;
      color: var(--text-primary);
      margin-bottom: 0.3rem;
    }

    /* â”€â”€â”€ MODIFIED EQUATION CONTAINER â”€â”€â”€ */
    .equation-container {
      background: rgba(0, 229, 255, 0.03);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 2.2rem 1.5rem; /* Adjusted for mobile breathing room */
      margin: 0 auto 2.5rem;
      max-width: 900px;
      position: relative;
      overflow-x: auto; /* Allows horizontal scroll */
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
      animation: fadeSlideUp 0.8s ease 0.4s both;
    }

    .equation-container::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
      animation: scanLine 3s infinite linear;
    }

    @keyframes scanLine {
      0% { transform: scaleX(0); transform-origin: left; }
      50% { transform: scaleX(1); transform-origin: left; }
      51% { transform: scaleX(1); transform-origin: right; }
      100% { transform: scaleX(0); transform-origin: right; }
    }

    .eq-corner { position: absolute; width: 16px; height: 16px; }
    .eq-corner.tl { top: 0; left: 0; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
    .eq-corner.tr { top: 0; right: 0; border-top: 2px solid var(--violet); border-right: 2px solid var(--violet); }
    .eq-corner.bl { bottom: 0; left: 0; border-bottom: 2px solid var(--violet); border-left: 2px solid var(--violet); }
    .eq-corner.br { bottom: 0; right: 0; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }

    .equation {
      font-family: var(--font-mono);
      font-size: clamp(1rem, 2vw, 1.4rem);
      color: var(--text-primary);
      padding: 1.2rem 0.5rem;
      min-width: max-content; /* Prevents awkward math wrapping on narrow screens */
    }

    .hero-highlight {
      display: block;
      background: rgba(0, 255, 136, 0.05);
      border: 1px solid rgba(0, 255, 136, 0.25);
      border-left: 3px solid var(--green);
      border-radius: 6px;
      padding: 1.2rem 1.8rem;
      max-width: 75ch; 
      margin: 0 auto 2.5rem;
      text-align: left;
      text-decoration: none;
      transition: all 0.3s ease;
      animation: fadeSlideUp 0.8s ease 0.5s both;
      position: relative;
    }

    .hero-highlight:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.5);
      transform: translateX(4px);
      box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
      text-decoration: none;
    }

    .hero-highlight p { 
      margin: 0; 
      font-size: 1rem; 
      color: var(--text-secondary); 
      padding-right: 5rem; 
    }
    .hero-highlight strong { color: var(--green); }
    .hero-highlight i { color: var(--green); margin-right: 0.8rem; }

    .hero-highlight::after {
      content: 'Read ->';
      position: absolute;
      right: 1.8rem;
      top: 50%;
      transform: translateY(-50%);
      font-family: var(--font-mono);
      font-size: 0.8rem;
      color: var(--green);
      opacity: 0.5;
      transition: all 0.3s ease;
    }

    .hero-highlight:hover::after {
      opacity: 1;
      transform: translate(5px, -50%);
    }

    .hero-buttons-container {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1.2rem;
      flex-wrap: wrap;
      animation: fadeSlideUp 0.8s ease 0.6s both;
    }

    .cta-button {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
      color: var(--void);
      padding: 1rem 2.2rem;
      border-radius: 4px;
      text-decoration: none;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: 0.02em;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    }

    .cta-button::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .cta-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 40px rgba(0, 229, 255, 0.4), 0 0 0 1px rgba(0,229,255,0.5);
      color: var(--void);
      text-decoration: none;
    }
    .cta-button:hover::before { opacity: 1; }

    .cta-button-secondary {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: transparent;
      border: 1px solid var(--border-bright);
      color: var(--text-primary);
      padding: 1rem 2.2rem;
      border-radius: 4px;
      text-decoration: none;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 0.95rem;
      transition: all 0.3s ease;
      clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    }

    .cta-button-secondary:hover {
      background: var(--cyan-dim);
      border-color: var(--cyan);
      color: var(--cyan);
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
      text-decoration: none;
    }

    .cta-button-small {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: linear-gradient(135deg, var(--cyan), var(--violet));
      color: var(--void);
      padding: 0.75rem 1.8rem;
      border-radius: 4px;
      text-decoration: none;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    }
    .cta-button-small:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 229, 255, 0.35);
      color: var(--void);
      text-decoration: none;
    }

    .sample-lecture-link {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      margin-top: 2.5rem;
      color: var(--cyan);
      background: rgba(0, 229, 255, 0.06);
      padding: 0.7rem 1.5rem;
      border-radius: 50px;
      border: 1px solid rgba(0, 229, 255, 0.3);
      text-decoration: none;
      font-family: var(--font-mono);
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      transition: all 0.3s ease;
      animation: fadeSlideUp 0.8s ease 0.7s both;
      box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
    }
    
    .sample-lecture-link:hover { 
      background: rgba(0, 229, 255, 0.15);
      border-color: var(--cyan);
      color: #fff; 
      text-shadow: 0 0 10px var(--cyan-glow); 
      transform: translateY(-2px);
      box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
    }

    section { position: relative; z-index: 1; }

    .section-header { text-align: center; margin-bottom: 4rem; }

    .section-tag {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--cyan);
      border: 1px solid var(--border);
      padding: 0.35rem 1rem;
      border-radius: 2px;
      margin-bottom: 1.2rem;
      background: rgba(0,229,255,0.04);
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.75rem, 3.1vw, 2.4rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text-primary);
      margin-bottom: 1.2rem;
      line-height: 1.1;
    }

    .section-title .accent {
      background: linear-gradient(135deg, var(--cyan), var(--violet));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-subtitle {
      font-size: 1.05rem;
      color: var(--text-secondary);
      max-width: 65ch; 
      margin: 0 auto;
      line-height: 1.8;
    }

    .glass-card {
      background: rgba(13, 26, 46, 0.6);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 2.5rem;
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }

    .glass-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .glass-card:hover {
      border-color: rgba(0, 229, 255, 0.3);
      transform: translateY(-6px);
      box-shadow: 0 20px 60px rgba(0, 229, 255, 0.08), 0 0 0 1px rgba(0,229,255,0.1);
    }

    .glass-card:hover::before { opacity: 1; }

    .cut-card {
      clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
    }

    .applications-section {
      padding: 7rem 2rem;
      background: linear-gradient(180deg, var(--void) 0%, rgba(8, 16, 30, 0.8) 100%);
    }

    .applications-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      max-width: 1280px;
      margin: 0 auto;
    }

    .application-card {
      background: rgba(13, 26, 46, 0.5);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 2rem;
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      cursor: default;
    }

    .application-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), var(--violet));
      transition: width 0.4s ease;
    }

    .application-card:hover {
      border-color: rgba(0,229,255,0.3);
      transform: translateY(-5px);
      background: rgba(0, 229, 255, 0.04);
    }
    .application-card:hover::after { width: 100%; }

    .app-number {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      color: var(--text-muted);
      letter-spacing: 0.1em;
      margin-bottom: 1.2rem;
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    .app-number::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    .application-icon {
      font-size: 2rem;
      margin-bottom: 1rem;
      color: var(--cyan);
      filter: drop-shadow(0 0 8px rgba(0,229,255,0.4));
    }

    .application-card h3 {
      font-family: var(--font-display);
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 0.8rem;
    }

    .application-card p {
      color: var(--text-secondary);
      font-size: 0.9rem;
      line-height: 1.7;
    }

    .application-card strong {
      color: var(--cyan);
      font-weight: 500;
    }

    .testimonial-section {
      padding: 7rem 2rem;
      background: rgba(5, 10, 20, 0.8);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .testimonial-slider { max-width: 820px; margin: 0 auto; }

    .testimonial-container {
      position: relative;
      background: rgba(13, 26, 46, 0.7);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      backdrop-filter: blur(15px);
    }

    .testimonial-container::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
    }

    .testimonial-slide { display: none; }
    .testimonial-slide.active { display: block; }

    .testimonial-card { padding: 3.5rem; text-align: center; }

    .student-photo {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      margin: 0 auto 1.5rem;
      overflow: hidden;
      border: 2px solid var(--border-bright);
      box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
      position: relative;
    }
    .student-photo::after {
      content: '';
      position: absolute;
      inset: -3px;
      border-radius: 50%;
      border: 1px solid transparent;
      border-top-color: var(--cyan);
      border-bottom-color: var(--violet);
      animation: spinRing 4s linear infinite;
    }
    @keyframes spinRing {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    .student-photo img { width: 100%; height: 100%; object-fit: cover; }

    .star-rating { display: flex; justify-content: center; gap: 0.3rem; margin-bottom: 1.5rem; }
    .star-rating i { color: var(--gold); font-size: 1rem; filter: drop-shadow(0 0 4px rgba(255,176,32,0.5)); }

    .testimonial-text {
      font-size: 1.05rem;
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 2rem;
      font-style: italic;
    }
    .testimonial-text strong { color: var(--cyan); font-style: normal; }

    .student-info h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-primary); font-weight: 700; margin-bottom: 0.3rem; }
    .student-info p { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em; }

    .slider-controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      margin-top: 2rem;
    }

    .slider-btn {
      background: rgba(13, 26, 46, 0.8);
      border: 1px solid var(--border);
      color: var(--text-secondary);
      width: 44px;
      height: 44px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1rem;
      transition: all 0.3s ease;
    }
    .slider-btn:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); box-shadow: 0 0 15px rgba(0,229,255,0.2); }

    .slider-dots { display: flex; gap: 0.8rem; }
    .dot {
      width: 24px;
      height: 3px;
      background: var(--border);
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      border-radius: 2px;
    }
    .dot.active { background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); width: 40px; }

    .features-section {
      padding: 7rem 2rem;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
      max-width: 1280px;
      margin: 0 auto;
    }

    .feature-card {
      background: rgba(13, 26, 46, 0.5);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 2.5rem;
      transition: all 0.4s ease;
      position: relative;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 6px;
      background: linear-gradient(135deg, rgba(0,229,255,0.05), transparent);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .feature-card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-5px); }
    .feature-card:hover::before { opacity: 1; }

    .feature-icon {
      font-size: 2rem;
      color: var(--cyan);
      filter: drop-shadow(0 0 10px rgba(0,229,255,0.4));
      margin-bottom: 1.5rem;
      display: block;
    }

    .feature-card h3 {
      font-family: var(--font-display);
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 0.8rem;
    }

    .feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

    .community-section {
      padding: 7rem 2rem;
      background: rgba(5, 10, 20, 0.6);
      border-top: 1px solid var(--border);
    }

    .community-card {
      max-width: 800px;
      margin: 0 auto;
      background: rgba(123, 47, 255, 0.05);
      border: 1px solid rgba(123, 47, 255, 0.3);
      border-radius: 8px;
      padding: 3.5rem;
      text-align: center;
      position: relative;
      overflow: hidden;
      clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
    }

    .community-card::after {
      content: '';
      position: absolute;
      top: 0; right: 0;
      width: 30px; height: 30px;
      border-top: 1px solid rgba(123,47,255,0.6);
      border-right: 1px solid rgba(123,47,255,0.6);
    }

    .community-icon {
      font-size: 3rem;
      color: var(--violet);
      filter: drop-shadow(0 0 15px rgba(123,47,255,0.5));
      margin-bottom: 1.5rem;
    }

    .community-card h3 {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 1rem;
    }

    .community-card p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; margin: 0 auto 2.5rem; max-width: 65ch; }

    .who-should-join-section { padding: 7rem 2rem; }

    .audience-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      max-width: 1280px;
      margin: 0 auto;
    }

    .audience-card {
      background: rgba(13, 26, 46, 0.5);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 2.5rem;
      transition: all 0.4s ease;
      clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
    }

    .audience-card:hover {
      border-color: rgba(123, 47, 255, 0.4);
      transform: translateY(-5px);
      background: rgba(123, 47, 255, 0.05);
    }

    .audience-icon { font-size: 2rem; color: var(--violet); filter: drop-shadow(0 0 8px rgba(123,47,255,0.4)); margin-bottom: 1.5rem; display: block; }

    .audience-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.8rem; }
    .audience-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

    .how-it-works-section { padding: 7rem 2rem; background: rgba(5,10,20,0.6); border-top: 1px solid var(--border); }

    .how-it-works-timeline {
      position: relative;
      max-width: 1200px;
      margin: 0 auto;
      list-style: none;
    }

    .how-it-works-timeline::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 1px;
      height: 100%;
      background: linear-gradient(180deg, var(--cyan), var(--violet), transparent);
      opacity: 0.3;
    }

    .step-item {
      position: relative;
      width: 50%;
      padding: 1.5rem 4rem;
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .step-item.visible { opacity: 1; transform: translateY(0); }
    .step-item:nth-child(odd) { left: 0; text-align: right; padding-right: 4rem; }
    .step-item:nth-child(even) { left: 50%; text-align: left; padding-left: 4rem; }

    .step-card {
      background: rgba(13, 26, 46, 0.7);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 2rem;
      text-align: left;
      transition: all 0.4s ease;
      backdrop-filter: blur(10px);
    }

    .step-card:hover { border-color: var(--border-bright); transform: scale(1.02); }

    .step-number {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--cyan), var(--violet));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 1rem;
      font-weight: 600;
      color: var(--void);
      box-shadow: 0 0 20px rgba(0,229,255,0.3);
      z-index: 2;
    }

    .step-item:nth-child(odd) .step-number { right: -24px; }
    .step-item:nth-child(even) .step-number { left: -24px; }

    .step-icon { font-size: 1.6rem; color: var(--cyan); margin-bottom: 0.8rem; display: block; }
    .step-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
    .step-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

    .guarantee-section {
      padding: 7rem 2rem;
      text-align: center;
    }

    .guarantee-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--cyan), var(--violet));
      clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
      margin-bottom: 2rem;
    }
    .guarantee-badge i { font-size: 2rem; color: var(--void); }

    .guarantee-terms {
      background: rgba(13, 26, 46, 0.6);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 3rem;
      margin: 0 auto 2rem;
      max-width: 75ch; 
      text-align: left;
      position: relative;
      overflow: hidden;
    }

    .guarantee-terms::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
    }

    .guarantee-terms h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2rem; }

    .guarantee-step {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.2rem;
      font-size: 1.05rem;
      color: var(--text-secondary);
    }
    .guarantee-step .step-icon-small {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--cyan), var(--violet));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      color: var(--void);
      flex-shrink: 0;
    }

    .guarantee-highlight {
      background: rgba(255, 176, 32, 0.08);
      border: 1px solid rgba(255, 176, 32, 0.3);
      border-radius: 6px;
      padding: 1.2rem 1.5rem;
      margin-top: 2rem;
    }
    .guarantee-highlight p { margin: 0; color: var(--gold); font-size: 0.95rem; }

    .partners {
      padding: 5rem 2rem;
      background: rgba(5, 10, 20, 0.8);
      border-top: 1px solid var(--border);
    }

    .partners-title {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 3rem;
    }

    .partners-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .partner-logo {
      background: rgba(13, 26, 46, 0.5);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 1.2rem 1.8rem;
      transition: all 0.3s ease;
      opacity: 0.5;
    }

    .partner-logo:hover {
      opacity: 1;
      border-color: var(--border-bright);
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(0,229,255,0.1);
    }

    .partner-logo img { max-height: 50px; width: auto; }

    .final-cta-section {
      padding: 8rem 2rem;
      text-align: center;
      position: relative;
      background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
      border-top: 1px solid var(--border);
    }

    .final-cta-content {
      max-width: 800px;
      margin: 0 auto;
      background: rgba(13, 26, 46, 0.7);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 5rem 3rem;
      position: relative;
      overflow: hidden;
      clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
      backdrop-filter: blur(20px);
    }

    .final-cta-content::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--magenta), transparent);
    }

    .final-cta-content h2 {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 3.2vw, 2.5rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text-primary);
      margin-bottom: 1rem;
    }

    .final-cta-content p {
      font-size: 1.1rem;
      color: var(--text-secondary);
      margin: 0 auto 2.5rem;
      max-width: 65ch; 
    }

    .custom-alert {
      position: fixed;
      top: 73px;
      left: 0;
      width: 100%;
      background: rgba(255, 176, 32, 0.1);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 176, 32, 0.3);
      padding: 0.9rem 5rem 0.9rem 2rem;
      z-index: 1400;
      display: none;
      animation: slideDown 0.5s ease-out;
      text-align: center;
    }

    .custom-alert-content p {
      color: var(--text-primary);
      margin: 0;
      font-family: var(--font-mono);
      font-size: 0.8rem;
      letter-spacing: 0.05em;
    }

    .custom-alert-content p strong { color: var(--gold); }
    .custom-alert-content p a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid var(--border-bright); }
    .custom-alert-content p a:hover { color: var(--text-primary); }

    .close-alert-btn {
      position: absolute;
      top: 50%;
      right: 1.5rem;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--text-secondary);
      font-size: 1.5rem;
      cursor: pointer;
      transition: color 0.2s;
      line-height: 1;
    }
    .close-alert-btn:hover { color: var(--gold); }

    .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      inset: 0;
      background: rgba(2, 4, 8, 0.9);
      backdrop-filter: blur(16px);
      animation: fadeIn 0.3s ease;
    }

    .modal-content {
      background: rgba(13, 26, 46, 0.95);
      margin: 5% auto;
      padding: 2.5rem;
      border: 1px solid var(--border-bright);
      width: 90%;
      max-width: 900px;
      border-radius: 8px;
      position: relative;
      animation: slideIn 0.4s ease-out;
    }

    .modal-content::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), var(--violet));
    }

    .modal-content h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 2rem; }

    .close-button {
      position: absolute;
      top: 1rem;
      right: 1.5rem;
      font-size: 2rem;
      color: var(--text-muted);
      cursor: pointer;
      transition: color 0.2s;
      line-height: 1;
    }
    .close-button:hover { color: var(--cyan); }

    .video-container {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
      border-radius: 6px;
      border: 1px solid var(--border);
    }
    .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

    .footer {
      background: var(--void);
      border-top: 1px solid var(--border);
      padding: 5rem 2rem 2rem;
      position: relative;
      z-index: 1;
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 3rem;
      max-width: 1280px;
      margin: 0 auto 4rem;
    }

    .footer-column h4 {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .footer-column h4::before { content: '//'; font-family: var(--font-mono); color: var(--cyan); font-size: 0.8rem; }

    .footer-column p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
    .footer-column ul { list-style: none; }
    .footer-column ul li { margin-bottom: 0.7rem; }
    .footer-column ul a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: all 0.2s ease; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.03em; }
    .footer-column ul a:hover { color: var(--cyan); }

    .footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
    .footer-social a { color: var(--text-muted); font-size: 1.2rem; transition: all 0.3s ease; }
    .footer-social a:hover { color: var(--cyan); text-shadow: 0 0 10px var(--cyan-glow); transform: translateY(-2px); }

    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-muted);
      max-width: 1280px;
      margin: 0 auto;
      letter-spacing: 0.05em;
    }

    .explore-cta-row {
      text-align: center;
      padding: 3rem 2rem;
      background: rgba(5, 10, 20, 0.6);
    }

    @keyframes fadeSlideUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
    @keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
    @keyframes slideUp { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }
    @keyframes slideIn { from { transform: translateY(-40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    @media (max-width: 992px) {
      .how-it-works-timeline::before { left: 24px; }
      .step-item, .step-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 1.5rem 1.5rem 1.5rem 70px; }
      .step-item:nth-child(odd) .step-number, .step-item:nth-child(even) .step-number { left: 0; right: auto; top: 2rem; transform: none; }
    }

    @media (max-width: 768px) {
      .nav-menu {
        position: fixed;
        top: 73px;
        left: 0;
        width: 100%;
        background: rgba(2, 4, 8, 0.97);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid var(--border);
      }
      .nav-menu.active { transform: translateY(0); }
      .mobile-menu-toggle { display: block; }
      .hero-buttons-container { flex-direction: column; }
      .hero-buttons-container .cta-button,
      .hero-buttons-container .cta-button-secondary { width: 100%; justify-content: center; }
      .gen-ai-insight { flex-direction: column; text-align: center; }
      .footer-container { grid-template-columns: 1fr; }
      .footer-social { justify-content: flex-start; }
      
      /* Reduced padding on sections to maximize vertical real estate */
      .applications-section,
      .testimonial-section,
      .features-section,
      .community-section,
      .who-should-join-section,
      .how-it-works-section,
      .guarantee-section,
      .partners,
      .final-cta-section {
        padding: 4rem 1.5rem; 
      }
      .hero {
        padding: 7rem 1.5rem 4rem; 
      }
      .glass-card, 
      .feature-card, 
      .application-card, 
      .audience-card {
        padding: 1.5rem; 
      }
      .custom-alert {
        padding: 0.8rem 2.5rem 0.8rem 1rem;
      }
      .close-alert-btn {
        right: 0.5rem;
      }
    }

    /* Force a single column for grid containers on very small screens */
    @media (max-width: 400px) {
      .applications-grid,
      .features-grid,
      .audience-grid,
      .footer-container {
        grid-template-columns: 1fr; 
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
      .nebula, #starfield { display: none; }
    }

