:root{
  --bg:#0B1220;
  --bg2:#0E1630;
  --surface:rgba(255,255,255,.06);
  --surface2:rgba(255,255,255,.10);
  --stroke:rgba(255,255,255,.12);
  --text:#EAF0FF;
  --muted:rgba(234,240,255,.72);
  --muted2:rgba(234,240,255,.58);
  --primary:#7C3AED;
  --primary2:#2563EB;
  --good:#22C55E;
  --warn:#F59E0B;
  --neutral:#60A5FA;
  --shadow:0 20px 60px rgba(0,0,0,.45);
  --radius:16px;
  --radius2:22px;
  --max:1120px;
  --focus:0 0 0 3px rgba(96,165,250,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(124,58,237,.35), transparent 60%),
    radial-gradient(900px 520px at 88% 10%, rgba(37,99,235,.28), transparent 60%),
    radial-gradient(900px 520px at 70% 120%, rgba(34,197,94,.18), transparent 55%),
    linear-gradient(180deg, var(--bg), #070B14);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:none}

.hidden{display:none}

.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background:#fff;
  color:#111827;
  padding:10px 14px;
  border-radius:12px;
  z-index:999;
}
.skip-link:focus{left:12px;outline:none;box-shadow:var(--focus)}

.toast{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999;
  max-width:min(520px, calc(100vw - 36px));
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(7,11,20,.78);
  color:var(--text);
  box-shadow:var(--shadow);
  backdrop-filter:saturate(140%) blur(14px);
}
.toast-success{border-color:rgba(34,197,94,.35)}
.toast-error{border-color:rgba(245,158,11,.38)}

.container{width:min(var(--max), calc(100% - 40px)); margin-inline:auto}

.section{padding:84px 0}
.section-muted{background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0))}

.h1{font-size:clamp(36px, 4.6vw, 56px); line-height:1.05; margin:16px 0 14px; letter-spacing:-.03em}
.h2{font-size:clamp(26px, 3vw, 36px); line-height:1.15; margin:0 0 12px; letter-spacing:-.02em}
.h3{font-size:18px; line-height:1.25; margin:0 0 8px}
.subhead{font-size:18px; line-height:1.55; color:var(--muted); margin:0 0 22px; max-width:56ch}
.lead{font-size:16px; line-height:1.6; color:var(--muted); margin:0; max-width:70ch}
.body{font-size:15px; line-height:1.6; color:var(--muted)}

.section-head{display:flex; flex-direction:column; gap:10px; margin-bottom:26px}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(140%) blur(14px);
  background:rgba(11,18,32,.65);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:-.02em}
.brand-logo{height:22px; width:auto; display:block; object-fit:contain; image-rendering:auto}
.brand-name{font-size:16px}
.brand-mark{
  width:14px;
  height:14px;
  border-radius:6px;
  background:linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow:0 0 0 4px rgba(124,58,237,.14);
}

.nav{display:flex; gap:16px; align-items:center}
.nav-link{font-size:14px; color:var(--muted)}
.nav-link:hover{color:var(--text)}

.header-cta{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.02);
  color:var(--text);
  font-weight:600;
  font-size:14px;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:focus{outline:none; box-shadow:var(--focus)}
.btn:hover{transform:translateY(-1px); border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.04)}
.btn:active{transform:translateY(0px)}

.btn-lg{padding:12px 16px; border-radius:16px}

.btn-primary{
  border:none;
  background:linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow:0 16px 40px rgba(124,58,237,.25);
}
.btn-primary:hover{background:linear-gradient(135deg, #8B5CF6, #3B82F6)}

.btn-ghost{background:rgba(255,255,255,.02)}

.hero{padding-top:64px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:34px;
  align-items:center;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  font-size:13px;
}
.pill-dot{width:8px; height:8px; border-radius:999px; background:var(--good); box-shadow:0 0 0 5px rgba(34,197,94,.14)}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:22px}

.hero-metrics{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; margin:0; padding:0}
.metric{border:1px solid rgba(255,255,255,.10); background:rgba(255,255,255,.03); border-radius:16px; padding:14px}
.metric-title{font-size:12px; color:var(--muted2); margin:0 0 6px}
.metric-value{font-size:13px; margin:0; color:var(--text); font-weight:600}

.hero-visual{position:relative}
.mockup{
  border-radius:var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.mockup-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}
.mockup-dots{display:flex; gap:8px}
.dot{width:10px;height:10px;border-radius:999px;opacity:.95}
.dot-red{background:#EF4444}
.dot-yellow{background:#F59E0B}
.dot-green{background:#22C55E}
.mockup-title{font-size:12px; color:var(--muted)}

.mockup-body{padding:14px}
.mockup-row{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; margin-bottom:12px}
.mockup-split{grid-template-columns:1fr 1fr}

.card{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  border-radius:var(--radius);
  padding:14px;
}
.card-title{font-size:13px; color:var(--muted2); margin:0 0 10px}

.kpi-label{font-size:12px; color:var(--muted2)}
.kpi-value{font-size:20px; font-weight:800; letter-spacing:-.02em; margin-top:6px}
.kpi-meta{margin-top:8px; font-size:12px; color:var(--muted)}

.badge{display:inline-flex; align-items:center; justify-content:center; min-width:28px; padding:4px 8px; border-radius:999px; font-weight:700; font-size:11px; margin-right:6px; border:1px solid rgba(255,255,255,.10)}
.badge-good{background:rgba(34,197,94,.16); color:#B9F6CA; border-color:rgba(34,197,94,.22)}
.badge-warn{background:rgba(245,158,11,.16); color:#FFE0B2; border-color:rgba(245,158,11,.22)}
.badge-neutral{background:rgba(96,165,250,.16); color:#D6E9FF; border-color:rgba(96,165,250,.22)}

.list{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px}
.list-item{font-size:13px; color:var(--muted)}

.status{display:inline-block; width:10px; height:10px; border-radius:4px; margin-right:8px; transform:translateY(1px)}
.status-good{background:rgba(34,197,94,.9)}
.status-warn{background:rgba(245,158,11,.9)}
.status-neutral{background:rgba(96,165,250,.9)}

.chip{display:inline-flex; align-items:center; padding:3px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.12); color:var(--text); background:rgba(255,255,255,.02); font-size:11px; font-weight:700; margin-right:8px}

.chart{grid-column:1 / -1}
.spark{display:flex; align-items:flex-end; gap:8px; height:78px; margin-top:8px}
.spark span{flex:1; border-radius:10px; background:linear-gradient(180deg, rgba(96,165,250,.9), rgba(124,58,237,.55)); box-shadow:0 8px 16px rgba(0,0,0,.25)}
.chart-legend{margin-top:10px; display:flex; gap:12px; color:var(--muted2); font-size:12px}
.legend-item{display:flex; align-items:center; gap:8px}
.legend-dot{width:10px;height:10px;border-radius:4px; display:inline-block}
.legend-in{background:rgba(34,197,94,.9)}
.legend-out{background:rgba(245,158,11,.9)}

.grid-3{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px}
.grid-2{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px}

.feature-panel{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  border-radius:var(--radius);
  padding:18px;
}
.panel-icon{font-weight:900; letter-spacing:-.02em; color:#C7D2FE; margin-bottom:12px}

.cards{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px}
.feature{min-height:150px}
.feature-icon{font-size:18px; margin-bottom:10px}

.segments{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px}
.segment{
  padding:14px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  font-size:14px;
  color:var(--text);
  font-weight:600;
}

.advantage{min-height:126px}

.tech-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px}
.tech-title{font-weight:800; letter-spacing:-.02em; margin-bottom:8px}
.tech-body{font-size:14px; color:var(--muted); line-height:1.6}

.cta{
  background:
    radial-gradient(700px 400px at 18% 0%, rgba(124,58,237,.30), transparent 60%),
    radial-gradient(700px 420px at 80% 25%, rgba(37,99,235,.25), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}

.cta-inner{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}

.cta-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

.cta-form{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(11,18,32,.55);
  border-radius:var(--radius2);
  padding:18px;
}
.form-head{margin-bottom:14px}
.form-title{font-size:14px; font-weight:800; letter-spacing:-.02em}
.form-sub{margin-top:6px; font-size:13px; color:var(--muted)}

.field{display:flex; flex-direction:column; gap:8px; margin-bottom:12px}
.field-inline{flex-direction:row; align-items:center; gap:10px}
.field-inline .field-label{margin:0; color:var(--text)}
.field-inline input[type="checkbox"]{width:16px; height:16px; accent-color:var(--primary)}
.field-label{font-size:12px; color:var(--muted2); font-weight:700}

.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font:inherit;
}
.input:is(select){
  color-scheme:dark;
}
.input:is(select) option{
  background-color:var(--bg);
  color:var(--text);
}
.input:is(select) option:disabled{
  color:rgba(234,240,255,.55);
}
.input:focus{outline:none; box-shadow:var(--focus); border-color:rgba(96,165,250,.55)}
.input::placeholder{color:rgba(234,240,255,.42)}

.form-note{margin:10px 0 0; font-size:12px; color:var(--muted2); line-height:1.5}

.site-footer{padding:38px 0 28px; border-top:1px solid rgba(255,255,255,.08); background:rgba(7,11,20,.55)}
.footer-inner{display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:16px; align-items:start}
.brand-row{display:flex; align-items:center; gap:10px; margin-bottom:10px}
.footer-brand .brand-row{display:flex; align-items:center; gap:10px; margin-bottom:10px}
.footer-note{color:var(--muted); margin:0; font-size:13px}
.footer-links{display:flex; flex-direction:column; gap:10px; color:var(--muted); font-size:14px}
.footer-links a:hover{color:var(--text)}
.footer-meta{display:flex; flex-direction:column; gap:12px; align-items:flex-start; color:var(--muted); font-size:14px}
.footer-legal{display:flex; gap:12px; flex-wrap:wrap}
.footer-legal a{color:var(--muted2)}
.footer-legal a:hover{color:var(--text)}
.footer-bottom{margin-top:18px; padding-top:18px; border-top:1px solid rgba(255,255,255,.08); color:var(--muted2)}

@media (max-width: 980px){
  .nav{display:none}
  .hero-grid{grid-template-columns:1fr; gap:22px}
  .mockup-row{grid-template-columns:1fr;}
  .mockup-split{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2, minmax(0,1fr))}
  .tech-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
  .cta-inner{grid-template-columns:1fr;}
  .footer-inner{grid-template-columns:1fr;}
}

@media (max-width: 520px){
  .header-cta{display:none}
  .section{padding:64px 0}
  .hero-metrics{grid-template-columns:1fr;}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .segments{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .tech-grid{grid-template-columns:1fr}
}
