:root {
  --bg-main: #0B131E;
  --bg-card: #131E2C;
  --bg-input: #0E1724;
  --border-subtle: #223042;
  --emerald: #20C981;
  --emerald-hover: #19B271;
  --emerald-bg: rgba(32, 201, 129, 0.12);
  --emerald-glow: 0 0 24px rgba(32, 201, 129, 0.22);
  --red-alert: #EF4444;
  --amber-alert: #F59E0B;
  --text-white: #F8FAFC;
  --text-muted: #94A3B8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif; }
body { background: var(--bg-main); color: var(--text-white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-variant-numeric: tabular-nums; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 40; background: rgba(11, 19, 30, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.nav-links a:hover { color: #fff; }
.btn-emerald { background: var(--emerald); color: #06130D; font-weight: 700; padding: 10px 18px; border-radius: 8px; font-size: 13.5px; transition: 0.15s; display: inline-block; }
.btn-emerald:hover { background: var(--emerald-hover); }
.btn-outline { background: transparent; color: #fff; border: 1px solid var(--border-subtle); font-weight: 600; padding: 12px 20px; border-radius: 8px; font-size: 14px; display: inline-block; }
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald); }

/* Hero (Matches Image 5) */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 40px; align-items: center; }
.pill-badge { display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--emerald-bg); border: 1px solid rgba(32,201,129,0.35); color: var(--emerald); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 4.3vw, 48px); font-weight: 800; line-height: 1.13; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero-desc { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin-bottom: 28px; max-width: 580px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-btns .btn-emerald { padding: 13px 22px; font-size: 14.5px; }

.tranche-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 24px; }
.tranche-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.seat-line { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }
.bar-bg { width: 100%; height: 8px; background: #1E293B; border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.bar-fill { height: 100%; background: var(--emerald); border-radius: 99px; transition: width 0.35s ease; }
.rate-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 12px; }
.due-badge { background: var(--bg-input); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 8px 14px; text-align: center; }

/* 4-Step Timeline Strip (Matches Image 5 Bottom) */
.timeline-bar { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 20px 26px; margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.t-item { font-size: 13px; }
.t-item span { display: block; color: var(--text-muted); font-size: 12px; }
.t-item strong { color: #fff; font-weight: 700; }
.t-arrow { color: var(--text-muted); font-size: 16px; }

/* Shared Section & Panel Styling */
.section { padding: 64px 0; border-top: 1px solid var(--border-subtle); }
.sec-heading { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 28px; }
.dark-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 26px; }
.glow-card { background: var(--bg-card); border: 1.5px solid var(--emerald); border-radius: 14px; padding: 26px; box-shadow: var(--emerald-glow); }

/* Calculator (Matches Image 3) */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field-lbl { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.dark-field { width: 100%; background: var(--bg-input); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 10px 12px; color: #fff; font-size: 14px; margin-bottom: 16px; }
.dark-field:focus { outline: none; border-color: var(--emerald); }
.slider-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.slider-row input[type="range"] { flex: 1; accent-color: var(--emerald); cursor: pointer; }
.tpv-pill { background: var(--bg-input); border: 1px solid var(--border-subtle); padding: 7px 12px; border-radius: 7px; font-weight: 700; font-size: 13.5px; }
.proj-block { margin-bottom: 20px; }
.proj-lbl { font-size: 13px; color: var(--text-muted); }
.proj-val-red { font-size: 28px; font-weight: 800; color: var(--red-alert); }
.proj-val-amber { font-size: 28px; font-weight: 800; color: var(--amber-alert); }
.proj-val-green { font-size: 32px; font-weight: 800; color: var(--emerald); }
.elig-pill { background: var(--emerald-bg); border: 1px solid rgba(32,201,129,0.4); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: #A7F3D0; display: flex; align-items: center; gap: 10px; }

/* Pricing Matrix (Matches Image 1) */
.promo-tabs { display: inline-flex; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 99px; padding: 4px; gap: 4px; margin-bottom: 28px; }
.promo-tab { padding: 8px 18px; border-radius: 99px; font-size: 13px; font-weight: 600; background: transparent; color: var(--text-muted); }
.promo-tab.active { background: var(--emerald); color: #06130D; font-weight: 700; }
.tier-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tier-col { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 20px 14px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
.tier-col.hl { border: 1.5px solid var(--emerald); box-shadow: var(--emerald-glow); background: rgba(32, 201, 129, 0.04); }
.tier-row { padding: 14px 0; border-bottom: 1px solid rgba(34, 48, 66, 0.7); font-size: 13.5px; }
.tier-row:last-child { border-bottom: none; padding-bottom: 0; }
.contractor-banner { margin-top: 22px; background: rgba(32, 201, 129, 0.06); border: 1px solid rgba(32, 201, 129, 0.45); border-radius: 10px; padding: 14px 20px; text-align: center; font-size: 13px; color: #E2E8F0; }

/* VIP Allocation Section & Live Certificate (Matches Image 2) */
.vip-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 24px; align-items: stretch; }
.cert-card { background: var(--bg-card); border: 1.5px solid var(--emerald); border-radius: 14px; padding: 26px; box-shadow: var(--emerald-glow); text-align: center; display: flex; flex-direction: column; justify-content: space-between; }

/* CPA Section (Matches Image 4) */
.cpa-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 28px; align-items: center; }
.console-item { background: var(--bg-input); border: 1px solid var(--border-subtle); border-radius: 9px; padding: 14px 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.key-row { display: flex; gap: 8px; margin: 12px 0; }
.key-badge { width: 34px; height: 34px; border-radius: 7px; background: var(--bg-input); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; color: var(--emerald); font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--border-subtle); padding: 36px 0; font-size: 12px; color: var(--text-muted); }
.hidden { display: none !important; }

@media (max-width: 920px) {
  .hero-grid, .calc-grid, .vip-grid, .cpa-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .t-arrow { display: none; }
}
@media (max-width: 540px) {
  .tier-grid { grid-template-columns: 1fr; }
}
