:root {
  --bg: #07080f;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef0f7;
  --muted: #9aa3b8;
  --accent: #7c6bff;
  --accent-2: #29d3c2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.55;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.glow-1 { width: 520px; height: 520px; background: #5b3bff; top: -160px; left: -120px; }
.glow-2 { width: 460px; height: 460px; background: #17a89a; bottom: -180px; right: -120px; opacity: 0.35; }

.nav {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent));
  box-shadow: 0 0 18px rgba(124, 107, 255, 0.7);
}
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.badge {
  font-size: 12px; color: var(--muted);
  border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px;
}

.hero {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 40px auto 0;
  padding: 0 24px 80px;
  text-align: center;
}
.pill {
  display: inline-block;
  font-size: 13px; font-weight: 500; color: #cdd3e6;
  background: var(--panel); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 28px;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.grad {
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  max-width: 560px;
  margin: 22px auto 0;
}

.signup {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 36px auto 0;
}
.signup input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.signup input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 107, 255, 0.22);
}
.signup input::placeholder { color: #6a7288; }
.signup button {
  background: linear-gradient(100deg, var(--accent), #9a6bff);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s, box-shadow .2s, opacity .2s;
  box-shadow: 0 8px 24px rgba(124, 107, 255, 0.35);
}
.signup button:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(124, 107, 255, 0.45); }
.signup button:disabled { opacity: .6; cursor: default; transform: none; }

.msg { min-height: 22px; margin-top: 14px; font-size: 14px; }
.msg.ok { color: var(--accent-2); }
.msg.err { color: #ff8090; }

.count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}
.count #count { color: var(--text); font-weight: 700; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(41, 211, 194, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(41, 211, 194, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(41, 211, 194, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 211, 194, 0); }
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
  text-align: left;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: transform .18s, border-color .18s, background .18s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(124,107,255,.4); background: rgba(255,255,255,.06); }
.feature .ico { font-size: 24px; margin-bottom: 12px; }
.feature h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13.5px; }

.foot {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #5f6780;
  font-size: 13px;
  padding: 30px 24px 40px;
}

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .signup button { padding: 14px; }
}
