:root{
  --bg:#0b1220;
  --panel:#0f1a2e;
  --panel2:#101f3a;
  --text:#eaf0ff;
  --muted:#b7c4e8;
  --brand:#4f8cff;
  --brand2:#22c55e;
  --line:rgba(255,255,255,.10);
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --radius:18px;
  --max:1120px;
  --pad:22px;
  --h1:clamp(2.1rem,4vw,3.2rem);
  --h2:clamp(1.5rem,2.6vw,2.1rem);
  --h3:1.15rem;
}

[data-theme="light"]{
  --bg:#f7f9ff;
  --panel:#ffffff;
  --panel2:#f2f6ff;
  --text:#0f172a;
  --muted:#475569;
  --brand:#2563eb;
  --brand2:#16a34a;
  --line:rgba(2,6,23,.10);
  --shadow:0 18px 45px rgba(2,6,23,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:radial-gradient(1200px 700px at 20% -10%, rgba(79,140,255,.25), transparent 60%),
             radial-gradient(1000px 650px at 95% 0%, rgba(34,197,94,.18), transparent 55%),
             var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.55;
}

a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad);}
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.05));
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand img{height:34px; width:auto; display:block}
.brand .name{font-weight:800; letter-spacing:.2px}
.menu{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.menu a{
  text-decoration:none;
  padding:9px 10px;
  border-radius:12px;
  color:var(--muted);
}
.menu a:hover{background:rgba(255,255,255,.06); color:var(--text)}
[data-theme="light"] .menu a:hover{background:rgba(2,6,23,.06)}
.nav-actions{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  text-decoration:none;
  color:var(--text);
  background:rgba(255,255,255,.06);
}
[data-theme="light"] .btn{background:#fff}
.btn:hover{transform:translateY(-1px)}
.btn.primary{
  background:linear-gradient(135deg, var(--brand), #7aa7ff);
  border-color: rgba(255,255,255,.16);
  color:white;
}
.btn.green{
  background:linear-gradient(135deg, var(--brand2), #5ef19a);
  border-color: rgba(255,255,255,.14);
  color:#05210f;
}
[data-theme="light"] .btn.green{color:#05210f}
.icon-btn{
  width:42px; height:42px; border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}
[data-theme="light"] .icon-btn{background:#fff}
.hero{
  padding:64px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:24px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .menu{display:none}
}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
[data-theme="light"] .card{
  background:linear-gradient(180deg, #ffffff, #f8fbff);
}
.card.pad{padding:26px}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  background:rgba(255,255,255,.06);
  font-size:.92rem;
}
.h1{font-size:var(--h1); margin:14px 0 8px; letter-spacing:-.5px; line-height:1.12}
.lead{color:var(--muted); font-size:1.08rem; margin:0 0 18px}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}
.small{font-size:.92rem; color:var(--muted)}
.grid-3{
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
}
@media (max-width: 900px){ .grid-3{grid-template-columns:1fr} }
.feature{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
[data-theme="light"] .feature{background:#fff}
.feature h3{margin:0 0 8px; font-size:var(--h3)}
.feature p{margin:0; color:var(--muted)}
.section{padding:42px 0}
.h2{font-size:var(--h2); margin:0 0 12px; letter-spacing:-.3px}
.h2 + p{margin-top:0; color:var(--muted)}
.split{
  display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:stretch;
}
@media (max-width: 900px){ .split{grid-template-columns:1fr} }
.pill-row{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}
.pill{
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  background:rgba(255,255,255,.05);
  font-size:.92rem;
}
[data-theme="light"] .pill{background:#fff}
.hr{height:1px;background:var(--line); margin:18px 0}
.list{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.notice{
  padding:14px 16px;
  border-radius:16px;
  border:1px dashed rgba(79,140,255,.35);
  background:rgba(79,140,255,.12);
  color:var(--muted);
}
.footer{
  margin-top:40px;
  padding:40px 0 60px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}
.footer-grid{
  display:grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap:18px;
}
@media (max-width: 900px){ .footer-grid{grid-template-columns:1fr 1fr} }
.footer h4{margin:0 0 10px}
.footer a{display:block; color:var(--muted); text-decoration:none; padding:6px 0}
.footer a:hover{color:var(--text)}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--muted);
}
kbd{
  padding:2px 6px; border-radius:8px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--muted);
}
.toast{
  position:fixed; left:50%; transform:translateX(-50%);
  bottom:18px; z-index:80;
  max-width:min(820px, calc(100% - 28px));
  display:none;
}
.toast .card{padding:14px 16px}
.toast-row{display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap}
