:root{
  --bg:#0b1220;
  --card:#0f1b33;
  --card2:#0e1730;
  --text:#eaf0ff;
  --muted:#b7c3e6;
  --border:rgba(255,255,255,.08);
  --accent:#4ee0a5;
  --accent2:#6aa9ff;
  --shadow: 0 18px 55px rgba(0,0,0,.35);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(900px 450px at 20% 10%, rgba(106,169,255,.25), transparent 65%),
    radial-gradient(800px 500px at 90% 20%, rgba(78,224,165,.18), transparent 60%),
    radial-gradient(900px 500px at 50% 120%, rgba(78,224,165,.10), transparent 55%),
    var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92%); margin:0 auto}
.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.60);
  border-bottom:1px solid var(--border);
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:baseline; gap:10px; font-weight:800; letter-spacing:.2px}
.logo-dot{
  width:12px; height:12px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 0 0 4px rgba(78,224,165,.12);
  display:inline-block;
}
.brand-name{font-size:18px}
.brand-sub{font-size:12px; color:var(--muted); font-weight:700}
.nav{display:flex; gap:16px; color:var(--muted); font-weight:700}
.nav a{padding:8px 10px; border-radius:12px}
.nav a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.nav a[aria-current="page"]{background:rgba(255,255,255,.08); color:var(--text)}

.hero{padding:44px 0 18px}
.grid-2{display:grid; grid-template-columns: 1.15fr .85fr; gap:22px}
@media (max-width: 920px){.grid-2{grid-template-columns:1fr;}}
h1{font-size:clamp(30px, 4vw, 44px); margin:0 0 10px; line-height:1.08}
.accent{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{color:var(--muted); font-size:16px; line-height:1.55; margin:0 0 18px}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-card{padding:18px}
.field label{display:block; font-weight:800; margin:0 0 8px}
.input-row{display:flex; gap:10px}
input{
  flex:1;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
  font-size:16px;
}
input:focus{border-color: rgba(78,224,165,.55); box-shadow:0 0 0 4px rgba(78,224,165,.12)}
.hint{display:block; margin-top:8px; color:var(--muted)}
.error{margin-top:10px; color:#ffb4b4; font-weight:700}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 14px;
  border-radius:14px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  user-select:none;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(78,224,165,.95), rgba(106,169,255,.95));
  color:#06101d;
  border-color: transparent;
}
.btn.primary:hover{filter:brightness(1.03)}
.btn.ghost{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.btn.ghost:hover{background: rgba(255,255,255,.10)}

.trust-row{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.pill{
  font-size:12px; font-weight:800;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
.mini-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px}
@media (max-width:520px){.mini-grid{grid-template-columns:1fr}}
.mini-card{padding:14px; border-radius:16px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08)}
.mini-title{font-weight:900; margin-bottom:6px}
.mini-text{color:var(--muted); line-height:1.45}

.side-card{padding:18px}
.badge{
  display:inline-flex; align-items:center;
  font-weight:900; font-size:12px;
  color:#06101d;
  padding:6px 10px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  margin-bottom:10px;
}
.side-card h2{margin:6px 0 8px; font-size:20px}
.side-card p{margin:0 0 12px; color:var(--muted); line-height:1.5}
.checklist{margin:0; padding-left:18px; color:var(--muted)}
.checklist li{margin:6px 0}

.note{padding:16px; background: rgba(255,255,255,.04)}
.note h3{margin:0 0 8px}
.note p{margin:0; color:var(--muted); line-height:1.5}

.section{padding:18px 0 44px}
.section-title{margin:0 0 12px}
.faq details{
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background: rgba(255,255,255,.03);
  padding:12px 14px;
  margin:10px 0;
}
.faq summary{cursor:pointer; font-weight:900}
.faq p{color:var(--muted); margin:10px 0 0; line-height:1.5}

.footer{
  border-top:1px solid var(--border);
  background: rgba(11,18,32,.55);
  padding:22px 0;
}
.footer-grid{display:grid; grid-template-columns:1.1fr .7fr 1.2fr; gap:18px}
@media (max-width:920px){.footer-grid{grid-template-columns:1fr;}}
.footer-brand{display:flex; align-items:center; gap:10px; font-weight:900}
.footer-links{display:flex; flex-direction:column; gap:10px; color:var(--muted); font-weight:800}
.footer-links a:hover{color:var(--text)}
.footer-contact{color:var(--muted); line-height:1.5}
.muted{color:var(--muted)}
.tiny{font-size:12px; padding-top:10px}

.result-card{padding:18px}
.result-head{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap}
.result-title{margin:0; font-size:28px}
.actions{display:flex; gap:10px}
#resultBody{margin-top:14px}
.row{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:12px;
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  margin:10px 0;
}
@media (max-width:520px){.row{grid-template-columns:1fr;}}
.k{color:var(--muted); font-weight:900}
.v{font-weight:800}
.skeleton .v{
  background: rgba(255,255,255,.08);
  border-radius:10px;
  height:14px;
}
.notice{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,180,180,.22);
  background: rgba(255,180,180,.08);
}
.tipbox{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(78,224,165,.18);
  background: rgba(78,224,165,.06);
}
.tip-title{font-weight:900; margin-bottom:6px}
.doc{padding:18px}
.doc h1{margin-top:0}
.doc h2{margin:18px 0 8px}
.doc p{color:var(--muted); line-height:1.6}
