:root{
  --bg:#0b1220;
  --card:#111b2e;
  --muted:#9fb0d0;
  --text:#e8eefc;
  --brand:#4f8cff;
  --ok:#22c55e;
  --warn:#f59e0b;
  --bad:#ef4444;
  --line:rgba(255,255,255,.10);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",Arial}
body{background:linear-gradient(180deg,#070b14 0%, #0b1220 55%, #070b14 100%); color:var(--text)}
a{color:inherit;text-decoration:none}
small{color:var(--muted)}
.container{max-width:1100px;margin:0 auto;padding:18px}
.nav{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background:rgba(7,11,20,.65);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700}
.logo{
  width:34px;height:34px;border-radius:10px;
  background: radial-gradient(circle at 30% 30%, #7aa7ff 0%, #4f8cff 35%, #1b3a7a 100%);
  box-shadow:0 10px 30px rgba(79,140,255,.25);
}
.nav-links{display:flex;flex-wrap:wrap;gap:10px}
.pill{
  padding:8px 10px;border:1px solid var(--line);border-radius:999px;
  color:var(--muted);font-size:13px
}
.pill:hover{border-color:rgba(79,140,255,.6); color:var(--text)}
.hero{
  display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:stretch;
  margin-top:14px;
}
@media (max-width: 900px){ .hero{grid-template-columns:1fr} }

.card{
  background:linear-gradient(180deg, rgba(17,27,46,.92), rgba(17,27,46,.75));
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
}
.card h1,.card h2,.card h3{margin:0 0 10px 0}
.muted{color:var(--muted)}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.grid{display:grid;gap:12px}
.grid-2{grid-template-columns:1fr 1fr}
.grid-3{grid-template-columns:repeat(3,1fr)}
@media (max-width: 900px){ .grid-2,.grid-3{grid-template-columns:1fr} }

.input, select, textarea{
  width:100%;
  padding:10px 12px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--text);
  outline:none;
}
textarea{min-height:110px;resize:vertical}
.input:focus, select:focus, textarea:focus{border-color:rgba(79,140,255,.7); box-shadow:0 0 0 4px rgba(79,140,255,.12)}
.label{font-size:13px;color:var(--muted);margin:10px 0 6px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 12px;border-radius:12px;border:1px solid rgba(79,140,255,.55);
  background:linear-gradient(180deg, rgba(79,140,255,.95), rgba(79,140,255,.75));
  color:#071022;font-weight:700;cursor:pointer;
}
.btn.secondary{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--text);
  font-weight:600;
}
.btn.danger{
  background:rgba(239,68,68,.12);
  border:1px solid rgba(239,68,68,.45);
  color: #ffd6d6;
}
.btn:disabled{opacity:.45;cursor:not-allowed}
.kbd{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-size:12px;padding:3px 6px;border:1px solid var(--line);border-radius:8px;color:var(--muted)
}
.badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 8px;border-radius:999px;border:1px solid var(--line);
  color:var(--muted);font-size:12px
}
.badge.ok{border-color:rgba(34,197,94,.35); color:#bff3d1}
.badge.warn{border-color:rgba(245,158,11,.35); color:#ffe2b3}
.badge.bad{border-color:rgba(239,68,68,.35); color:#ffd0d0}
.hr{height:1px;background:var(--line);margin:12px 0}
.table{width:100%;border-collapse:collapse}
.table th,.table td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left;font-size:14px}
.table th{color:var(--muted);font-weight:600}
.footer{color:var(--muted);font-size:12px;margin:18px 0 6px 0}
.notice{
  border:1px dashed rgba(79,140,255,.55);
  background:rgba(79,140,255,.08);
  padding:12px;border-radius:14px;color:#cfe0ff
}
.step{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.03)
}
.step .dot{
  width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.25);margin-top:6px
}
.step.done .dot{background:var(--ok)}
.step.active{border-color:rgba(79,140,255,.55)}
.step.active .dot{background:var(--brand)}
.video{
  width:100%;aspect-ratio:16/9;border-radius:14px;
  background:linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;color:var(--muted)
}
