:root {
  --bg-base:      #08080A;
  --bg-elevated:  #0F0F12;
  --bg-floating:  #17171C;
  --gold-dark:    #8B6914;
  --gold-mid:     #C49A1C;
  --gold-light:   #F2C94C;
  --text-primary: #F5F5F7;
  --text-muted:   #71717A;
  --border:       rgba(255,255,255,0.06);
  --border-gold:  rgba(196,154,28,0.35);
}

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

html { background: var(--bg-base); }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #2A2A30; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3A3A42; }

/* ── Gold gradient text ── */
.grad-text {
  background: linear-gradient(120deg, #8B6914 0%, #C49A1C 30%, #F2C94C 65%, #FFD166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Noise grain ── */
.grain {
  position: relative;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Hero grid ── */
.hero-bg {
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(196,154,28,0.13) 0%, transparent 68%),
    radial-gradient(ellipse 55% 45% at 85% 55%, rgba(242,201,76,0.055) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 70%, rgba(139,105,20,0.045) 0%, transparent 55%),
    var(--bg-base);
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* ── Glass nav ── */
.glass-nav {
  background: rgba(8,8,10,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.glass-nav.scrolled {
  background: rgba(8,8,10,0.92);
}

/* ── Buttons ── */
.btn-primary {
  background: linear-gradient(135deg, #C49A1C 0%, #D4A820 45%, #F2C94C 100%);
  color: #08080A;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 20px rgba(196,154,28,0.32), 0 1px 4px rgba(196,154,28,0.18);
  transition:
    transform 0.2s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.2s cubic-bezier(0.16,1,0.3,1),
    filter 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 36px rgba(196,154,28,0.5), 0 2px 8px rgba(196,154,28,0.28);
  filter: brightness(1.06);
}
.btn-primary:active  { transform: translateY(0); filter: brightness(0.94); }
.btn-primary:focus-visible { outline: 2px solid #F2C94C; outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.13);
  color: var(--text-primary);
  font-weight: 500;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s cubic-bezier(0.16,1,0.3,1);
}
.btn-ghost:hover  { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.26); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }
.btn-ghost:focus-visible { outline: 2px solid #F2C94C; outline-offset: 3px; }

/* ── Badge ── */
.badge {
  background: rgba(196,154,28,0.1);
  border: 1px solid rgba(196,154,28,0.3);
  color: #F2C94C;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ── Cards ── */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition:
    border-color 0.3s cubic-bezier(0.16,1,0.3,1),
    transform 0.3s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.3s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.25);
}
.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 2px 8px rgba(196,154,28,0.1);
}

/* ── Plan cards ── */
.plan-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition:
    border-color 0.3s cubic-bezier(0.16,1,0.3,1),
    transform 0.3s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.3s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.plan-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 2px 8px rgba(196,154,28,0.1);
}
.plan-card.popular {
  background: linear-gradient(160deg, #141008 0%, #100E06 100%);
  border-color: rgba(196,154,28,0.45);
  box-shadow: 0 0 0 1px rgba(196,154,28,0.1), 0 4px 32px rgba(0,0,0,0.5), 0 0 60px rgba(196,154,28,0.07);
}
.plan-card.popular:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(196,154,28,0.2), 0 12px 50px rgba(0,0,0,0.55), 0 0 80px rgba(196,154,28,0.12);
}

/* ── Terminal ── */
.terminal {
  background: #0C0C0E;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 24px 80px rgba(0,0,0,0.7),
    0 8px 24px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03),
    0 0 120px rgba(196,154,28,0.04);
}
.terminal-bar {
  background: #141416;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── Blinking cursor ── */
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.cursor { animation: blink 1.1s step-end infinite; }

/* ── Utilization bar ── */
.util-bar {
  transition: width 1.6s cubic-bezier(0.16,1,0.3,1);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

/* ── Floating status card ── */
.status-card {
  background: var(--bg-floating);
  border: 1px solid var(--border-gold);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(196,154,28,0.08);
}

/* ── Marquee ── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { animation: marquee 38s linear infinite; white-space: nowrap; display: inline-flex; }
.marquee-track:hover { animation-play-state: paused; }

/* ── Section label ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

/* ── Divider ── */
.divider { background: linear-gradient(90deg, transparent, rgba(196,154,28,0.25), transparent); height: 1px; }

/* ── Feature icon ── */
.feat-icon {
  background: linear-gradient(135deg, rgba(139,105,20,0.18) 0%, rgba(196,154,28,0.08) 100%);
  border: 1px solid rgba(196,154,28,0.18);
}

/* ── Step connector ── */
.step-connector {
  background: linear-gradient(90deg, var(--gold-dark), transparent);
  height: 1px;
  flex: 1;
  margin-top: -1px;
}

/* ── FAQ ── */
.faq-icon { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1); }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* ── Spec row ── */
.spec-row { border-bottom: 1px solid rgba(255,255,255,0.05); }
.spec-row:last-child { border-bottom: none; }

/* ── Nav link ── */
.nav-link {
  color: #A1A1AA;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.nav-link:hover { color: #F5F5F7; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:focus-visible { outline: 2px solid #F2C94C; outline-offset: 4px; border-radius: 3px; }

/* ── Check bullet ── */
.check-item { color: #71717A; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }

/* ── CTA section ── */
.cta-section {
  background:
    radial-gradient(ellipse 70% 80% at 50% -10%, rgba(196,154,28,0.11) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(139,105,20,0.06) 0%, transparent 55%),
    var(--bg-base);
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ── Popular badge ── */
.popular-badge {
  background: linear-gradient(135deg, #C49A1C, #F2C94C);
  color: #08080A;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Check list (pricing) ── */
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: #A1A1AA; padding: 5px 0; }
.check-list li svg { flex-shrink: 0; margin-top: 2px; }
.check-list li.highlight { color: var(--text-primary); }

/* ── Glow orb ── */
.glow { filter: blur(90px); pointer-events: none; }

/* ── Mobile menu ── */
#mobile-menu { background: rgba(8,8,10,0.96); backdrop-filter: blur(24px); }

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-floating);
  border-top: 1px solid var(--border-gold);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.45);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
#cookie-banner.visible {
  transform: translateY(0);
}
.cookie-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.cookie-close {
  flex-shrink: 0;
  padding: 7px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.cookie-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }
.cookie-close:focus-visible { outline: 2px solid #F2C94C; outline-offset: 2px; }
