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

:root {
  --bg:        #0b0b0f;
  --bg-card:   #141418;
  --bg-subtle: #1a1a22;
  --accent:    #ff6600;
  --accent-dim:#ff660033;
  --text:      #e8e8ec;
  --text-muted:#8888a0;
  --radius:    12px;
  --max-w:     960px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,15,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #ffffff0a;
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--text);
  text-decoration: none;
}
.nav-brand svg { width: 32px; height: 32px; border-radius: 7px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.hero-icon {
  width: 120px; height: 120px;
  border-radius: 26px;
  margin: 0 auto 32px;
  box-shadow: 0 0 60px var(--accent-dim), 0 8px 32px #00000080;
}
.hero h1 {
  font-size: 3rem; font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero .tagline {
  font-size: 1.2rem; color: var(--text-muted);
  max-width: 520px; margin: 0 auto 40px;
}
.app-store-badge {
  display: inline-block;
  transition: transform .15s;
}
.app-store-badge:hover { transform: scale(1.04); }
.app-store-badge img { height: 54px; }

/* ── Features ──────────────────────────────────────────────── */
.features { padding: 60px 0 80px; }
.features h2 {
  text-align: center; font-size: 1.8rem; font-weight: 700;
  margin-bottom: 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid #ffffff0a;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--accent-dim); }
.feature-card--hero {
  grid-column: span 1;
  border-color: #ff660025;
  background: linear-gradient(135deg, #1a1208 0%, var(--bg-card) 100%);
}
.feature-card--hero h3 { color: var(--accent); }
@media (min-width: 641px) {
  .feature-card--hero { grid-column: span 1; }
  .feature-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.feature-card .icon {
  font-size: 1.6rem; margin-bottom: 12px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-subtle);
  border-radius: 10px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.55; }

/* ── Specs strip ───────────────────────────────────────────── */
.specs {
  padding: 48px 0;
  border-top: 1px solid #ffffff08;
  border-bottom: 1px solid #ffffff08;
}
.specs-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px;
  text-align: center;
}
.specs-grid .spec strong {
  display: block; font-size: 1.5rem; color: var(--accent);
}
.specs-grid .spec span {
  font-size: .85rem; color: var(--text-muted);
}

/* ── CTA ───────────────────────────────────────────────────── */
.cta {
  padding: 80px 0;
  text-align: center;
}
.cta h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.cta p  { color: var(--text-muted); margin-bottom: 32px; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid #ffffff08;
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
}
.footer-links { margin-bottom: 10px; }
.footer-links a { margin: 0 12px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ── Legal pages ───────────────────────────────────────────── */
.legal {
  padding: 80px 0 60px;
  max-width: 680px;
  margin: 0 auto;
}
.legal h1 {
  font-size: 2rem; font-weight: 700; margin-bottom: 8px;
}
.legal .updated {
  color: var(--text-muted); font-size: .85rem; margin-bottom: 36px;
}
.legal h2 {
  font-size: 1.15rem; font-weight: 600; margin: 32px 0 10px;
}
.legal p, .legal ul {
  color: var(--text-muted); font-size: .93rem; margin-bottom: 14px;
}
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }

/* ── Support page ──────────────────────────────────────────── */
.support-card {
  background: var(--bg-card);
  border: 1px solid #ffffff0a;
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
}
.support-card h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.support-card p  { color: var(--text-muted); font-size: .93rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 60px 0 48px; }
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1rem; }
  .hero-icon { width: 90px; height: 90px; border-radius: 20px; }
  .features h2 { font-size: 1.4rem; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .82rem; }
  .specs-grid { gap: 24px; }
}
