/* ═══════════════════════════════════════════════════════════
   LingoEye landing — brand tokens from app (main.dart)
   kTempleGold #C9A84C · surfaces · metallic gold gradient
   Mobile-first; enhance at larger breakpoints
   ═══════════════════════════════════════════════════════════ */

:root {
  --gold: #c9a84c;
  --gold-light: #f2e3c6;
  --gold-pale: #fff9e6;
  --gold-mid: #d4af37;
  --gold-deep: #7a6640;
  --bg: #0a0908;
  --bg-elevated: #12100d;
  --surface-dialog: #1e1a14;
  --surface-card: #2a2015;
  --text: #ffffff;
  --text-secondary: #cccccc;
  --text-hint: rgba(255, 255, 255, 0.6);
  --border-gold: rgba(201, 168, 76, 0.55);
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.45);
  --wrap: min(1120px, calc(100% - 2rem));
  --header-h: 64px;
  --gold-gradient: linear-gradient(
    135deg,
    #f2e3c6 0%,
    #c9a84c 22%,
    #fff9e6 40%,
    #d4af37 58%,
    #7a6640 78%,
    #f2e3c6 100%
  );
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* ── Header ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--gold-light);
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.15rem;
}

.header-nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--gold-light);
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #1a1408;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.btn-gold:hover {
  color: #1a1408;
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ── Sections ────────────────────────────────────────────── */

.section {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0 0 1.75rem;
  color: var(--text-secondary);
  max-width: 36rem;
  font-size: 1.05rem;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.lede {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 34rem;
}

.fine-print {
  color: var(--text-hint);
  font-size: 0.85rem;
  margin: 0.75rem 0 0;
}

.mode-tag {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

/* ── Cards ───────────────────────────────────────────────── */

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--gold-light);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* ── Phone frame ─────────────────────────────────────────── */

.phone-frame {
  position: relative;
  width: min(100%, 280px);
  margin-inline: auto;
  /* Screenshots already include system UI — thin gold rim only */
  border-radius: 22px;
  padding: 3px;
  border: 2px solid transparent;
  background-image:
    linear-gradient(#0a0908, #0a0908),
    var(--gold-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-soft);
}

.phone-frame-sm {
  width: min(100%, 220px);
}

.phone-screen {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
  display: block;
}

.phone-video {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 18px;
  object-fit: cover;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 168, 76, 0.14), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 5.5vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.hero-cta {
  margin-top: 1.75rem;
}

.hero-media .phone-frame {
  width: min(100%, 300px);
}

/* ── Problem ─────────────────────────────────────────────── */

.problem {
  background: var(--bg-elevated);
  border-block: 1px solid rgba(201, 168, 76, 0.12);
}

/* ── How it works ────────────────────────────────────────── */

.how-cards .card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding-top: 1.5rem;
}

.feature-card h3 {
  margin-top: 0.25rem;
  font-size: 1.25rem;
}

.feature-card .phone-frame {
  margin-bottom: 0.35rem;
}

/* ── What you get ────────────────────────────────────────── */

.you-get {
  background: var(--bg-elevated);
  border-block: 1px solid rgba(201, 168, 76, 0.12);
}

.you-get-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.get-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.get-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: var(--surface-card);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 12px;
}

.get-list strong {
  color: var(--gold-light);
  font-size: 0.98rem;
}

.get-list span {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.you-get-media {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.phone-frame-offset {
  /* stacked on mobile; offset on desktop */
}

/* ── Bargain ─────────────────────────────────────────────── */

.bargain-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: var(--surface-dialog);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 1.75rem 1.25rem;
}

.example-line {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border-radius: 0 12px 12px 0;
}

.example-en {
  display: block;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--gold-pale);
  font-style: italic;
}

.example-note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-hint);
  font-style: normal;
}

/* ── Locals ──────────────────────────────────────────────── */

.locals-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

/* ── Pricing ─────────────────────────────────────────────── */

.pricing {
  background: var(--bg-elevated);
  border-block: 1px solid rgba(201, 168, 76, 0.12);
}

.price-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  position: relative;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.35), var(--shadow-soft);
}

.pack-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1408;
  background: var(--gold-gradient);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
}

.pack-size {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pack-label {
  margin: 0.15rem 0 0.75rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
}

.pack-pos {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-note {
  margin: 1.5rem 0 0;
  color: var(--text-hint);
  font-size: 0.9rem;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.pricing-cta {
  margin-top: 1.5rem;
  text-align: center;
}

/* ── Access / closed testing ─────────────────────────────── */

.access {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 168, 76, 0.1), transparent 55%),
    var(--bg);
}

.access-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  background: var(--surface-dialog);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 2rem 1.35rem;
}

.access-inner .section-sub {
  margin-inline: auto;
}

.access-list {
  text-align: left;
  margin: 0 auto 1rem;
  max-width: 28rem;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.access-list li {
  margin-bottom: 0.45rem;
}

.access-list strong {
  color: var(--gold-light);
}

.access-note {
  margin-bottom: 1.25rem;
}

/* ── Footer ──────────────────────────────────────────────── */

.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  background: #070605;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand p {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 28rem;
}

.footer-heading {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.footer-notes ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-notes li {
  margin-bottom: 0.4rem;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.footer-meta p {
  margin: 0 0 0.4rem;
}

/* ── Desktop ─────────────────────────────────────────────── */

@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }

  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .you-get-grid {
    grid-template-columns: 1fr 1fr;
  }

  .you-get-media {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .phone-frame-offset {
    margin-top: 2.5rem;
    margin-left: -1.5rem;
  }

  .bargain-inner {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2.25rem;
  }

  .locals-inner {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1.4fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (min-width: 960px) {
  .hero-media .phone-frame {
    width: 320px;
  }

  .you-get-media .phone-frame {
    width: 240px;
  }
}

/* ── Reduced motion ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
