    *, *::before, *::after { 
      box-sizing: border-box; 
      margin: 0; 
      padding: 0; 
      -webkit-tap-highlight-color: transparent !important;
      outline: none !important;
    }

    a, button, input, select, textarea {
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      outline: none !important;
    }

    :root {
      --bg:       #0a0c0f;
      --bg2:      #0f1217;
      --bg3:      #151a22;
      --border:   #1e2530;
      --border2:  #2a3340;
      --text:     #e8edf5;
      --muted:    #6b7990;
      --accent:   #4f8ef7;
      --accent2:  #7eb3ff;
      --android-color:  rgb(52, 168, 83);
      --green:    #3ecf8e;
      --mono:     'Space Mono', monospace;
      --sans:     'DM Sans', sans-serif;
    }

    @media (prefers-color-scheme: light) {
      :root:not([data-theme="dark"]) {
        --bg:       #ffffff;
        --bg2:      #f9fafb;
        --bg3:      #f3f4f6;
        --border:   #e5e7eb;
        --border2:  #d1d5db;
        --text:     #111827;
        --muted:    #4b5563;
        --accent:   #2563eb;
        --accent2:  #1d4ed8;
      }
    }

    :root[data-theme="light"] {
      --bg:       #ffffff;
      --bg2:      #f9fafb;
      --bg3:      #f3f4f6;
      --border:   #e5e7eb;
      --border2:  #d1d5db;
      --text:     #111827;
      --muted:    #4b5563;
      --accent:   #2563eb;
      --accent2:  #1d4ed8;
    }

    :root[data-theme="light"] .hl { background: rgba(37, 99, 235, 0.07) !important; }
    :root[data-theme="light"] .hero::before {
      background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 20%, rgba(52, 168, 83, 0.03) 0%, transparent 50%);
    }
    :root[data-theme="light"] .hero-badge {
      background: rgba(37, 99, 235, 0.05);
      border-color: rgba(37, 99, 235, 0.1);
    }

    @media (prefers-color-scheme: light) {
      :root:not([data-theme="dark"]) .hl { background: rgba(37, 99, 235, 0.07) !important; }
      :root:not([data-theme="dark"]) .hero::before {
        background:
          radial-gradient(ellipse 60% 50% at 20% 40%, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
          radial-gradient(ellipse 40% 60% at 80% 20%, rgba(52, 168, 83, 0.03) 0%, transparent 50%);
      }
      :root:not([data-theme="dark"]) .hero-badge {
        background: rgba(37, 99, 235, 0.05);
        border-color: rgba(37, 99, 235, 0.1);
      }
    }

    .theme-toggle {
      background: none;
      border: none;
      color: var(--muted);
      cursor: pointer;
      padding: 0.25rem;
      margin-left: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.15s;
    }
    .theme-toggle:hover { color: var(--text); }
    .theme-toggle svg { width: 18px; height: 18px; }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      font-size: 15px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* NAV */
    nav {
      position: sticky; top: 0; z-index: 100;
      padding: 0 2rem;
      height: 56px;
      background: var(--bg);
      opacity: 0.98;
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      transition: background 0.3s, border-color 0.3s;
    }
    :root:not([data-theme="light"]) nav {
      background: rgba(10,12,15,0.85);
    }
    :root[data-theme="light"] nav {
      background: rgba(255,255,255,0.85);
    }
    @media (prefers-color-scheme: light) {
      :root:not([data-theme="dark"]) nav {
        background: rgba(255,255,255,0.85);
      }
    }
    .nav-logo {
      display: flex !important;
      align-items: center !important;
      gap: 0.6rem;
      text-decoration: none;
      transition: opacity 0.15s;
      flex-shrink: 0;
    }
    .nav-logo:hover { opacity: 0.8; }
    .logo-icon {
      width: 20px;
      height: 20px;
      color: var(--accent2);
      flex-shrink: 0;
    }
    .logo-text {
      font-family: var(--mono);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--accent2);
      letter-spacing: -0.02em;
      display: block !important; /* Force visibility */
      transform: translateY(-1px);
      white-space: nowrap;
    }
    .nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
    .nav-links a {
      padding: 0.35rem 0.75rem;
      border-radius: 6px;
      color: var(--muted);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      transition: color 0.15s, background 0.15s;
    }
    .nav-links a:hover { color: var(--text); background: var(--bg3); }

    .mobile-menu-btn {
      display: none !important;
      background: none;
      border: none;
      color: var(--muted);
      cursor: pointer;
      padding: 0.5rem;
      margin: 0;
      line-height: 0;
    }
    .mobile-menu-btn svg { width: 24px; height: 24px; }

    /* HERO */
    .hero {
      padding: 6rem 2rem 4rem;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(79,142,247,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 20%, rgba(62,207,142,0.05) 0%, transparent 50%);
      pointer-events: none;
    }
    .hero-inner {
      max-width: 1100px; margin: 0 auto; width: 100%;
      display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(79,142,247,0.08);
      border: 1px solid rgba(79,142,247,0.2);
      border-radius: 100px;
      padding: 0.3rem 0.75rem;
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--accent2);
      margin-bottom: 1.5rem;
      letter-spacing: 0.04em;
    }
    .hero-badge span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }
    h1 {
      font-family: var(--mono);
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.04em;
      color: var(--text);
      margin-bottom: 1.25rem;
    }
    h1 em { font-style: normal; color: var(--android-color); }
    .hero-desc {
      color: var(--muted);
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.7;
      margin-bottom: 2rem;
      max-width: 420px;
    }
    .hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

    .btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.65rem 1.4rem;
      border-radius: 8px;
      font-family: var(--sans);
      font-size: 0.875rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.15s;
      cursor: pointer; border: none;
    }
    .btn-primary {
      background: var(--accent);
      color: #fff;
    }
    .btn-primary:hover { background: #6ba4ff; transform: translateY(-1px); }
    .btn-ghost {
      background: transparent;
      color: var(--muted);
      border: 1px solid var(--border2);
    }
    .btn-ghost:hover { color: var(--text); border-color: var(--muted); }

    .hero-stats {
      display: flex; gap: 2rem; margin-top: 2.5rem;
    }
    .stat-val {
      font-family: var(--mono);
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text);
    }
    .stat-label {
      font-size: 0.75rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-top: 0.1rem;
    }

    /* TERMINAL MOCKUP */
    .terminal {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      font-family: var(--mono);
      font-size: 0.78rem;
    }
    .terminal-bar {
      background: var(--bg3);
      padding: 0.6rem 1rem;
      display: flex; align-items: center; gap: 0.5rem;
      border-bottom: 1px solid var(--border);
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #ff5f57; }
    .dot-y { background: #febc2e; }
    .dot-g { background: #28c840; }
    .terminal-title { font-size: 0.7rem; color: var(--muted); margin: 0 auto; }
    .terminal-body { padding: 1.25rem; line-height: 1.8; }
    .t-dim { color: var(--muted); }
    .t-green { color: var(--green); }
    .t-blue { color: var(--accent2); }
    .t-prompt { color: var(--accent); }
    .t-white { color: var(--text); }

    /* SECTIONS */
    .section { padding: 4rem 2rem; }
    .container { max-width: 1100px; margin: 0 auto; }
    .section-label {
      font-family: var(--mono);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent);
      margin-bottom: 0.75rem;
    }
    h2 {
      font-family: var(--mono);
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text);
      margin-bottom: 1rem;
    }
    .section-desc {
      color: var(--muted);
      max-width: 520px;
      line-height: 1.7;
      margin-bottom: 3rem;
    }
    .section-desc:last-child { margin-bottom: 0; }

    /* FEATURES GRID */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
    }
    .feature-card {
      background: var(--bg);
      padding: 1.75rem;
      transition: background 0.15s;
    }
    .feature-card:hover { background: var(--bg2); }
    .feature-icon {
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      color: var(--accent2);
    }
    .feature-icon svg {
      width: 28px;
      height: 28px;
    }
    .feature-card h3 {
      font-family: var(--mono);
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.5rem;
      letter-spacing: -0.01em;
    }
    .feature-card p {
      font-size: 0.825rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* COMPARISON TABLE */
    .table-wrap { overflow-x: auto; }
    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.85rem;
    }
    th {
      font-family: var(--mono);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 0.75rem 1rem;
      text-align: left;
      color: var(--muted);
      border-bottom: 1px solid var(--border);
    }
    th.hl { color: var(--accent2); }
    td {
      padding: 0.875rem 1rem;
      border-bottom: 1px solid var(--border);
      color: var(--muted);
    }
    td:first-child {
      font-weight: 500;
      color: var(--text);
      font-size: 0.82rem;
    }
    td.hl {
      color: var(--accent2);
      font-weight: 600;
      font-family: var(--mono);
      font-size: 0.78rem;
    }
    tr:last-child td { border-bottom: none; }
    tr:hover td { background: rgba(255,255,255,0.015); }

    /* REQUIREMENTS */
    .req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .req-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 1.5rem;
    }
    .req-card h3 {
      font-family: var(--mono);
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--accent2);
      margin-bottom: 0.75rem;
    }
    .req-card ul { list-style: none; }
    .req-card li {
      font-size: 0.83rem;
      color: var(--muted);
      padding: 0.3rem 0;
      padding-left: 1rem;
      position: relative;
    }
    .req-card li::before {
      content: '-';
      position: absolute; left: 0;
      color: var(--border2);
    }
    .req-card a {
      color: var(--accent2);
      text-decoration: none;
    }
    .req-card a:hover {
      text-decoration: underline;
    }

    /* FOOTER */
    footer {
      border-top: 1px solid var(--border);
      padding: 2rem;
      text-align: center;
    }
    footer p { font-size: 0.8rem; color: var(--muted); }
    footer a { color: var(--muted); text-decoration: none; }
    footer a:hover { color: var(--text); }

    /* DIVIDER */
    .divider {
      height: 1px;
      background: var(--border);
      max-width: 1100px;
      margin: 0 auto;
    }

    /* CTA SECTION */
    .cta-section {
      padding: 4rem 2rem;
      background: linear-gradient(180deg, var(--bg), var(--bg2));
    }
    .cta-section .container {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
    }
    .cta-section h2 { margin-bottom: 0.5rem; text-align: left; }
    .cta-section p { color: var(--muted); margin-bottom: 2rem; text-align: left; }
    .cta-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-start; }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .mobile-menu-btn { display: flex !important; }
      .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      }
      .nav-links.active { display: flex; }
      .nav-links a { width: 100%; text-align: left; padding: 0.75rem; }

      .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
      .terminal { display: none; }
      .features-grid { grid-template-columns: 1fr; }
      .req-grid { grid-template-columns: 1fr; }
      nav { padding: 0 1rem; }
      .hero-stats { gap: 1.5rem; }
    }
    
.flip-phrase {
  display: inline;
  white-space: nowrap;
}

.flip-word {
  display: inline-grid;
  grid-template-areas: "word";
  width: 7ch;
  line-height: inherit;
  vertical-align: baseline;
  font-style: normal;
  perspective: 900px;
  animation: flipWordWidth 4s infinite;
}

.flip-word span {
  grid-area: word;
  display: inline-block;
  line-height: inherit;
  white-space: nowrap;
  transform-origin: 50% 55%;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.flip-dot {
  display: inline;
  line-height: inherit;
  vertical-align: baseline;
  color: var(--text);
}

.flip-word-a {
  color: var(--android-color);
  animation: flipWordA 4s infinite;
}

.flip-word-b {
  color: var(--accent2);
  animation: flipWordB 4s infinite;
}

@keyframes flipWordWidth {
  0%, 45% {
    width: 6ch;
  }

  50%, 95% {
    width: 4ch;
  }

  100% {
    width: 6ch;
  }
}

@keyframes flipWordA {
  0%, 42% {
    opacity: 1;
    transform: rotateX(0deg);
  }

  50%, 92% {
    opacity: 0;
    transform: rotateX(180deg);
  }

  100% {
    opacity: 1;
    transform: rotateX(360deg);
  }
}

@keyframes flipWordB {
  0%, 42% {
    opacity: 0;
    transform: rotateX(-180deg);
  }

  50%, 92% {
    opacity: 1;
    transform: rotateX(0deg);
  }

  100% {
    opacity: 0;
    transform: rotateX(180deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flip-word,
  .flip-word-a,
  .flip-word-b {
    animation: none;
  }

  .flip-word {
    width: 7ch;
  }

  .flip-word-b {
    display: none;
  }
}

.terminal-body > div {
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transform: none;

  clip-path: inset(0 100% 0 0);

  transition:
    opacity 40ms linear,
    clip-path var(--terminal-reveal-ms, 220ms) steps(var(--terminal-chars, 24), end);
}

.terminal-body > div.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.terminal-body > .terminal-gap {
  min-height: 1.8em;
}

.terminal-body.terminal-reset > div {
  transition: none;
}
