:root{
  --bg:#070A14;
  --card: rgba(14,18,36,.72);
  --border: rgba(120,140,255,.14);
  --text:#EAF0FF;
  --muted: rgba(234,240,255,.72);
  --neon: #7C5CFF;
  --neon2:#00D4FF;
  --good:#22C55E;
  --warn:#F59E0B;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r: 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", "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{ color: inherit; text-decoration: none; }
.wrap{ width:min(1120px, calc(100% - 36px)); margin: 0 auto; }

.bg{ position:fixed; inset:0; z-index:-1; }
.blob{
  position:absolute; width:520px; height:520px; filter: blur(44px);
  opacity:.35; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--neon), transparent 62%),
              radial-gradient(circle at 70% 70%, var(--neon2), transparent 62%);
}
.blob.b1{ left:-160px; top:-160px; }
.blob.b2{ right:-200px; bottom:-200px; opacity:.28; }

.gridlines{
  position:absolute; inset:0;
  background:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:.06;
}

.topbar{ position:sticky; top:0; z-index:10; backdrop-filter: blur(10px); background: rgba(7,10,20,.52); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbarInner{ display:flex; align-items:center; justify-content:space-between; padding: 14px 0; gap:12px; }
.brand{ display:flex; align-items:center; gap:10px; }
.logoDot{
  width:12px; height:12px; border-radius:999px;
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  box-shadow: 0 0 18px rgba(124,92,255,.55);
}
.brandTitle{ font-weight: 900; letter-spacing:.2px; }
.brandSub{ font-size:12px; color: var(--muted); font-weight:700; opacity:.9; }

.topActions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

.heroCard{
  margin: 18px 0 16px;
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(14,18,36,.72), rgba(14,18,36,.52));
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroInner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:14px;
  padding: 18px;
}
.badgeRow{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.badge{
  display:inline-flex; align-items:center; gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  color: rgba(234,240,255,.86);
  font-size:12px;
  font-weight:800;
  background: rgba(255,255,255,.04);
}
.badge.neon{
  border-color: rgba(124,92,255,.30);
  background: rgba(124,92,255,.12);
  box-shadow: 0 0 26px rgba(124,92,255,.22);
}

.h1{ margin:0; font-size: clamp(24px, 2.6vw, 40px); line-height:1.05; letter-spacing:-.4px; }
.grad{
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}
.sub{ margin: 12px 0 0; color: rgba(234,240,255,.86); font-size: 15px; line-height:1.55; }

.heroActions{ margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.heroNote{ margin-top: 10px; font-size:12px; color: rgba(234,240,255,.78); font-weight: 800; opacity:.92; }

.btn, .ghostBtn, .chip{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover, .ghostBtn:hover, .chip:hover{ transform: translateY(-1px); border-color: rgba(124,92,255,.40); }
.btn:active, .ghostBtn:active, .chip:active{ transform: translateY(0px); }
.btn{
  background: linear-gradient(135deg, rgba(124,92,255,.92), rgba(0,212,255,.62));
  border-color: rgba(124,92,255,.55);
  box-shadow: 0 10px 26px rgba(124,92,255,.18);
}
.heroNeonBtn{ padding: 12px 16px; }
.ghostBtn{ background: rgba(255,255,255,.04); }

.miniCard{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(8,10,18,.34);
  border-radius: var(--r);
  padding: 14px;
  margin-bottom: 12px;
}
.miniTitle{ font-weight: 900; margin-bottom: 10px; }
.miniGrid{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ padding:10px 12px; font-weight: 900; border-radius: 999px; }
.miniNote{ margin-top: 10px; color: var(--muted); font-size: 12px; line-height:1.45; }
.miniList{ display:grid; gap:8px; }
.rowLine{ display:flex; justify-content:space-between; gap:10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06); }
.muted{ color: var(--muted); font-weight: 800; }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.card{
  border:1px solid rgba(255,255,255,.08);
  background: var(--card);
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardHead{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap: 12px;
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cardHead h2{ margin:0; font-size: 18px; }
.cardHead p{ margin:6px 0 0; color: var(--muted); font-size: 13px; line-height:1.5; }
.inner{ padding: 14px 16px 16px; }

.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
label{ display:block; font-size: 12px; color: rgba(234,240,255,.78); font-weight: 900; margin-bottom: 6px; }
.field{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  padding: 10px 12px;
}
select{
  width:100%;
  background: transparent;
  border:0;
  outline: none;
  color: var(--text);
  font-weight: 900;
  appearance: none;
}
.checkList{ margin-top: 10px; }
.checkRow{
  display:flex; align-items:flex-start; gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  margin-bottom: 10px;
}
.checkRow input{ margin-top: 3px; }
.checkRow b{ display:block; }
.checkRow .d{ color: var(--muted); font-size: 12px; margin-top: 4px; line-height:1.35; }

.okHeader{ border-color: rgba(34,197,94,.28); background: rgba(34,197,94,.06); }
.warnHeader{ border-color: rgba(245,158,11,.30); background: rgba(245,158,11,.06); }

.hdr{ display:flex; width:100%; align-items:center; gap:10px; }
.hdrTitle{ font-weight: 900; }
.hdrSide{ margin-left:auto; font-size: 12px; color: var(--muted); font-weight: 900; }

.btnRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.mini{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.86);
  font-size: 12px;
  line-height:1.5;
}

.hint{
  padding: 12px;
  border-radius: 14px;
  border:1px solid rgba(124,92,255,.26);
  background: rgba(124,92,255,.10);
  color: rgba(234,240,255,.92);
  font-weight: 900;
  font-size: 13px;
}

.resultBox{
  margin-top: 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(10,12,22,.38);
  padding: 12px;
}
.resultTop{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom: 8px; }
.resultTitle{ font-weight: 900; }
.resultMeta{ color: var(--muted); font-size: 12px; font-weight: 800; }

.out{
  width:100%;
  min-height: 220px;
  resize: vertical;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height:1.45;
}

.pillRow{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 10px; }
.pill{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-weight: 900;
  font-size: 12px;
}
.pill:hover{ border-color: rgba(124,92,255,.35); }

.trust{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border:1px solid rgba(34,197,94,.22);
  background: rgba(34,197,94,.06);
}
.trustTitle{ font-weight: 900; margin-bottom: 6px; }
.trust ul{ margin: 8px 0 0; padding-left: 18px; }
.trust li{ color: rgba(234,240,255,.90); font-size: 12px; line-height:1.45; margin: 6px 0; }
.trustNote{ margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 800; }

.faq{ margin-top: 12px; }
.faq h2{ margin: 0 0 10px; font-size: 16px; }
details{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
summary{ cursor:pointer; font-weight: 900; }
.p{ margin-top: 8px; color: rgba(234,240,255,.86); font-size: 12px; line-height:1.5; }

.footer{ margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.footerLinks{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 10px; }
.linkPill{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-weight: 900;
  font-size: 12px;
  color: rgba(234,240,255,.92);
}
.tiny{ color: var(--muted); font-size: 12px; line-height:1.45; font-weight: 800; }

.cookie{
  position: fixed; left: 14px; right: 14px; bottom: 14px;
  display:none;
}
.cookieInner{
  width:min(980px, 100%);
  margin: 0 auto;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,10,20,.82);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  padding: 12px;
  box-shadow: var(--shadow);
  display:flex; align-items:center; justify-content:space-between; gap: 10px;
}
.cookieText{ color: rgba(234,240,255,.86); font-size: 12px; font-weight: 800; line-height:1.35; }
.cookieText a{ text-decoration: underline; }
.cookieBtns{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

@media (max-width: 980px){
  .heroInner{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 1fr; }
}
