:root{
  --bg: #0a0b0f;
  --surface: #0f1117;
  --surface2: #0c0d12;
  --text: #f5f3ef;
  --muted: #b7b2a8;
  --line: rgba(255,255,255,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.55);

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;

  --gold: #d6b15e;
  --gold2:#f0d08a;
  --goldSoft: rgba(214,177,94,.14);
  --glow: 0 0 0 4px rgba(214,177,94,.12);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 10% 5%, rgba(214,177,94,.12), transparent 60%),
    radial-gradient(780px 520px at 90% 15%, rgba(240,208,138,.08), transparent 60%),
    radial-gradient(700px 450px at 60% 95%, rgba(214,177,94,.06), transparent 55%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{ width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pad{ padding: 1.15rem; }

.hr{
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 1rem 0;
}

.kicker{
  color: rgba(240,208,138,.90);
  font-weight: 850;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.note{ color: var(--muted); font-size: .9rem; }
.lead{ color: var(--muted); max-width: 75ch; margin: .25rem 0 0; }

.disclaimer{
  font-size: .92rem;
  color: var(--muted);
  border-left: 3px solid rgba(214,177,94,.35);
  padding-left: .9rem;
}

.muted-block{ margin:.4rem 0 0; color: var(--muted); }

/* =========================
   Gold icons helpers
========================= */
.gold-ico, .stat-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--gold2);
}
.stat-ico{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(214,177,94,.25);
  background: rgba(214,177,94,.08);
  box-shadow: 0 14px 34px rgba(214,177,94,.10);
}

/* Gold bullets = “icons” for lists */
ul.clean li::marker{ color: var(--gold2); }

/* =========================
   Chips
========================= */
.chip{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  border: 1px solid rgba(214,177,94,.30);
  background: rgba(214,177,94,.08);
  padding:.5rem .75rem;
  border-radius: 999px;
  color: rgba(245,243,239,.92);
  font-size: .875rem;
}

/* =========================
   Buttons + CTA Glow
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  border: 1px solid rgba(240,208,138,.55);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: #0a0b0f;
  padding: 6px 5px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing:.2px;
  box-shadow: 0 18px 42px rgba(214,177,94,.18);
  transition: transform .08s ease, opacity .08s ease, box-shadow .15s ease, filter .15s ease;
  cursor: pointer;
  user-select: none;
}
.btn:hover{
  text-decoration:none;
  transform: translateY(-1px);
  opacity:.98;
  filter: brightness(1.05);
  box-shadow: 0 22px 55px rgba(214,177,94,.22);
}
.btn:active{ transform: translateY(0px); opacity:.92; }

.btn.secondary{
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid rgba(214,177,94,.35);
  box-shadow: none;
}
.btn.secondary:hover{
  background: rgba(214,177,94,.08);
  text-decoration:none;
}

/* Animated glow (premium) */
.cta-glow{
  position: relative;
}
.cta-glow::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(214,177,94,.35), transparent 70%);
  filter: blur(10px);
  opacity: .0;
  z-index: -1;
  transition: opacity .2s ease;
}
.cta-glow:hover::after{ opacity: .8; }

@keyframes pulseGlow{
  0%   { box-shadow: 0 18px 42px rgba(214,177,94,.14); }
  50%  { box-shadow: 0 22px 65px rgba(214,177,94,.28); }
  100% { box-shadow: 0 18px 42px rgba(214,177,94,.14); }
}
.cta-glow{
  animation: pulseGlow 2.6s ease-in-out infinite;
}

/* =========================
   Header / Nav (Luxury)
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,11,15,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background: linear-gradient(90deg, rgba(214,177,94,.0) 0%, var(--gold) 35%, var(--gold2) 70%, rgba(214,177,94,.0) 100%);
  opacity: .95;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .9rem 0;
  gap: 1rem;
}

.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  font-weight: 950;
  letter-spacing: .6px;
}
.brand-text{ font-weight: 950; }

.logo{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(214,177,94,.35);
  background:
    radial-gradient(14px 14px at 30% 25%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, rgba(214,177,94,.85) 0%, rgba(240,208,138,.95) 55%, rgba(214,177,94,.75) 100%);
  box-shadow: 0 18px 45px rgba(214,177,94,.14);
}

.navlinks{
  display:flex;
  align-items:center;
  gap: 1.1rem;
  color: rgba(245,243,239,.85);
  font-weight: 750;
  font-size: .95rem;
}
.navlinks a{ padding:.4rem .2rem; opacity: .9; }
.navlinks a:hover{
  opacity: 1;
  text-decoration: none;
  color: var(--gold2);
}

.nav-cta{ display:flex; align-items:center; gap:.6rem; }

.menu-btn{
  display:none;
  border:1px solid rgba(214,177,94,.35);
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-radius: 999px;
  padding:.6rem .75rem;
  cursor:pointer;
  font-weight: 850;
}

/* Mobile dropdown */
.mobile{ display:none; padding: .25rem 0 1rem; }

/* ✅ NAVBAR FIX: hidden attribute must always win */
.mobile[hidden]{ display:none !important; }

.mobile .stack{
  display:flex;
  flex-direction:column;
  gap:.5rem;
  border:1px solid rgba(214,177,94,.22);
  background: rgba(12,13,18,.96);
  border-radius: var(--radius);
  padding: .8rem;
  box-shadow: var(--shadow);
}
.mobile a{
  padding:.65rem .75rem;
  border-radius: 12px;
  color: rgba(245,243,239,.88);
  font-weight: 850;
}
.mobile a:hover{
  background: rgba(214,177,94,.10);
  text-decoration:none;
  color: var(--gold2);
}

@media (max-width: 820px){
  .navlinks{ display:none; }
  .menu-btn{ display:inline-flex; }
  .mobile{ display:block; }
  .nav-cta .btn.secondary{ display:none; }
}

/* =========================
   Hero
========================= */
.hero{ padding: 3.2rem 0 1.2rem; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.hero h1{
  margin: .6rem 0 .7rem;
  font-size: clamp(2.0rem, 3.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.8px;
}

.hero p{
  margin: 0 0 1.2rem;
  color: rgba(245,243,239,.82);
  font-size: 1.05rem;
  max-width: 62ch;
}

.actions{ display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; }
.meta-row{ display:flex; flex-wrap:wrap; gap:.55rem; margin-top: 1.2rem; }

.hero-right{ display:flex; flex-direction:column; gap:.9rem; justify-content: space-between; }

.stat{
  display:flex;
  align-items:flex-start;
  gap:.85rem;
  padding: .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.stat strong{ display:block; font-size: 1.05rem; color: var(--text); }
.stat span{ color: rgba(245,243,239,.75); font-size:.95rem; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Premium Section Divider Lines
========================= */
section{
  padding: 2.1rem 0;
  position: relative;
}
section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background: linear-gradient(90deg, transparent 0%, rgba(214,177,94,.35) 25%, rgba(240,208,138,.45) 50%, rgba(214,177,94,.35) 75%, transparent 100%);
  opacity: .9;
}
.hero::before{ display:none; } /* no divider above hero */

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
}
.section-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 999px;
  opacity: .95;
}

h2{
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.4px;
}

/* Grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 820px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
}

/* Lists */
ul.clean{
  margin: .6rem 0 0;
  padding-left: 1.1rem;
  color: rgba(245,243,239,.78);
}
ul.clean li{ margin: .25rem 0; }

/* =========================
   FAQ
========================= */
.faq{ display:flex; flex-direction:column; gap:.75rem; }

details{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
summary{
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  font-weight: 900;
  color: rgba(245,243,239,.95);
}
summary::-webkit-details-marker{ display:none; }
.chev{
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(245,243,239,.55);
  border-bottom: 2px solid rgba(245,243,239,.55);
  transform: rotate(45deg);
  transition: transform .15s ease;
  flex: 0 0 auto;
  margin-right: .25rem;
}
details[open] .chev{ transform: rotate(225deg); }

.faq-body{
  padding: 0 1.1rem 1.05rem;
  color: rgba(245,243,239,.78);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* =========================
   Forms
========================= */
form{ display:grid; gap:.7rem; }
label{ font-weight: 850; font-size: .95rem; color: rgba(245,243,239,.9); }

input, textarea{
  width: 100%;
  padding: .85rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(245,243,239,.92);
  font: inherit;
  outline: none;
}
input::placeholder, textarea::placeholder{ color: rgba(245,243,239,.45); }

input:focus, textarea:focus{
  border-color: rgba(214,177,94,.55);
  box-shadow: var(--glow);
}
textarea{ min-height: 110px; resize: vertical; }

/* =========================
   Footer
========================= */
.site-footer{
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(245,243,239,.78);
  background: radial-gradient(700px 380px at 20% 20%, rgba(214,177,94,.10), transparent 60%), var(--bg);
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 1.2rem;
  padding: 1.8rem 0;
}

.footer-col{
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer-brand .logo{ width:34px; height:34px; border-radius:12px; }

.footer-title{
  font-weight: 950;
  letter-spacing: .2px;
  margin-bottom: .7rem;
  color: rgba(240,208,138,.95);
}

.footer-text{
  color: rgba(245,243,239,.75);
  margin: .7rem 0 0;
  line-height: 1.65;
}

.footer-link{
  display:block;
  color: rgba(245,243,239,.78);
  padding: .45rem .1rem;
  font-weight: 850;
}
.footer-link:hover{
  color: var(--gold2);
  text-decoration: none;
}

.footer-mini{
  margin-top: .9rem;
  color: rgba(245,243,239,.70);
  font-size: .9rem;
  border-left: 3px solid rgba(214,177,94,.35);
  padding-left: .8rem;
}

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  gap: .8rem;
  justify-content:space-between;
  align-items:center;
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(245,243,239,.65);
}

@media (max-width: 820px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
  .cta-glow{ animation: none !important; }
}

/* =========================
   Auth Pages (Login/Signup)
========================= */
.auth{
  padding: 2.4rem 0 3.2rem;
}
.auth-wrap{
  display:grid;
  grid-template-columns: 1fr .9fr;
  gap: 1.2rem;
  align-items:start;
}
.auth-card{
  position: relative;
  overflow: hidden;
}
.auth-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(500px 260px at 20% 10%, rgba(214,177,94,.18), transparent 60%);
  pointer-events:none;
}
.auth-title{
  margin: .7rem 0 .35rem;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  letter-spacing: -0.6px;
}
.auth-chip{ margin-bottom: .4rem; }

.auth-form{ margin-top: 1rem; }
.auth-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: .8rem;
  margin: .2rem 0 .7rem;
}
.check{
  display:flex;
  align-items:center;
  gap:.55rem;
  color: rgba(245,243,239,.85);
  font-weight: 750;
  font-size: .95rem;
}
.check input{
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}
.auth-link{
  color: var(--gold2);
  font-weight: 850;
}
.auth-link:hover{ text-decoration:none; opacity:.92; }

.auth-divider{
  display:flex;
  align-items:center;
  gap:.8rem;
  margin: .85rem 0;
  color: rgba(245,243,239,.55);
  font-weight: 850;
}
.auth-divider::before,
.auth-divider::after{
  content:"";
  flex:1;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(214,177,94,.35), transparent);
}
.auth-divider span{
  padding: .15rem .6rem;
  border: 1px solid rgba(214,177,94,.25);
  border-radius: 999px;
  background: rgba(214,177,94,.06);
}

.pw-wrap{
  display:flex;
  gap:.6rem;
  align-items:center;
}
.pw-wrap input{ flex:1; }
.pw-toggle{
  border: 1px solid rgba(214,177,94,.35);
  background: rgba(255,255,255,.03);
  color: rgba(245,243,239,.9);
  border-radius: 12px;
  padding: .75rem .85rem;
  cursor: pointer;
  font-weight: 850;
}
.pw-toggle:hover{
  background: rgba(214,177,94,.10);
  color: var(--gold2);
}

.auth-side{
  background: radial-gradient(520px 260px at 70% 10%, rgba(214,177,94,.12), transparent 60%),
              rgba(255,255,255,.03);
}

.auth-foot{
  margin: .8rem 0 0;
  text-align:center;
}

/* responsive */
@media (max-width: 980px){
  .auth-wrap{ grid-template-columns: 1fr; }
}
