/* ===========================================================
   Eos Tarot — landing styles
   Brand: "dawn, not prophecy". Midnight base, gold the only accent.
   =========================================================== */

/* ---- Design tokens (from brandbook) ---- */
:root {
  --midnight:   #16122E;   /* base / dark bg */
  --midnight-2: #1d1838;   /* raised surfaces */
  --twilight:   #4B3A7A;   /* secondary */
  --aurora:     #E08363;   /* warm accent */
  --lumen:      #F4C97A;   /* gold — the only bright accent, CTAs */
  --lumen-deep: #d8a94f;   /* gold hover */
  --mist:       #F6EFE3;   /* light text on dark */
  --mist-dim:   #c9c2d6;   /* muted text on dark */
  --ink:        #221B33;   /* text on light */

  --maxw: 1120px;
  --radius-s: 12px;
  --radius:   18px;
  --radius-l: 24px;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --shadow: 0 18px 50px -20px rgba(0,0,0,.55);
  --gap: clamp(1.25rem, 4vw, 2rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--mist);
  background: var(--midnight);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

/* ---- Dawn background wash ---- */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(75,58,122,.55) 0%, rgba(22,18,46,0) 60%),
    radial-gradient(90% 60% at 80% 10%, rgba(224,131,99,.18) 0%, rgba(22,18,46,0) 55%),
    var(--midnight);
}

/* ---- Layout helpers ---- */
.container { width: min(var(--maxw), 92vw); margin-inline: auto; }
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--lumen);
  margin: 0 0 1rem;
}
.section-title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.section-lead { color: var(--mist-dim); max-width: 56ch; font-size: 1.06rem; }
.center { text-align: center; margin-inline: auto; }
.center .section-lead { margin-inline: auto; }
/* On mobile, long lead paragraphs read better left-aligned (ragged-left is hard
   to scan). Keep titles/eyebrows centered; final CTA & trust stay centered. */
@media (max-width: 600px) {
  .center .section-lead { text-align: left; margin-inline: 0; }
  .final .section-lead { text-align: center; margin-inline: auto; }
}

/* ---- Buttons ---- */
.cta-button {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  cursor: pointer; border: none;
  position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cta-button--primary {
  background: var(--lumen); color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(244,201,122,.6);
}
.cta-button--primary:hover { background: var(--lumen-deep); transform: translateY(-2px); }
.cta-button--ghost {
  background: transparent; color: var(--mist);
  border: 1px solid rgba(246,239,227,.28);
}
.cta-button--ghost:hover { border-color: var(--lumen); color: var(--lumen); }
.cta-button--lg { padding: 1.1rem 2.1rem; font-size: 1.08rem; }
.cta-note { font-size: .9rem; color: var(--mist-dim); margin-top: .9rem; }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(22,18,46,.72);
  border-bottom: 1px solid rgba(246,239,227,.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; color: var(--mist); }
.brand-name b { font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; gap: .3rem; font-size: .85rem; color: var(--mist-dim); }
.lang-switch a {
  padding: .25rem .55rem; border-radius: 8px;
  border: 1px solid transparent; transition: .15s;
}
.lang-switch a.is-active { color: var(--midnight); background: var(--mist); font-weight: 600; }
.lang-switch a:not(.is-active):hover { color: var(--lumen); }
.header-actions .cta-button { padding: .6rem 1.15rem; font-size: .92rem; }
.header-cta-hide { }
@media (max-width: 560px) {
  .header-cta-hide { display: none; }
  .brand-name { font-size: 1.15rem; }
}

/* ===========================================================
   Hero
   =========================================================== */
.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.01em; }
.hero h1 .accent { color: var(--lumen); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--mist-dim); max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; align-items: center; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.pill {
  font-size: .85rem; color: var(--mist-dim);
  border: 1px solid rgba(246,239,227,.16);
  padding: .4rem .85rem; border-radius: 999px;
}
.pill b { color: var(--mist); font-weight: 600; }

/* Phone frame */
.phone {
  position: relative; width: min(300px, 78vw); margin-inline: auto;
  border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #2a2348, #141029);
  box-shadow: var(--shadow), 0 0 90px -10px rgba(244,201,122,.45);
  border: 1px solid rgba(244,201,122,.22);
}
.phone::after {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 6px; border-radius: 999px; background: rgba(0,0,0,.4);
}
.phone-screen {
  border-radius: 28px; overflow: hidden; aspect-ratio: 42 / 90;
  background: var(--midnight-2);
  display: flex; align-items: center; justify-content: center;
}
.phone-screen { position: relative; }
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; }

/* hero carousel inside the phone */
.hero-carousel { position: absolute; inset: 0; }
.hslide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.hslide.is-active { opacity: 1; }
.hslide img, .hslide video { width: 100%; height: 100%; object-fit: cover; }
.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; display: flex; gap: 6px; justify-content: center; }
.hero-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(246,239,227,.45); transition: .3s; }
.hero-dots i.on { background: var(--lumen); width: 20px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px;
  border-radius: 50%; border: none; cursor: pointer; font-size: 22px; line-height: 1; color: var(--mist);
  background: rgba(22,18,46,.5); backdrop-filter: blur(4px); display: grid; place-items: center; transition: .2s; }
.hero-arrow.prev { left: 8px; } .hero-arrow.next { right: 8px; }
.hero-arrow:hover { background: var(--lumen); color: var(--ink); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-pills { justify-content: center; }
  .hero-visual { order: -1; }
}

/* ===========================================================
   Showcase (video + image gallery)
   =========================================================== */
.showcase-grid {
  display: grid; grid-template-columns: minmax(0, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: 2.5rem;
}
.video-card { justify-self: center; }
.video-frame {
  position: relative; width: min(320px, 80vw);
  border-radius: var(--radius-l); overflow: hidden;
  background: var(--midnight-2); aspect-ratio: 9 / 16;
  box-shadow: var(--shadow); border: 1px solid rgba(246,239,227,.1);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame .placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .8rem; text-align: center;
  color: var(--mist); padding: 1.5rem; cursor: pointer;
  /* translucent scrim so the <video poster> shows through, with the play badge on top */
  background:
    radial-gradient(70% 50% at 50% 50%, rgba(22,18,46,.15), rgba(22,18,46,.55));
}
.video-frame .placeholder small { color: var(--mist-dim); }
.play-badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lumen); color: var(--ink);
  display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 10px 30px -8px rgba(244,201,122,.6);
}
.video-caption { margin-top: 1rem; font-size: .92rem; color: var(--mist-dim); text-align: center; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--midnight-2); border: 1px solid rgba(246,239,227,.08);
  aspect-ratio: 4 / 5; position: relative;
}
.gallery .placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem; font-size: .82rem; color: var(--mist-dim);
  background: linear-gradient(160deg, rgba(75,58,122,.35), rgba(22,18,46,.2));
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ===========================================================
   Steps / How it works
   =========================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; counter-reset: step; }
.step {
  background: var(--midnight-2); border: 1px solid rgba(246,239,227,.08);
  border-radius: var(--radius); padding: 1.8rem 1.5rem; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--serif); font-size: 1.1rem; color: var(--ink);
  width: 40px; height: 40px; border-radius: 50%; background: var(--lumen);
  display: grid; place-items: center; margin-bottom: 1rem; font-weight: 600;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--mist-dim); margin: 0; font-size: .98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ===========================================================
   Features
   =========================================================== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.feature {
  background: var(--midnight-2); border: 1px solid rgba(246,239,227,.08);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
  transition: transform .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(244,201,122,.35); }
.feature .ico { font-size: 1.6rem; margin-bottom: .7rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: .35em; }
.feature p { color: var(--mist-dim); font-size: .94rem; margin: 0; }
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ===========================================================
   Honest frame (trust band)
   =========================================================== */
.trust {
  background:
    radial-gradient(70% 120% at 80% 0%, rgba(224,131,99,.18), transparent 60%),
    var(--midnight-2);
  border: 1px solid rgba(246,239,227,.1);
  border-radius: var(--radius-l);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
}
.trust blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3; color: var(--mist);
}
.trust .trust-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.trust .trust-points li { display: flex; gap: .6rem; color: var(--mist-dim); font-size: .98rem; }
.trust .trust-points li::before { content: "—"; color: var(--lumen); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }

/* ===========================================================
   Pricing
   =========================================================== */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.5rem; align-items: stretch; }
.price-card {
  background: var(--midnight-2); border: 1px solid rgba(246,239,227,.1);
  border-radius: var(--radius); padding: 1.7rem 1.4rem; display: flex; flex-direction: column;
}
.price-card.is-free { border-color: rgba(244,201,122,.45); }
.price-card .tier { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--lumen); }
.price-card .amount { font-family: var(--serif); font-size: 2rem; margin: .4rem 0 .1rem; }
.price-card .amount small { font-size: .9rem; color: var(--mist-dim); font-family: var(--sans); }
.price-card .sub { color: var(--mist-dim); font-size: .92rem; margin: 0 0 1rem; }
.price-card .desc { color: var(--mist-dim); font-size: .92rem; margin-top: auto; }
.pricing-note { text-align: center; color: var(--mist-dim); font-size: .92rem; margin-top: 1.4rem; }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .pricing { grid-template-columns: 1fr; } }

/* ===========================================================
   FAQ
   =========================================================== */
.faq { max-width: 760px; margin: 2.5rem auto 0; }
.faq-item { border-bottom: 1px solid rgba(246,239,227,.12); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  color: var(--mist); font-family: var(--sans); font-size: 1.08rem; font-weight: 500;
  padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq-question::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--lumen); transition: transform .2s;
}
.faq-item.active .faq-question::after { content: "×"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.active .faq-answer { max-height: 320px; }
.faq-answer p { color: var(--mist-dim); padding: 0 0 1.3rem; margin: 0; font-size: .98rem; }

/* ===========================================================
   Final CTA
   =========================================================== */
.final {
  text-align: center;
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(244,201,122,.16), transparent 55%),
    var(--midnight-2);
  border: 1px solid rgba(246,239,227,.1);
  border-radius: var(--radius-l);
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 3rem);
}
.final h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.final .section-lead { margin: 0 auto 1.8rem; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { padding: 3rem 0 2.5rem; border-top: 1px solid rgba(246,239,227,.08); margin-top: 2rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.site-footer .brand-name { font-size: 1.1rem; }
.footer-links { display: flex; gap: 1.4rem; font-size: .9rem; color: var(--mist-dim); flex-wrap: wrap; }
.footer-links a:hover { color: var(--lumen); }
.footer-legal { width: 100%; color: var(--mist-dim); font-size: .82rem; opacity: .7; }

/* ===========================================================
   Legal pages (privacy / terms)
   =========================================================== */
.legal { max-width: 768px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gap) 3.5rem; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 2.7rem); color: var(--mist); margin: 0 0 .35rem; }
.legal .updated { color: var(--mist-dim); font-size: .88rem; opacity: .75; margin: 0 0 2.4rem; }
.legal .lead { color: var(--mist); font-size: 1.08rem; line-height: 1.7; margin: 0 0 1.6rem; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; color: var(--lumen); margin: 2.5rem 0 .7rem; }
.legal p, .legal li { color: var(--mist-dim); line-height: 1.72; font-size: 1rem; }
.legal ul { padding-left: 1.2rem; margin: .6rem 0; }
.legal li { margin: .4rem 0; }
.legal a { color: var(--lumen); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--lumen-deep); }
.legal strong { color: var(--mist); font-weight: 600; }
.legal .back { display: inline-block; margin-top: 2.8rem; color: var(--mist-dim); font-size: .92rem; }
.legal .back:hover { color: var(--lumen); }

/* ===========================================================
   Scroll animations
   =========================================================== */
.fade-in-scroll { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in-scroll.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in-scroll { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
