/* ================================================================
   PUREBARIATRIC LANDING PAGE — styles.css
   ================================================================ */

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

:root {
  --green: #1e7a5c;
  --green-dark: #155e45;
  --green-light: #e8f5ef;
  --green-mid: #d1fae5;
  --orange: #e55a2b;
  --gold: #f59e0b;
  --purple: #7c3aed;
  --text: #111827;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e5e7eb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'General Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Cabinet Grotesk', 'General Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green); }
.btn-nav {
  background: var(--green);
  color: white !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: background 0.15s, transform 0.1s !important;
}
.btn-nav:hover { background: var(--green-dark) !important; transform: translateY(-1px); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 8px 0;
  font-weight: 500;
}
.btn-mobile-cta {
  background: var(--green);
  color: white !important;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600 !important;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: flex; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,122,92,0.3);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.btn-ghost:hover { color: var(--green); background: var(--green-light); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--green);
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-outline:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e7a5c, #7c3aed);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn-ai:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.3);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #e8f5ef 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, #ede9fe 0%, transparent 60%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 1px solid #c6e8d8;
  animation: fadeUp 0.5s ease both;
}
.hero-title {
  font-family: 'Cabinet Grotesk', 'General Sans', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeUp 0.5s 0.1s ease both;
}
.gradient-text {
  background: linear-gradient(135deg, #1e7a5c 0%, #22c55e 60%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 36px;
  animation: fadeUp 0.5s 0.2s ease both;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
  animation: fadeUp 0.5s 0.3s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 32px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s 0.4s ease both;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-faint);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ── PLATE CALLOUT ── */
.plate-callout {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.plate-callout-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}
.plate-svg { width: 100%; max-width: 240px; margin: 0 auto; display: block; }
.plate-text h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.highlight { color: var(--green); }
.plate-text p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.05rem; }
.plate-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plate-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot-protein { background: var(--orange); }
.dot-veg { background: #22a06b; }
.dot-grains { background: var(--gold); }
@media (max-width: 700px) {
  .plate-callout-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .plate-list li { justify-content: center; }
}

/* ── FEATURES ── */
.features { padding: 96px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-card-ai {
  border: 2px solid transparent;
  background: linear-gradient(white,white) padding-box,
              linear-gradient(135deg,#1e7a5c,#7c3aed) border-box;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.ai-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg,#1e7a5c,#7c3aed);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.coming-soon {
  font-size: 0.65rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* ── PRICING ── */
.pricing { background: var(--surface-2); padding: 96px 0; border-top: 1px solid var(--border); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card-featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
}
.pricing-card-founders {
  border: 2px solid transparent;
  background: linear-gradient(white,white) padding-box,
              linear-gradient(135deg,#b45309,#f59e0b) border-box;
  position: relative;
}
.founders-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  background: linear-gradient(135deg,#b45309,#f59e0b);
  color: white;
}
.price-was {
  font-size: 0.75rem;
  color: #b45309;
  font-weight: 600;
  margin-top: 4px;
}
.btn-founders {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#b45309,#f59e0b);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-founders:hover { opacity: 0.88; transform: translateY(-1px); }
.pricing-card-ai {
  border: 2px solid transparent;
  background: linear-gradient(white,white) padding-box,
              linear-gradient(135deg,#1e7a5c,#7c3aed) border-box;
}
.popular-badge, .ai-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.popular-badge { background: var(--green); color: white; }
.ai-plan-badge { background: linear-gradient(135deg,#1e7a5c,#7c3aed); color: white; }
.pricing-header { margin-bottom: 28px; }
.plan-name { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
.plan-price { margin-bottom: 8px; }
.price-num { font-family: 'Cabinet Grotesk', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.price-period { font-size: 0.85rem; color: var(--text-muted); }
.plan-desc { font-size: 0.875rem; color: var(--text-muted); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}
.check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.ai-check { color: var(--purple); }
.cross { color: var(--text-faint); flex-shrink: 0; }
.feature-na { color: var(--text-faint); }
.plan-note { font-size: 0.75rem; color: var(--text-faint); text-align: center; margin-top: 12px; }
.roi-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.roi-note svg { flex-shrink: 0; margin-top: 2px; color: var(--text-faint); }

/* ── DOWNLOAD ── */
.download-section { padding: 96px 0; }
.download-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.download-text h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.download-text p { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }
.download-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.download-list li { font-size: 0.9rem; color: var(--text-muted); }
.download-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.download-card-header { display: flex; align-items: center; gap: 16px; }
.download-card-title { font-weight: 700; font-size: 1rem; }
.download-card-sub { font-size: 0.78rem; color: var(--text-muted); }
.price-display {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price-display span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.email-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  transition: border-color 0.15s;
  outline: none;
}
.email-input:focus { border-color: var(--green); }
.stripe-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-faint);
  justify-content: center;
}
/* Stripe Buy Button wrapper — full width, centred */
.btn-waitlist-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
}

/* Stripe Buy Button wrapper — full width, centred */
.stripe-buy-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 4px 0 2px;
}
.stripe-buy-btn-wrap stripe-buy-button {
  width: 100%;
}
@media (max-width: 700px) {
  .download-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── WAITLIST ── */
.waitlist-section {
  background: linear-gradient(135deg, #0d4f39 0%, #1e3a5f 60%, #3b1a6e 100%);
  padding: 96px 0;
  color: white;
  text-align: center;
}
.waitlist-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.waitlist-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waitlist-section h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 640px;
}
.waitlist-section p {
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  font-size: 1rem;
}
.waitlist-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.wf {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
}
.waitlist-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 540px;
}
.email-input-light {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: white;
  flex: 1;
  min-width: 200px;
}
.email-input-light::placeholder { color: rgba(255,255,255,0.5); }
.email-input-light:focus { border-color: rgba(255,255,255,0.6); }
.waitlist-note {
  color: #86efac;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── FAQ ── */
.faq { padding: 96px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
}
.faq-item summary:hover { background: white; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--green); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .logo-text { color: white; font-size: 1rem; }
.footer-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-legal { display: flex; flex-direction: column; gap: 6px; }
.footer-legal p { font-size: 0.75rem; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 680px; }
