/* EvoFitMeals — Funnel Pages Shared Styles */

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

body.funnel-page {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 40%, #0f172a 100%);
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  -webkit-font-smoothing: antialiased;
}

/* ── Container ────────────────────────────────── */
.funnel-container {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

/* ── Logo ─────────────────────────────────────── */
.funnel-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.funnel-logo span {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.funnel-logo i {
  color: #a78bfa;
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

/* ── Card ─────────────────────────────────────── */
.funnel-card {
  background: rgba(30, 27, 75, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* ── Eyebrow / Step Indicator ─────────────────── */
.funnel-eyebrow {
  display: inline-block;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* ── Headlines ────────────────────────────────── */
.funnel-headline {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #fff;
}
.funnel-headline .gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.funnel-subheadline {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ── Feature / Checklist ──────────────────────── */
.funnel-features {
  list-style: none;
  margin-bottom: 2rem;
}
.funnel-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.funnel-features li i {
  color: #4ade80;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ── Price Block ──────────────────────────────── */
.funnel-price-block {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.funnel-price-block .price-big {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}
.funnel-price-block .price-suffix {
  font-size: 1.1rem;
  color: #94a3b8;
}
.funnel-price-block .price-delta {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #4ade80;
  font-weight: 600;
}

/* ── Primary CTA (green) ─────────────────────── */
.funnel-cta {
  display: block;
  width: 100%;
  padding: 1.1rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}
.funnel-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.45);
}

/* ── Decline Link (gray) ─────────────────────── */
.funnel-decline {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}
.funnel-decline:hover {
  color: #94a3b8;
}

/* ── Trust Badges ─────────────────────────────── */
.funnel-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}
.funnel-trust .badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #64748b;
}
.funnel-trust .badge i {
  color: #a78bfa;
}

/* ── Divider ──────────────────────────────────── */
.funnel-divider {
  border: none;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  margin: 1.5rem 0;
}

/* ── Welcome Page ─────────────────────────────── */
.welcome-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.welcome-hero .checkmark {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: #fff;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
}

.welcome-summary {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.welcome-summary .line-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}
.welcome-summary .line-item + .line-item {
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.welcome-summary .line-total {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}

.quickstart-steps {
  counter-reset: step;
  list-style: none;
  margin-bottom: 2rem;
}
.quickstart-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.quickstart-steps li .step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.quickstart-steps li .step-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}
.quickstart-steps li .step-text p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ── Cross-sell Banner ────────────────────────── */
.cross-sell {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}
.cross-sell h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.cross-sell p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.cross-sell a {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: opacity 0.15s;
}
.cross-sell a:hover { opacity: 0.9; }

/* ── Responsive ───────────────────────────────── */
@media (min-width: 640px) {
  .funnel-card { padding: 3rem 2.5rem; }
  .funnel-headline { font-size: 2.4rem; }
}
@media (max-width: 480px) {
  .funnel-card { padding: 1.75rem 1.25rem; }
  .funnel-headline { font-size: 1.6rem; }
  .funnel-price-block .price-big { font-size: 2.25rem; }
  .funnel-trust { gap: 1rem; }
}
