/* ===== 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:     #0b0e13;
  --bg-surface:  #0e1218;
  --bg-card:     #10151c;

  --accent:       #7566b8;
  --accent-light: #998cd6;
  --accent-dim:   rgba(153, 140, 214, 0.14);

  --gold:       #b3924a;
  --gold-light: #cfae63;

  --ruby:       #a84a56;
  --ruby-light: #c96b77;

  --text-primary:   #eceae4;
  --text-secondary: #98a0ab;
  --text-muted:     #5a6370;

  --hairline:        rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.16);

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

  --radius-btn: 3px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  line-height: 1.7;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #0b0e13;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--hairline-strong);
}
.btn-outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.btn-gold {
  background: var(--gold);
  color: #0b0e13;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-ruby {
  background: var(--ruby);
  color: #ffffff;
  border-color: var(--ruby);
}
.btn-ruby:hover {
  background: var(--ruby-light);
  border-color: var(--ruby-light);
}

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

.btn-full {
  width: 100%;
}

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.35rem 2.5rem;
  transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}

#nav.nav-scrolled {
  background: rgba(11, 14, 19, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: 1160px;
  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;
}

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

.nav-division {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 1px solid var(--hairline-strong);
  padding-left: 1.5rem;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  padding: 11rem 2.5rem 6rem;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 700px;
  background: radial-gradient(ellipse at top, rgba(117, 102, 184, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.75rem;
}

#hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 4rem;
  line-height: 1.8;
}

.hero-rule {
  height: 1px;
  background: var(--hairline);
  margin-bottom: 3rem;
}

/* Hero pillars */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 0.9rem;
}

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

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

/* ===== TIERS ===== */
#tiers {
  padding: 5rem 2.5rem 4rem;
  max-width: 1160px;
  margin: 0 auto;
}

.tiers-header {
  margin-bottom: 3.5rem;
  max-width: 560px;
}

.tiers-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 0.75rem;
}

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

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 250ms ease;
}

.tier-card:hover {
  border-color: var(--hairline-strong);
}

.tier-card-gold {
  border-color: rgba(207, 174, 99, 0.45);
  background: linear-gradient(180deg, rgba(179, 146, 74, 0.06) 0%, transparent 40%), var(--bg-card);
}

.tier-card-gold:hover {
  border-color: var(--gold);
}

.tier-card-ruby {
  border-color: rgba(201, 107, 119, 0.4);
  background: linear-gradient(180deg, rgba(168, 74, 86, 0.06) 0%, transparent 40%), var(--bg-card);
}

.tier-card-ruby:hover {
  border-color: var(--ruby);
}

.tier-flag {
  position: absolute;
  top: 0;
  right: 2rem;
  transform: translateY(-50%);
  background: var(--bg-base);
  border: 1px solid rgba(207, 174, 99, 0.5);
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
}

.tier-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tier-label-gold {
  color: var(--gold-light);
}

.tier-label-ruby {
  color: var(--ruby-light);
}

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

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

.price-currency {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
  padding-top: 0.45rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

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

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

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex-grow: 1;
}

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

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

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

.tier-card-gold .tier-list li::before {
  color: var(--gold);
}

.tier-card-ruby .tier-list li::before {
  color: var(--ruby);
}

.tier-list .tier-list-lead {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-style: italic;
  padding-left: 0;
  margin-bottom: 0.15rem;
}

.tier-list .tier-list-lead::before {
  display: none;
}

.tier-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ===== ADD-ON ===== */
#addon {
  padding: 1rem 2.5rem 5rem;
}

#addon .section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.addon-card {
  border: 1px solid var(--hairline-strong);
  background: linear-gradient(180deg, rgba(117, 102, 184, 0.05) 0%, transparent 50%), var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 2.75rem 2.75rem;
}

.addon-body {
  max-width: 640px;
}

.addon-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.addon-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.addon-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.addon-list li {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  padding-left: 1.4rem;
  position: relative;
}

.addon-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
  top: 1px;
}

.addon-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  flex-shrink: 0;
  text-align: right;
}

.addon-side .price-period {
  margin-top: -0.5rem;
}

.addon-note {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ===== BREAKDOWN ===== */
#breakdown {
  padding: 5.5rem 2.5rem 6rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

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

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3.5rem;
  max-width: 560px;
}

.breakdown-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.bd-item {
  display: flex;
  gap: 1.5rem;
  padding: 2.25rem 2.25rem 2.25rem 2rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: background 250ms ease;
}

.bd-item:hover {
  background: rgba(153, 140, 214, 0.03);
}

.bd-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-light);
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.bd-content {
  flex: 1;
}

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

.bd-head h3 {
  font-size: 1rem;
  color: var(--text-primary);
}

.bd-term {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--hairline-strong);
  padding: 0.22rem 0.7rem;
}

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

/* ===== FAQ ===== */
#faq {
  padding: 5.5rem 2.5rem;
}

#faq .section-inner {
  max-width: 760px;
}

#faq .section-title {
  margin-bottom: 2.5rem;
}

.faq-list {
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.4rem 0;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 250ms ease, color 250ms ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-light);
}

.faq-body {
  padding-bottom: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 0.95rem;
  max-width: 640px;
}

.faq-body a {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(153, 140, 214, 0.35);
}

.faq-body a:hover {
  border-bottom-color: var(--accent-light);
}

/* ===== BOTTOM CTA ===== */
#cta-bottom {
  padding: 6.5rem 2.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--hairline);
}

.cta-inner {
  max-width: 1160px;
  margin: 0 auto;
}

#cta-bottom h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 1.25rem;
  max-width: 640px;
}

#cta-bottom p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.75rem;
  max-width: 540px;
}

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

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

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

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  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.85rem;
  transition: color 150ms ease;
}

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

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

.footer-disclaimer {
  max-width: 1160px;
  margin: 1.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 1.5rem;
  }

  .addon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .addon-side {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 900px) {
  #tiers {
    padding: 4rem 1.5rem 3rem;
  }

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

  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .nav-division {
    display: none;
  }
}

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

  #nav {
    padding: 1rem 1.25rem;
  }

  .nav-cta {
    display: none;
  }

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

  .addon-card {
    padding: 2rem 1.5rem;
  }

  .bd-item {
    padding: 1.75rem 1.5rem;
  }

  .bd-head {
    flex-direction: column;
    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;
  }

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

  .footer-disclaimer {
    text-align: center;
  }
}
