@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --bg: #080a14;
  --bg-soft: #0d1128;
  --text: #f5f2ea;
  --muted: #b3b2cd;
  --gold: #e8c68a;
  --violet: #9b86e0;
  --cyan: #6fd8d1;
  --line: rgba(245, 242, 234, 0.1);
  --card-bg: rgba(255, 255, 255, 0.035);
}

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

html{
  scroll-behavior: smooth;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

h1, h2, h3{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

#bg-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.vignette{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(8,10,20,0) 0%, rgba(8,10,20,0.55) 70%),
    radial-gradient(ellipse at 50% 100%, rgba(8,10,20,0.75) 0%, rgba(8,10,20,0) 55%);
}

/* Isolated stacking context so the absolutely-positioned canvas/vignette
   never paint over page chrome (e.g. the footer) injected after .content. */
.content{
  position: relative;
  z-index: 10;
}

.hero, .cards-section, .cta{
  position: relative;
  z-index: 1;
}

/* ── Nav ────────────────────────────────────────────────────────── */

nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5vw;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 10, 20, 0.45);
  border-bottom: 1px solid var(--line);
}

.wordmark{
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--gold), var(--text) 45%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#buy_now_link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(232, 198, 138, 0.5);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#buy_now_link:hover{
  border-color: var(--gold);
  background: rgba(232, 198, 138, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 198, 138, 0.12);
}

#buy_now_link:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 480px){
  nav{ padding: 16px 5vw; }
  .wordmark{ font-size: 1.1rem; }
  #buy_now_link{ padding: 8px 16px; font-size: 0.78rem; }
}

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

.hero{
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13vh 6vw 8vh;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(155, 134, 224, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero h1{
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.06;
}

.hero h1 .line{
  display: block;
}

.hero h1 .glow{
  background: linear-gradient(100deg, var(--violet), var(--gold) 45%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p{
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
}

@media (max-width: 480px){
  .hero{ padding: 12vh 6vw 6vh; min-height: 82vh; }
}

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

.cards-section{
  padding: 4vh 5vw 14vh;
  max-width: 1240px;
  margin: 0 auto;
}

.cards-heading{
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.cards-heading h2{
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 14px;
}

.cards-heading p{
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card{
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px 34px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover{
  transform: translateY(-7px);
  border-color: rgba(232, 198, 138, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.card .mark{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--violet), var(--gold), var(--cyan));
  opacity: 0.9;
}

.card h3{
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.card p{
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

@media (max-width: 480px){
  .card{ padding: 30px 26px; }
}

/* ── CTA ────────────────────────────────────────────────────────── */

.cta{
  text-align: center;
  padding: 12vh 6vw 18vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta .signal-status{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 26px;
}

.cta .signal-status::before{
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(111, 216, 209, 0.6);
  animation: pulse 2.4s infinite ease-out;
}

@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(111, 216, 209, 0.55); }
  70%{ box-shadow: 0 0 0 10px rgba(111, 216, 209, 0); }
  100%{ box-shadow: 0 0 0 0 rgba(111, 216, 209, 0); }
}

#buy_now_bottom{
  display: inline-block;
  padding: 19px 46px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #0a0c16;
  text-decoration: none;
  background: linear-gradient(100deg, var(--gold), var(--cyan));
  box-shadow: 0 16px 40px rgba(232, 198, 138, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

#buy_now_bottom:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(232, 198, 138, 0.32);
  filter: brightness(1.05);
}

#buy_now_bottom:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.cta .signal-sub{
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

@media (max-width: 480px){
  .cta{ padding: 9vh 6vw 12vh; }
  #buy_now_bottom{ padding: 17px 34px; font-size: 0.98rem; width: 100%; }
}

footer {
  color: #ffffff !important;
  background: rgba(8, 10, 20, 0.9);
  border-top: 1px solid var(--line);
  padding: 40px 5vw !important;
  margin-top: auto;
  position: relative;
  z-index: 100;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .cta .signal-status::before{ animation: none; }
  .card{ transition: none; }
}
