:root {
      --bg: #0e0e0e;
      --surface: #1a1919;
      --surface-high: #262626;
      --primary: #8ff5ff;
      --primary-container: #00eefc;
      --primary-rgb: 143, 245, 255;
      --secondary: #2ff801;
      --secondary-rgb: 47, 248, 1;
      --tertiary: #ad9fff;
      --tertiary-rgb: 173, 159, 255;
      --text-primary: #ffffff;
      --text-secondary: #c0bfbf;
      --outline-variant: #494847;
      --font-display: 'Heebo', 'Space Grotesk', sans-serif;
      --font-body: 'Heebo', 'Manrope', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    /* ===== ACCESSIBILITY ===== */
    .skip-link {
      position: absolute;
      top: -100%;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: #000;
      padding: 12px 24px;
      border-radius: 0 0 8px 8px;
      z-index: 100000;
      font-weight: 700;
      font-family: var(--font-display);
      font-size: 1rem;
      text-decoration: none;
      transition: top 0.2s ease;
    }
    .skip-link:focus {
      top: 0;
    }
    *:focus-visible {
      outline: 3px solid var(--primary);
      outline-offset: 2px;
    }
    button:focus-visible {
      outline: 3px solid var(--primary);
      outline-offset: 2px;
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .btn-primary::after { display: none; }
      #loop::after { display: none; }
    }
    ::selection { background-color: var(--primary); color: #000; }

    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, var(--primary), var(--primary-container));
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
    }

    html {
      scroll-behavior: auto;
      overflow-x: hidden;
    }

    body {
      font-family: var(--font-body);
      background: #020a12;
      color: var(--text-primary);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overscroll-behavior-x: none;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-display);
      letter-spacing: -0.02em;
    }

    /* ===== GLOBAL SECTION ANIMATIONS ===== */
    .fade-in-section {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .fade-in-section.visible {
      opacity: 1;
      transform: translateY(0);
    }


    /* ===== LOADER ===== */
    #loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.6s ease;
    }
    .loader-content { text-align: center; }
    .loader-logo {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: -0.04em;
      margin-bottom: 24px;
    }
    .loader-logo .fin { color: var(--text-primary); }
    .loader-logo .play { color: var(--primary); }
    .loader-text {
      font-family: var(--font-display);
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      color: var(--text-secondary);
      margin-bottom: 16px;
    }
    .loader-bar-track {
      width: 200px;
      height: 3px;
      background: var(--surface-high);
      border-radius: 2px;
      margin: 0 auto;
      overflow: hidden;
    }
    .loader-bar-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--primary-container));
      border-radius: 2px;
      transition: width 0.3s ease;
      box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
    }

    /* ===== STARSCAPE ===== */
    #starscape {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100%;
      z-index: 0;
      pointer-events: none;
      opacity: 0.6;
      max-width: 100%;
    }

    /* ===== SCROLL PROGRESS ===== */
    #scrollProgress {
      position: fixed;
      top: 0; right: 0;
      height: 3px;
      width: 0%;
      background: linear-gradient(90deg, var(--primary), var(--primary-container));
      z-index: 10000;
      transition: width 0.1s linear;
      box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4);
      opacity: 0;
    }
    #scrollProgress.visible {
      opacity: 1;
    }

    /* ===== NAVBAR ===== */
    #navbar {
      position: fixed;
      top: 12px;
      right: 16px;
      z-index: 1000;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-inner {
      padding: 10px 24px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      background: rgba(4, 20, 32, 0.7);
      border: 1px solid rgba(var(--primary-rgb), 0.08);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-radius: 100px;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--primary-rgb), 0.03);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-logo {
      font-family: var(--font-display);
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: -0.04em;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nav-logo .fin { color: #fff; }
    .nav-logo .play { color: var(--primary); }
    .nav-logo-icon {
      width: 28px;
      height: 28px;
      background: linear-gradient(135deg, var(--primary), var(--primary-container));
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 900;
      color: #000;
      box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.3);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
    }
    .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      transition: color 0.3s ease;
    }
    .nav-links a:hover { color: var(--primary); text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.25); }
    .nav-cta {
      background: linear-gradient(135deg, #0a3654, #062a3e) !important;
      color: #d4a843 !important;
      padding: 8px 20px;
      border-radius: 4px;
      font-weight: 700 !important;
      font-size: 0.8rem !important;
      box-shadow: 0 0 12px rgba(10, 54, 84, 0.5);
      border: 1px solid rgba(212, 168, 67, 0.3) !important;
      transition: all 0.3s ease !important;
    }
    .nav-cta:hover {
      box-shadow: 0 0 20px rgba(212, 168, 67, 0.3) !important;
      transform: translateY(-1px);
    }
    #navbar.nav-scrolled .nav-inner {
      /* already styled as pill */
    }

    /* ===== HERO ===== */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      z-index: 2;
      background: linear-gradient(
        180deg,
        #020a12 0%,
        #041c2c 25%,
        #062a3e 45%,
        #0a3654 60%,
        #0e4a6e 80%,
        #1a6a94 100%
      );
    }
    .hero-finn {
      display: block;
      width: 100px;
      height: auto;
      margin: 0 auto 24px;
      animation: finnFloat 4s ease-in-out infinite;
      filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
    }
    @keyframes finnFloat {
      0%, 100% { transform: translateY(0) rotate(-3deg); }
      50% { transform: translateY(-12px) rotate(3deg); }
    }
    @media (max-width: 768px) {
      .hero-finn {
        width: 72px;
        margin-bottom: 16px;
      }
      #deepSeaCanvas { opacity: 0.3; }
      .orb-1, .orb-2 { display: none; }
      .hero-light-rays { opacity: 0.5; }
    }

    #deepSeaCanvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      opacity: 0.7;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(120px);
    }
    .orb-1 {
      width: 700px; height: 700px;
      background: #0a4a6e;
      top: -200px; right: -150px;
      opacity: 0.25;
    }
    .orb-2 {
      width: 500px; height: 500px;
      background: #063d5c;
      bottom: -200px; left: -150px;
      opacity: 0.2;
    }
    .orb-3 {
      width: 300px; height: 300px;
      background: var(--primary);
      top: 40%; left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0.04;
      animation: orbPulse 8s ease-in-out infinite;
    }
    @keyframes orbPulse {
      0%, 100% { opacity: 0.03; transform: translate(-50%, -50%) scale(1); }
      50% { opacity: 0.06; transform: translate(-50%, -50%) scale(1.3); }
    }
    .hero-light-rays {
      position: absolute;
      top: -20%;
      left: 50%;
      transform: translateX(-50%);
      width: 120%;
      height: 70%;
      background: radial-gradient(ellipse at 50% 0%, rgba(10, 80, 120, 0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .grid-overlay {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.008) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.008) 1px, transparent 1px);
      background-size: 80px 80px;
      mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
      -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 0 24px;
      max-width: 800px;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      border-radius: 980px;
      border: none;
      background: rgba(var(--primary-rgb), 0.05);
      color: var(--primary);
      font-family: var(--font-display);
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      margin-bottom: 32px;
      position: relative;
      box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1), inset 0 0 12px rgba(var(--primary-rgb), 0.05);
    }
    .hero-badge::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 980px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.5) 0%, rgba(var(--primary-rgb), 0.1) 50%, rgba(var(--primary-rgb), 0.4) 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }
    .hero-title {
      font-size: clamp(2.5rem, 7vw, 4.5rem);
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 28px;
      letter-spacing: 0;
      text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 60px rgba(var(--primary-rgb), 0.08);
    }
    .hero-title .gradient-text {
      background: linear-gradient(135deg, var(--primary), var(--primary-container));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-title .faded {
      background: linear-gradient(to right, #fff, rgba(255,255,255,0.4));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-subtitle {
      font-size: 1.1rem;
      color: var(--text-secondary);
      max-width: 560px;
      margin: 0 auto 44px;
      line-height: 1.6;
      font-weight: 400;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .store-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 22px;
      width: 175px;
      background: #000;
      border: 1.5px solid rgba(255, 255, 255, 0.25);
      border-radius: 12px;
      text-decoration: none;
      color: #fff;
      transition: all 0.3s ease;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 12px rgba(var(--primary-rgb), 0.1);
      cursor: pointer;
    }
    .store-badge:hover {
      transform: translateY(-4px);
      border-color: rgba(var(--primary-rgb), 0.5);
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--primary-rgb), 0.2), 0 0 60px rgba(var(--primary-rgb), 0.08);
    }
    .store-badge-icon {
      width: 24px;
      height: 24px;
      flex-shrink: 0;
    }
    .store-badge-name {
      font-size: 0.95rem;
      font-weight: 600;
      font-family: var(--font-display);
      white-space: nowrap;
    }
    @keyframes ctaGlow {
      0%, 100% { box-shadow: 0 4px 20px rgba(212,168,67,0.15), 0 0 40px rgba(10,54,84,0.2); }
      50% { box-shadow: 0 4px 30px rgba(212,168,67,0.3), 0 0 60px rgba(10,54,84,0.35), 0 0 80px rgba(212,168,67,0.1); }
    }
    .btn-primary {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #0a3654, #062a3e);
      color: #d4a843;
      padding: 14px 32px;
      border-radius: 8px;
      font-weight: 700;
      text-decoration: none;
      font-family: var(--font-display);
      font-size: 0.95rem;
      border: 1px solid rgba(212, 168, 67, 0.3);
      animation: ctaGlow 3s ease-in-out infinite;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-primary::after {
      content: '';
      position: absolute;
      top: -50%; left: -60%;
      width: 40%; height: 200%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
      transform: skewX(-20deg);
      transition: left 0.6s ease;
      pointer-events: none;
    }
    .btn-primary:hover::after { left: 120%; }
    .btn-primary:hover {
      box-shadow: 0 8px 40px rgba(212,168,67,0.3), 0 0 60px rgba(10,54,84,0.4), 0 0 100px rgba(212,168,67,0.15);
      transform: translateY(-3px) scale(1.02);
      border-color: rgba(212, 168, 67, 0.6);
    }
    .btn-secondary {
      background: transparent;
      color: var(--primary);
      padding: 14px 32px;
      border: 1px solid rgba(var(--primary-rgb), 0.2);
      border-radius: 4px;
      text-decoration: none;
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    .btn-secondary:hover {
      border-color: rgba(var(--primary-rgb), 0.5);
      background: rgba(var(--primary-rgb), 0.05);
    }
    .scroll-hint {
      margin-top: 60px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .scroll-hint span {
      font-family: var(--font-display);
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.05em;
      color: var(--text-secondary);
    }
    .scroll-arrow {
      width: 20px;
      height: 20px;
      border-right: 2px solid var(--primary);
      border-bottom: 2px solid var(--primary);
      transform: rotate(45deg);
      animation: scrollBounce 2s ease-in-out infinite;
      opacity: 0.6;
    }
    @keyframes scrollBounce {
      0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
      50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.8; }
    }

    /* ===== SCROLL ANIMATION ===== */
    .scroll-animation {
      height: 400vh;
      position: relative;
      z-index: 1;
      margin: 0;
      padding: 0;
      background: linear-gradient(180deg, #1a6a94 0%, #4a9fc4 30%, #4a9fc4 100%);
    }
    .scroll-sticky {
      position: absolute;
      top: 0;
      left: 0;
      height: 100vh;
      height: 100dvh;
      width: 100vw;
      overflow: hidden;
    }
    .scroll-sticky.is-fixed {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 10;
    }
    .scroll-sticky.is-bottom {
      position: absolute;
      top: auto;
      bottom: 0;
      z-index: 1;
    }
    #scrollVideo {
      position: absolute;
      top: 0; left: 0;
      width: 0;
      height: 0;
      opacity: 0;
      pointer-events: none;
    }
    #frameCanvas {
      display: block;
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
    }
    @media (max-width: 768px) {
      .scroll-animation {
        margin-top: -8vh;
        margin-bottom: -8vh;
      }
      .scroll-sticky {
        mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
      }
    }

    /* ===== PAIN SECTION ===== */
    #pain {
      position: relative;
      z-index: 3;
      padding: 60px 32px 56px;
      text-align: center;
      overflow: hidden;
      background: linear-gradient(
        180deg,
        #4a9fc4 0%,
        #5fb1d1 50%,
        #6bbad8 100%
      );
    }
    .pain-content {
      max-width: 700px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }
    .pain-icon {
      font-size: 3rem;
      margin-bottom: 20px;
      opacity: 0.8;
    }
    .pain-title {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      font-weight: 700;
      margin-bottom: 24px;
      line-height: 1.4;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    }
    .pain-text {
      font-size: 1rem;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.8;
      max-width: 580px;
      margin: 0 auto;
    }
    .pain-divider {
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--primary-container));
      margin: 24px auto 0;
      border-radius: 2px;
      box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.4);
    }

    /* ===== LOOP SECTION ===== */
    #loop {
      position: relative;
      z-index: 1;
      padding: 80px 32px 80px;
      overflow: hidden;
      background: linear-gradient(
        180deg,
        #5fb1d1 0%,
        #6bbad8 35%,
        #5aaccc 70%,
        #4a9fc4 100%
      );
    }
    .loop-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      max-width: 1000px;
      margin: 60px auto 0;
    }
    .loop-step {
      position: relative;
      background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.09) 0%,
        rgba(255, 255, 255, 0.03) 100%
      );
      border: 1px solid rgba(var(--primary-rgb), 0.15);
      backdrop-filter: blur(24px) saturate(1.2);
      -webkit-backdrop-filter: blur(24px) saturate(1.2);
      border-radius: 24px;
      padding: 48px 32px;
      text-align: center;
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                  border-color 0.4s ease,
                  box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
    }
    .loop-step::before {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: 25px;
      padding: 1px;
      background: linear-gradient(165deg, rgba(var(--primary-rgb), 0.25) 0%, rgba(var(--primary-rgb), 0.05) 50%, rgba(var(--primary-rgb), 0.15) 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .loop-step:hover::before { opacity: 1; }
    .loop-step:hover {
      transform: translateY(-4px) rotateX(2deg);
      border-color: rgba(var(--primary-rgb), 0.35);
      box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(var(--primary-rgb), 0.08),
        0 0 0 1px rgba(var(--primary-rgb), 0.15) inset,
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
    }
    .step-number {
      position: absolute;
      top: -18px;
      right: 28px;
      width: 38px;
      height: 38px;
      background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--primary-rgb), 0.06));
      border: 1.5px solid rgba(var(--primary-rgb), 0.35);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 0.9rem;
      color: var(--primary);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 20px rgba(var(--primary-rgb), 0.1);
    }
    .step-icon {
      font-size: 2.5rem;
      margin-bottom: 16px;
      display: flex;
      justify-content: center;
    }
    .step-icon lottie-player {
      width: 72px;
      height: 72px;
    }
    .loop-step h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .loop-step p {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.7;
    }
    .step-finn-happy {
      display: block;
      width: 64px;
      height: auto;
      margin: 12px auto 0;
      filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
      animation: finnFloat 4.5s ease-in-out infinite;
      animation-delay: 0.5s;
    }
    .loop-step .step-highlight {
      display: inline-block;
      margin-top: 16px;
      padding: 7px 16px;
      background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--primary-rgb), 0.04));
      border: 1px solid rgba(var(--primary-rgb), 0.2);
      border-radius: 980px;
      font-family: var(--font-display);
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--primary);
      letter-spacing: 0.05em;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 2px 12px rgba(var(--primary-rgb), 0.1), inset 0 1px 0 rgba(255,255,255,0.06);
    }
    @keyframes orbDrift {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(60px, -40px) scale(1.1); }
      66% { transform: translate(-30px, 30px) scale(0.95); }
    }
    #loop::after {
      content: '';
      position: absolute;
      width: 400px; height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
      top: 20%; left: -100px;
      filter: blur(80px);
      animation: orbDrift 12s ease-in-out infinite;
      pointer-events: none;
    }
    @media (max-width: 768px) {
      .loop-steps { grid-template-columns: 1fr; max-width: 400px; }
      #loop::after { display: none; }
    }

    .section-title {
      font-size: clamp(1.8rem, 4vw, 3.2rem);
      text-align: center;
      font-weight: 700;
      letter-spacing: -0.03em;
      padding: 0 32px;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    }
    .section-subtitle {
      text-align: center;
      color: rgba(255, 255, 255, 0.85);
      max-width: 500px;
      margin: 12px auto 0;
      font-size: 0.95rem;
      padding: 0 32px;
    }

    /* ===== CTA ===== */
    #cta {
      text-align: center;
      padding: 72px 32px 72px;
      position: relative;
      z-index: 1;
    }
    .cta-orb {
      position: absolute;
      width: 500px; height: 500px;
      background: var(--primary);
      border-radius: 50%;
      filter: blur(200px);
      opacity: 0.06;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .cta-content {
      position: relative;
      z-index: 1;
    }
    .cta-content h2 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 700;
      margin-bottom: 16px;
      letter-spacing: -0.03em;
      text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }
    .cta-content p {
      color: rgba(255, 255, 255, 0.85);
      font-size: 1rem;
      max-width: 500px;
      margin: 0 auto 20px;
      line-height: 1.6;
    }
    .btn-large {
      font-size: 1.1rem;
      padding: 18px 48px;
    }

    /* ===== OCEAN FLOOR BG ===== */
    .ocean-floor-wrapper {
      position: relative;
      background: linear-gradient(
        180deg,
        #4a9fc4 0%,
        #2d7a9e 12%,
        #1a5a7e 25%,
        #0e3d5a 45%,
        #071e30 70%,
        #0a2a40 100%
      );
    }
    .ocean-floor-bg {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 450px;
      background: url('ocean-bg.png') center bottom / cover no-repeat;
      opacity: 0.25;
      pointer-events: none;
      mask-image: linear-gradient(to top, black 40%, transparent 100%);
      -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
    }
    @media (max-width: 768px) {
      .ocean-floor-bg {
        height: 300px;
        background-size: cover;
        background-position: center bottom;
      }
    }

    /* ===== MASCOT ===== */
    .mascot-container {
      position: absolute;
      bottom: 40px;
      z-index: 5;
    }
    .mascot-left {
      left: 100px;
      bottom: 5px;
      animation: mascotFloatLeft 4s ease-in-out infinite;
    }
    .mascot-right {
      right: 40px;
      animation: mascotFloatRight 4.5s ease-in-out infinite;
    }
    .mascot-right svg {
      transform: scaleX(-1);
    }
    .mascot-container svg {
      filter: drop-shadow(0 4px 20px rgba(var(--primary-rgb), 0.35)) drop-shadow(0 0 40px rgba(var(--primary-rgb), 0.15));
    }
    @keyframes mascotFloatLeft {
      0%, 100% { transform: translateY(0) rotate(-2deg); }
      50% { transform: translateY(-12px) rotate(2deg); }
    }
    @keyframes mascotFloatRight {
      0%, 100% { transform: translateY(0) rotate(2deg); }
      50% { transform: translateY(-14px) rotate(-2deg); }
    }
    @media (max-width: 768px) {
      .mascot-container { display: none; }
      .ocean-floor-bg { display: none; }
    }
    .mascot-label {
      text-align: center;
      margin-top: 8px;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--primary);
      opacity: 0.8;
    }

    /* ===== FAQ ===== */
    #faq {
      position: relative;
      z-index: 1;
      padding: 60px 32px 40px;
    }
    .faq-title {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 3.5vw, 2.2rem);
      font-weight: 700;
      text-align: center;
      margin-bottom: 48px;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    }
    .faq-list {
      max-width: 720px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .faq-item {
      position: relative;
      background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
      border: 1px solid rgba(var(--primary-rgb), 0.1);
      border-radius: 16px;
      overflow: hidden;
      transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .faq-item:hover {
      border-color: rgba(var(--primary-rgb), 0.25);
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), 0 0 20px rgba(var(--primary-rgb), 0.06);
      transform: translateY(-2px);
    }
    .faq-question {
      width: 100%;
      background: none;
      border: none;
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      text-align: right;
      color: var(--text-primary);
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 600;
      gap: 16px;
      transition: color 0.3s ease, padding 0.3s ease;
    }
    .faq-question:hover {
      color: var(--primary);
      padding-right: 28px;
    }
    .faq-chevron {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      color: var(--primary);
      transition: transform 0.3s ease;
    }
    .faq-item.open .faq-chevron {
      transform: rotate(180deg);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s ease;
    }
    .faq-item.open .faq-answer {
      max-height: 400px;
    }
    .faq-answer p {
      padding: 0 24px 20px;
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.8;
    }

    /* ===== FOOTER ===== */
    footer {
      border-top: none;
      padding: 48px 32px 36px;
      text-align: center;
      position: relative;
      z-index: 1;
      background: linear-gradient(180deg, rgba(10, 54, 84, 0.3) 0%, rgba(6, 30, 48, 0.5) 100%);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
    footer::before {
      content: '';
      position: absolute;
      top: 0; left: 10%; right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(var(--primary-rgb), 0.3) 50%, transparent 100%);
      pointer-events: none;
    }
    .footer-brand {
      font-family: var(--font-display);
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 24px;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px 24px;
      margin-bottom: 24px;
    }
    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      font-size: 0.85rem;
      font-family: var(--font-body);
      font-weight: 500;
      transition: color 0.3s, text-shadow 0.3s;
    }
    .footer-links a:hover { color: var(--primary); text-shadow: 0 0 12px rgba(var(--primary-rgb), 0.3); }
    .footer-copy {
      color: rgba(255, 255, 255, 0.65);
      font-size: 0.75rem;
      font-family: var(--font-body);
    }

    /* ===== LEGAL MODAL ===== */
    .legal-modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .legal-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .legal-modal {
      width: 90%;
      max-width: 720px;
      max-height: 85vh;
      background: linear-gradient(165deg, #0d2a3d 0%, #091c2b 100%);
      border: 1px solid rgba(var(--primary-rgb), 0.15);
      border-radius: 20px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transform: translateY(20px);
      transition: transform 0.3s ease;
    }
    .legal-modal-overlay.active .legal-modal {
      transform: translateY(0);
    }
    .legal-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 28px;
      border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
      flex-shrink: 0;
    }
    .legal-modal-header h2 {
      font-size: 1.3rem;
      color: var(--primary);
    }
    .legal-modal-close {
      background: none;
      border: none;
      color: var(--text-secondary);
      font-size: 1.6rem;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 8px;
      transition: background 0.2s, color 0.2s;
    }
    .legal-modal-close:hover {
      background: rgba(var(--primary-rgb), 0.1);
      color: var(--primary);
    }
    .legal-modal-body {
      overflow-y: auto;
      padding: 28px;
      flex: 1;
    }
    .legal-modal-body::-webkit-scrollbar { width: 6px; }
    .legal-modal-body::-webkit-scrollbar-thumb { background: rgba(var(--primary-rgb), 0.3); border-radius: 3px; }
    .legal-section-title {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-top: 24px;
      margin-bottom: 10px;
    }
    .legal-section-title:first-child { margin-top: 0; }
    .legal-text {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.85;
      margin-bottom: 8px;
    }
    .legal-divider {
      border: none;
      border-top: 1px solid rgba(var(--primary-rgb), 0.1);
      margin: 28px 0;
    }
    .legal-updated {
      font-size: 0.8rem;
      color: rgba(var(--primary-rgb), 0.4);
      margin-top: 20px;
    }

    /* ===== MOBILE NAV ===== */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
      #starscape { opacity: 0.3; }
      .grid-overlay { display: none; }
      .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }
      footer {
        padding: 36px 24px 28px;
      }
    }
