
:root{
  --bg0:#070B16;
  --bg1:#0B1220;
  --text:#E5E7EB;
  --muted:#9AA7BB;
  --line:rgba(255,255,255,.12);
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --blue:#60A5FA;
  --green:#34D399;
  --amber:#FBBF24;
  --ink:#0F172A;
  --radius:18px;
  --wrap:1180px;
}

[data-theme="light"]{
  --bg0:#F8FAFC;
  --bg1:#FFFFFF;
  --text:#0B1220;
  --muted:#475569;
  --line:rgba(15,23,42,.12);
  --card:rgba(15,23,42,.05);
  --card2:rgba(15,23,42,.07);
  --shadow: 0 18px 50px rgba(2,6,23,.14);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(900px 420px at 12% 15%, rgba(96,165,250,.22), transparent 60%),
    radial-gradient(900px 420px at 88% 25%, rgba(52,211,153,.18), transparent 58%),
    radial-gradient(900px 420px at 52% 95%, rgba(251,191,36,.12), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 20px;}
hr{border:0;border-top:1px solid var(--line); margin:20px 0}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(2,6,23,.62), rgba(2,6,23,.10));
  border-bottom:1px solid var(--line);
}
[data-theme="light"] .topbar{
  background: linear-gradient(to bottom, rgba(248,250,252,.85), rgba(248,250,252,.55));
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:16px;
}

.brand{
  display:flex; align-items:center; gap:12px; min-width:240px;
}
.brand img{height:34px;width:auto}
.brand .stack b{font-size:16px; letter-spacing:-.2px}
.brand .stack small{
  display:block; color:var(--muted); font-weight:800; letter-spacing:2.2px; margin-top:2px;
}

.links{display:flex; gap:18px; align-items:center}
.links a{color:var(--muted); font-weight:850; font-size:14px}
.links a:hover{color:var(--text)}

.actions{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:var(--text);
  padding:10px 14px;
  border-radius: 12px;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.06)}
.btn.primary{
  border-color: rgba(96,165,250,.45);
  background: linear-gradient(135deg, rgba(96,165,250,.22), rgba(52,211,153,.14));
}
.btn.primary:hover{border-color: rgba(96,165,250,.72)}
.iconbtn{width:42px; padding:10px; border-radius:12px}
.hamburger{display:none}

.mobile{
  display:none;
  border-top:1px solid var(--line);
  padding:12px 0 16px;
}
.mobile a{
  display:block;
  padding:12px 10px;
  border-radius: 12px;
  color:var(--muted);
  font-weight:900;
}
.mobile a:hover{background: rgba(255,255,255,.05); color:var(--text)}
.mobile.open{display:block}

.hero{
  padding:48px 0 18px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:stretch;
}
.panel{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroMain{padding:26px}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-weight:900;
  font-size:12px;
  letter-spacing:1.7px;
  text-transform:uppercase;
}
.dot{
  width:10px;height:10px;border-radius:999px;
  background: linear-gradient(135deg, var(--blue), var(--green), var(--amber));
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

h1{
  margin:14px 0 10px;
  font-size:48px;
  line-height:1.05;
  letter-spacing:-1.3px;
}
.lead{color:var(--muted); font-size:16px; line-height:1.65; margin:0 0 16px;}
.heroCtas{display:flex; gap:10px; flex-wrap:wrap}
.pills{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}
.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:var(--muted);
  font-weight:850;
  font-size:13px;
}

.heroSide{padding:18px}
.sideTitle{margin:4px 6px 10px; font-size:13px; color:var(--muted); font-weight:950; letter-spacing:1.8px; text-transform:uppercase}
.stat{
  padding:14px; border-radius: 16px;
  background: var(--card2);
  border:1px solid var(--line);
  margin:10px 0;
}
.stat b{font-size:20px}
.stat span{display:block; color:var(--muted); font-weight:750; margin-top:6px; line-height:1.45}
.mini{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px}

section{padding:22px 0}
.sectionTitle{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  margin-bottom:12px;
}
.sectionTitle h2{margin:0; font-size:22px; letter-spacing:-.4px}
.sectionTitle p{margin:0; color:var(--muted); font-weight:750; max-width:680px; line-height:1.55}

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

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.card h3{margin:2px 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.6; font-weight:700}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  color:var(--muted);
  font-weight:950;
  font-size:12px;
  letter-spacing:1.2px;
  margin-bottom:10px;
  text-transform:uppercase;
}
.badge i{width:10px;height:10px;border-radius:99px; display:inline-block}
.b1 i{background:var(--blue)}
.b2 i{background:var(--green)}
.b3 i{background:var(--amber)}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-weight:800;
  font-size:13px;
  color:var(--text);
}
.table th{color:var(--muted); letter-spacing:1.2px; text-transform:uppercase; font-size:12px}
.table tr:last-child td{border-bottom:0}
.table td{font-weight:750; color:var(--text)}
.table .muted{color:var(--muted); font-weight:750}

.inputRow{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
input, select, textarea{
  flex:1; min-width:220px;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
  font-weight:750;
}
textarea{min-height:120px; resize:vertical}
input::placeholder, textarea::placeholder{color:rgba(167,176,192,.85)}
.notice{font-size:12px; margin-top:10px; color:var(--muted); font-weight:700; line-height:1.55}

footer{
  padding:26px 0 38px; border-top:1px solid var(--line); margin-top:16px
}
.foot{display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap}
.muted{color:var(--muted)}

.kpiRow{display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; margin-top:12px}
.kpi{
  padding:14px; border-radius: 16px;
  background: var(--card2);
  border:1px solid var(--line);
}
.kpi b{display:block; font-size:20px}
.kpi span{display:block; margin-top:6px; color:var(--muted); font-weight:800; line-height:1.35}

@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .kpiRow{grid-template-columns:1fr 1fr}
  .links{display:none}
  .hamburger{display:inline-flex}
}
