/* Ask Lumi product page — Lumina colour system (exact values from
   05_Mobile_App/lib/theme/app_theme.dart LuminaTokens.light) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&display=swap');

:root {
  --bg: #F7F5F0;
  --bg-subtle: #F0EDE6;
  --card: #FFFFFF;
  --ink: #22263D;
  --ink-2: #626777;
  --ink-3: #707583;
  --faint: #858996;
  --line: #DEDCD5;
  --navy: #22263D;
  --navy-hover: #343A58;
  --champagne: #C3AA78;
  --champagne-ink: #6B542B;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.faint { color: var(--faint); font-size: 0.8rem; }

h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 1.08rem; white-space: nowrap; }
.brand-name small { font-weight: 400; font-size: 0.72rem; color: var(--ink-3); margin-left: 4px; }
.brand-name small a { color: var(--ink-3); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--navy); color: #FFFFFF !important;
  padding: 8px 18px; border-radius: 999px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--navy-hover); }
.lang-select {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 8px; font-size: 0.85rem; font-family: var(--sans);
  color: var(--ink); cursor: pointer; max-width: 120px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.15s ease;
}
.btn-primary { background: var(--navy); color: #FFFFFF; }
.btn-primary:hover { background: var(--navy-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--faint); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 72px 0 84px; }
.hero-mark { width: 92px; height: auto; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.16; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--champagne-ink); }
.hero-lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--ink-2); max-width: 680px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
/* Google's official Play badge, unaltered (brand rules); the PNG carries its own clear space */
.play-badge { display: block; line-height: 0; border-radius: 10px; }
.play-badge img { height: 66px; width: auto; max-width: 100%; }
.play-badge:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.hero-note { margin-top: 16px; font-size: 0.85rem; color: var(--ink-3); }

/* ---- Sections ---- */
.section { padding: 76px 0; }
.section-tint { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow {
  display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--champagne-ink); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 1.02rem; }

/* ---- Life Story chapters ---- */
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chapter {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.chapter span { font-family: var(--serif); font-size: 1.25rem; color: var(--champagne-ink); flex-shrink: 0; }
.chapter p { font-size: 0.9rem; color: var(--ink-2); }

/* ---- Archetype cards ---- */
.cards-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.acard {
  width: 246px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(34, 38, 61, 0.22); color: #FFFFFF; display: flex;
}
.acard-moon { background: linear-gradient(160deg, #AEB6C4 0%, #7E8AA0 55%, #5C6679 100%); color: #1C2230; }
.acard-jupiter { background: linear-gradient(160deg, #C9922E 0%, #9C6A14 55%, #6E4A0C 100%); }
.acard-saturn { background: linear-gradient(160deg, #46617E 0%, #2F4458 55%, #1E2D3C 100%); }
.acard-in { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 26px 20px; width: 100%; }
.a-kicker { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; opacity: 0.85; margin-bottom: 6px; }
.a-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.25; margin-bottom: 14px; }
.a-line { font-family: var(--serif); font-style: italic; font-size: 0.87rem; line-height: 1.5; opacity: 0.95; margin-bottom: 18px; }
.a-traits { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.a-traits div { font-size: 0.78rem; line-height: 1.45; opacity: 0.95; }
.a-traits span {
  display: block; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em;
  opacity: 0.8; margin-bottom: 2px; font-weight: 600;
}
.a-planet { font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; }
.a-signs { font-size: 0.67rem; letter-spacing: 0.04em; opacity: 0.85; }

/* ---- Feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px;
}
.feature h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 0.88rem; color: var(--ink-2); }

/* ---- Pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; max-width: 1040px; margin: 0 auto; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.price-card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.price-big { font-size: 1.55rem; font-weight: 700; color: var(--champagne-ink); margin-bottom: 14px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.price-card li { font-size: 0.9rem; color: var(--ink-2); padding-left: 16px; position: relative; }
.price-card li::before { content: '—'; position: absolute; left: 0; color: var(--champagne); }
.price-card .faint { margin-top: 12px; }

/* ---- Final CTA / footer ---- */
.final-cta { padding: 90px 0; }
.final-cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.footer { background: var(--navy); color: #C9CBD6; padding: 40px 0 26px; }
.footer .brand-name, .footer .brand { color: #FFFFFF; }
.footer .brand-name small, .footer .brand-name small a { color: #9FA3B3; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #C9CBD6; text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: #FFFFFF; }
.footer-note { margin-top: 22px; font-size: 0.78rem; color: #9FA3B3; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav-links { gap: 12px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .chapters, .feature-grid { grid-template-columns: 1fr; }
}
