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

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #818cf8;
  --accent: #f59e0b;
  --text: #1e1b4b;
  --text-muted: #6b7280;
  --bg: #f8f8ff;
  --card: #ffffff;
  --border: #e5e7eb;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.nav-logo span {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background .2s !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #6366f1 100%);
  color: #fff;
  padding: 100px 5% 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-text { flex: 1; max-width: 560px; position: relative; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight { color: #fbbf24; }

.hero p {
  font-size: clamp(15px, 1.5vw, 18px);
  opacity: .85;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

.btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  display: inline-block;
}

.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.hero-visual {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
  opacity: .9;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-green { background: #4ade80; }
.dot-yellow { background: #facc15; }

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.hero-stat {
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.hero-stat .num {
  font-size: 26px;
  font-weight: 800;
  display: block;
}

.hero-stat .label {
  font-size: 11px;
  opacity: .75;
  margin-top: 2px;
}

.hero-months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.hero-month {
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  font-size: 10px;
}

.hero-month.active {
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.4);
}

.hero-month .m-num {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

/* ── SECTIONS ── */
section { padding: 80px 5%; }

.section-tag {
  display: inline-block;
  background: #ede9fe;
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ── FEATURES ── */
.features-header { text-align: center; margin-bottom: 56px; }
.features-header .section-sub { margin: 0 auto; }

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .25s, transform .25s;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(79,70,229,.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── HOW IT WORKS ── */
.how-bg { background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%); }

.how-layout {
  display: flex;
  gap: 64px;
  align-items: center;
}

.how-text { flex: 1; }

.steps { margin-top: 40px; }

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.how-visual {
  flex: 1;
  max-width: 480px;
}

.email-preview {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
  overflow: hidden;
}

.email-header {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  padding: 20px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.email-logo {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.email-title { font-weight: 700; font-size: 15px; }
.email-sub { font-size: 12px; opacity: .8; }

.email-body { padding: 24px; }

.email-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.email-row:last-child { border-bottom: none; }
.email-row .field { color: var(--text-muted); }
.email-row .value { font-weight: 600; color: var(--text); }

.email-badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* ── STATS ── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 72px 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item .big {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  display: block;
  color: #fbbf24;
}

.stat-item .label {
  font-size: 14px;
  opacity: .85;
  margin-top: 4px;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testi-stars { color: #f59e0b; font-size: 18px; margin-bottom: 14px; }

.testi-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.testi-name { font-weight: 700; font-size: 14px; }
.testi-role { font-size: 12px; color: var(--text-muted); }

/* ── CTA ── */
.cta-section {
  background: var(--card);
  margin: 0 5% 80px;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 64px 40px;
  text-align: center;
  box-shadow: 0 4px 32px rgba(79,70,229,.08);
}

.cta-section h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,70,229,.3);
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 48px 5% 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-brand h3 { color: #fff; font-size: 16px; margin-bottom: 8px; }

.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 220px; }

.footer-links h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  transition: color .2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 64px 5% 60px; }
  .hero-visual { max-width: 100%; width: 100%; }
  .how-layout { flex-direction: column; }
  .how-visual { max-width: 100%; width: 100%; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 5%; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .hero-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-months { grid-template-columns: repeat(6, 1fr); }
  .cta-section { margin: 0 4% 60px; padding: 48px 24px; }
  section { padding: 60px 5%; }
}
