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

:root {
  /* Palette derived from icon: gold/amber wings on dark charcoal */
  --gold: #D4A645;
  --gold-bright: #E8C060;
  --gold-dim: #A07E30;
  --gold-deep: #4A3518;
  --gold-surface: #1E1810;
  --silver: #C8CDD0;
  --silver-dim: #8A9199;
  --bg: #0C0B09;
  --surface: #15130F;
  --surface-2: #1C1914;
  --text: #E8E4DE;
  --text-dim: #9B958A;
  --border: #2E2820;
  --border-light: #4A3F30;
  --radius: 16px;
  --max-w: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; }

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

/* ── Nav ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12,11,9,.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-weight: 700; font-size: 18px; color: var(--gold);
}

.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(212,166,69,.30) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 60%, rgba(160,126,48,.08) 0%, transparent 50%);
}

.hero-badge {
  display: inline-block;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 600;
  color: var(--gold);
  background: rgba(212,166,69,.08);
  border: 1px solid rgba(212,166,69,.18);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--gold-bright); }

.hero p {
  font-size: 20px; color: var(--text-dim);
  max-width: 560px; margin: 0 auto 36px;
  line-height: 1.5;
}

.app-store-badge {
  display: inline-block;
  transition: opacity .2s;
}
.app-store-badge:hover { opacity: .8; }
.app-store-badge img { height: 54px; }

/* ── Hero Icon Showcase ─────────────────────────────── */
.hero-icon-showcase {
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero-icon-wrap {
  position: relative;
  width: 200px; height: 200px;
}

.hero-icon-wrap img {
  width: 200px; height: 200px;
  border-radius: 44px;
  box-shadow:
    0 0 80px rgba(74,53,24,.6),
    0 0 160px rgba(160,126,48,.2),
    0 30px 60px rgba(0,0,0,.5);
}

/* Metallic ring around the icon, echoing the concentric circles in the icon */
.hero-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50px;
  border: 2px solid rgba(200,205,208,.12);
  pointer-events: none;
}

.hero-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 58px;
  border: 1px solid rgba(200,205,208,.06);
  pointer-events: none;
}

/* ── Phone Mockup (below icon) ──────────────────────── */
.hero-device {
  margin: 0 auto;
  max-width: 300px;
  border-radius: 36px;
  border: 2px solid var(--border-light);
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 40px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(200,205,208,.04),
    inset 0 1px 0 rgba(200,205,208,.05);
}

.hero-device .screen {
  background: var(--bg);
  padding: 24px 20px;
  font-family: 'SF Mono', ui-monospace, monospace;
}

.screen-header {
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.screen-lesson {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: var(--surface-2);
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}

.screen-lesson .num {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(212,166,69,.12);
  color: var(--gold);
  font-size: 13px; font-weight: 700;
}

.screen-lesson .title {
  font-size: 12px; color: var(--text);
  font-weight: 600;
}

.screen-lesson .sub {
  font-size: 10px; color: var(--text-dim);
  margin-top: 2px;
}

.screen-radio {
  margin-top: 16px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.screen-radio .label {
  font-size: 10px; color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.screen-radio .msg {
  font-size: 12px; color: var(--text);
  line-height: 1.5;
}

/* ── Features ────────────────────────────────────────── */
.features { padding: 100px 0; }

.section-label {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 600;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center; margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 60px;
}

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

.feature-card {
  background:
    linear-gradient(160deg, rgba(200,205,208,.03) 0%, transparent 40%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74,53,24,.15);
}

.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,166,69,.08);
  border: 1px solid rgba(212,166,69,.12);
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px; color: var(--text-dim); line-height: 1.5;
}

/* ── Curriculum ──────────────────────────────────────── */
.curriculum {
  padding: 100px 0;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--gold-surface) 50%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.lesson-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: rgba(21,19,15,.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s;
  backdrop-filter: blur(8px);
}
.lesson-item:hover { border-color: var(--border-light); }

.lesson-num {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: 14px; font-weight: 700;
  color: var(--gold);
  min-width: 28px;
}

.lesson-info h4 {
  font-size: 15px; font-weight: 600;
}

.lesson-info span {
  font-size: 12px; color: var(--text-dim);
}

.lesson-item .badge-free {
  margin-left: auto;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--gold);
  background: rgba(212,166,69,.10);
  padding: 4px 8px; border-radius: 6px;
}

.lesson-item .badge-pro {
  margin-left: auto;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--silver);
  background: rgba(200,205,208,.08);
  padding: 4px 8px; border-radius: 6px;
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing { padding: 100px 0; }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 48px auto 0;
}

.pricing-card {
  background:
    linear-gradient(160deg, rgba(200,205,208,.02) 0%, transparent 30%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--gold-dim);
  position: relative;
  background:
    linear-gradient(160deg, rgba(212,166,69,.06) 0%, transparent 40%),
    var(--surface);
  box-shadow: 0 0 60px rgba(74,53,24,.2);
}

.pricing-card.featured::before {
  content: 'BEST VALUE';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 4px 14px; border-radius: 100px;
  letter-spacing: .5px;
}

.pricing-card h3 {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 40px; font-weight: 800;
  margin-bottom: 4px;
}

.pricing-card .price-sub {
  font-size: 14px; color: var(--text-dim);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none; text-align: left;
  margin-bottom: 28px;
}

.pricing-card li {
  font-size: 15px; color: var(--text-dim);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}

.pricing-card li::before {
  content: '\2713';
  color: var(--gold); font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px; font-weight: 700;
  border: none; cursor: pointer;
  transition: opacity .2s, transform .1s;
  text-decoration: none;
}
.btn:hover { opacity: .9; text-decoration: none; transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(74,53,24,.3);
}

.btn-outline {
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--gold);
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-weight: 700; font-size: 16px; color: var(--gold);
}

.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 14px; color: var(--text-dim); }
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 13px; color: var(--text-dim);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── Legal Pages (Privacy / Support) ─────────────────── */
.legal-page {
  padding: 120px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 36px; font-weight: 800;
  margin-bottom: 8px;
}

.legal-page .updated {
  font-size: 14px; color: var(--text-dim);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px; font-weight: 700;
  margin-top: 36px; margin-bottom: 12px;
}

.legal-page p, .legal-page li {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-page ul { padding-left: 24px; margin-bottom: 16px; }

.legal-page a { color: var(--gold); }

/* ── Support Page extras ─────────────────────────────── */
.support-card {
  background:
    linear-gradient(160deg, rgba(200,205,208,.02) 0%, transparent 30%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}

.support-card h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}

.support-card p {
  margin-bottom: 0;
}

.faq-item { margin-bottom: 28px; }
.faq-item h3 {
  font-size: 17px; font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.faq-item p {
  margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero p { font-size: 17px; }
  .hero-icon-wrap { width: 150px; height: 150px; }
  .hero-icon-wrap img { width: 150px; height: 150px; border-radius: 34px; }
  .hero-icon-wrap::before { inset: -6px; border-radius: 40px; }
  .hero-icon-wrap::after { inset: -16px; border-radius: 48px; }
  .features, .curriculum, .pricing { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
