:root {
  --bg-top: #ecfdf5;
  --bg-bottom: #f8fafc;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-200: #a7f3d0;
  --emerald-100: #d1fae5;
  --white: #ffffff;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: linear-gradient(to bottom, var(--bg-top), #fff, var(--bg-bottom));
}

img {
  max-width: 100%;
}

.container {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
}

.hero-bg,
.hero-gradient,
.hero-radial,
.floating-icons {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("hero.png");
  background-size: cover;
  background-position: center center;
  transform: translateY(0) scale(1.03);
  will-change: transform;
}

.hero-gradient {
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0.68), rgba(255,255,255,0.88));
}

.hero-radial {
  background:
    radial-gradient(circle at top left, rgba(16,185,129,0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(34,197,94,0.14), transparent 30%);
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 96px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.tag-pill {
  margin-bottom: 16px;
  border: 1px solid rgba(167, 243, 208, 0.9);
  background: rgba(255,255,255,0.8);
  padding: 10px 16px;
  color: var(--emerald-700);
  font-size: 0.9rem;
  font-weight: 600;
}

.social-proof-pill {
  margin-bottom: 20px;
  flex-wrap: wrap;
  border: 1px solid rgba(220, 252, 231, 0.95);
  background: rgba(255,255,255,0.85);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-500);
}

.proof-cta {
  border-radius: 999px;
  padding: 6px 10px;
  background: #ecfdf5;
  color: var(--emerald-700);
  font-weight: 700;
  border: 1px solid var(--emerald-200);
}

.hero-copy h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.8;
  color: var(--slate-600);
}

.signup-card {
  max-width: 680px;
  margin-top: 32px;
  padding: 16px;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: 16px;
}

input,
button {
  min-height: 56px;
  width: 100%;
  border-radius: 18px;
  font: inherit;
}

input {
  border: 1px solid var(--slate-200);
  background: rgba(255,255,255,0.95);
  padding: 0 16px;
  color: var(--slate-900);
}

input:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.12);
}

button {
  margin-top: 16px;
  border: none;
  background: var(--emerald-600);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

button:hover {
  background: var(--emerald-700);
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.micro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.micro-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 0.75rem;
}

.form-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.92rem;
}

.form-message.hidden {
  display: none;
}

.form-message.success {
  background: #ecfdf5;
  color: var(--emerald-700);
  border: 1px solid var(--emerald-200);
}

.form-message.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.small-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.feature-cards {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.feature-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.feature-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-text {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
}

.preview-column {
  position: relative;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.glow-left {
  top: -24px;
  left: -24px;
  width: 128px;
  height: 128px;
  background: rgba(167, 243, 208, 0.4);
}

.glow-right {
  right: -32px;
  bottom: -32px;
  width: 160px;
  height: 160px;
  background: rgba(134, 239, 172, 0.3);
}

.preview-card-outer {
  position: relative;
  padding: 20px;
  border-radius: 32px;
  border: 1px solid var(--slate-200);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.preview-card-inner {
  border-radius: 24px;
  background: var(--slate-900);
  color: #fff;
  padding: 18px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-kicker {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #86efac;
}

.preview-header h2 {
  margin: 0;
  font-size: 1.7rem;
}

.preview-badge {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(16,185,129,0.2);
  color: #a7f3d0;
  font-size: 0.9rem;
  font-weight: 600;
}

.preview-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.preview-item {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.1);
}

.preview-highlight {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.preview-item-label {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--slate-300);
}

.preview-item-value {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.preview-item-copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.floating-icons {
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.float-icon {
  position: absolute;
  opacity: 0.18;
  font-size: clamp(2rem, 4vw, 3.25rem);
  animation: float 8s ease-in-out infinite;
}

.icon-1 { left: 8%; top: 18%; }
.icon-2 { right: 12%; top: 22%; animation-delay: 1s; }
.icon-3 { left: 58%; top: 12%; animation-delay: 0.5s; }
.icon-4 { right: 22%; bottom: 20%; animation-delay: 1.5s; }
.icon-5 { left: 14%; bottom: 16%; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}

.benefits-section {
  padding-top: 0;
  padding-bottom: 96px;
}

.benefits-card {
  border-radius: 32px;
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  padding: 32px;
}

.benefits-grid {
  display: grid;
  gap: 40px;
}

.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-700);
}

.benefits-grid h3 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.section-copy {
  max-width: 580px;
  margin-top: 16px;
  color: var(--slate-600);
  line-height: 1.8;
}

.benefits-list {
  display: grid;
  gap: 14px;
}

.benefit-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 20px;
  background: #f8fafc;
}

.checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-700);
  font-weight: 700;
  flex: 0 0 auto;
}

.benefit-row p {
  margin: 0;
  color: var(--slate-700);
}

@media (min-width: 640px) {
  .form-grid,
  .feature-cards,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-gradient {
    background: linear-gradient(to right, rgba(255,255,255,0.88), rgba(255,255,255,0.72), rgba(255,255,255,0.28));
  }

  .hero-bg {
    background-position: center 35%;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
  }

  .hero-content-wrap {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero-bg {
    background-position: 60% center;
  }

  .social-proof-pill {
    gap: 10px;
  }

  .preview-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .icon-3 {
    display: none;
  }
}
