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

:root {
  --green:       #16a34a;
  --green-light: #22c55e;
  --green-dark:  #14532d;
  --green-mid:   #166534;
  --green-bg:    #f0fdf4;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-700:    #374151;
  --gray-900:    #111827;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes shimmer {
  from { transform: translateX(-100%) skewX(-15deg); }
  to   { transform: translateX(500%)  skewX(-15deg); }
}
@keyframes grad-shift {
  0%,100% { background-position: 0%   50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229,231,235,0.6);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 28px; height: 66px;
  display: flex; align-items: center; gap: 36px;
}
.logo {
  font-size: 1.25rem; font-weight: 800;
  color: var(--green-dark); letter-spacing: -0.03em; flex-shrink: 0;
}
.nav-links { display: flex; list-style: none; gap: 32px; flex: 1; }
.nav-links a {
  text-decoration: none; color: var(--gray-500);
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gray-900); }

/* Login link */
.btn-login {
  text-decoration: none; color: var(--gray-700);
  font-size: 0.875rem; font-weight: 600;
  padding: 8px 16px; border-radius: 9px;
  border: 1.5px solid var(--gray-200);
  transition: all 0.18s; white-space: nowrap;
}
.btn-login:hover {
  border-color: var(--green); color: var(--green);
  background: rgba(240,253,244,0.7);
}

/* Nav CTA — filled green with shimmer */
.btn-nav {
  position: relative; overflow: hidden;
  text-decoration: none; display: inline-block;
  background: var(--green); color: #fff;
  padding: 9px 20px; border-radius: 9px;
  font-size: 0.875rem; font-weight: 700;
  white-space: nowrap; letter-spacing: -0.01em;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 3px rgba(22,163,74,0.3), 0 4px 12px rgba(22,163,74,0.2);
}
.btn-nav::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 35%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.btn-nav:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(22,163,74,0.35), 0 6px 20px rgba(22,163,74,0.25);
}
.btn-nav:active { transform: translateY(0); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero-section {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, #fff 0%, #f0fdf4 40%, #dcfce7 100%);
  padding: 0 24px;
}
/* Decorative blobs */
.hero-section::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute; bottom: -80px; left: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,128,0.07) 0%, transparent 70%);
  pointer-events: none;
}
/* Dot-grid pattern */
.hero-section .hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(22,163,74,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none; opacity: 0.5;
}

.hero {
  max-width: 860px; margin: 0 auto;
  padding: 112px 0 100px;
  text-align: center;
  position: relative; z-index: 1;
  animation: rise 0.7s ease both;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  color: var(--green-dark);
  font-size: 0.72rem; font-weight: 700;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  border: 1px solid rgba(187,247,208,0.9);
  margin-bottom: 32px;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(22,163,74,0.1);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-light);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.04em; color: var(--gray-900);
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 40%, #4ade80 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad-shift 5s ease infinite;
}

.hero-sub {
  font-size: 1.15rem; color: var(--gray-500);
  max-width: 580px; margin: 0 auto 44px;
  line-height: 1.8;
}

/* ─── Buttons (all variants) ────────────────────────────────── */

/* Primary — solid green with shimmer sweep */
.btn-primary {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  padding: 15px 32px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; border: none; cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 2px rgba(22,163,74,0.2), 0 4px 16px rgba(22,163,74,0.35),
              inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 35%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(22,163,74,0.2), 0 8px 28px rgba(22,163,74,0.42),
              inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost — outline style */
.btn-ghost {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  color: var(--gray-700);
  padding: 15px 28px; border-radius: 12px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  transition: all 0.18s;
}
.btn-ghost:hover {
  border-color: var(--green); color: var(--green);
  background: rgba(240,253,244,0.8);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(22,163,74,0.1);
}
.btn-ghost:active { transform: translateY(0); }

/* Hero CTA row */
.hero-cta {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 64px;
}

/* Stats */
.hero-stats {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 0;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 6px; max-width: 500px; margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,1);
  animation: rise 0.7s 0.15s ease both; opacity: 0;
  animation-fill-mode: forwards;
}
.stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 28px;
}
.stat-num {
  font-size: 1.8rem; font-weight: 800;
  color: var(--green); letter-spacing: -0.03em; line-height: 1;
}
.stat-label { font-size: 0.7rem; color: var(--gray-400); margin-top: 4px; font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--gray-200); }

/* Social proof strip */
.hero-proof {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 28px;
  font-size: 0.78rem; color: var(--gray-500); font-weight: 500;
  animation: rise 0.7s 0.3s ease both; opacity: 0;
  animation-fill-mode: forwards;
}
.proof-avatars { display: flex; }
.proof-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.proof-avatar:first-child { margin-left: 0; }
.proof-stars { color: #f59e0b; letter-spacing: -1px; }

/* ─── SECTIONS ──────────────────────────────────────────────── */
.how, .features, .pricing, .cta-section { padding: 100px 24px; }
.how     { background: var(--gray-50); }
.features{ background: #fff; }
.pricing { background: var(--gray-50); }

.section-label {
  text-align: center; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.how h2, .features h2, .pricing h2, .cta-section h2 {
  text-align: center;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px;
}
.section-sub {
  text-align: center; color: var(--gray-500); font-size: 1.05rem;
  max-width: 540px; margin: 0 auto 64px; line-height: 1.75;
}

/* ─── STEPS ─────────────────────────────────────────────────── */
.steps {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: flex-start;
  flex-wrap: wrap; justify-content: center;
}
.step {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 28px 20px 24px;
  width: 160px; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 2px 12px rgba(0,0,0,0.04);
  flex-shrink: 0;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.step:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 2px rgba(22,163,74,0.2);
  transform: translateY(-5px); border-color: rgba(22,163,74,0.3);
}
.step-num {
  font-size: 0.6rem; font-weight: 700; color: var(--green);
  letter-spacing: 0.1em; background: var(--green-bg);
  display: inline-block; padding: 2px 8px;
  border-radius: 4px; margin-bottom: 12px;
}
.step-icon { font-size: 1.8rem; margin-bottom: 10px; animation: float 4s ease-in-out infinite; }
.step:nth-child(3)  .step-icon { animation-delay: 0.5s; }
.step:nth-child(5)  .step-icon { animation-delay: 1s; }
.step:nth-child(7)  .step-icon { animation-delay: 1.5s; }
.step:nth-child(9)  .step-icon { animation-delay: 2s; }
.step:nth-child(11) .step-icon { animation-delay: 2.5s; }
.step h3  { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; color: var(--gray-900); }
.step p   { font-size: 0.76rem; color: var(--gray-500); line-height: 1.55; }
.step-arrow { font-size: 1rem; color: var(--gray-300, #d1d5db); align-self: center; padding: 0 4px; flex-shrink: 0; }

/* ─── FEATURES ──────────────────────────────────────────────── */
.feature-grid {
  max-width: 1020px; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px;
}
.feature-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: 18px; padding: 30px;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease; border-radius: 18px 18px 0 0;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1.5px rgba(22,163,74,0.2);
  transform: translateY(-3px); border-color: rgba(22,163,74,0.2);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green-bg), #dcfce7);
  border: 1px solid rgba(187,247,208,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.feature-card p  { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

/* ─── PRICING ───────────────────────────────────────────────── */
.pricing-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; align-items: start;
}
.plan {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: 20px; padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.2s;
}
.plan:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }

.plan-featured {
  border-color: var(--green);
  background: linear-gradient(170deg, rgba(240,253,244,0.9) 0%, #fff 100%);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.1), 0 8px 32px rgba(22,163,74,0.12);
}
.plan-featured:hover {
  box-shadow: 0 0 0 4px rgba(22,163,74,0.18), 0 16px 48px rgba(22,163,74,0.16);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 5px 18px; border-radius: 100px;
  letter-spacing: 0.07em; text-transform: uppercase;
  white-space: nowrap; box-shadow: 0 2px 10px rgba(22,163,74,0.4);
}
.plan-name {
  font-size: 0.75rem; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
}
.plan-price {
  font-size: 3rem; font-weight: 800; color: var(--gray-900);
  letter-spacing: -0.04em; margin-bottom: 8px; line-height: 1;
}
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--gray-400); letter-spacing: 0; }
.plan-tagline { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 24px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li {
  font-size: 0.875rem; color: var(--gray-700);
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.45;
}
.plan-features li::before {
  content: '✓'; color: var(--green); font-weight: 700;
  flex-shrink: 0; font-size: 0.8rem; margin-top: 2px;
}

/* Outline plan button */
.btn-plan {
  position: relative; overflow: hidden;
  display: block; width: 100%; text-align: center;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700); background: #fff;
  padding: 12px 16px; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem; font-family: inherit;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-plan:hover {
  border-color: var(--green); color: var(--green);
  background: var(--green-bg);
  box-shadow: 0 2px 10px rgba(22,163,74,0.15);
  transform: translateY(-1px);
}
.btn-plan:active { transform: translateY(0); }

/* Featured filled plan button */
.btn-plan-featured {
  position: relative; overflow: hidden;
  display: block; width: 100%; text-align: center;
  text-decoration: none;
  background: var(--green); color: #fff;
  padding: 13px 16px; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem; font-family: inherit;
  cursor: pointer; border: none;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(22,163,74,0.3), 0 4px 16px rgba(22,163,74,0.2),
              inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-plan-featured::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 35%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
.btn-plan-featured:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(22,163,74,0.38), 0 8px 28px rgba(22,163,74,0.22),
              inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-plan-featured:active { transform: translateY(0); }

/* ─── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, #15803d 100%);
  background-size: 300% 300%;
  animation: grad-shift 8s ease infinite;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.cta-section h2 { color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-section > p { color: rgba(255,255,255,0.68); font-size: 1.05rem; margin-bottom: 40px; position: relative; z-index: 1; }

.signup-form {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; max-width: 460px; margin: 0 auto 16px;
  position: relative; z-index: 1;
}
.signup-form input {
  flex: 1; min-width: 210px; padding: 14px 18px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  font-size: 0.95rem; font-family: inherit; outline: none; color: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.signup-form input::placeholder { color: rgba(255,255,255,0.48); }
.signup-form input:focus { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.18); }

/* CTA white button */
.btn-cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center;
  background: #fff; color: var(--green-dark);
  padding: 14px 26px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; border: none;
  cursor: pointer; font-family: inherit; flex-shrink: 0;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}
.btn-cta::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 35%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(22,163,74,0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.btn-cta:hover {
  background: var(--green-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.btn-cta:active { transform: translateY(0); }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.36); position: relative; z-index: 1; }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer { background: var(--gray-900); padding: 52px 24px; text-align: center; }
.footer-inner .logo { color: #fff; margin-bottom: 10px; font-size: 1.15rem; display: block; }
footer p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.7; }
.footer-copy { margin-top: 28px; font-size: 0.78rem; color: #4b5563; border-top: 1px solid #1f2937; padding-top: 24px; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; height: 60px; }
  .hero { padding: 80px 0 72px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .step-arrow { display: none; }
  .step { width: 145px; padding: 22px 14px 18px; }
  .stat { padding: 10px 16px; }
  .stat-num { font-size: 1.5rem; }
  .btn-primary, .btn-ghost { padding: 13px 24px; font-size: 0.95rem; }
  .hero-cta { gap: 10px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .plan-featured { order: -1; }
  .feature-grid { grid-template-columns: 1fr; max-width: 500px; margin: 48px auto 0; }
  .signup-form { flex-direction: column; }
  .btn-cta { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .hero-stats { max-width: 100%; }
  .stat { padding: 10px 12px; }
  .stat-num { font-size: 1.3rem; }
}
