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

/* ── CSS VARIABLES ── */
:root {
  --bg: #080808; --bg2: #0d0d0d; --bg3: #111111; --bg4: #161616;
  --border: rgba(255,255,255,0.07); --border2: rgba(255,255,255,0.13);
  --text: #fff; --text2: #9a9a9a; --text3: #4a4a4a;
  --accent: #7c3aed; --accent2: #a78bfa; --green: #22c55e; --blue: #38bdf8;
  --amber: #f59e0b; --red: #ef4444;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 28px; }

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 100; background: transparent; backdrop-filter: none; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s; }
.nav.scrolled { background: rgba(8,8,8,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.nav-logo { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.nav-logo em { font-style: normal; color: var(--accent2); }
.nav-menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 40px; height: 40px; align-items: center; background: none; border: none; cursor: pointer; color: #fff; }
.nmb { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .45s cubic-bezier(.22,1,.36,1); transform-origin: center; }

/* ── NAV OVERLAY ── */
.nav-overlay { position: fixed; inset: 0; z-index: 200; background: #080808; clip-path: circle(0% at calc(100% - 48px) 29px); transition: clip-path .72s cubic-bezier(.22,1,.36,1); display: flex; flex-direction: column; pointer-events: none; overflow: hidden; }
.nav-overlay.open { clip-path: circle(170vmax at calc(100% - 48px) 29px); pointer-events: all; }
.nov-bar { flex-shrink: 0; border-bottom: 1px solid var(--border); }
.nov-close { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 40px; height: 40px; align-items: center; background: none; border: none; cursor: pointer; color: #fff; }
.nov-close .nmb-1 { transform: translateY(4.25px) rotate(45deg); }
.nov-close .nmb-2 { transform: translateY(-4.25px) rotate(-45deg); }
.nov-main { flex: 1; display: flex; overflow: hidden; }
.nov-left { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 28px 60px; }
.nov-item { display: flex; align-items: baseline; gap: 20px; padding: 5px 0; text-decoration: none; color: inherit; cursor: pointer; opacity: 0; transform: translateY(36px); transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1); }
.nav-overlay.open .nov-item { opacity: 1; transform: translateY(0); }
.nav-overlay.open .nov-item:nth-child(1) { transition-delay: .12s; }
.nav-overlay.open .nov-item:nth-child(2) { transition-delay: .18s; }
.nav-overlay.open .nov-item:nth-child(3) { transition-delay: .24s; }
.nav-overlay.open .nov-item:nth-child(4) { transition-delay: .30s; }
.nav-overlay.open .nov-item:nth-child(5) { transition-delay: .36s; }
.nav-overlay.open .nov-item:nth-child(6) { transition-delay: .42s; }
.nav-overlay.open .nov-item:nth-child(7) { transition-delay: .48s; }
.nov-num { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,0.16); width: 26px; flex-shrink: 0; padding-bottom: 3px; }
.nov-text { font-size: clamp(36px, 5.8vw, 72px); font-weight: 100; letter-spacing: -0.045em; line-height: 1.08; color: rgba(255,255,255,0.62); transition: color .22s, letter-spacing .45s cubic-bezier(.22,1,.36,1); }
.nov-item:hover .nov-text { color: #fff; letter-spacing: -0.01em; }
.nov-arrow { font-size: 24px; color: transparent; margin-left: auto; flex-shrink: 0; transition: color .22s, transform .35s cubic-bezier(.22,1,.36,1); transform: translateX(-14px); }
.nov-item:hover .nov-arrow { color: var(--accent2); transform: translateX(0); }
.nov-right { width: 360px; flex-shrink: 0; border-left: 1px solid var(--border); position: relative; }

/* ── NPC PREVIEW CARDS ── */
.npc { position: absolute; inset: 28px; background: var(--bg2); border: 1px solid var(--border2); padding: 22px; display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(14px); transition: opacity .28s, transform .32s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.npc.active { opacity: 1; transform: translateY(0); }
.npc-eye { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.26); }
.npc-log { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.npc-log-row { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; padding: 8px 10px; background: var(--bg3); border: 1px solid var(--border); }
.npc-req { color: rgba(255,255,255,0.25); flex: 1; } .npc-sep { color: rgba(255,255,255,0.15); } .npc-dest { color: #fff; flex: 1; } .npc-ms { color: var(--green); margin-left: auto; }
.npc-stat-row { display: flex; align-items: center; gap: 10px; }
.npc-stat-label { font-size: 11px; color: rgba(255,255,255,0.28); white-space: nowrap; }
.npc-bar { flex: 1; height: 2px; background: rgba(255,255,255,0.07); } .npc-bar-fill { height: 100%; background: var(--green); } .npc-bar-warn { background: #f59e0b; }
.npc-stat-val { font-family: var(--mono); font-size: 11px; color: var(--green); white-space: nowrap; }
.npc-metrics { display: flex; }
.npc-metric { flex: 1; padding: 12px 10px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.npc-metric + .npc-metric { border-left: none; }
.npc-mval { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -0.04em; } .npc-mlbl { font-size: 10px; color: rgba(255,255,255,0.28); font-family: var(--mono); }
.npc-chart { display: block; width: 100%; height: 46px; }
.npc-budgets { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.npc-budget { display: flex; flex-direction: column; gap: 6px; }
.npc-brow { display: flex; justify-content: space-between; }
.npc-bname { font-size: 12px; color: rgba(255,255,255,0.55); } .npc-btag { font-size: 11px; color: rgba(255,255,255,0.24); font-family: var(--mono); }
.npc-rule { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.18); }
.npc-provs { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; align-content: flex-start; }
.npc-prov { font-size: 11px; padding: 4px 9px; border: 1px solid var(--border); color: rgba(255,255,255,0.45); }
.npc-api-chip { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.26); padding: 8px 10px; border: 1px solid var(--border); background: var(--bg3); }
.npc-tier { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.npc-tier-name { font-size: 10px; color: rgba(255,255,255,0.28); letter-spacing: .1em; text-transform: uppercase; font-family: var(--mono); }
.npc-tier-price { font-size: 42px; font-weight: 700; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.npc-tier-price span { font-size: 13px; color: rgba(255,255,255,0.3); font-weight: 400; letter-spacing: 0; }
.npc-tier-feats { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.npc-tier-feats div { font-size: 12px; color: rgba(255,255,255,0.42); }
.npc-code-block { font-family: var(--mono); font-size: 11.5px; line-height: 1.8; color: rgba(255,255,255,0.4); flex: 1; background: var(--bg3); border: 1px solid var(--border); padding: 14px; overflow: hidden; }
.npc-kw { color: var(--accent2); } .npc-str { color: var(--green); } .npc-fn { color: var(--blue); } .npc-cmt { color: rgba(255,255,255,0.18); }
.nov-footer { padding: 18px 28px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.nov-footer-copy { font-size: 12px; color: rgba(255,255,255,0.18); margin-right: auto; }
.nov-footer a { font-size: 12px; color: rgba(255,255,255,0.28); transition: color .15s; }
.nov-footer a:hover { color: rgba(255,255,255,0.7); }

/* ── BUTTONS ── */
.btn-white { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #080808; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; height: 48px; padding: 0 30px; border-radius: 0; border: 1px solid transparent; transition: background .2s, box-shadow .3s, transform .3s cubic-bezier(.22,1,.36,1); }
.btn-white:hover { background: #f2f2f2; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,0.1); }
.btn-white .btn-arrow { transition: transform .3s cubic-bezier(.22,1,.36,1); }
.btn-white:hover .btn-arrow { transform: translateX(4px); }
.btn-outline { display: inline-flex; align-items: center; gap: 9px; background: transparent; color: rgba(255,255,255,0.55); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; height: 48px; padding: 0 30px; border-radius: 0; border: 1px solid rgba(255,255,255,0.13); transition: color .2s, border-color .25s, background .2s, transform .3s cubic-bezier(.22,1,.36,1); }
.btn-outline:hover { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); transform: translateY(-2px); }
.btn-outline .btn-arrow { opacity: 0.4; transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s; }
.btn-outline:hover .btn-arrow { transform: translateX(4px); opacity: 0.8; }

/* ── SECTION TYPOGRAPHY ── */
.sec-eye { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
.sec-h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 100; letter-spacing: -0.036em; line-height: 1.12; color: #fff; margin-bottom: 16px; }
.sec-p { font-size: 16px; color: var(--text2); line-height: 1.72; }
.sec-bullets { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.sec-bullets li { display: flex; gap: 10px; font-size: 15px; color: var(--text2); line-height: 1.6; }
.bdot { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; margin-top: 3px; background: rgba(124,58,237,0.14); border: 1px solid rgba(124,58,237,0.38); display: flex; align-items: center; justify-content: center; }
.bdot::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent2); }

/* ── HERO AURORA (product pages) ── */
.hero-aurora { position: absolute; inset: 0; pointer-events: none; z-index: -1; mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 60%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 60%, transparent 100%); }
.ha-orb { position: absolute; border-radius: 50%; will-change: transform; }
.ha-o1 { width: 600px; height: 420px; background: radial-gradient(ellipse at center, rgba(124,58,237,0.16) 0%, transparent 70%); filter: blur(100px); top: -100px; left: -60px; animation: ha1 24s ease-in-out infinite alternate; }
.ha-o2 { width: 440px; height: 320px; background: radial-gradient(ellipse at center, rgba(167,139,250,0.08) 0%, transparent 70%); filter: blur(120px); top: -40px; right: 20%; animation: ha2 32s ease-in-out infinite alternate; }
@keyframes ha1 { from{transform:translate(0,0) scale(1)} to{transform:translate(80px,55px) scale(1.12)} }
@keyframes ha2 { from{transform:translate(0,0) scale(1)} to{transform:translate(-65px,75px) scale(0.9)} }

/* ── BREADCRUMB + HERO ── */
.breadcrumb { font-family: var(--mono); font-size: 11px; color: var(--text3); letter-spacing: 0.06em; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--text3); transition: color .15s; }
.breadcrumb a:hover { color: var(--text2); }
.hero-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent2); margin-bottom: 24px; }
.hero-h1 { font-size: clamp(32px, 4vw, 56px); font-weight: 100; letter-spacing: -0.04em; line-height: 1.1; color: rgba(255,255,255,0.92); max-width: 680px; margin-bottom: 18px; }
.hero-sub { font-size: 17px; color: var(--text2); line-height: 1.72; max-width: 540px; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── CTA SECTION ── */
.cta-sec { padding: 96px 0; border-top: 1px solid var(--border); text-align: center; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.08) 0%, transparent 70%); }
.cta-h2 { font-size: clamp(36px, 5vw, 62px); font-weight: 100; letter-spacing: -0.042em; color: #fff; margin-bottom: 18px; }
.cta-sub { font-size: 18px; color: var(--text2); margin-bottom: 40px; }
.cta-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 220px 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.footer-logo em { font-style: normal; color: var(--accent2); }
.footer-tagline { font-size: 13px; color: var(--text3); margin-top: 10px; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--text3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text2); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: var(--text3); }
.footer-badges { display: flex; gap: 12px; }
.fbadge { font-size: 11px; font-weight: 600; padding: 4px 10px; border: 1px solid var(--border2); color: var(--text3); }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.fade-up.visible { opacity: 1; transform: none; }
.s1 { transition-delay: .08s !important; }
.s2 { transition-delay: .16s !important; }
.s3 { transition-delay: .24s !important; }
.s4 { transition-delay: .32s !important; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .nov-right { display: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 0 18px; }
  .nov-left { padding: 24px 28px; }
}
@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .btn-white, .btn-outline { justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  footer { padding: 44px 0 28px; }
  .cta-ctas { flex-direction: column; align-items: center; }
}
