:root{
  --bg:#0b0f17;
  --card:#121a27;
  --muted:#9fb0c7;
  --text:#e9f0ff;
  --border:rgba(255,255,255,.08);
  --accent:#6ee7b7;
  --accent2:#60a5fa;
  --shadow:0 18px 45px rgba(0,0,0,.45);
}
*{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:radial-gradient(1200px 800px at 30% 15%, rgba(96,165,250,.16), transparent 55%),
             radial-gradient(900px 700px at 80% 40%, rgba(110,231,183,.12), transparent 55%),
             var(--bg);
  color:var(--text);
}
.wrap{min-height:100%; display:flex; align-items:center; justify-content:center; padding:24px}
.card{
  width:min(560px, 100%);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.brand{display:flex; gap:14px; align-items:center; padding:22px 22px 12px}
.logo{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(110,231,183,.25), rgba(96,165,250,.22));
  border:1px solid var(--border);
  font-weight:800;
}
.brand h1{margin:0; font-size:18px; letter-spacing:.4px}
.muted{color:var(--muted)}
.content{padding:0 22px 22px}
.content h2{margin:10px 0 8px; font-size:22px}
.content p{margin:0 0 14px; line-height:1.45}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(110,231,183,.35);
  background:linear-gradient(135deg, rgba(110,231,183,.28), rgba(96,165,250,.22));
  color:var(--text);
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  user-select:none;
}
.btn:hover{filter:brightness(1.06)}
.btn:active{transform:translateY(1px)}
.btn--ghost{
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}
.ip{margin-top:14px; font-size:14px}
.msg{margin-top:14px; padding:12px 12px; border-radius:14px; border:1px solid var(--border)}
.msg--ok{border-color:rgba(110,231,183,.35); background:rgba(110,231,183,.08)}
.msg--err{border-color:rgba(248,113,113,.35); background:rgba(248,113,113,.08)}
.foot{padding:14px 22px; border-top:1px solid var(--border); background:rgba(0,0,0,.18)}

.modal{position:fixed; inset:0; display:none}
.modal.is-open{display:block}
.modal__backdrop{position:absolute; inset:0; background:rgba(0,0,0,.62)}
.modal__dialog{
  position:relative;
  width:min(520px, calc(100% - 32px));
  margin:12vh auto 0;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow:var(--shadow);
}
.modal__dialog h3{margin:0 0 6px; font-size:18px}
.label{display:block; margin-top:12px; margin-bottom:6px; font-weight:600}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  color:var(--text);
  outline:none;
}
.input:focus{border-color:rgba(96,165,250,.5)}
.row{display:flex; gap:10px; justify-content:flex-end; margin-top:14px; flex-wrap:wrap}
.tiny{font-size:12px; margin-top:10px}
.panel{margin:14px 0; padding:12px; border:1px solid var(--border); border-radius:16px; background:rgba(0,0,0,.18)}
.kv{display:flex; justify-content:space-between; gap:10px; padding:8px 2px; border-bottom:1px solid var(--border)}
.kv:last-child{border-bottom:none}
.mono{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size:13px}
.link{color:var(--accent2)}

/* WhatsApp floating button */
.wa-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#25D366;
  color:#ffffff;
  box-shadow:0 14px 30px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.16);
  text-decoration:none;
}
.wa-fab:hover{filter:brightness(1.05)}
.wa-fab:active{transform:translateY(1px)}


.logo img{width:100%;height:100%;object-fit:contain;border-radius:14px;display:block}


/* Landing sections */
.hero{padding:22px}
.hero h1{font-size:26px;line-height:1.15;margin:0 0 10px}
.hero p{margin:0 0 16px;line-height:1.45;color:var(--muted)}
.grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:860px){.grid{grid-template-columns:1.2fr .8fr}}
.features{white-space:pre-line;background:rgba(255,255,255,.02);border:1px solid var(--border);border-radius:16px;padding:14px}
.cta-big{width:100%;padding:14px 18px;border-radius:16px;font-size:16px}
.badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.badge{font-size:12px;color:var(--muted);border:1px solid var(--border);border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.02)}
