    :root { --bg: #080808; }

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

    html, body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg);
      color: #fff;
      overflow-x: hidden;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
      height: 100%;
    }

    body {
      scroll-snap-type: y mandatory;
      overflow-y: auto;
      overflow-x: hidden;
    }
    
    /* Hide scrollbar */
    body::-webkit-scrollbar {
      display: none;
    }
    body {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    .hf { font-family: 'Space Grotesk', sans-serif; }

    /* ── Neural grid ────────────────────────────── */
    .grid-bg {
      position: fixed; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
      background-size: 54px 54px;
      animation: gd 42s linear infinite;
      pointer-events: none;
      z-index: 0;
    }
    @keyframes gd {
      from { background-position: 0 0; }
      to   { background-position: 54px 54px; }
    }

    /* ── Vignette ───────────────────────────────── */
    .vig {
      position: fixed; inset: 0;
      background: radial-gradient(ellipse 80% 80% at 50% 50%,
        transparent 20%, rgba(8,8,8,0.75) 100%);
      pointer-events: none; z-index: 1;
    }

    /* ── Glass pill ─────────────────────────────── */
    .glass {
      background: rgba(255,255,255,0.04);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(255,255,255,0.09);
    }

    /* ── Pulse dot ──────────────────────────────── */
    @keyframes pk {
      0%,100% { transform: scale(1);   opacity: .7; }
      50%      { transform: scale(1.9); opacity: 0;  }
    }
    .pk { animation: pk 2.4s ease-in-out infinite; }

    /* ── Fade-up ────────────────────────────────── */
    @keyframes fu {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: none; }
    }
    .f1 { animation: fu .85s ease both .05s; }
    .f2 { animation: fu .85s ease both .25s; }
    .f3 { animation: fu .85s ease both .45s; }
    .f4 { animation: fu .85s ease both .60s; }

    /* ── Nav ────────────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 50;
      padding: 14px 24px;
      display: flex; align-items: center; justify-content: space-between;
      background: rgba(8,8,8,0.72);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    /* ── V app icon ─────────────────────────────── */
    .v-icon {
      width: 34px; height: 34px;
      border-radius: 10px;
      background: #f0eeeb;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700; font-size: 17px; color: rgba(0,0,0,0.55);
      box-shadow: 0 1px 4px rgba(0,0,0,0.4);
      flex-shrink: 0;
      user-select: none;
    }

    /* ── Graph canvas ───────────────────────────── */
    #graph {
      position: fixed; inset: 0;
      width: 100%; height: 100%;
      z-index: 2;
    }

    /* ── Input ──────────────────────────────────── */
    .ei {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.12);
      color: #fff;
      border-radius: 12px;
      padding: 13px 18px;
      font-size: 14px;
      width: 100%;
      transition: border-color .2s, box-shadow .2s;
    }
    .ei::placeholder { color: rgba(255,255,255,0.28); }
    .ei:focus {
      outline: none;
      border-color: rgba(255,255,255,0.32);
      box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
    }

    /* ── Button ─────────────────────────────────── */
    .sb {
      background: #fff; color: #080808;
      border-radius: 12px;
      padding: 13px 22px;
      font-size: 14px; font-weight: 600;
      white-space: nowrap; cursor: pointer;
      transition: background .2s, transform .15s;
      border: none;
      min-height: 48px;
    }
    .sb:hover:not(:disabled) { background: #e8e8e8; transform: translateY(-1px); }
    .sb:disabled { opacity: .65; cursor: default; }

    /* ── Main section ───────────────────────────── */
    main {
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding: 64px 0 70px 0; /* Extra bottom padding for footer */
      min-height: 100vh;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      box-sizing: border-box;
    }

    /* ── Full-height sections ──────────────────── */
    .full-section {
      min-height: 100vh;
      height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      box-sizing: border-box;
      overflow: hidden;
      padding-bottom: 70px; /* Space for footer */
      transition: opacity 0.3s ease;
    }

    /* Ensure proper stacking */
    main, section {
      position: relative;
      z-index: 10;
    }
    
    /* Responsive text sizing */
    @media (max-width: 768px) {
      .full-section h2 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
      }
      .full-section p {
        font-size: 0.95rem !important;
        line-height: 1.4;
        margin-bottom: 1rem;
      }
      .full-section .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
      }
      .full-section .text-5xl {
        font-size: 2.5rem !important;
      }
      .full-section .text-xl {
        font-size: 1.1rem !important;
      }
      .full-section .max-w-3xl {
        max-width: 95% !important;
      }
      .full-section .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
      }
    }

    /* ── Section transition effects ──────────── */

    /* ── Footer ─────────────────────────────────── */
    footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 50;
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 18px 24px;
      background: rgba(8,8,8,0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    
    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
      width: 100%;
    }

    /* ── Responsive form row ────────────────────── */
    .form-row {
      display: flex;
      gap: 8px;
      flex-direction: column;
    }
    @media (min-width: 480px) {
      .form-row { flex-direction: row; }
    }
    
    /* ── Additional responsive fixes ──────────── */
    @media (max-width: 480px) {
      main {
        padding: 80px 20px 40px 20px;
      }
      
      footer {
        padding: 40px 20px;
      }
      
      .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
      
      .full-section {
        padding: 20px;
      }
      
      .full-section .space-y-6 > * + * {
        margin-top: 1.5rem !important;
      }
      
      .full-section .mt-16 {
        margin-top: 2rem !important;
      }
      
      .full-section .gap-12 {
        gap: 1.5rem !important;
      }
      
      .text-4xl {
        font-size: 1.875rem !important;
      }
      
      .text-3xl {
        font-size: 1.5rem !important;
      }
    }
