:root {
  --bg: #0f172a;
  --panel: #111827;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --primary: #3b82f6;
  --primary-strong: #1d4ed8;
  --accent: #22d3ee;
  --border: #1f2937;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #0b1224, #0d172c);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(12, 18, 36, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b1224;
  font-weight: 900;
  font-size: 0.9rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Animated gradient background for buttons */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #22d3ee, #3b82f6);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  box-shadow: var(--shadow-soft);
  height: 54px;
  line-height: 1.1;
}

.form .btn {
  height: 54px;
  min-height: 54px;
  line-height: 1;
  padding: 0 20px;
  align-self: end;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(59, 130, 246, 0.4);
}

.btn.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn.secondary:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
  padding: 48px 20px 20px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero-copy p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(34, 211, 238, 0.3);
  margin-bottom: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

label {
  font-size: 0.95rem;
}

.input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input[type="email"] {
  width: 100%;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0b1224;
  color: var(--text);
  font-size: 1.05rem;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
  height: 54px;
  line-height: 1.2;
}

input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.helper {
  color: var(--muted);
  font-size: 0.9rem;
}

.message {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.message.success {
  color: #34d399;
}

.message.error {
  color: #f87171;
}

h2 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.section {
  padding: 48px 20px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid.cols-benefits {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

@media (min-width: 1024px) {
  .grid.cols-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .grid.cols-benefits {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.benefit-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.benefit-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

footer {
  padding: 28px 20px 36px;
  border-top: 1px solid var(--border);
  background: rgba(12, 18, 36, 0.9);
  color: var(--muted);
}

footer .footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 14px 16px;
  }

  .btn {
    width: auto;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 28px 16px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .form .btn {
    height: 56px;
    min-height: 56px;
    padding: 0 26px;
    font-size: 1rem;
  }
}

