:root {
  --bg: #0a0a0a;
  --bg-card: #0f0f0f;
  --bg-code: #111;
  --bg-callout: #0d0d0d;
  --border: #1e1e1e;
  --border-dim: #161616;
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --accent: #00ff88;
  --accent-dim: rgba(0,255,136,0.12);
  --red: #ff3d55;
  --amber: #ffc820;
  --font: ui-monospace,'SF Mono','Cascadia Code','Fira Code','Courier New',monospace;
  --radius: 4px;
  --max-w: 900px;
  --nav-h: 56px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Nav ──────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-logo { color: var(--accent); font-size: 15px; font-weight: 700; letter-spacing: .05em; flex-shrink: 0; }
.nav-logo:hover { text-decoration: none; opacity: .85; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--text-muted); font-size: 13px; transition: color .15s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.btn { display: inline-block; padding: 8px 18px; border-radius: var(--radius); font-family: var(--font); font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity .15s, border-color .15s, color .15s; text-decoration: none; }
.btn-primary { background: var(--accent); color: #000; border: 1px solid var(--accent); }
.btn-primary:hover { opacity: .85; text-decoration: none; }
.btn-ghost { border: 1px solid #333; color: var(--text-muted); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-sm { font-size: 12px; padding: 6px 14px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--text-muted); }
.hamburger svg { display: block; }
.nav-mobile { display: none; }

/* ── Layout ───────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; border-bottom: 1px solid var(--border-dim); }
section:last-of-type { border-bottom: none; }
.section-label { font-size: 11px; color: var(--text-dim); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.section-intro { font-size: 14px; color: var(--text-muted); margin-top: 8px; margin-bottom: 48px; }
h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 15px; font-weight: 700; color: var(--text); }
p { color: #ccc; font-size: 15px; line-height: 1.7; }

/* ── Hero ─────────────────────────────────────────────────────────── */
#hero { min-height: 88vh; display: flex; align-items: center; padding: 0; border-bottom: 1px solid var(--border-dim); padding-top: var(--nav-h); }
.hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 80px 24px; }
.hero-inner h1 { margin-bottom: 20px; }
.hero-sub { font-size: 15px; color: var(--text-muted); max-width: 620px; line-height: 1.65; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.trust-line { font-size: 12px; color: var(--text-dim); letter-spacing: .05em; }

/* ── Stats ────────────────────────────────────────────────────────── */
#stats { padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-item { background: var(--bg); padding: 24px 16px; text-align: center; }
.stat-num { font-size: 22px; font-weight: 700; color: var(--accent); display: block; letter-spacing: -.02em; }
.stat-label { font-size: 10px; color: var(--text-dim); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; display: block; }

/* ── Code block ───────────────────────────────────────────────────── */
pre { background: var(--bg-code); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; overflow-x: auto; font-size: 13px; line-height: 1.55; user-select: all; }
code { font-family: var(--font); }
.code-label { font-size: 11px; color: var(--text-dim); letter-spacing: .1em; margin-bottom: 6px; }

/* ── How it works ─────────────────────────────────────────────────── */
.hiw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.hiw-outputs { display: flex; flex-direction: column; gap: 16px; }
.hiw-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.hiw-card h3 { font-size: 13px; margin-bottom: 10px; }
.hiw-card h3 .tag { font-size: 10px; color: var(--accent); margin-left: 8px; letter-spacing: .08em; }
.hiw-card .output-line { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ── Products ─────────────────────────────────────────────────────── */
.product-cards { display: flex; flex-direction: column; gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; }
.product-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.product-version { font-size: 11px; color: var(--text-dim); border: 1px solid var(--border); padding: 2px 8px; border-radius: var(--radius); }
.product-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.feature-list li { font-size: 13px; color: #ccc; padding-left: 16px; position: relative; }
.feature-list li::before { content: '·'; position: absolute; left: 0; color: var(--accent); }
.product-note { font-size: 12px; color: var(--text-dim); margin-bottom: 20px; padding: 10px 14px; border-left: 2px solid var(--border); }
.product-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Callout ──────────────────────────────────────────────────────── */
#callout { background: var(--bg-callout); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 0; }
.callout-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; border-left: 3px solid var(--accent); padding-left: 32px; }
.callout-inner h2 { margin-bottom: 8px; }
.callout-inner p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ── Pricing ──────────────────────────────────────────────────────── */
.pricing-group { margin-bottom: 56px; }
.pricing-group:last-child { margin-bottom: 0; }
.pricing-group-label { font-size: 11px; color: var(--text-dim); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.pricing-grid { display: grid; gap: 16px; }
.pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; }
.pricing-card.featured { border-color: rgba(0,255,136,.3); background: rgba(0,255,136,.02); }
.pricing-name { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.pricing-price { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.pricing-price span { font-size: 13px; color: var(--text-dim); font-weight: 400; }
.pricing-annual { font-size: 11px; color: var(--text-dim); margin-bottom: 16px; }
.pricing-features { list-style: none; flex: 1; margin-bottom: 20px; display: flex; flex-direction: column; gap: 5px; }
.pricing-features li { font-size: 12px; color: #bbb; padding-left: 16px; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-size: 10px; top: 2px; }
.pricing-features li.no::before { content: '✗'; color: var(--text-dim); }
.pricing-features li.no { color: var(--text-dim); }
.pricing-cta { margin-top: auto; }
.bundle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.bundle-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.bundle-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.bundle-price { font-size: 18px; font-weight: 700; color: var(--accent); }
.bundle-save { font-size: 11px; color: var(--text-dim); margin-bottom: 14px; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text); font-family: var(--font); font-size: 14px; font-weight: 600; }
.faq-q:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; font-size: 18px; color: var(--text-dim); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease-in-out; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 20px; color: var(--text-muted); font-size: 14px; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 12px; color: var(--text-dim); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text-muted); text-decoration: none; }

/* ── Product page hero ────────────────────────────────────────────── */
.product-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--border-dim); margin-top: var(--nav-h); }
.product-hero-tag { font-size: 11px; color: var(--accent); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.product-hero h1 { margin-bottom: 16px; }
.product-hero p { font-size: 15px; color: var(--text-muted); max-width: 620px; margin-bottom: 28px; }
.product-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Cloud pricing specific ───────────────────────────────────────── */
.cloud-pricing-note { font-size: 12px; color: var(--text-dim); margin-top: 12px; text-align: center; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .pricing-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .nav-mobile { display: none; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; flex-direction: column; gap: 12px; }
  .nav-mobile.open { display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99; }
  .nav-mobile a { color: var(--text-muted); font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border-dim); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: fit-content; }
  .pricing-grid.cols-3, .pricing-grid.cols-4 { grid-template-columns: 1fr; }
  .bundle-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .product-card { padding: 20px; }
}
