/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== CSS VARIABLES ===== */
:root {
  --bg-base:     #0a0a0f;
  --bg-surface:  #0f0f18;
  --bg-elevated: #161622;
  --bg-card:     #0d0d17;

  --gold:       #f59e0b;
  --gold-light: #fbbf24;
  --gold-glow:  rgba(245, 158, 11, 0.3);
  --violet:       #7c3aed;
  --violet-light: #9d5df0;
  --violet-glow:  rgba(124, 58, 237, 0.35);

  --text-primary:   #ffffff;
  --text-secondary: #9d9db8;
  --text-muted:     #4a4a65;

  --border-subtle: rgba(255, 255, 255, 0.06);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-card: 16px;
  --radius-btn:  8px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 250ms ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold) 0%, #d97706 100%);
  color: #0a0a0f;
  font-weight: 700;
  box-shadow: 0 0 24px var(--gold-glow);
}
.btn-gold:hover {
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 0 44px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.45);
}
.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(124, 58, 237, 0.35);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--violet);
  background: rgba(124, 58, 237, 0.1);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
}

#nav.nav-scrolled {
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 42px;
  width: 42px;
  display: block;
}

.footer-logo img {
  height: 34px;
  width: 34px;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  padding: 10rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(245, 158, 11, 0.07) 1px, transparent 0);
  background-size: 44px 44px;
}

#hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 900px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, rgba(124, 58, 237, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

#hero h1 {
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  background: linear-gradient(140deg, #fff 0%, rgba(255,255,255,0.92) 35%, #fbbf24 60%, #f59e0b 78%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Hero pillars */
.hero-pillars {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.pillar {
  flex: 1;
}

.pillar-sep {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(245, 158, 11, 0.35), transparent);
  flex-shrink: 0;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== TIERS ===== */
#tiers {
  padding: 4rem 2rem 6rem;
  max-width: 1040px;
  margin: 0 auto;
}

.tiers-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tiers-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.tiers-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  align-items: start;
  padding-top: 32px;
}

/* Gradient border wrappers */
.tier-wrapper {
  background: linear-gradient(140deg, rgba(245, 158, 11, 0.4) 0%, rgba(245, 158, 11, 0.08) 50%, transparent 100%);
  padding: 1px;
  border-radius: var(--radius-card);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.tier-wrapper:hover:not(.tier-wrapper-lt) {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(245, 158, 11, 0.16);
}

.tier-wrapper-lt {
  background: linear-gradient(140deg, #fbbf24 0%, #f59e0b 30%, #7c3aed 80%, #5b21b6 100%);
  border-radius: 20px;
  position: relative;
  z-index: 2;
  transform: scale(1.03);
  box-shadow:
    0 24px 70px rgba(245, 158, 11, 0.28),
    0 0 130px rgba(124, 58, 237, 0.18);
}

.tier-wrapper-lt:hover {
  transform: scale(1.055);
  box-shadow:
    0 32px 90px rgba(245, 158, 11, 0.38),
    0 0 180px rgba(124, 58, 237, 0.25);
}

.tier-card {
  background: var(--bg-card);
  border-radius: calc(var(--radius-card) - 1px);
  padding: 2.25rem 2rem;
  height: 100%;
}

.tier-card-lt {
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%), var(--bg-card);
  border-radius: 19px;
  position: relative;
}

.lt-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold-light), var(--gold) 45%, var(--violet));
  color: #0a0a0f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 1.1rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
}

.tier-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.tier-price-block {
  margin-bottom: 0.75rem;
}

.tier-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 0.5rem;
}

.price-amount {
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.tier-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.tier-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 1.25rem 0;
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tier-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.tier-list li strong {
  color: var(--gold-light);
  font-weight: 600;
}

.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  top: 1px;
}

.tier-note {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== BREAKDOWN ===== */
#breakdown {
  padding: 5rem 2rem 6rem;
  background: var(--bg-surface);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.bd-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.6rem 1.75rem;
  transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.bd-item:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(245, 158, 11, 0.08);
}

.bd-item-hero {
  grid-column: 1 / -1;
  background: linear-gradient(140deg, rgba(245, 158, 11, 0.09) 0%, rgba(124, 58, 237, 0.08) 100%), var(--bg-card);
  border-color: rgba(245, 158, 11, 0.3);
}

.bd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.bd-head h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bd-term {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.bd-term-year {
  color: var(--violet-light);
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.35);
}

.bd-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.breakdown-footnote {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== BOTTOM CTA ===== */
#cta-bottom {
  padding: 6.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-bottom::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 650px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

#cta-bottom::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 1.5rem;
}

#cta-bottom h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

#cta-bottom p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
#footer {
  padding: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #tiers {
    padding: 3rem 1.5rem 5rem;
    max-width: 520px;
  }

  .tiers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tier-wrapper-lt {
    transform: none;
    order: -1;
  }

  .tier-wrapper-lt:hover {
    transform: translateY(-5px);
  }

  .breakdown-grid {
    grid-template-columns: 1fr;
  }

  .hero-pillars {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .pillar-sep {
    width: 120px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, rgba(245, 158, 11, 0.35), transparent);
  }
}

@media (max-width: 640px) {
  #hero {
    padding: 7rem 1.25rem 4rem;
  }

  #nav {
    padding: 1rem 1.25rem;
  }

  .nav-cta {
    display: none;
  }

  #breakdown,
  #cta-bottom {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .bd-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 320px;
  }
}
