/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ── */
:root {
  --bg:           #f8fafc;
  --surface:      #ffffff;
  --border:       #e2e8f0;
  --text:         #0f172a;
  --muted:        #64748b;
  --accent:       #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --success:      #16a34a;
}

/* ── Base ── */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background decoration ── */
.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}
.bg-glow--top {
  width: 700px; height: 500px;
  top: -180px; left: -120px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.09) 0%, transparent 70%);
}
.bg-glow--bottom {
  width: 600px; height: 400px;
  bottom: -150px; right: -100px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.07) 0%, transparent 70%);
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav__logo span { color: var(--accent); }

.nav__badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(37,99,235,0.18);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}
.nav__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-pulse 2.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ── Main / Hero ── */
.main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 5rem;
}
.hero {
  text-align: center;
  max-width: 700px;
  width: 100%;
}

/* Pill badge */
.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(37,99,235,0.18);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

/* Headline */
.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.gradient-text {
  background: linear-gradient(125deg, #2563eb 0%, #7c3aed 55%, #2563eb 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Sub-headline */
.hero__sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 2.25rem;
}

/* Email form */
.email-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto 0.75rem;
}
.email-form__input {
  flex: 1;
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.email-form__input::placeholder { color: #94a3b8; }
.email-form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.btn-primary {
  padding: 0.72rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 1px 4px rgba(37,99,235,0.25);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.btn-primary--success {
  background: var(--success) !important;
  box-shadow: 0 1px 4px rgba(22,163,74,0.25) !important;
}
.form-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 3rem;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.75rem;
  text-align: left;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05), 0 1px 2px rgba(15,23,42,0.03);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 6px 20px rgba(15,23,42,0.09);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 38px; height: 38px;
  background: var(--accent-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.feature-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.feature-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto 1.25rem;
  color: #94a3b8;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Social links */
.socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--muted);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}
.social-link:hover {
  color: var(--accent);
  border-color: rgba(37,99,235,0.35);
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.1rem 2rem;
  font-size: 0.75rem;
  color: #94a3b8;
  border-top: 1px solid var(--border);
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(14px);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .btn-primary { width: 100%; }
  .nav { padding: 1rem 1.25rem; }
}
