/* ===== Design Tokens ===== */
:root {
  --primary: #3a7a5c;
  --primary-light: #4a9a72;
  --primary-dark: #2d6048;
  --primary-fg: #ffffff;
  --accent: #d4956a;
  --accent-light: #e0ab85;
  --bg: #faf8f4;
  --bg-card: #ffffff;
  --bg-secondary: #f3f0ea;
  --fg: #1a1a1a;
  --fg-muted: #6b7280;
  --border: #e5e2dc;
  --destructive: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --radius: 12px;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ===== Utilities ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.875rem; border-radius: 8px;
  padding: 0.625rem 1.5rem; transition: all 0.2s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border: 1.5px solid var(--border); color: var(--fg); background: var(--bg-card); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }

.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 1rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
}
.badge-accent { background: rgba(212,149,106,0.12); color: var(--accent); border: 1px solid rgba(212,149,106,0.25); }
.badge-secondary { background: var(--bg-secondary); color: var(--fg-muted); font-size: 0.75rem; }

.section-label {
  font-size: 0.8125rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem;
}
.section-title { font-family: var(--font-serif); font-size: 2rem; color: var(--fg); line-height: 1.15; }
@media (min-width: 1024px) { .section-title { font-size: 2.5rem; } }

/* ===== Animations ===== */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.anim-scale.visible { opacity: 1; transform: scale(1); }

/* ===== Language Bar ===== */
.lang-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--fg); height: 32px;
}
.lang-bar-inner {
  display: flex; align-items: center; justify-content: flex-end; height: 100%; gap: 1rem;
}
.lang-bar-label { font-size: 0.6875rem; color: rgba(255,255,255,0.6); font-weight: 600; }
.lang-selector { display: flex; gap: 0.125rem; }
.lang-btn {
  font-size: 0.6875rem; color: rgba(255,255,255,0.5); padding: 0.2rem 0.5rem;
  border-radius: 4px; transition: all 0.15s; font-weight: 500;
}
.lang-btn:hover { color: rgba(255,255,255,0.85); }
.lang-btn.active { color: #fff; background: rgba(255,255,255,0.12); font-weight: 600; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,244,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); height: 56px;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.navbar-brand { flex-shrink: 0; }
.navbar-logo { height: 32px; }
.navbar-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .navbar-links { display: flex; } }
.nav-link {
  font-size: 0.8125rem; font-weight: 600; color: var(--fg-muted);
  transition: color 0.15s; letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--fg); }
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.explore-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem; border-radius: 999px;
  border: 1.5px solid var(--border); font-size: 0.8125rem;
  font-weight: 600; color: var(--fg); transition: all 0.2s;
}
.explore-btn:hover { border-color: var(--primary); color: var(--primary); }
.explore-wrap { position: relative; }
.explore-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 0.5rem; display: none;
  animation: fade-in-up 0.25s ease-out;
}
.explore-dropdown.open { display: block; }
.explore-dropdown a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 0.75rem; border-radius: 8px; font-size: 0.875rem;
  color: var(--fg); transition: background 0.15s;
}
.explore-dropdown a:hover { background: var(--bg-secondary); }
.explore-dropdown a svg { width: 18px; height: 18px; color: var(--fg-muted); }
.explore-divider { height: 1px; background: var(--border); margin: 0.375rem 0.5rem; }
.explore-signin { color: var(--primary) !important; font-weight: 600; }
.explore-signin svg { color: var(--primary) !important; }

/* ===== Hero ===== */
.hero { padding: 8rem 0 4rem; text-align: center; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding: 10rem 0 6rem; } }
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero h1 { font-family: var(--font-serif); font-size: 2.5rem; line-height: 1.1; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .hero h1 { font-size: 4rem; } }
.hero h1 span { color: var(--primary); }
.hero-sub { font-size: 1.125rem; color: var(--fg-muted); max-width: 600px; margin: 1.5rem auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.hero-note { font-size: 0.8125rem; color: var(--fg-muted); margin-top: 1rem; }

/* API Mock */
.api-mock {
  max-width: 960px; margin: 3rem auto 0; position: relative;
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--bg-card); box-shadow: var(--shadow-lg); padding: 4px;
}
.api-mock-inner { background: rgba(243,240,234,0.4); border-radius: 12px; padding: 1.5rem; }
@media (min-width: 1024px) { .api-mock-inner { padding: 2rem; } }
.api-topbar { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.api-dots { display: flex; gap: 6px; }
.api-dots span { width: 12px; height: 12px; border-radius: 50%; }
.api-dots span:nth-child(1) { background: rgba(239,68,68,0.4); }
.api-dots span:nth-child(2) { background: rgba(212,149,106,0.4); }
.api-dots span:nth-child(3) { background: rgba(58,122,92,0.4); }
.api-urlbar {
  flex: 1; background: rgba(250,248,244,0.6); border-radius: 6px;
  height: 28px; display: flex; align-items: center; padding: 0 0.75rem;
  font-family: monospace; font-size: 0.75rem; color: var(--fg-muted);
}
.api-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .api-grid { grid-template-columns: 1fr 1fr; } }
.api-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.25rem;
}
.api-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.api-method {
  font-size: 0.75rem; font-weight: 700; color: var(--primary);
  background: rgba(58,122,92,0.1); padding: 0.25rem 0.625rem; border-radius: 999px;
}
.api-status { font-size: 0.75rem; color: var(--fg-muted); }
.api-code { font-family: monospace; font-size: 0.7rem; color: rgba(26,26,26,0.75); line-height: 1.6; white-space: pre-wrap; }
.api-code .str { color: var(--primary); }
.api-code .num { color: var(--accent); }
.api-code .cmt { color: var(--fg-muted); }
.api-panel h4 { font-family: var(--font-serif); font-size: 1rem; }
.api-badge { font-size: 0.7rem; font-weight: 600; color: var(--primary); background: rgba(58,122,92,0.1); padding: 0.2rem 0.5rem; border-radius: 999px; }
.meal-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem; border-radius: 8px; background: rgba(243,240,234,0.5);
}
.meal-day {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(58,122,92,0.12); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--primary);
}
.meal-info { flex: 1; min-width: 0; }
.meal-info p:first-child { font-size: 0.8125rem; font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meal-info p:last-child { font-size: 0.7rem; color: var(--fg-muted); }
.chef-mascot {
  position: absolute; bottom: -24px; right: -8px;
  width: 112px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  display: none;
}
@media (min-width: 768px) { .chef-mascot { display: block; } }
@media (min-width: 1024px) { .chef-mascot { width: 140px; } }
.api-glow {
  position: absolute; inset: -16px; background: rgba(58,122,92,0.05);
  border-radius: 24px; filter: blur(24px); z-index: -1;
}

/* ===== Stats ===== */
.stats {
  padding: 3rem 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); background: rgba(243,240,234,0.3);
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-number { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--primary); }
@media (min-width: 1024px) { .stat-number { font-size: 2.5rem; } }
.stat-label { font-size: 0.8125rem; color: var(--fg-muted); margin-top: 0.25rem; }

/* ===== Features ===== */
.features { padding: 5rem 0; }
@media (min-width: 1024px) { .features { padding: 7rem 0; } }
.features-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.features-header p { color: var(--fg-muted); margin-top: 1rem; }
.features-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  border: 1px solid var(--border); background: var(--bg-card);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(58,122,92,0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; transition: background 0.2s;
}
.feature-card:hover .feature-icon { background: rgba(58,122,92,0.18); }
.feature-icon svg { width: 24px; height: 24px; color: var(--primary); }
.feature-title { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.feature-title h3 { font-size: 1.05rem; font-weight: 700; }
.feature-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* ===== How It Works ===== */
.how-it-works { padding: 5rem 0; background: rgba(243,240,234,0.3); }
@media (min-width: 1024px) { .how-it-works { padding: 7rem 0; } }
.how-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.steps-grid { display: grid; gap: 2rem; position: relative; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.steps-line {
  display: none; position: absolute; top: 32px;
  left: 16.67%; right: 16.67%; height: 1px; background: var(--border);
}
@media (min-width: 768px) { .steps-line { display: block; } }
.step { text-align: center; position: relative; }
.step-circle {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); position: relative; z-index: 2;
}
.step-circle svg { width: 28px; height: 28px; color: var(--primary-fg); }
.step-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); }
.step h3 { font-size: 1.05rem; font-weight: 700; margin: 0.5rem 0; }
.step p { font-size: 0.875rem; color: var(--fg-muted); max-width: 280px; margin: 0 auto; }

/* ===== Event Planning ===== */
.events { padding: 5rem 0; background: rgba(212,149,106,0.08); }
@media (min-width: 1024px) { .events { padding: 7rem 0; } }
.events-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .events-grid { grid-template-columns: 1fr 1fr; } }
.events-content h2 { margin-bottom: 1rem; }
.events-content > p { color: var(--fg-muted); margin-bottom: 1.5rem; }
.event-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  margin-bottom: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event-icon {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: rgba(212,149,106,0.12); display: flex; align-items: center; justify-content: center;
}
.event-icon svg { width: 20px; height: 20px; color: var(--accent); }
.event-card h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.125rem; }
.event-card p { font-size: 0.8125rem; color: var(--fg-muted); }
.events-image { display: flex; justify-content: center; }
.events-image img { width: 256px; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12)); }
@media (min-width: 1024px) { .events-image { justify-content: flex-end; } .events-image img { width: 320px; } }

/* ===== Value Prop ===== */
.value-prop { padding: 5rem 0; }
@media (min-width: 1024px) { .value-prop { padding: 7rem 0; } }
.value-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.value-header p { color: var(--fg-muted); margin-top: 1rem; }
.value-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  text-align: center; padding: 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card); box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem;
  background: rgba(58,122,92,0.1); display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 26px; height: 26px; color: var(--primary); }
.value-card h3 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.8125rem; color: var(--fg-muted); }

/* ===== B2C Section ===== */
.b2c { padding: 5rem 0; background: linear-gradient(180deg, rgba(212,149,106,0.08) 0%, rgba(250,248,244,1) 100%); }
@media (min-width: 1024px) { .b2c { padding: 7rem 0; } }
.b2c-hero { display: grid; gap: 2rem; align-items: center; margin-bottom: 4rem; }
@media (min-width: 768px) { .b2c-hero { grid-template-columns: 1.2fr 0.8fr; } }
.b2c-hero-content { }
.b2c-hindi { color: var(--primary); font-style: italic; font-family: var(--font-serif); }
.b2c-hero-content p { color: var(--fg-muted); margin: 1rem 0 1.5rem; font-size: 1.05rem; }
.b2c-hero-image { display: flex; justify-content: center; }
.b2c-hero-image img { width: 240px; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12)); }
@media (min-width: 1024px) { .b2c-hero-image img { width: 300px; } }
.b2c-features-title {
  font-family: var(--font-serif); font-size: 1.5rem; text-align: center; margin-bottom: 2rem; color: var(--fg);
}
.b2c-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .b2c-grid { grid-template-columns: repeat(3, 1fr); } }
.b2c-card {
  padding: 1.5rem; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.b2c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.b2c-card-icon {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 1rem;
  background: rgba(212,149,106,0.12); display: flex; align-items: center; justify-content: center;
}
.b2c-card-icon svg { width: 24px; height: 24px; color: var(--accent); }
.b2c-card h4 { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.b2c-card p { font-size: 0.8125rem; color: var(--fg-muted); line-height: 1.6; }

/* ===== Early Access Panel ===== */
.ea-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
.ea-overlay.open { opacity: 1; visibility: visible; }
.ea-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: 100%; max-width: 480px; background: var(--bg);
  box-shadow: -12px 0 40px rgba(0,0,0,0.18);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
}
.ea-panel.open { transform: translateX(0); }

/* Panel Header */
.ea-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.ea-header-brand { display: flex; align-items: center; gap: 0.75rem; }
.ea-header-text { display: flex; flex-direction: column; }
.ea-header-title { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.ea-header-subtitle { font-size: 0.7rem; color: var(--fg-muted); margin-top: 0.125rem; letter-spacing: 0.02em; }
.ea-close {
  width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted); transition: background 0.15s, color 0.15s;
}
.ea-close:hover { background: var(--bg-secondary); color: var(--fg); }

/* Tabs */
.ea-tabs {
  display: flex; border-bottom: 1px solid var(--border); background: var(--bg-card);
  padding: 0 1.5rem; gap: 0;
}
.ea-tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 0; font-size: 0.8125rem; font-weight: 600;
  color: var(--fg-muted); border-bottom: 2px solid transparent;
  transition: all 0.2s ease; cursor: pointer; background: none;
}
.ea-tab:hover { color: var(--fg); }
.ea-tab-active { color: var(--primary); border-bottom-color: var(--primary); }
.ea-tab svg { flex-shrink: 0; }

/* Panel Body */
.ea-panel-body { flex: 1; overflow-y: auto; }
.ea-tab-content { display: none; }
.ea-tab-visible { display: block; }

/* Steps */
.ea-step { padding: 1.5rem; }
.ea-step-hidden { display: none; }
.ea-step-hero { text-align: center; margin-bottom: 1.5rem; }
.ea-step-hero-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, rgba(58,122,92,0.1), rgba(212,149,106,0.12));
  display: flex; align-items: center; justify-content: center;
}
.ea-step-title { font-family: var(--font-serif); font-size: 1.375rem; margin-bottom: 0.375rem; color: var(--fg); }
.ea-step-desc { font-size: 0.8125rem; color: var(--fg-muted); line-height: 1.6; max-width: 360px; margin: 0 auto; }

/* Google Button */
.ea-google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--bg-card); color: var(--fg);
  transition: all 0.2s ease; cursor: pointer; font-family: var(--font-sans);
}
.ea-google-btn:hover { border-color: #4285F4; box-shadow: 0 2px 8px rgba(66,133,244,0.15); transform: translateY(-1px); }

/* Divider */
.ea-divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0;
}
.ea-divider::before, .ea-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.ea-divider span { font-size: 0.75rem; color: var(--fg-muted); white-space: nowrap; }

/* Email toggle (clickable divider) */
.ea-email-toggle { cursor: pointer; transition: color 0.2s; }
.ea-email-toggle:hover span { color: var(--primary); }
.ea-email-toggle.open span svg { transform: rotate(180deg); }

/* Email fields accordion */
.ea-email-fields {
  overflow: hidden; transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* Terms checkbox */
.ea-terms-check {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--fg-muted); margin: 0.75rem 0 0.25rem; cursor: pointer;
  line-height: 1.4;
}
.ea-terms-check input[type="checkbox"] {
  width: 16px; height: 16px; margin-top: 1px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0;
}
.ea-terms-check a { color: var(--primary); text-decoration: underline; }
.ea-terms-check a:hover { color: var(--primary-dark); }

/* Form Groups */
.ea-form-group { margin-bottom: 0.875rem; }
.ea-form-group label {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--fg); margin-bottom: 0.375rem;
}
.ea-form-group label svg { color: var(--primary); }
.ea-form-group input, .ea-select {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.875rem; font-family: var(--font-sans); background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.ea-form-group input:focus, .ea-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(58,122,92,0.08);
}
.ea-form-group input::placeholder { color: #b8b8b8; }
.ea-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.ea-select option { color: var(--fg); }

/* Submit Button */
.ea-submit-btn {
  width: 100%; justify-content: center; margin-top: 0.25rem;
}

/* Validation Errors */
.ea-input-error {
  border-color: var(--destructive) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08) !important;
}
.ea-field-error {
  display: block; font-size: 0.75rem; color: var(--destructive); margin-top: 0.25rem; font-weight: 500;
}
.ea-terms-error {
  color: var(--destructive);
}
.ea-terms-error input { outline: 2px solid var(--destructive); outline-offset: 2px; border-radius: 2px; }

/* Form Note */
.ea-form-note {
  text-align: center; font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.75rem;
}

/* Subdomain */
.ea-subdomain-wrap { display: flex; align-items: stretch; }
.ea-subdomain-wrap input { border-radius: 10px 0 0 10px; border-right: none; }
.ea-subdomain-suffix {
  display: flex; align-items: center; padding: 0 1rem; background: var(--bg-secondary);
  border: 1.5px solid var(--border); border-left: none; border-radius: 0 10px 10px 0;
  font-size: 0.8125rem; color: var(--fg-muted); font-weight: 600; white-space: nowrap;
}

/* Success Badge */
.ea-success-badge {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem;
  background: rgba(58,122,92,0.08); border: 1px solid rgba(58,122,92,0.2);
  border-radius: 10px; margin-bottom: 1.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--primary);
}

/* Success State */
.ea-success-state { text-align: center; padding: 2rem 0; }
.ea-success-icon { margin-bottom: 1rem; }
.ea-success-details {
  margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--bg-secondary); border-radius: 10px; padding: 1.25rem;
}
.ea-success-detail-row {
  display: flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; color: var(--fg);
}

/* Panel Footer */
.ea-panel-footer {
  padding: 1rem 1.5rem; border-top: 1px solid var(--border); text-align: center;
  font-size: 0.75rem; color: var(--fg-muted); background: var(--bg-card);
}
.ea-panel-footer a { color: var(--primary); text-decoration: underline; }
.ea-footer-links { margin-top: 0.5rem; }
.ea-footer-links a { text-decoration: none; font-weight: 600; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 3rem 0; background: rgba(243,240,234,0.2); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { font-size: 0.8125rem; color: var(--fg-muted); margin-top: 1rem; max-width: 340px; }
.footer-brand .small { font-size: 0.75rem; margin-top: 0.5rem; }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-col a { display: block; font-size: 0.8125rem; color: var(--fg-muted); padding: 0.25rem 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--fg); }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo img { height: 32px; }
.footer-logo span { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  text-align: center; font-size: 0.75rem; color: var(--fg-muted);
}

/* ===== Cookie Consent Banner ===== */
.cmp-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--bg-card); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 1.25rem 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cmp-banner.visible { transform: translateY(0); }
.cmp-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
}
.cmp-text { flex: 1; min-width: 240px; }
.cmp-text p { font-size: 0.8125rem; color: var(--fg-muted); line-height: 1.6; }
.cmp-text a { color: var(--primary); text-decoration: underline; }
.cmp-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cmp-btn { font-size: 0.8125rem !important; padding: 0.5rem 1rem !important; }

/* CMP Preferences Modal */
.cmp-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 310;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.cmp-modal-overlay.open { opacity: 1; visibility: visible; }
.cmp-modal {
  position: fixed; top: 50%; left: 50%; z-index: 311;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%; max-width: 480px; background: var(--bg);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.cmp-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.cmp-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.cmp-modal-header h3 { font-family: var(--font-serif); font-size: 1.125rem; }
.cmp-modal-body { padding: 1.25rem 1.5rem; }
.cmp-pref-group { border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.cmp-pref-group:last-child { border-bottom: none; }
.cmp-pref-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cmp-pref-row strong { font-size: 0.875rem; }
.cmp-pref-row p { font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.125rem; }
.cmp-always-on { font-size: 0.75rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.cmp-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cmp-toggle input { opacity: 0; width: 0; height: 0; }
.cmp-toggle-slider {
  position: absolute; inset: 0; background: var(--border); border-radius: 999px;
  cursor: pointer; transition: background 0.2s;
}
.cmp-toggle-slider::before {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: white;
  transition: transform 0.2s;
}
.cmp-toggle input:checked + .cmp-toggle-slider { background: var(--primary); }
.cmp-toggle input:checked + .cmp-toggle-slider::before { transform: translateX(20px); }
.cmp-modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); text-align: right; }

/* ===== Mobile Sticky CTA Bar ===== */
.mobile-sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 199; padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.mobile-sticky-cta .btn {
  width: 100%; justify-content: center;
  padding: 0.75rem 1.5rem; font-size: 0.9375rem;
}

/* ===== Mobile: EA Panel leaves header visible ===== */
@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  .ea-overlay { top: 56px; }
  .ea-panel { top: 56px; bottom: 0; height: auto; }
  .cmp-inner {
    flex-direction: column; text-align: center; gap: 1rem;
  }
  .cmp-actions { justify-content: center; width: 100%; }
  .cmp-btn { flex: 1; min-width: 0; font-size: 0.75rem !important; padding: 0.5rem 0.625rem !important; }
  .cmp-modal { width: 95%; max-height: 85vh; overflow-y: auto; }
}
