:root {
  --bg: #0b1020;
  --surface: #121a30;
  --surface-2: #18233f;
  --border: #253252;
  --text: #eef2ff;
  --muted: #9aa7c7;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #10b981;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600;
  text-decoration: none; font-size: 15px; transition: 0.2s ease; text-align: center;
}
.btn-sm { padding: 8px 14px; font-size: 13.5px; color: #fff !important; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-block { display: block; width: 100%; margin-top: 18px; }

.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(59, 130, 246, 0.16); color: #93c5fd; font-size: 12.5px; font-weight: 600; margin-bottom: 16px;
}
h1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.15; margin: 0 0 18px; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.trust-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.trust-list li { margin-bottom: 4px; }

.preview-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.preview-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.demo-btn {
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 12px; margin-left: 4px;
}
.demo-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.demo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.demo-kpis div { background: var(--surface-2); padding: 12px; border-radius: 10px; }
.demo-kpis span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; }
.demo-kpis strong { font-size: 20px; }
.warn { color: #fbbf24; }
.danger { color: #f87171; }
.d-row { margin-bottom: 12px; }
.d-meta { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.d-track { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.d-fill { height: 100%; border-radius: 999px; transition: width 0.3s ease; }
.demo-alert {
  margin-top: 16px; padding: 12px; border-radius: 10px;
  background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.35); font-size: 12.5px;
}
.demo-alert code { display: block; margin-top: 4px; color: #fecaca; }

.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { text-align: center; font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; }
.center-sub { text-align: center; color: var(--muted); margin: 0 0 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 34px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.price-card {
  position: relative; background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.badge {
  position: absolute; top: -12px; right: 20px; background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.price { font-size: 38px; font-weight: 800; margin: 10px 0 4px; }
.price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-desc { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.price-card ul { margin: 0 0 auto; padding-left: 18px; color: #dbe4ff; font-size: 14px; }
.price-card li { margin-bottom: 8px; }

.faq-list { max-width: 760px; }
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; font-size: 14.5px; }

.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 13.5px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.legal-doc { max-width: 780px; padding: 56px 20px; }
.legal-doc h1 { font-size: 32px; }
.legal-doc h2 { text-align: left; font-size: 20px; margin-top: 28px; }
.legal-doc p, .legal-doc li { color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
