/* ── Variables ──────────────────────────────────────────────────────────── */
:root {
  --bg-primary:   #0F1923;
  --bg-surface:   #162030;
  --bg-elevated:  #1E2D3D;
  --accent:       #8DB4D4;
  --accent-light: #A8C8E8;
  --gold:         #C9A84C;
  --gold-light:   #E8C96A;
  --border:       #2A3F52;
  --text-primary: #E8EDF2;
  --text-muted:   #7A90A4;
  --positive:     #4CAF7D;
  --radius:       16px;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 25, 35, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links .nav-cta {
  background: var(--accent);
  color: #000;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
}
.nav-links .nav-cta:hover { background: var(--accent-light); color: #000; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.2s;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 60px;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(141, 180, 212, 0.12);
  border: 1px solid rgba(141, 180, 212, 0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-image {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}
.hero-phone {
  width: 260px;
  border-radius: 36px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06);
}

/* ── App Store Button ───────────────────────────────────────────────────── */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid #444;
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  transition: 0.2s;
  cursor: pointer;
}
.btn-appstore:hover { background: #1a1a1a; border-color: #666; }
.btn-appstore-sub { font-size: 11px; color: #aaa; line-height: 1; margin-bottom: 2px; }
.btn-appstore-main { font-size: 18px; font-weight: 700; line-height: 1; }
.btn-appstore--large { padding: 16px 28px; }
.btn-appstore--large .btn-appstore-main { font-size: 22px; }

/* ── Section Shared ─────────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ── How It Works ───────────────────────────────────────────────────────── */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 0 16px;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(141, 180, 212, 0.12);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }
.step-arrow {
  font-size: 24px;
  color: var(--border);
  margin-top: 12px;
  align-self: center;
}

/* ── Features ───────────────────────────────────────────────────────────── */
.features { padding: 96px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(141, 180, 212, 0.1);
  border: 1px solid rgba(141, 180, 212, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Screenshots ────────────────────────────────────────────────────────── */
.screenshots {
  padding: 96px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.screenshots-scroll {
  display: flex;
  gap: 24px;
  padding: 16px 48px 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
}
.screenshot-item img {
  width: 240px;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(141,180,212,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.screenshot-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(141,180,212,0.35);
}
.screenshot-item p {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing { padding: 96px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.pricing-card--gold {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: capitalize;
}
.gold-text { color: var(--gold); }
.price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-period {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 24px;
}
.pricing-features { margin-bottom: 28px; }
.pricing-features li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { font-size: 13px; flex-shrink: 0; }
.pricing-features li.yes { color: var(--text-primary); }
.pricing-features li.yes::before { content: "✓"; color: var(--positive); font-weight: 700; }
.pricing-features li.no { color: var(--text-muted); }
.pricing-features li.no::before { content: "—"; color: var(--border); }

.btn-secondary, .btn-gold {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: 0.2s;
}
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #000;
}
.btn-gold:hover { opacity: 0.9; }

/* ── Download ───────────────────────────────────────────────────────────── */
.download {
  padding: 96px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  text-align: center;
}
.download-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.download h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.download p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 16px;
}
.download .btn-appstore { display: inline-flex; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}
.footer-icon { width: 28px; height: 28px; border-radius: 7px; }
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* ── Inner Pages (Support, Privacy, Terms) ──────────────────────────────── */
.page-hero {
  padding: 120px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* Support FAQ */
.faq-section { margin-bottom: 56px; }
.faq-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
}
.faq-item a { color: var(--accent); text-decoration: underline; }

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}
.contact-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.contact-card p { color: var(--text-muted); margin-bottom: 20px; font-size: 15px; }
.contact-card a.btn-contact {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 50px;
  transition: 0.2s;
}
.contact-card a.btn-contact:hover { background: var(--accent-light); }

/* Legal pages */
.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text-primary);
}
.legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--accent);
}
.legal p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal ul li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 4px;
}
.legal a { color: var(--accent); text-decoration: underline; }
.effective-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { text-align: center; }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 100px;
    gap: 40px;
  }
  .hero-sub { margin: 0 auto 36px; }
  .hero-image { flex: unset; }
  .hero-phone { width: 200px; }

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 4px 0; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }

  .screenshots-scroll { padding: 16px 24px 32px; }
  .screenshot-item img { width: 190px; }

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