:root{
  --bg:#0b0f17;
  --card:#101827;
  --card2:#0f172a;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --line:#1f2937;
  --brand:#7c3aed;
  --brand2:#22c55e;
  --warn:#f59e0b;
  --danger:#ef4444;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 18px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(124,58,237,.25), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(900px 700px at 60% 90%, rgba(59,130,246,.12), transparent 60%),
    var(--bg);
}
a{color:inherit; text-decoration:none}
.wrap{max-width:1100px; margin:0 auto; padding:28px 18px 80px}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:12px 14px; border:1px solid rgba(255,255,255,.06);
  background:rgba(16,24,39,.55); backdrop-filter: blur(10px);
  border-radius: 999px; position:sticky; top:14px; z-index:50;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px;
}
.logo{
  width:36px; height:36px; border-radius:12px;
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(34,197,94,1));
  box-shadow: 0 10px 25px rgba(124,58,237,.25);
  position:relative; overflow:hidden;
}
.logo:after{
  content:""; position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 55%);
  transform: rotate(25deg);
}
.navlinks{display:flex; gap:14px; color:var(--muted); font-weight:600; font-size:14px}
.navlinks a{padding:10px 12px; border-radius:999px}
.navlinks a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:12px 16px; border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.06);
  color:var(--text); font-weight:800; cursor:pointer;
  transition: transform .15s ease, background .15s ease, border .15s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.09); border-color: rgba(255,255,255,.14)}
.btn.primary{
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(34,197,94,1));
  border:none;
  box-shadow: 0 18px 45px rgba(124,58,237,.25);
}
.btn.primary:hover{transform: translateY(-2px)}
.hero{
  margin-top:22px;
  display:grid; grid-template-columns: 1.2fr .8fr; gap:18px;
  align-items: stretch;
}
@media (max-width: 920px){ .hero{grid-template-columns: 1fr; } }
.card{
  background: rgba(16,24,39,.58);
  border:1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.heroLeft{padding:34px 28px}
.badgeRow{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:14px}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  font-size:12px; font-weight:800; color: rgba(255,255,255,.86);
  padding:8px 10px; border-radius: 999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
}
h1{
  margin:0 0 10px 0;
  font-size: 42px; line-height:1.05; letter-spacing:-.8px;
}
@media (max-width: 520px){ h1{font-size: 34px} }
.sub{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px 0;
}
.ctaRow{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.micro{
  color: rgba(229,231,235,.75);
  font-size: 13px; margin-top: 10px;
}
.heroRight{padding:18px}
.demoHead{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  padding:18px 18px 8px;
}
.demoTitle{font-weight:900; letter-spacing:-.2px}
.demoHint{color:var(--muted); font-size:12px; line-height:1.4}
.demoBody{padding: 0 18px 18px}
.progress{
  width:100%; height:10px; border-radius:999px;
  background: rgba(255,255,255,.08); overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
}
.bar{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(124,58,237,1), rgba(34,197,94,1));
  transition: width .25s ease;
}
.qCard{
  margin-top:14px;
  background: rgba(15,23,42,.65);
  border:1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 14px;
}
.qTop{display:flex; justify-content:space-between; align-items:center; gap:12px}
.qLabel{font-weight:900}
.qStep{color:var(--muted); font-size:12px; font-weight:800}
.qText{margin:10px 0 12px; color:rgba(229,231,235,.9); line-height:1.45}
.options{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
@media (max-width: 520px){ .options{grid-template-columns: 1fr} }
.opt{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px; border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border .12s ease;
  font-weight:800;
}
.opt:hover{transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14)}
.opt small{color:var(--muted); font-weight:700}
.sliderRow{display:flex; gap:12px; align-items:center}
input[type="range"]{width:100%}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  font-size:12px; font-weight:900; color:rgba(229,231,235,.92);
}
.grid{
  margin-top: 18px;
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 920px){ .grid{grid-template-columns: 1fr} }
.feature{padding:18px}
.feature h3{margin: 4px 0 6px; font-size: 16px}
.feature p{margin:0; color:var(--muted); line-height:1.55; font-size:14px}
.feature .icon{
  width:44px; height:44px; border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-size:20px;
}
.sectionTitle{
  margin-top: 34px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
}
.sectionTitle h2{margin:0; font-size: 22px; letter-spacing:-.2px}
.sectionTitle p{margin:0; color:var(--muted); font-size:14px}
.trust{
  margin-top: 12px;
  display:grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 920px){ .trust{grid-template-columns: 1fr} }
.trustBox{padding:18px}
.trustBox ul{margin:10px 0 0; padding-left: 18px; color:rgba(229,231,235,.85)}
.trustBox li{margin:6px 0; color:var(--muted)}
.divider{height:1px; background:rgba(255,255,255,.08); margin:18px 0}
.footer{
  margin-top: 26px;
  padding: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
}

/* modal */
.modalBack{
  position:fixed; inset:0; background: rgba(0,0,0,.6);
  display:none; align-items:center; justify-content:center; padding:18px;
  z-index: 100;
}
.modal{
  width:min(980px, 100%);
  border-radius: 18px;
  background: rgba(16,24,39,.92);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modalHeader{
  padding:16px 16px 10px; display:flex; justify-content:space-between; align-items:flex-start; gap:12px;
  background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(34,197,94,.15));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.modalHeader h3{margin:0; font-size:18px}
.modalHeader p{margin:6px 0 0; color:rgba(229,231,235,.75); font-size:13px}
.close{background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.12)}
.modalBody{padding:16px}
.resultGrid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 920px){ .resultGrid{grid-template-columns: 1fr} }
.panel{
  border-radius: 16px;
  background: rgba(15,23,42,.72);
  border:1px solid rgba(255,255,255,.06);
  padding:14px;
}
.kpis{display:grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top:10px}
@media (max-width: 920px){ .kpis{grid-template-columns: repeat(2, 1fr)} }
.kpi{
  border-radius: 14px; padding: 12px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.07);
}
.kpi .t{color:var(--muted); font-size:12px; font-weight:800}
.kpi .v{font-size:18px; font-weight:1000; margin-top:6px}
.routineList{margin:10px 0 0; padding-left: 18px; color: rgba(229,231,235,.85)}
.routineList li{margin:8px 0; color: var(--muted)}
.prods{display:grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px}
.prod{
  display:flex; gap:12px; align-items:flex-start; justify-content:space-between;
  border-radius: 16px; padding: 12px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.prodLeft{display:flex; gap:12px}
.thumb{
  width:44px; height:44px; border-radius: 14px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  display:grid; place-items:center; font-size:18px;
}
.prodName{font-weight:1000}
.prodMeta{color:var(--muted); font-size:12px; margin-top:4px; line-height:1.35}
.tagRow{display:flex; flex-wrap:wrap; gap:6px; margin-top:8px}
.tag{
  font-size:11px; font-weight:900;
  padding:6px 8px; border-radius: 999px;
  background: rgba(124,58,237,.18);
  border:1px solid rgba(124,58,237,.25);
  color: rgba(229,231,235,.9);
}
.tag.good{background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.22)}
.tag.warn{background: rgba(245,158,11,.14); border-color: rgba(245,158,11,.22)}
.explain{
  margin-top: 10px; color: rgba(229,231,235,.82);
  font-size: 13px; line-height: 1.6;
}
code.inline{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  padding: 2px 6px; border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}
