:root {
  --bg: #070b18;
  --bg2: #0b1124;
  --card: #111a33;
  --card2: #151f3d;
  --border: rgba(129, 140, 248, 0.16);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --muted2: #6b7399;
  --indigo: #6366f1;
  --indigo-lt: #818cf8;
  --indigo-dk: #4338ca;
  --grad: linear-gradient(135deg, #818cf8, #6366f1 55%, #a855f7);
  --radius: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(99, 102, 241, 0.4); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand-icon { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  text-decoration: none; font-weight: 600; font-size: 0.92rem;
  background: var(--grad); color: #fff; padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 1.2rem; border-radius: 10px; padding: 6px 12px; cursor: pointer; margin-left: auto; }
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 18px; background: rgba(7, 11, 24, 0.95); backdrop-filter: blur(14px); }
.nav-mobile a { text-decoration: none; padding: 10px 4px; color: var(--muted); border-bottom: 1px solid var(--border); }
.nav-mobile a.nav-cta { border: none; text-align: center; margin-top: 10px; color: #fff; }
.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 24px 90px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.28), transparent 65%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(129,140,248,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(129,140,248,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--indigo-lt);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px;
  background: rgba(99, 102, 241, 0.08); margin-bottom: 22px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 18px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; flex-wrap: wrap; }
.play-badge { height: 58px; width: auto; transition: transform 0.2s; }
.play-badge:hover { transform: scale(1.04); }
.qr-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 10px 16px 10px 10px; }
.qr-card img { width: 64px; height: 64px; border-radius: 8px; background: #fff; padding: 4px; }
.qr-card span { font-size: 0.82rem; color: var(--muted); font-weight: 500; line-height: 1.4; }
.hero-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted2); font-size: 0.88rem; font-weight: 500; }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted2); }

.hero-phone { position: relative; display: flex; justify-content: center; }
.phone-frame {
  width: min(320px, 72vw); border-radius: 44px; overflow: hidden;
  border: 10px solid #1a2342;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border), 0 0 90px rgba(99, 102, 241, 0.22);
  transform: rotate(2deg);
}
.phone-frame img { width: 100%; height: auto; }
.phone-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(17, 26, 51, 0.92); border: 1px solid var(--border);
  border-radius: 16px; padding: 12px 18px 12px 12px; backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  animation: floaty 5s ease-in-out infinite;
}
.phone-float-1 { top: 12%; left: -6%; }
.phone-float-2 { bottom: 14%; right: -4%; animation-delay: 2.5s; }
.float-icon {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(99, 102, 241, 0.16); color: var(--indigo-lt); font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.1rem;
}
.phone-float strong { display: block; font-size: 0.88rem; }
.phone-float small { color: var(--muted); font-size: 0.74rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.stats-inner { max-width: 1180px; margin: 0 auto; padding: 34px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section-inner { max-width: 1180px; margin: 0 auto; padding: 96px 24px; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--indigo-lt); border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px; margin-bottom: 18px;
  background: rgba(99, 102, 241, 0.08);
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Tools grid ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tool-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.tool-card:hover { transform: translateY(-5px); border-color: rgba(129, 140, 248, 0.45); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); }
.tool-icon {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(99, 102, 241, 0.14); color: var(--indigo-lt); margin-bottom: 16px;
}
.tool-icon svg { width: 24px; height: 24px; }
.tool-name { font-weight: 600; font-size: 1rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-desc { color: var(--muted); font-size: 0.88rem; }
.offline-badge { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #34d399; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); padding: 2px 9px; border-radius: 999px; }

/* ---------- Highlights ---------- */
.highlights { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hl-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 36px;
  position: relative; overflow: hidden; transition: transform 0.22s, border-color 0.22s;
}
.hl-card:hover { transform: translateY(-4px); border-color: rgba(129, 140, 248, 0.45); }
.hl-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hl-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo-lt); margin-bottom: 14px; }
.hl-card h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 12px; }
.hl-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 16px; }
.hl-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hl-list li { color: var(--muted); font-size: 0.92rem; padding-left: 26px; position: relative; }
.hl-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid #34d399; border-bottom: 2.5px solid #34d399; transform: rotate(-45deg); }
.hl-visual { display: flex; justify-content: center; }
.mini-bar { display: flex; align-items: center; gap: 0; }
.mini-bar-handle { width: 26px; height: 120px; background: var(--card2); border: 1px solid var(--border); border-right: none; border-radius: 14px 0 0 14px; }
.mini-bar-panel { background: var(--card2); border: 1px solid var(--border); border-radius: 0 18px 18px 0; padding: 22px; width: 210px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.mini-slider { position: relative; height: 130px; width: 10px; margin: 0 auto 16px; background: rgba(129,140,248,0.18); border-radius: 999px; }
.mini-slider-fill { position: absolute; bottom: 0; left: 0; right: 0; height: 82%; background: var(--grad); border-radius: 999px; }
.mini-slider-thumb { position: absolute; left: 50%; bottom: 82%; transform: translate(-50%, 50%); width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(99,102,241,0.6); }
.mini-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; margin-bottom: 12px; }
.mini-row span:first-child { font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.mini-mute { color: #f87171; font-weight: 600; }
.mini-chips { display: flex; gap: 8px; }
.mini-chips span { font-size: 0.72rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.mini-chips span.on { background: rgba(99,102,241,0.2); border-color: var(--indigo); color: #fff; }

/* ---------- Screenshots ---------- */
.screens-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.screens-row figure { margin: 0; }
.screens-row img { border-radius: 22px; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; width: 100%; }
.screens-row figure:hover img { transform: translateY(-8px) scale(1.015); box-shadow: 0 26px 60px rgba(0,0,0,0.55); }
.screens-row figcaption { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-list { max-width: 780px; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; transition: border-color 0.2s; }
.faq-list details[open] { border-color: rgba(129, 140, 248, 0.45); }
.faq-list summary { font-weight: 600; cursor: pointer; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; color: var(--indigo-lt); font-weight: 400; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--muted); font-size: 0.95rem; margin-top: 12px; }
.faq-list a { color: var(--indigo-lt); }

/* ---------- Download ---------- */
.dl-card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, #141b3d, #1c1440 60%, #251547);
  border: 1px solid var(--border); border-radius: 32px; padding: 72px 32px;
}
.dl-glow { position: absolute; top: -140px; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(99,102,241,0.35), transparent 65%); pointer-events: none; }
.dl-icon { width: 88px; height: 88px; border-radius: 24px; margin: 0 auto 24px; box-shadow: 0 18px 44px rgba(0,0,0,0.5); position: relative; }
.dl-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 10px; position: relative; }
.dl-card p { color: var(--muted); margin-bottom: 32px; position: relative; }
.dl-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; position: relative; margin-bottom: 28px; }
.qr-card-light { background: rgba(255,255,255,0.06); }
.dl-meta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--muted2); font-size: 0.85rem; font-family: 'JetBrains Mono', monospace; position: relative; }
.dl-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 44px 24px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { width: 100%; color: var(--muted2); font-size: 0.82rem; margin-top: 8px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .phone-float { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero { padding-top: 120px; }
  .hl-wide { grid-template-columns: 1fr; }
  .screens-row { grid-template-columns: repeat(2, 1fr); }
  .screens-row figure:last-child { grid-column: 1 / -1; max-width: 320px; margin: 0 auto; width: 100%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hl-grid { grid-template-columns: 1fr; }
  .phone-float-1 { left: 0; }
  .phone-float-2 { right: 0; }
  .section-inner { padding: 72px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
