/* ─── TOKENS ──────────────────────────────────────────── */
:root {
  --bg:        #080d1a;
  --bg-2:      #0c1425;
  --bg-3:      #111827;
  --surface:   #0f1c30;
  --surface-2: #162040;
  --border:    rgba(99, 155, 255, 0.08);
  --accent:    #6b9fff;
  --accent-dim: rgba(107, 159, 255, 0.15);
  --text-1:    #e2e8f4;
  --text-2:    #8fa3c0;
  --text-3:    #5a7091;
  --glow:      rgba(107, 159, 255, 0.12);
  --glow-2:    rgba(107, 159, 255, 0.22);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;

  --max-w: 780px;
  --section-py: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--accent-dim); color: var(--text-1); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

/* ─── LAYOUT ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 400;
  color: var(--text-1);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.section-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 52px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 13, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; gap: 8px; }

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text-1); }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 40px;
  padding: 7px 18px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--accent-dim); border-color: var(--accent); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-mobile-menu {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu[hidden] { display: none; }

.nav-mobile-link {
  display: block;
  padding: 10px 0;
  color: var(--text-2);
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-link:last-of-type { border-bottom: none; }

.nav-mobile-cta {
  display: block;
  margin-top: 12px;
  padding: 12px 20px;
  background: var(--accent);
  color: #080d1a;
  font-weight: 600;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.95rem;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(107, 159, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 12vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-2);
  max-width: 420px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.825rem;
  color: var(--text-3);
  flex-wrap: wrap;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--text-2);
}

.hero-divider { color: var(--text-3); opacity: 0.5; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #080d1a;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 40px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(107, 159, 255, 0);
}
.btn-primary:hover {
  background: #8fb5ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(107, 159, 255, 0.28);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary--large { font-size: 1.05rem; padding: 16px 36px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 20px;
  border-radius: 40px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: rgba(99, 155, 255, 0.3); color: var(--text-1); background: rgba(99, 155, 255, 0.05); }

/* ─── BENEFITS ───────────────────────────────────────── */
.benefits { background: var(--bg-2); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.benefit-card:hover {
  border-color: rgba(107, 159, 255, 0.2);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─── FEATURES ───────────────────────────────────────── */
.features { background: var(--bg); }

.features-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.feature-text p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.screenshot-placeholder {
  background: var(--surface);
  border: 1px dashed rgba(99, 155, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.8rem;
  min-height: 220px;
  aspect-ratio: 9/16;
  overflow: hidden;
}
.screenshot-placeholder--tall {
  aspect-ratio: 9/16;
  min-height: 320px;
  max-height: 480px;
}
.screenshot-placeholder small { font-size: 0.72rem; letter-spacing: 0.05em; opacity: 0.6; }

/* Feature section screenshots: portrait 9:16 images in portrait containers */
.feature-visual .screenshot-placeholder img,
.screenshot-item .screenshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}

/* ─── SCREENSHOTS ────────────────────────────────────── */
.screenshots { background: var(--bg-2); }

.screenshots-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-item { border-radius: var(--radius-lg); overflow: hidden; }
.screenshot-item .screenshot-placeholder { min-height: 400px; border-radius: var(--radius-lg); }

/* ─── TRUST ─────────────────────────────────────────── */
.trust { background: var(--bg); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.trust-item:hover { border-color: rgba(107, 159, 255, 0.15); }

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  color: var(--accent);
}

.trust-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
}
.trust-item p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* ─── CTA ────────────────────────────────────────────── */
.cta-section { background: var(--bg-2); }

.cta-inner {
  position: relative;
  text-align: center;
  padding: 72px 24px;
  border: 1px solid rgba(107, 159, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(107, 159, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner > * { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--text-1);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-sub {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 36px;
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq {
  background: var(--bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 680px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-align: left;
  background: var(--surface);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  letter-spacing: 0;
}
.faq-question:hover { background: var(--surface-2); color: var(--text-1); }
.faq-question[aria-expanded="true"] { background: var(--surface-2); color: var(--text-1); }

.faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--text-3);
  transition: transform 0.25s ease;
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 20px 16px;
  background: var(--surface);
}
.faq-answer[hidden] { display: none; }
.faq-answer p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.6;
}
.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
}
.faq-answer a:hover { color: #8fb5ff; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text-1);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-3); }

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-1); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-3); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-py: 60px; }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero { padding: 100px 20px 72px; }
  .hero-title { font-size: 3.2rem; }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }
  .feature-row--reverse > * { direction: ltr; }

  .screenshots-row { grid-template-columns: 1fr; }
  .screenshots-row .screenshot-placeholder { min-height: 360px; }

  .benefits-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-nav { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 4px; }
  .hero-divider { display: none; }
  .cta-inner { padding: 52px 20px; }
}
