:root {
  /* Dark base */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f17;
  --bg-card: #12121c;
  --bg-card-hover: #181828;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b82;

  /* Accent blue (secondary) */
  --accent-blue: #3b82f6;
  --accent-blue-light: #60a5fa;
  --accent-blue-dark: #2563eb;
  --accent-blue-glow: rgba(59, 130, 246, 0.15);
  --accent-blue-glow-strong: rgba(59, 130, 246, 0.3);

  /* Champagne gold (primary premium) */
  --gold: #D4AF37;
  --gold-soft: #E5C158;
  --gold-deep: #A88B2A;
  --gold-glow: rgba(212, 175, 55, 0.18);
  --gold-glow-strong: rgba(212, 175, 55, 0.35);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-blue: rgba(59, 130, 246, 0.25);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.15);
  --shadow-blue: 0 8px 32px rgba(59, 130, 246, 0.2);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D97A 50%, #A88B2A 100%);
  --gradient-gold-subtle: linear-gradient(135deg, rgba(212,175,55,0.8) 0%, rgba(229,193,88,0.6) 100%);
  --gradient-premium: linear-gradient(135deg, #0a0a0f 0%, #12121c 50%, #181828 100%);
  --gradient-hero-new: linear-gradient(135deg, #D4AF37 0%, #F4D97A 40%, #60a5fa 100%);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  background:
    radial-gradient(1200px 600px at 50% -100px, rgba(212, 175, 55, 0.06), transparent 60%),
    radial-gradient(900px 500px at 80% 400px, rgba(59, 130, 246, 0.05), transparent 60%),
    var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent-blue-light); text-decoration: none; }
a:hover { color: var(--gold-soft); }

/* -------- Nav -------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  font-weight: 900;
  color: var(--text-primary);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav nav { display: flex; gap: 1.75rem; align-items: center; }

.nav nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 150ms ease-out;
  position: relative;
}
.nav nav a:hover { color: var(--gold-soft); }

.nav nav a.active { color: var(--text-primary); }
.nav nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.nav nav a.nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  color: var(--gold-soft);
}
.nav nav a.nav-cta:hover {
  background: rgba(212, 175, 55, 0.08);
}

/* -------- Hero -------- */
.pricing-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.hero-inner { max-width: 760px; margin: 0 auto 4rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.pricing-hero h1 {
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.subhead {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  margin: 0 auto 1.75rem;
  max-width: 640px;
}

.trust-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(18, 18, 28, 0.5);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.trust-bar .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

/* -------- Tiers grid -------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 3rem;
}

.tier {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease-out, transform 200ms ease-out, box-shadow 200ms ease-out;
  overflow: hidden;
}
.tier:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-premium {
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--gradient-gold) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-gold);
  transform: translateY(-8px);
}
.card-premium:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.22);
}
.card-premium::before {
  content: "Most Popular";
  position: absolute;
  top: 0;
  right: 2rem;
  padding: 0.3rem 1rem;
  background: var(--gradient-gold);
  color: #0a0a0f;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

/* Hide legacy .badge DOM if ever re-added */
.tier .badge { display: none; }

.tier-head { margin-bottom: 1rem; }

.tier-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.tier-tag {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.card-premium .tier-tag { color: var(--gold-soft); }

/* -------- Price -------- */
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.5rem 0 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.price {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2.75rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.price-suffix {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* -------- Features -------- */
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.45;
}

.features .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--text-muted);
}

.features-gold .check { color: var(--gold); }

/* -------- Checkout form -------- */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checkout-form input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}

.checkout-form input[type="email"]::placeholder { color: var(--text-muted); }

.checkout-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* -------- Buttons -------- */
.cta {
  width: 100%;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  background: var(--gradient-gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-gold);
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--gold-glow-strong);
  color: #0a0a0f;
}
.btn-gold:active { transform: scale(0.98); }
.btn-gold:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}
.btn-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 150ms ease-out, color 150ms ease-out, background 150ms ease-out;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.05);
}
.btn-ghost:active { transform: scale(0.98); }
.btn-ghost:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}
.btn-ghost:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* -------- Divider -------- */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold) 50%,
    transparent 100%);
  margin: 4rem auto;
  width: min(400px, 80%);
}

/* -------- Guarantee strip -------- */
.guarantee-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto 5rem;
  padding: 1.25rem 1.75rem;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.04), rgba(59, 130, 246, 0.03));
  text-align: left;
}

.guarantee-badge {
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
}

.guarantee-text { display: flex; flex-direction: column; gap: 0.2rem; }
.guarantee-text strong {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}
.guarantee-text span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* -------- FAQ -------- */
.faq {
  max-width: 760px;
  margin: 0 auto 5rem;
  text-align: left;
}

.faq-title {
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
  text-align: center;
  color: var(--text-primary);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 150ms ease-out, background 150ms ease-out;
}
.faq-item:hover { border-color: var(--border-gold); }
.faq-item[open] {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: -2px;
  border-radius: 12px;
}

.chev {
  width: 16px; height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}
.faq-item[open] .chev { transform: rotate(180deg); }

.faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -------- Final CTA -------- */
.final-cta {
  text-align: center;
  padding: 3rem 2rem;
  margin: 0 auto 3rem;
  max-width: 760px;
  border-radius: 20px;
  background:
    linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
    linear-gradient(135deg, rgba(212,175,55,0.4), rgba(59,130,246,0.2)) border-box;
  border: 1px solid transparent;
}

.final-cta h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}
.final-cta p {
  color: var(--text-secondary);
  margin: 0 0 1.75rem;
}
.final-cta-row {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* -------- Fine print + footer -------- */
.fine-print {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
}
.fine-print a { color: var(--text-secondary); }
.fine-print a:hover { color: var(--gold-soft); }

footer {
  padding: 2.5rem 2rem 3rem;
  text-align: center;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}
footer a { color: var(--text-secondary); }
footer a:hover { color: var(--gold-soft); }
footer .copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .card-premium { transform: none; order: -1; }
  .card-premium:hover { transform: translateY(-4px); }
}

@media (max-width: 640px) {
  .nav { padding: 1rem 1.25rem; }
  .nav nav { gap: 1rem; }
  .nav nav a.nav-cta { display: none; }
  .pricing-hero { padding: 3rem 1.25rem 2rem; }
  .hero-inner { margin-bottom: 2.5rem; }
  .tier { padding: 1.75rem 1.5rem; }
  .guarantee-strip { flex-direction: column; text-align: center; gap: 0.75rem; }
  .guarantee-text { text-align: center; }
  .final-cta { padding: 2rem 1.25rem; }
  .divider-gold { margin: 3rem auto; }
}

/* -------- Motion respect -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .tier:hover, .card-premium:hover, .btn-gold:hover, .btn-ghost:hover { transform: none; }
}
