:root {
  --bg: #1a1d2e;
  --bg-alt: #1f2337;
  --bg-card: #252840;
  --fg: #e8eaf0;
  --fg-muted: #8b90a8;
  --accent: #7cb3a8;
  --accent-dim: rgba(124, 179, 168, 0.12);
  --border: rgba(255,255,255,0.06);
  --radius: 10px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 29, 46, 0.88);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 96px;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(124,179,168,0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  gap: 32px;
  align-items: center;
}
.meta-item { display: flex; flex-direction: column; }
.meta-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.meta-label {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-top: 4px;
}
.meta-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Product Window */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 300px;
  height: 300px;
  background: rgba(124, 179, 168, 0.07);
  top: -60px;
  right: -40px;
}
.glow-2 {
  width: 200px;
  height: 200px;
  background: rgba(124, 179, 168, 0.04);
  bottom: -40px;
  left: -20px;
}
.product-window {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,179,168,0.08);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #e07070; }
.dot-amber { background: #8299c4; }
.dot-green { background: #7cb3a8; }
.window-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}
.window-body { display: flex; height: 320px; }
.panel-sidebar {
  width: 140px;
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  padding: 12px 0;
  flex-shrink: 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.sidebar-active { color: var(--accent); background: var(--accent-dim); }
.panel-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.stream-header {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}
.stream-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 11px;
  border-bottom: 1px solid var(--border);
}
.stream-icon {
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}
.stream-icon-done { color: #28c840; }
.stream-icon-active { color: var(--accent); }
.stream-icon-queued { color: var(--fg-muted); }
.stream-text { color: var(--fg); line-height: 1.4; flex: 1; }
.stream-time { color: var(--fg-muted); font-size: 10px; flex-shrink: 0; }
.stream-done { opacity: 0.7; }
.stream-queued { opacity: 0.5; }
.cert-progress { display: flex; flex-direction: column; gap: 10px; }
.cert-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cert-label {
  font-size: 10px;
  color: var(--fg-muted);
  width: 110px;
  flex-shrink: 0;
}
.cert-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.cert-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.cert-pct {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  width: 28px;
  text-align: right;
}

/* Features */
.features {
  background: var(--bg-alt);
  padding: 96px 32px;
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-alt);
  padding: 40px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card); }
.feature-icon {
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* Frameworks */
.frameworks {
  padding: 96px 32px;
  background: var(--bg);
}
.frameworks-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--fg);
  margin-bottom: 56px;
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.framework-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.15s;
}
.framework-card:hover {
  border-color: rgba(124,179,168,0.25);
  transform: translateY(-2px);
}
.framework-card-queued { opacity: 0.55; }
.fw-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(124,179,168,0.15);
  color: #7cb3a8;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid rgba(124,179,168,0.2);
}
.fw-badge-queued {
  background: rgba(100,130,200,0.12);
  color: #8299c4;
  border-color: rgba(100,130,200,0.15);
}
.fw-code {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.fw-name {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.fw-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* Closing */
.closing { padding: 96px 32px 120px; }
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.closing-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 680px;
  margin: 0 auto 40px;
}
.closing-meta {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
}
.footer-copy { font-size: 12px; color: var(--fg-muted); }

/* Hero CTA row */
.hero-geo {
  font-size: 14px;
  color: var(--accent);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 480px;
  opacity: 0.85;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(124,179,168,0.4);
  color: var(--accent);
}

/* Screenshots section */
.screenshots {
  padding: 80px 32px 96px;
  background: var(--bg);
}
.screenshots-inner { max-width: 1200px; margin: 0 auto; }
.screenshots-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 56px;
  margin-top: -32px;
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
}
.screenshot-card:hover {
  border-color: rgba(124,179,168,0.3);
  transform: translateY(-3px);
}
.screenshot-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}
.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.screenshot-caption {
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid var(--border);
}
.screenshot-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 2px;
}
.screenshot-text {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Nav CTAs */
.nav-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-nav-secondary {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}
.btn-nav-secondary:hover { color: var(--fg); }
.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--accent);
  color: #0c0e1a;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-nav-primary:hover { opacity: 0.88; }

/* Responsive */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .product-window { max-width: 360px; }
  .feature-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .screenshots-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .screenshots-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
}

/* Demo page */
.demo-body { overflow-x: hidden; }

.demo-hero {
  background: var(--bg);
  padding: 80px 32px 96px;
  text-align: center;
}
.demo-hero-inner { max-width: 860px; margin: 0 auto; }
.demo-hero-inner .hero-headline { font-size: clamp(34px, 5vw, 52px); max-width: 680px; margin: 0 auto 20px; }
.demo-hero-inner .hero-sub { max-width: 600px; margin: 0 auto 40px; font-size: 17px; }

/* Lead capture form */
.demo-form-wrap { max-width: 640px; margin: 0 auto 40px; }
.demo-form { width: 100%; }
.form-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.demo-form input {
  flex: 1 1 200px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 160px;
}
.demo-form input:focus { border-color: var(--accent); }
.demo-form input::placeholder { color: var(--fg-muted); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #0c0e1a;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-large { padding: 16px 32px; font-size: 17px; }
.form-disclaimer { font-size: 12px; color: var(--fg-muted); margin-top: 10px; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid rgba(40,200,64,0.25);
  border-radius: var(--radius);
  color: var(--fg);
}
.form-success p { font-size: 16px; max-width: 400px; }

/* Demo output table */
.demo-output { background: var(--bg-alt); padding: 96px 32px; }
.demo-output-inner { max-width: 1200px; margin: 0 auto; }
.demo-output-sub { color: var(--fg-muted); font-size: 16px; max-width: 600px; margin: 0 0 40px; }
.gap-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.gap-table { width: 100%; border-collapse: collapse; background: var(--bg-card); font-size: 14px; }
.gap-table th {
  background: var(--bg-alt);
  color: var(--fg-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.gap-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--fg);
  line-height: 1.5;
}
.gap-table tr:last-child td { border-bottom: none; }
.gap-table tr:hover td { background: rgba(255,255,255,0.02); }

.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.status-gap { background: rgba(239,68,68,0.15); color: #ef4444; }
.status-implemented { background: rgba(40,200,64,0.15); color: #28c840; }
.status-na { background: var(--accent-dim); color: var(--accent); }

.severity {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sev-high { background: rgba(239,68,68,0.2); color: #f87171; }
.sev-medium { background: rgba(124,179,168,0.2); color: var(--accent); }

.tag {
  display: inline-flex;
  padding: 2px 7px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  color: var(--fg-muted);
  white-space: nowrap;
}

/* Steps */
.demo-steps { padding: 96px 32px; }
.demo-steps-inner { max-width: 1200px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border-radius: 16px; overflow: hidden; }
.step-card { background: var(--bg-alt); padding: 40px; }
.step-num { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; margin-bottom: 20px; }
.step-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--fg); margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }

/* CTA */
.demo-cta { padding: 80px 32px; }
.demo-cta-inner { max-width: 800px; margin: 0 auto; }
.demo-cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(124,179,168,0.2);
  border-radius: 18px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 200px;
  background: rgba(124,179,168,0.06);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.demo-cta-card h2 { font-family: var(--font-display); font-size: clamp(26px,4vw,42px); font-weight: 800; letter-spacing: -0.025em; color: var(--fg); margin-bottom: 16px; }
.demo-cta-card p { font-size: 17px; color: var(--fg-muted); max-width: 480px; margin: 0 auto 32px; line-height: 1.65; }
.cta-meta { font-size: 13px; color: var(--fg-muted); margin-top: 16px; }

/* Responsive */
@media (max-width: 600px) {
  .hero { padding: 48px 20px 64px; }
  .features, .frameworks, .closing { padding: 64px 20px; }
  .framework-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { flex-direction: column; }
  .demo-form input, .btn-primary { width: 100%; }
  .gap-table { font-size: 13px; }
  .gap-table th, .gap-table td { padding: 10px 12px; }
  .steps-grid { grid-template-columns: 1fr; }
  .demo-cta-card { padding: 40px 24px; }
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}