:root{
  --bg:#070A12;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.12);
  --text:#EAF0FF;
  --muted: rgba(234,240,255,.72);
  --muted2: rgba(234,240,255,.52);
  --accent:#4EA1FF;
  --accent2:#7C5CFF;
  --good:#2EE59D;
  --bad:#FF5C7C;
  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --shadow2: 0 18px 60px rgba(0,0,0,.45);
  --r: 22px;
  --r2: 28px;
  --max: 1160px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}
a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:0 22px}
.bg{position:fixed; inset:0; pointer-events:none; z-index:-1}
.noise{
  position:absolute; inset:-40%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  opacity:.12; transform:rotate(8deg);
}
.glow{
  position:absolute; width:880px; height:880px; border-radius:999px;
  filter: blur(70px);
  opacity:.75;
}
.g1{left:-260px; top:-320px; background: radial-gradient(circle at 30% 30%, var(--accent), transparent 60%)}
.g2{right:-340px; bottom:-380px; background: radial-gradient(circle at 30% 30%, var(--accent2), transparent 60%)}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(7,10,18,.72), rgba(7,10,18,.12));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:16px 0}
.brand{display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:-.8px}
.brand__mark{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(78,161,255,.22), rgba(124,92,255,.18));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.brand__name{font-size:18px}
.brand__dot{color:var(--accent); font-size:22px; margin-left:-6px}
.topbar__right{display:flex; gap:14px}
.mini{
  font-size:13px;
  text-decoration:none;
  color: var(--muted);
  padding:9px 12px;
  border-radius:999px;
  border:1px solid transparent;
}
.mini:hover{border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04)}
.mini.muted{color:var(--muted2)}

.hero{padding:54px 0 80px}
.hero__grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:28px; align-items:start}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:9px 12px; border-radius:999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size:13px;
}
.pill__dot{width:8px;height:8px;border-radius:99px;background:var(--good); box-shadow:0 0 0 6px rgba(46,229,157,.12)}
.h1{
  margin:18px 0 12px;
  font-size:52px;
  line-height:1.02;
  letter-spacing:-2.2px;
  font-weight:900;
}
.accent{
  background: linear-gradient(90deg, var(--accent), #91E1FF, var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{margin:0 0 22px; font-size:16px; color: var(--muted); max-width:56ch}

.card{
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
}
.inputCard{padding:18px}
.label{display:block; font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted2); margin-bottom:10px}
.inputRow{display:flex; gap:12px; align-items:stretch}
input{
  flex:1; min-width:0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: var(--text);
  padding: 14px 14px;
  font-size: 15px;
  outline: none;
}
input::placeholder{color: rgba(234,240,255,.40)}
input:focus{border-color: rgba(78,161,255,.55); box-shadow: 0 0 0 6px rgba(78,161,255,.12)}
.hint{margin-top:10px; font-size:13px; color:var(--muted2)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace}

.btn{
  border:0;
  border-radius:16px;
  padding: 14px 16px;
  font-weight:800;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  min-width: 160px;
}
.btn--primary{
  color: #07101F;
  background: linear-gradient(135deg, #AEE7FF, #4EA1FF 35%, #7C5CFF);
  box-shadow: 0 18px 50px rgba(78,161,255,.20);
}
.btn--primary:hover{transform: translateY(-1px)}
.btn:disabled{opacity:.6; cursor:not-allowed; transform:none}
.btn__shine{
  position:absolute; inset:-80px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 55%);
  transform: translateX(-30%);
  animation: shine 4.8s linear infinite;
  pointer-events:none;
}
@keyframes shine{
  0%{transform: translateX(-40%)}
  100%{transform: translateX(40%)}
}

.loader{margin-top:14px; padding:12px; border-radius:16px; border:1px dashed rgba(255,255,255,.14); background: rgba(0,0,0,.20)}
.loader__bar{height:8px; border-radius:999px; background: rgba(255,255,255,.10); overflow:hidden}
.loader__bar span{
  display:block; height:100%;
  width:40%;
  background: linear-gradient(90deg, rgba(78,161,255,.7), rgba(124,92,255,.6));
  border-radius:999px;
  animation: loading 1.2s ease-in-out infinite;
}
@keyframes loading{
  0%{transform: translateX(-120%)}
  100%{transform: translateX(260%)}
}
.loader__text{margin-top:10px; font-size:13px; color: var(--muted)}

.error{
  margin-top:14px;
  background: rgba(255,92,124,.10);
  border: 1px solid rgba(255,92,124,.25);
  color: rgba(255,220,228,.95);
  padding:12px;
  border-radius:16px;
  font-size:14px;
  line-height:1.4;
}
.hidden{display:none}

.stats{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.stat{
  padding:14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.stat__k{font-size:12px; color:var(--muted2); text-transform:uppercase; letter-spacing:.12em}
.stat__v{margin-top:6px; font-size:14px; color:var(--muted); font-weight:700}

.preview{
  padding:18px;
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.preview__top{display:flex; align-items:center; justify-content:space-between; margin-bottom:14px}
.preview__title{font-weight:900; letter-spacing:-.8px}
.preview__badge{font-size:12px; padding:7px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.14); color:var(--muted)}
.preview__foot{margin-top:14px; display:flex; align-items:center; justify-content:space-between}

.mock{
  border-radius: 20px;
  overflow:hidden;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
}
.mock__nav{
  display:flex; gap:12px; align-items:center;
  padding:12px 14px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dots{display:flex; gap:6px}
.dots span{width:10px;height:10px;border-radius:99px;background: rgba(255,255,255,.20)}
.mock__url{font-size:12px; color: var(--muted2)}
.mock__body{padding:16px}
.mock__hero{display:flex; gap:14px; align-items:center; margin-bottom:14px}
.mock__icon{
  width:56px;height:56px;border-radius:18px;
  background: linear-gradient(135deg, rgba(78,161,255,.20), rgba(124,92,255,.18));
  border:1px solid rgba(255,255,255,.14);
}
.mock__h{height:14px; border-radius:999px; background: rgba(255,255,255,.14); width:62%}
.mock__p{height:10px; border-radius:999px; background: rgba(255,255,255,.10); width:82%; margin-top:10px}
.mock__p.s{width:74%}
.mock__btns{display:flex; gap:10px; margin-top:12px}
.mock__btn{height:34px; width:120px; border-radius:12px; background: rgba(78,161,255,.22); border:1px solid rgba(78,161,255,.25)}
.mock__btn.ghost{background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); width:100px}
.mock__grid{display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-top:10px}
.mock__card{height:64px; border-radius:16px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10)}
.mock__card.wide{grid-column: span 3; height:80px}

.modal{position:fixed; inset:0; display:none; z-index:100}
.modal.open{display:block}
.modal__overlay{position:absolute; inset:0; background: rgba(0,0,0,.66); backdrop-filter: blur(6px)}
.modal__panel{
  position:relative;
  width:min(720px, calc(100% - 34px));
  max-height: calc(100% - 46px);
  overflow:auto;
  margin: 38px auto;
  background: rgba(12,16,28,.92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
}
.modal__panel h2{margin:6px 0 10px; letter-spacing:-.8px}
.modal__close{
  position:absolute; top:10px; right:12px;
  width:40px; height:40px;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color: var(--text);
  font-size:22px;
  cursor:pointer;
}
.modal__close:hover{background: rgba(255,255,255,.09)}
.steps{margin:0; padding-left:18px; color:var(--muted)}
.steps li{margin:10px 0}
.muted{color:var(--muted2)}

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr}
  .h1{font-size:40px}
  .preview{margin-top:10px}
  .inputRow{flex-direction:column}
  .btn{min-width: 100%}
  .stats{grid-template-columns:1fr}
}
