:root{
  --bg:#06121a;
  --text:#eaf7ff;
  --muted:rgba(234,247,255,.74);
  --line:rgba(255,255,255,.12);
  --glass:rgba(10,18,26,.58);
  --glass2:rgba(10,18,26,.36);
  --shadow:0 24px 90px rgba(0,0,0,.60);
  --cyan:rgba(0,255,220,.92);
  --blue:rgba(0,140,255,.92);
  --good:#55ffb6;
  --warn:#ffd166;
  --bad:#ff6b6b;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

.bg{
  position:fixed;
  inset:0;
 background-image:url("/bg.png");
  background-size:cover;
  background-position:center;
  filter: blur(1px);
  transform: scale(1.03);
  z-index:-3;
}
.bg-overlay{
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,255,220,.20), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(0,140,255,.18), transparent 46%),
    radial-gradient(circle at 55% 90%, rgba(255,220,130,.10), transparent 52%),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.76));
  z-index:-2;
}

.topbar{
  width: min(1200px, 92vw);
  margin: 18px auto 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  user-select:none;
}
.pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  font-weight:900;
  letter-spacing:.6px;
}
.brand-sub{
  opacity:.8;
  font-size:13px;
}

.nav{display:flex; gap:10px; flex-wrap:wrap}
.nav-btn{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  text-decoration:none;
}
.nav-btn:hover{background: rgba(255,255,255,.10)}
.nav-btn.ghost{
  background: transparent;
}

.wrap{
  width: min(1200px, 92vw);
  margin: 28px auto 48px;
}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}

.hero-left h1{
  margin: 10px 0 8px;
  font-size: clamp(34px, 5vw, 52px);
  line-height:1.05;
  letter-spacing:-.8px;
}
.lead{
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 62ch;
}

.card{
  border-radius: 22px;
  background: var(--glass);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat .k{
  font-size:13px;
  opacity:.78;
  margin-bottom:6px;
}
.stat .v{
  font-size:18px;
  font-weight:900;
}

.divider{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 14px 0;
}

.notes .k{
  font-size:13px;
  opacity:.78;
  margin-bottom:8px;
}
.noteText{
  font-size:14px;
  line-height:1.45;
  color: rgba(234,247,255,.92);
  white-space: pre-line;
}

.actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  border:0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 950;
  cursor: pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width: 190px;
}

.btn.primary{
  color:#041018;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 22px rgba(0,255,255,.22);
}
.btn.primary:hover{filter: brightness(1.06)}
.btn.secondary{
  color: rgba(234,247,255,.95);
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
}
.btn.secondary:hover{background: rgba(255,255,255,.14)}
.btn.glass{
  color: rgba(234,247,255,.95);
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.16);
}
.btn.glass:hover{background: rgba(0,0,0,.30)}
.btn.tiny{
  min-width:auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  color: var(--text);
}
.btn.tiny:hover{background: rgba(255,255,255,.14)}

.mini{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini .k{
  font-size:13px;
  opacity:.78;
  margin-bottom:8px;
}
.inputRow{display:flex; gap:10px; align-items:center}
.input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline:none;
  font-weight:800;
}
.input::placeholder{color: rgba(234,247,255,.48)}
.hint{
  margin-top: 10px;
  font-size: 13px;
  opacity: .9;
}
.direct{
  display:inline-flex;
  color: rgba(0,255,220,.95);
  font-weight: 950;
  text-decoration:none;
  border-bottom: 1px dashed rgba(0,255,220,.55);
  padding-bottom:2px;
}
.hint2{
  margin-top:8px;
  font-size:12px;
  opacity:.7;
}

.trust{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}
.trustItem{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:850;
  font-size: 13px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding: 10px 12px;
  border-radius: 999px;
}
.dot{
  width:10px;height:10px;border-radius:50%;
  background: rgba(255,255,255,.35);
}
.dot.ok{background: var(--good)}

.footer{
  margin-top: 18px;
  opacity:.75;
  font-size: 13px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.footer a{color: rgba(234,247,255,.90)}
.sep{opacity:.6}

.hero-right{
  display:flex;
  flex-direction:column;
  gap: 14px;
  min-height: 420px;
}

.badge{
  border-radius: 22px;
  padding: 16px;
  background: rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 65px rgba(0,0,0,.45);
}
.badgeTitle{
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: .2px;
}
.badgeSub{
  margin-top: 6px;
  opacity: .82;
  font-style: italic;
}

.glassBox{
  border-radius: 22px;
  padding: 16px;
  background: var(--glass2);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glassTitle{
  font-weight: 1000;
  margin-bottom: 10px;
}
.steps{
  margin: 0;
  padding-left: 18px;
  opacity: .92;
}
.steps li{margin: 8px 0; line-height:1.35}

.modal{
  position: fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 999999;
}
.hidden{display:none}
.modalBack{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
}
.modalBox{
  width: min(860px, 92vw);
  max-height: min(76vh, 720px);
  overflow:hidden;
  border-radius: 18px;
  background: rgba(10,18,26,.92);
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 90px rgba(0,0,0,.70);
  position: relative;
  display:flex;
  flex-direction:column;
}
.modalTop{
  padding: 14px 14px 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.modalTitle{
  font-weight: 1000;
  font-size: 18px;
}
.modalClose{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--text);
  cursor:pointer;
  font-size: 18px;
  font-weight: 1000;
}
.modalClose:hover{background: rgba(255,255,255,.12)}
.modalBody{
  padding: 14px;
  overflow:auto;
  font-size: 14px;
  line-height: 1.5;
  opacity: .95;
  white-space: pre-line;
}
.modalBottom{
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:flex-end;
}

@media (max-width: 980px){
  .hero{grid-template-columns: 1fr}
  .mini{grid-template-columns: 1fr}
  .btn{min-width: 100%}
}