* { box-sizing: border-box; }

:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: rgba(11, 20, 36, 0.84);
  --panel-solid: #0d1726;
  --panel-2: #101b2c;
  --line: rgba(162, 180, 210, 0.16);
  --line-strong: rgba(162, 180, 210, 0.28);
  --text: #f5f8ff;
  --muted: #8fa0bc;
  --heading: #ffffff;
  --accent: #2d8cff;
  --accent-2: #6eb7ff;
  --success: #1fc57a;
  --warn-bg: rgba(255, 184, 82, 0.10);
  --warn-line: rgba(255, 184, 82, 0.35);
  --info-bg: rgba(71, 113, 255, 0.10);
  --info-line: rgba(71, 113, 255, 0.32);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.35);
}
html[data-theme="light"] {
  --bg: #eef3fb;
  --bg-soft: #e5edf9;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-solid: #ffffff;
  --panel-2: #f8fbff;
  --line: rgba(21, 36, 63, 0.10);
  --line-strong: rgba(21, 36, 63, 0.18);
  --text: #0f1726;
  --muted: #5b6b86;
  --heading: #0b1526;
  --accent: #2563eb;
  --accent-2: #397dff;
  --shadow: 0 26px 70px rgba(23, 36, 62, 0.14);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(45, 140, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(81, 126, 255, 0.10), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, #02060d 8%) 100%);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 25%),
    linear-gradient(90deg, transparent 0%, rgba(45,140,255,0.03) 50%, transparent 100%);
  opacity: .9;
}
.container {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent 22%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-wordmark { font-size: 2rem; color: var(--heading); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 0.96rem; transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}
.theme-toggle-track {
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  display: inline-flex;
  align-items: center;
  padding: 2px;
}
.theme-toggle-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .25s ease;
}
html[data-theme="light"] .theme-toggle-thumb { transform: translateX(22px); }
.theme-toggle-label { font-size: 0.9rem; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px;
  border-radius: 12px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--text); }
.mobile-menu {
  display: none;
  padding: 0 20px 18px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 80%, transparent 20%);
}
.mobile-menu a { display: block; padding: 12px 0; color: var(--muted); }
.mobile-menu.open { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent), #1f5cff); box-shadow: 0 12px 28px rgba(45, 140, 255, 0.24); }
.btn-secondary { color: var(--text); background: rgba(255,255,255,0.03); border-color: var(--line-strong); }
.btn.full { width: 100%; }
.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow.small { font-size: 0.72rem; }
.hero { padding: 44px 0 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 28px; align-items: stretch; }
.hero-copy, .command-center, .band-shell, .module-grid, .board-layout, .pricing-grid, .proof-shell, .cta-shell { position: relative; z-index: 1; }
.hero-copy { padding: 28px 10px 20px 0; }
.hero h1, .section-head h2, .band-copy h2, .preview-head h2 {
  margin: 0;
  color: var(--heading);
  letter-spacing: -0.05em;
  line-height: 0.96;
}
.hero h1 { font-size: clamp(3.2rem, 7vw, 6rem); max-width: 10ch; margin-top: 16px; }
.hero-lead, .band-copy p, .section-head p, .board-card p, .price-card p, .quote-card p, .cta-copy p, .preview-head p, .footer-copy, .modal-dialog p {
  color: var(--muted);
  line-height: 1.7;
}
.hero-lead { margin: 20px 0 0; max-width: 60ch; font-size: 1.06rem; }
.cta-row { display: flex; gap: 14px; margin-top: 28px; }
.hero-proof, .exec-strip, .preview-head-meta, .priority-cards, .summary-list, .mini-grid, .flow-steps, .band-grid, .module-grid, .pricing-grid, .proof-logos, .quote-grid { display: grid; }
.hero-proof { grid-template-columns: repeat(3, max-content); gap: 10px; margin-top: 24px; }
.proof-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  font-size: 0.92rem;
}
.dot.live, .live-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; }
.exec-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.exec-stat, .band-card, .feature-card, .board-card, .board-aside-card, .price-card, .quote-card, .cta-shell, .modal-dialog {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.exec-stat { padding: 18px; border-radius: 20px; }
.exec-stat span, .priority-card label, .mini-card span, .summary-list span, .flow-step span, .price-head .plan { color: var(--muted); font-size: 0.86rem; }
.exec-stat strong { display: block; margin-top: 10px; font-size: 2rem; letter-spacing: -0.05em; }
.exec-stat small { color: var(--muted); }
.command-center {
  min-height: 760px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)), var(--panel-solid);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}
.preview-sidebar {
  background: linear-gradient(180deg, #061223 0%, #091935 100%);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 22px 18px;
}
.preview-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 2rem; font-weight: 800; }
.preview-brand img { width: 42px; height: 42px; object-fit: contain; }
.preview-group { margin-bottom: 22px; }
.preview-group label {
  display: block;
  color: #7f93b5;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 10px;
}
.nav-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 14px;
  color: #dfe8fb;
  background: transparent;
  margin-bottom: 8px;
}
.nav-item.active {
  background: linear-gradient(180deg, rgba(41,103,255,0.22), rgba(24,56,113,0.35));
  border-color: rgba(76,126,255,0.34);
  box-shadow: inset 3px 0 0 var(--accent);
}
.preview-main {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%), var(--panel-solid);
}
.preview-head, .panel-head, .section-head.split, .footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.kicker { color: var(--accent-2); font-weight: 800; letter-spacing: 0.14em; font-size: 0.78rem; margin: 0 0 8px; }
.preview-head h2 { font-size: 2.4rem; }
.preview-head p { margin: 8px 0 0; }
.preview-head-meta { grid-template-columns: repeat(3, max-content); gap: 10px; }
.soft-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--muted);
}
.live-badge i { margin-right: 2px; }
.preview-top-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr); gap: 16px; margin-top: 22px; }
.preview-bottom-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 16px; margin-top: 16px; }
.priority-panel, .summary-panel, .stat-panel, .flow-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
}
.panel-head h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.03em; }
.panel-head span { color: var(--muted); font-size: 0.9rem; }
.priority-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.priority-card { border-radius: 20px; padding: 18px; border: 1px solid transparent; }
.priority-card.warn { background: rgba(255, 184, 82, 0.10); border-color: rgba(255, 184, 82, 0.35); }
.priority-card.info { background: rgba(71, 113, 255, 0.10); border-color: rgba(71, 113, 255, 0.32); }
.priority-card strong { display: block; font-size: 2.5rem; letter-spacing: -0.06em; margin: 10px 0 4px; }
.priority-card small { color: var(--muted); display: block; }
.priority-card b { display: block; margin-top: 12px; }
.summary-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.summary-list div, .mini-card, .flow-step {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
}
.summary-list strong, .mini-card strong, .flow-step b {
  display: block;
  margin-top: 10px;
  font-size: 1.56rem;
  letter-spacing: -0.05em;
}
.mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.mini-card small, .flow-step small { color: var(--muted); display: block; margin-top: 6px; }
.flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.flow-step b {
  width: 36px;
  height: 36px;
  margin: 0 0 10px;
  border-radius: 12px;
  background: rgba(45, 140, 255, 0.14);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.overview-band, .module-command, .board-section, .pricing-section, .proof-section, .cta-section { padding: 30px 0; }
.band-shell {
  border-radius: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.band-copy h2, .section-head h2 { font-size: clamp(2rem, 3vw, 3rem); margin-top: 14px; }
.band-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.band-card { border-radius: 22px; padding: 20px; }
.band-card h3, .board-card h3, .price-card .price-head strong, .modal-dialog h2 { margin: 0; letter-spacing: -0.04em; }
.band-card p, .board-card p, .price-card p, .quote-card p, .footer-copy { margin: 10px 0 0; }
.section-head { margin-bottom: 18px; }
.section-head.split p { max-width: 520px; margin: 6px 0 0; }
.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card {
  text-align: left;
  border-radius: 22px;
  padding: 20px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 140, 255, 0.38);
  box-shadow: 0 18px 48px rgba(45, 140, 255, 0.12);
}
.feature-card span { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em; }
.feature-card small { display: block; margin-top: 8px; color: var(--muted); }
.board-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) 320px; gap: 16px; }
.board-main, .board-aside-card, .price-card, .proof-shell { border-radius: 28px; }
.board-main { border: 1px solid var(--line); background: rgba(255,255,255,0.02); padding: 24px; }
.board-tabs { display: inline-grid; grid-template-columns: repeat(3, max-content); gap: 10px; margin-bottom: 18px; }
.board-tab {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}
.board-tab.active { color: var(--text); background: rgba(45, 140, 255, 0.12); border-color: rgba(45, 140, 255, 0.34); }
.board-pane { display: none; }
.board-pane.active { display: block; }
.board-pane-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.board-card, .board-aside-card { padding: 20px; }
.board-aside { display: grid; gap: 16px; }
.board-aside-card ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.board-aside-card li + li { margin-top: 12px; }
.board-aside-card.metrics { display: grid; gap: 14px; }
.board-aside-card.metrics div { border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.board-aside-card.metrics strong { display: block; font-size: 2rem; letter-spacing: -0.05em; }
.board-aside-card.metrics span { color: var(--muted); }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-card { border-radius: 26px; padding: 22px; position: relative; }
.price-head strong { display: block; font-size: 2.8rem; margin-top: 10px; }
.price-head small, .price-card li, .offer-band span, .quote-card span { color: var(--muted); }
.price-card ul { list-style: none; margin: 18px 0; padding: 0; }
.price-card li { padding: 10px 0; border-top: 1px solid var(--line); }
.price-card li:last-child { border-bottom: 1px solid var(--line); }
.price-card.featured {
  border-color: rgba(45, 140, 255, 0.34);
  transform: translateY(-10px);
  background: linear-gradient(180deg, rgba(45, 140, 255, 0.08), rgba(255,255,255,0.02)), var(--panel);
}
.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(45, 140, 255, 0.14);
  border: 1px solid rgba(45, 140, 255, 0.28);
  display: inline-flex;
  align-items: center;
  color: var(--accent-2);
  font-size: .82rem;
  font-weight: 700;
}
.offer-band {
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid rgba(45, 140, 255, 0.28);
  background: rgba(45, 140, 255, 0.08);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.proof-shell { border: 1px solid var(--line); background: rgba(255,255,255,0.02); padding: 24px; }
.proof-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.proof-logos span, .quote-card { border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.proof-logos span { min-height: 84px; display: grid; place-items: center; color: var(--muted); font-weight: 700; letter-spacing: 0.18em; }
.quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.quote-card { padding: 22px; }
.cta-shell { border-radius: 30px; padding: 24px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr); gap: 18px; }
.demo-form { display: grid; gap: 14px; }
.demo-form label span { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.demo-form input, .demo-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}
.demo-form input:focus, .demo-form textarea:focus { border-color: rgba(45, 140, 255, 0.4); box-shadow: 0 0 0 4px rgba(45, 140, 255, 0.08); }
.footer { padding: 18px 0 40px; }
.footer-grid { border-top: 1px solid var(--line); padding-top: 24px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 20px; }
.footer-links h3 { margin: 0 0 12px; font-size: 1rem; }
.footer-links a { display: block; color: var(--muted); margin-top: 10px; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 7, 15, 0.72); backdrop-filter: blur(10px); }
.modal-dialog { position: relative; width: min(980px, calc(100% - 24px)); margin: 60px auto; border-radius: 28px; padding: 28px; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.4rem;
}
.modal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 18px; margin-top: 18px; }
.modal-layout h3 { margin: 0 0 10px; font-size: 1.05rem; }
.modal-layout ul { margin: 0; padding-left: 18px; color: var(--muted); }
.modal-layout li + li { margin-top: 10px; }
.modal-preview { display: grid; gap: 12px; }
.modal-preview-card { border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); padding: 14px 16px; }
@media (max-width: 1200px) {
  .hero-grid, .board-layout, .cta-shell, .preview-top-grid, .preview-bottom-grid, .modal-layout { grid-template-columns: 1fr; }
  .command-center { grid-template-columns: 220px 1fr; min-height: auto; }
  .band-grid, .module-grid, .pricing-grid, .proof-logos, .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .desktop-nav, .hide-mobile, .theme-toggle-label { display: none; }
  .menu-toggle { display: inline-flex; }
  .command-center { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .hero-proof { grid-template-columns: 1fr; }
  .band-grid, .module-grid, .pricing-grid, .proof-logos, .quote-grid, .board-pane-grid, .board-aside, .footer-links, .summary-list, .priority-cards, .mini-grid, .flow-steps, .exec-strip { grid-template-columns: 1fr; }
  .preview-head, .panel-head, .section-head.split, .footer-grid { flex-direction: column; }
  .preview-head h2 { font-size: 2rem; }
  .board-tabs { grid-template-columns: 1fr; width: 100%; }
  .board-tab { width: 100%; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1480px); }
  .topbar-inner { min-height: 76px; }
  .brand-wordmark { font-size: 1.7rem; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 2.7rem; }
  .cta-row { flex-direction: column; }
  .command-center, .band-shell, .board-main, .price-card, .proof-shell, .cta-shell, .modal-dialog { border-radius: 22px; }
}