:root {
  --navy-900: #070a1f;
  --navy-800: #0c1130;
  --navy-700: #141a42;
  --navy-600: #1d2557;
  --gold: #d4af37;
  --gold-bright: #ecc863;
  --gold-soft: #f3e0a3;
  --white: #ffffff;
  --ink: #e8ecff;
  --muted: #a6afd6;
  --line: rgba(212, 175, 55, 0.18);
  --radius: 18px;
  --maxw: 1120px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(140% 90% at 50% 0%, var(--navy-700) 0%, var(--navy-900) 55%, #03050f 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Starfield */
.starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.star {
  position: absolute;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.1); }
}

/* Layout helpers */
section { position: relative; z-index: 1; padding: clamp(4rem, 9vw, 7rem) 1.5rem; }
.band { background: linear-gradient(180deg, rgba(20, 26, 66, 0.55), rgba(7, 10, 31, 0.0)); }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow--center { text-align: center; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); color: var(--white); }
.grad {
  background: linear-gradient(110deg, var(--gold-soft), var(--gold-bright) 50%, var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 500; font-size: 0.98rem;
  padding: 0.85rem 1.6rem; border-radius: 100px; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #2a1f00; font-weight: 600;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.28);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(212, 175, 55, 0.42); }
.btn--ghost { background: rgba(255,255,255,0.04); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.5rem, 4vw, 3rem);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 10, 31, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--white); }
.nav__mark { color: var(--gold-bright); font-size: 1.1rem; }
.nav__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.nav__name sup { font-size: 0.55em; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease; }
.nav__links a:hover { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__login { color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s ease; white-space: nowrap; }
.nav__login:hover { color: var(--gold-bright); }

/* Hero */
.hero { padding-top: clamp(8rem, 18vw, 11rem); text-align: center; overflow: hidden; }
.hero__video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,10,31,0.62) 0%, rgba(7,10,31,0.70) 55%, #070a1f 100%);
}
.hero__glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: min(900px, 120vw); height: min(900px, 120vw);
  background: radial-gradient(circle, rgba(212,175,55,0.22) 0%, rgba(29,37,87,0.25) 35%, transparent 65%);
  filter: blur(8px); z-index: 1; pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }
.hero__inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.hero__title { font-size: clamp(2.6rem, 7.5vw, 5rem); color: var(--white); margin-bottom: 1.4rem; }
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 0 auto 2.4rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero__trust { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }

/* Promise */
.promise { text-align: center; }
.promise__lead { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--gold-soft); max-width: 760px; margin: 0 auto 1.5rem; line-height: 1.25; }
.promise__body { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }

/* Method grid */
.method__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem;
}
.card {
  position: relative; padding: 2rem 1.7rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(29,37,87,0.55), rgba(12,17,48,0.4));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.card__num { font-family: var(--font-display); font-size: 2.4rem; color: rgba(212,175,55,0.35); display: block; margin-bottom: 0.6rem; }
.card h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 0.2rem; }
.card h3 sup { font-size: 0.5em; }
.card__tag { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 0.9rem; }
.card p:last-child { color: var(--muted); font-size: 0.98rem; }
.card--feature { background: linear-gradient(160deg, rgba(212,175,55,0.16), rgba(29,37,87,0.4)); border-color: rgba(212,175,55,0.4); }

/* Inside list */
.inside__list { max-width: 760px; margin: 0 auto; list-style: none; display: grid; gap: 1rem; }
.inside__list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.4rem; border-radius: 14px;
  background: rgba(29,37,87,0.35); border: 1px solid var(--line);
  font-size: 1.05rem; color: var(--ink);
}
.tick { color: var(--gold-bright); flex-shrink: 0; font-size: 1.1rem; line-height: 1.5; }
.inside__list sup { font-size: 0.6em; }

/* How */
.how__steps { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.step { text-align: center; padding: 1.5rem; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1.2rem;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-bright);
  border: 1px solid rgba(212,175,55,0.45); background: rgba(212,175,55,0.08);
}
.step h3 { font-size: 1.45rem; color: var(--white); margin-bottom: 0.5rem; }
.step p { color: var(--muted); }

/* Join / pricing */
.join { display: flex; justify-content: center; }
.join__card {
  max-width: 520px; width: 100%; text-align: center;
  padding: clamp(2.2rem, 5vw, 3.2rem); border-radius: 24px;
  background: linear-gradient(165deg, rgba(29,37,87,0.7), rgba(12,17,48,0.6));
  border: 1px solid rgba(212,175,55,0.4);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}
.price { display: flex; align-items: baseline; justify-content: center; gap: 0.6rem; margin: 0.8rem 0 1.2rem; }
.price__amount { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 5rem); color: var(--white); line-height: 1; }
.price__term { color: var(--muted); font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.join__desc { color: var(--muted); margin-bottom: 1.8rem; }
.join__after { margin-top: 1.2rem; font-size: 0.85rem; color: var(--muted); }

/* Waitlist */
.waitlist { text-align: center; }
.waitlist__sub { color: var(--muted); margin-top: 0.8rem; }
.waitlist__form { display: flex; gap: 0.7rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.waitlist__form input {
  flex: 1; min-width: 220px; padding: 1rem 1.3rem; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(7,10,31,0.6); color: var(--white);
  font-family: var(--font-body); font-size: 1rem;
}
.waitlist__form input::placeholder { color: var(--muted); }
.waitlist__form input:focus { outline: none; border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(212,175,55,0.18); }
.waitlist__note { margin-top: 1rem; color: var(--gold-soft); min-height: 1.4rem; font-size: 0.95rem; }

/* FAQ */
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq__list details {
  border: 1px solid var(--line); border-radius: 14px; background: rgba(29,37,87,0.35);
  padding: 0 1.4rem; overflow: hidden;
}
.faq__list summary {
  cursor: pointer; list-style: none; padding: 1.2rem 0; font-weight: 500;
  font-size: 1.08rem; color: var(--white); display: flex; justify-content: space-between; align-items: center;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; color: var(--gold-bright); font-size: 1.4rem; transition: transform 0.2s ease; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding-bottom: 1.2rem; color: var(--muted); }
.faq__list a { color: var(--gold-bright); }

/* Footer */
.footer { text-align: center; padding: 3.5rem 1.5rem; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.footer__brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 0.4rem; }
.footer__tag { color: var(--gold-soft); font-style: italic; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 1.2rem; }
.footer__meta { color: var(--muted); font-size: 0.85rem; display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.footer__meta a { color: var(--muted); text-decoration: none; }
.footer__meta a:hover { color: var(--gold-bright); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Add to Home Screen banner */
.a2hs {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(29,37,87,0.96), rgba(12,17,48,0.96));
  border: 1px solid rgba(212,175,55,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  transform: translateY(160%); transition: transform 0.45s cubic-bezier(0.2,0.8,0.2,1);
}
.a2hs.show { transform: translateY(0); }
.a2hs__icon { border-radius: 11px; flex-shrink: 0; }
.a2hs__text { display: flex; flex-direction: column; gap: 2px; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.a2hs__text strong { color: var(--white); font-size: 0.9rem; font-weight: 600; }
.a2hs__install {
  margin-left: auto; flex-shrink: 0; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #2a1f00;
  font-weight: 600; font-size: 0.85rem; padding: 0.55rem 1rem; border-radius: 100px;
}
.a2hs__close {
  flex-shrink: 0; background: transparent; border: none; color: var(--muted);
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; align-self: flex-start;
}
.a2hs__close:hover { color: var(--white); }

/* Responsive */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
  .nav__actions { gap: 0.8rem; }
}
/* The A2HS banner is for touch / small screens only */
@media (min-width: 921px) { .a2hs { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, .star, .hero__glow { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
