/* ============================================
   HEYZENZAI — Premium SaaS Landing Page
   Dark Mode · Glassmorphism · Micro-Animations
   ============================================ */

/* ---- TOKENS ---- */
:root {
  --bg: #040d1a;
  --bg-2: #071428;
  --bg-card: rgba(12, 28, 58, 0.6);
  --bg-card-hover: rgba(16, 38, 75, 0.75);
  --border: rgba(99, 179, 237, 0.12);
  --border-bright: rgba(99, 179, 237, 0.3);

  --accent-green: #00e5a0;
  --accent-green-dim: rgba(0, 229, 160, 0.15);
  --accent-blue: #3b82f6;
  --accent-blue-dim: rgba(59, 130, 246, 0.15);
  --accent-gold: #fbbf24;
  --accent-purple: #8b5cf6;

  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --gradient-brand: linear-gradient(135deg, #00e5a0 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
                   radial-gradient(ellipse at 80% 20%, rgba(0, 229, 160, 0.1) 0%, transparent 50%),
                   radial-gradient(ellipse at 60% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);

  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow-green: 0 0 40px rgba(0, 229, 160, 0.2);
  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.2);

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --font-body: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  --nav-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* Chat messages: use opacity instead of display so phone height stays fixed */
.chat-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.chat-visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s ease;
}


.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-green { color: var(--accent-green); }
.text-gold { color: var(--accent-gold); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* Animate-in utility */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: slideUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal — starts visible, nice slide-in when JS fires */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
  opacity: 1;
  transform: none;
}
.reveal.pre-reveal {
  opacity: 0;
  transform: translateY(32px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- NAV ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(4, 13, 26, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

#navbar.scrolled {
  background: rgba(4, 13, 26, 0.96);
  border-bottom-color: var(--border-bright);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.3rem; }
.logo-text { color: #f1f5f9; }
.logo-accent { color: var(--accent-green); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: var(--accent-green);
  color: #040d1a;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-nav:hover {
  background: #00ffb3;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-green);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  display: block;
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: rgba(59, 130, 246, 0.12); top: -100px; left: -150px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: rgba(0, 229, 160, 0.08); top: 30%; right: -100px; animation-delay: 3s; }
.orb-3 { width: 300px; height: 300px; background: rgba(139, 92, 246, 0.1); bottom: 0; left: 30%; animation-delay: 6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* Hero two-column grid */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  color: var(--accent-green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #f8fafc;
}

.hero-sub-highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-desc strong { color: var(--text-primary); }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-green);
  color: #040d1a;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all var(--transition);
}
.btn-primary:hover {
  background: #00ffb3;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 229, 160, 0.35);
}
.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all var(--transition);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 4px 8px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-green);
  line-height: 1;
}
.stat-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-green);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- HERO VISUAL / PHONE ---- */
.hero-visual {
  position: relative;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 300px;
  background: #0d1b2e;
  border-radius: 36px;
  border: 1px solid rgba(99, 179, 237, 0.2);
  padding: 16px 0 0 0;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04), var(--shadow-glow-blue);
  overflow: hidden;
}

.phone-screen { overflow: hidden; }

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a2d4a;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wa-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #065f46);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.wa-name { display: block; font-size: 0.8rem; font-weight: 700; color: #f1f5f9; }
.wa-status { display: block; font-size: 0.65rem; color: #00e5a0; }

.wa-chat {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' opacity='0.03'%3E%3Ctext y='28' font-size='24'%3E🌿%3C/text%3E%3C/svg%3E") #071628;
  height: auto;
  overflow: hidden;
}

.msg-row { display: flex; flex-direction: column; max-width: 85%; }
.msg-row.client { align-self: flex-end; align-items: flex-end; }
.msg-row.bot { align-self: flex-start; align-items: flex-start; }

.msg-bubble {
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 14px;
  padding: 8px 12px;
}
.client .msg-bubble {
  background: linear-gradient(135deg, #1d6147, #166534);
  color: #d1fae5;
  border-bottom-right-radius: 4px;
}
.bot .msg-bubble {
  background: #1e3a5f;
  color: #cbd5e1;
  border-bottom-left-radius: 4px;
}
.bot .msg-bubble strong { color: #7dd3fc; }

.msg-time { font-size: 0.6rem; color: var(--text-muted); margin-top: 2px; padding: 0 4px; }

.typing-indicator {
  display: flex;
  gap: 4px;
  background: #1e3a5f;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
}
.typing-indicator span {
  width: 6px; height: 6px;
  background: #64748b;
  border-radius: 50%;
  animation: typing-bounce 1.2s ease infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.wa-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a2d4a;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.wa-input-placeholder {
  flex: 1;
  font-size: 0.75rem;
  color: #475569;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 6px 12px;
}
.wa-send-btn {
  width: 28px; height: 28px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #040d1a;
}

/* Phone badges */
.phone-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 28, 58, 0.95);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.phone-badge strong { color: var(--accent-green); }
.badge-icon { font-size: 1rem; }
.phone-badge-1 { top: 30px; left: -130px; animation: badge-float 3s ease-in-out infinite; }
.phone-badge-2 { bottom: 80px; right: -130px; animation: badge-float 3s ease-in-out infinite 1.5s; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---- TICKER ---- */
.ticker-wrap {
  overflow: hidden;
  background: linear-gradient(90deg, var(--accent-green-dim), rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
  border-top: 1px solid rgba(0, 229, 160, 0.15);
  border-bottom: 1px solid rgba(0, 229, 160, 0.15);
  padding: 14px 0;
}
.ticker {
  display: flex;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.ticker span { flex-shrink: 0; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- PROBLEM SECTION ---- */
.problem-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}
.pain-card:hover {
  border-color: rgba(251, 191, 36, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(251, 191, 36, 0.08);
}

.pain-icon { font-size: 2rem; margin-bottom: 12px; }
.pain-stat {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.pain-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pain-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

.problem-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.callout-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.callout-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }
.callout-text strong { color: var(--accent-gold); }

/* ---- HOW IT WORKS ---- */
.how-section {
  padding: 120px 0;
  background: var(--bg);
}

.agents-flow {
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 48px;
}
.agent-arrow {
  font-size: 2rem;
  color: var(--accent-green);
  align-self: center;
  flex-shrink: 0;
  opacity: 0.6;
  animation: arrow-pulse 2s ease infinite;
}
@keyframes arrow-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

.agent-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}
.agent-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-blue);
}

.agent-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(59, 130, 246, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.agent-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-blue-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.agent-icon { font-size: 1.5rem; }
.agent-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.agent-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.agent-example {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: auto;
}
.example-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 6px;
}
.example-msg {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
}

.setup-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  flex-wrap: wrap;
  backdrop-filter: blur(12px);
}
.setup-step { display: flex; align-items: center; gap: 10px; }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-blue-dim);
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-text { font-size: 0.875rem; color: var(--text-secondary); }
.step-text strong { color: var(--accent-green); }
.setup-arrow { color: var(--text-muted); font-size: 1rem; }

/* ---- FEATURES ---- */
.features-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: auto;
}
.feature-card--large {
  grid-column: span 2;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.feat-icon { font-size: 1.75rem; margin-bottom: 14px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }
.feat-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border-radius: 100px;
  padding: 3px 12px;
}

/* ---- COMPARISON ---- */
.comparison-section {
  padding: 120px 0;
  background: var(--bg);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--bg-card);
}

.comparison-table th {
  padding: 18px 20px;
  font-weight: 700;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}
.comparison-table th.col-us {
  background: rgba(0, 229, 160, 0.06);
  color: var(--accent-green);
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
  line-height: 1.5;
}
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }

.comparison-table .col-zenoti { color: var(--text-secondary); }
.comparison-table .col-fresha { color: var(--text-secondary); }
.comparison-table .col-us { background: rgba(0, 229, 160, 0.03); font-weight: 600; }

.comparison-table small { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.comparison-table .bad { color: #f87171; }
.comparison-table .mid { color: #fbbf24; }
.comparison-table .good { color: var(--accent-green); }

/* ---- GRANTS ---- */
.grants-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.grants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.grant-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}
.grant-card--highlight {
  border-color: rgba(0, 229, 160, 0.3);
  background: rgba(0, 229, 160, 0.04);
  box-shadow: var(--shadow-glow-green);
}
.grant-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}

.grant-logo { font-size: 2rem; margin-bottom: 12px; }
.grant-name { font-weight: 700; font-size: 1rem; color: var(--text-primary); margin-bottom: 6px; }
.grant-amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.grant-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.grant-impact {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.impact-label { display: block; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 2px; }
.impact-val { font-size: 0.875rem; font-weight: 700; color: var(--accent-green); }

.grants-math {
  background: rgba(0, 229, 160, 0.04);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
}

.math-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
}
.math-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.math-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 180px;
}
.math-item--result {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 220px;
}
.math-label { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.math-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--text-primary); text-align: center; }
.math-minus, .math-equals {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-muted);
}
.math-equals { color: var(--accent-green); }
.math-footnote { text-align: center; font-size: 0.875rem; color: var(--text-secondary); }

/* ---- PRICING ---- */
.pricing-section {
  padding: 120px 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}

.pricing-card--pro {
  border-color: rgba(0, 229, 160, 0.35);
  background: linear-gradient(160deg, rgba(0, 229, 160, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
  box-shadow: var(--shadow-glow-green);
}

.plan-badge-ribbon {
  position: absolute;
  top: 20px;
  right: -10px;
  background: linear-gradient(90deg, var(--accent-green), #00b4d8);
  color: #040d1a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-badge-ribbon::after {
  content: '';
  position: absolute;
  bottom: -6px; right: 0;
  border-width: 6px 10px 0 0;
  border-style: solid;
  border-color: #006644 transparent transparent transparent;
}

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.plan-onboarding { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.plan-founding-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 20px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.plan-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-usage-note {
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn-plan {
  display: block;
  text-align: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px;
  border-radius: 100px;
  transition: all var(--transition);
  width: 100%;
}
.btn-plan:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn-plan--pro {
  background: var(--accent-green);
  color: #040d1a;
  border-color: transparent;
}
.btn-plan--pro:hover {
  background: #00ffb3;
  box-shadow: var(--shadow-glow-green);
  color: #040d1a;
}

.pricing-guarantee {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 860px;
  margin: 0 auto;
}
.guarantee-icon { font-size: 1.5rem; flex-shrink: 0; }
.guarantee-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.guarantee-text strong { color: var(--text-primary); }

/* ---- ROI CALCULATOR ---- */
.roi-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.roi-calculator {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
}

.roi-inputs { display: flex; flex-direction: column; gap: 24px; }

.roi-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.roi-input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.roi-input-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--transition);
  appearance: textfield;
}
.roi-input-group input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1);
}

.roi-results { display: flex; flex-direction: column; gap: 16px; }

.roi-result-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all var(--transition);
}
.roi-result-card--highlight {
  background: rgba(0, 229, 160, 0.05);
  border-color: rgba(0, 229, 160, 0.3);
}

.roi-result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.roi-result-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  transition: all 0.4s ease;
}
.roi-result-card--highlight .roi-result-value { color: var(--accent-green); }
.roi-result-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  padding: 120px 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-card);
}

.test-stars { color: var(--accent-gold); letter-spacing: 2px; font-size: 0.9rem; }
.test-quote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  border-left: 2px solid rgba(0, 229, 160, 0.3);
  padding-left: 16px;
  flex: 1;
}
.test-author { display: flex; gap: 12px; align-items: center; }
.test-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.test-name { font-weight: 700; font-size: 0.875rem; color: var(--text-primary); }
.test-role { font-size: 0.75rem; color: var(--text-muted); }
.test-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.test-metrics span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border-radius: 100px;
  padding: 3px 10px;
}

/* ---- CONTACT ---- */
.contact-section {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 160, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

.contact-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.check-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-item::first-letter { color: var(--accent-green); font-weight: 700; }

.contact-urgency {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.urgency-icon { font-size: 1.2rem; flex-shrink: 0; }
.urgency-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.urgency-text strong { color: var(--accent-gold); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-group input,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  padding: 12px 14px;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1);
}
.form-group select option { background: #0d1b2e; }

.btn-submit {
  background: var(--accent-green);
  color: #040d1a;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
}
.btn-submit:hover {
  background: #00ffb3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  animation: slideUp 0.4s ease;
}
.success-icon { font-size: 1.5rem; flex-shrink: 0; }
.form-success strong { color: var(--accent-green); }

/* ---- FOOTER ---- */
.footer {
  background: #020810;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 380px;
}

.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
}

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent-green); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--accent-green); }
.footer-disclaimer { font-style: italic; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero-left { align-items: center; }
  .hero-visual { order: 2; display: flex; justify-content: center; padding-top: 0; }
  .hero-desc, .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; width: auto; }
  .phone-badge-1 { left: -80px; }
  .phone-badge-2 { right: -80px; }

  .agents-flow { flex-direction: column; }
  .agent-arrow { align-self: center; transform: rotate(90deg); }

  .pain-grid { grid-template-columns: 1fr 1fr; }
  .grants-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(4, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .pain-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .roi-calculator { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .setup-strip { flex-direction: column; align-items: flex-start; }
  .setup-arrow { transform: rotate(90deg); margin-left: 14px; }

  .hero-stats { flex-direction: column; gap: 8px; align-items: stretch; width: 100%; }
  .stat { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 16px; }
  .stat-divider { width: 100%; height: 1px; }

  .phone-badge { display: none; }
  .section-desc { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .grants-math .math-grid { flex-direction: column; align-items: center; }
  .math-minus, .math-equals { transform: rotate(90deg); }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(99, 179, 237, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 179, 237, 0.4); }


/* ============================================================
   PRICING TOGGLE
   ============================================================ */
.pricing-toggle {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px;
  width: fit-content;
  margin: 0 auto 48px;
  backdrop-filter: blur(12px);
}

.ptoggle-btn {
  padding: 9px 22px;
  border-radius: 100px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  white-space: nowrap;
}

.ptoggle-btn.active {
  background: var(--accent-green);
  color: #040d1a;
}

.ptoggle-save {
  font-size: 0.68rem;
  background: rgba(0, 229, 160, 0.15);
  color: var(--accent-green);
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ptoggle-btn.active .ptoggle-save {
  background: rgba(4, 13, 26, 0.18);
  color: #040d1a;
}

.plan-billing {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: -4px 0 12px;
  min-height: 1.4em;
  transition: opacity 0.3s ease;
}


/* ============================================================
   THEME TOGGLE BUTTON (nav)
   ============================================================ */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: border-color 0.2s, transform 0.3s ease;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}

.theme-toggle:hover {
  border-color: var(--border-bright);
  transform: rotate(20deg) scale(1.1);
}


/* ============================================================
   FOUNDER NOTE (contact section)
   ============================================================ */
.founder-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 229, 160, 0.06);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.founder-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #040d1a;
  flex-shrink: 0;
}

.founder-msg {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.founder-msg strong {
  color: var(--accent-green);
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ============================================================
   LIGHT THEME
   ============================================================ */

/* ================================================================
   LIGHT THEME — Pearl Edition
   Palette: warm pearl whites, rich slate text, emerald accents
   Inspired by: Stripe, Linear, luxury wellness brands
   ================================================================ */

[data-theme="light"] {
  /* Backgrounds — warm pearl, not cold blue */
  --bg:               #FAFAF7;
  --bg-2:             #F2F0EB;
  --bg-card:          #FFFFFF;
  --bg-card-hover:    #FDFDFB;

  /* Borders — warm not blue */
  --border:           rgba(30, 25, 20, 0.08);
  --border-bright:    rgba(30, 25, 20, 0.18);

  /* Accent colours — richer for white backgrounds */
  --accent-green:     #059669;
  --accent-green-dim: rgba(5, 150, 105, 0.10);
  --accent-blue:      #2563EB;
  --accent-blue-dim:  rgba(37, 99, 235, 0.10);
  --accent-gold:      #D97706;
  --accent-purple:    #7C3AED;

  /* Text — Rich slate, not neutral grey */
  --text-primary:     #111827;
  --text-secondary:   #374151;
  --text-muted:       #6B7280;

  /* Shadows — warm, depth-giving */
  --shadow-card:         0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.07);
  --shadow-card-hover:   0 4px 12px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.10);
  --shadow-glow-green:   0 0 40px rgba(5, 150, 105, 0.15);
  --shadow-glow-blue:    0 0 40px rgba(37, 99, 235, 0.12);
}

/* ---- BODY ---- */
[data-theme="light"] body { background: var(--bg); color: var(--text-primary); }

/* ---- NAV ---- */
[data-theme="light"] #navbar {
  background: rgba(250, 250, 247, 0.88);
  border-bottom: 1px solid rgba(30, 25, 20, 0.08);
}
[data-theme="light"] #navbar.scrolled {
  background: rgba(250, 250, 247, 0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
[data-theme="light"] .logo-text  { color: #111827; }
[data-theme="light"] .logo-accent { color: var(--accent-green); }
[data-theme="light"] .nav-links a { color: #374151; }
[data-theme="light"] .nav-links a:hover { color: var(--accent-green); }
[data-theme="light"] .btn-nav {
  background: var(--accent-green);
  color: #fff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}
[data-theme="light"] .hamburger span { background: var(--text-primary); }
[data-theme="light"] .theme-toggle {
  background: rgba(30, 25, 20, 0.05);
  border-color: rgba(30, 25, 20, 0.12);
  color: var(--text-primary);
}

/* ---- HERO ---- */
[data-theme="light"] .hero {
  background: linear-gradient(160deg, #FFFFFF 0%, #F0FDF8 35%, #FAFAF7 70%, #FFFBEB 100%);
}
[data-theme="light"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.04) 1px, transparent 1px);
}
[data-theme="light"] .orb-1 {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.14) 0%, transparent 70%);
}
[data-theme="light"] .orb-2 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10) 0%, transparent 70%);
}
[data-theme="light"] .orb-3 {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}
[data-theme="light"] .hero-title  { color: #111827; }
[data-theme="light"] .hero-desc   { color: #4B5563; }
[data-theme="light"] .hero-desc strong { color: #111827; }
[data-theme="light"] .hero-badge {
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.22);
  color: #047857;
}
[data-theme="light"] .hero-badge::before { background: #059669; }
[data-theme="light"] .btn-secondary {
  background: rgba(17, 24, 39, 0.06);
  border-color: rgba(17, 24, 39, 0.18);
  color: #111827;
}
[data-theme="light"] .btn-secondary:hover {
  background: rgba(17, 24, 39, 0.10);
  border-color: rgba(17, 24, 39, 0.28);
}
[data-theme="light"] .hero-stats {
  background: rgba(255,255,255,0.85);
  border-color: rgba(30, 25, 20, 0.10);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
[data-theme="light"] .stat-num   { color: var(--accent-green); }
[data-theme="light"] .stat-label { color: #6B7280; }
[data-theme="light"] .stat-divider { background: rgba(30, 25, 20, 0.12); }

/* ---- TICKER ---- */
[data-theme="light"] .ticker-wrap {
  background: linear-gradient(90deg, rgba(5, 150, 105, 0.06), rgba(37, 99, 235, 0.04), rgba(124, 58, 237, 0.04));
  border-color: rgba(5, 150, 105, 0.12);
}
[data-theme="light"] .ticker span { color: #374151; }

/* ---- SECTIONS ---- */
[data-theme="light"] .problem-section     { background: #FAFAF7; }
[data-theme="light"] .how-it-works-section { background: #FFFFFF; }
[data-theme="light"] .features-section    { background: #F2F0EB; }
[data-theme="light"] .comparison-section  { background: #FFFFFF; }
[data-theme="light"] .grants-section      { background: #F2F0EB; }
[data-theme="light"] .pricing-section     { background: #FAFAF7; }
[data-theme="light"] .roi-section         { background: #FFFFFF; }
[data-theme="light"] .testimonials-section { background: #F2F0EB; }

/* ---- TYPOGRAPHY ---- */
[data-theme="light"] .section-title   { color: #111827; }
[data-theme="light"] .section-desc    { color: #4B5563; }
[data-theme="light"] .section-label {
  background: rgba(5, 150, 105, 0.10);
  color: #047857;
  border-color: rgba(5, 150, 105, 0.18);
}

/* ---- PAIN CARDS ---- */
[data-theme="light"] .pain-card {
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border-color: rgba(30, 25, 20, 0.07);
}
[data-theme="light"] .pain-card:hover {
  box-shadow: var(--shadow-card-hover);
}
[data-theme="light"] .pain-title { color: #111827; }
[data-theme="light"] .pain-card p { color: #4B5563; }
[data-theme="light"] .pain-stat  { color: #B45309; }

/* ---- PROBLEM CALLOUT ---- */
[data-theme="light"] .problem-callout {
  background: rgba(217, 119, 6, 0.07);
  border-color: rgba(217, 119, 6, 0.22);
}
[data-theme="light"] .callout-text { color: #374151; }
[data-theme="light"] .callout-text strong { color: #B45309; }

/* ---- HOW IT WORKS (Agent cards) ---- */
[data-theme="light"] .agent-card {
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border-color: rgba(30, 25, 20, 0.07);
}
[data-theme="light"] .agent-title  { color: #111827; }
[data-theme="light"] .agent-card p { color: #4B5563; }
[data-theme="light"] .agent-number { color: var(--accent-green); }
[data-theme="light"] .agent-io {
  background: rgba(5, 150, 105, 0.06);
  border-color: rgba(5, 150, 105, 0.14);
  color: #374151;
}
[data-theme="light"] .io-label { color: #6B7280; }

/* ---- FEATURES ---- */
[data-theme="light"] .feature-card {
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border-color: rgba(30, 25, 20, 0.07);
}
[data-theme="light"] .feature-title { color: #111827; }
[data-theme="light"] .feature-desc  { color: #4B5563; }

/* ---- COMPARISON TABLE ---- */
[data-theme="light"] .comparison-table-wrap {
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border-color: rgba(30, 25, 20, 0.08);
}
[data-theme="light"] .comparison-table th,
[data-theme="light"] .comparison-table td { border-color: rgba(30, 25, 20, 0.07); color: #374151; }
[data-theme="light"] .comparison-table thead th { background: #FAFAF7; color: #111827; }
[data-theme="light"] .comparison-table .col-us { background: rgba(5, 150, 105, 0.05); }
[data-theme="light"] .col-header-us { color: #047857 !important; }
[data-theme="light"] .comparison-table .good { color: #059669; }
[data-theme="light"] .comparison-table .bad  { color: #EF4444; }
[data-theme="light"] .comparison-table .mid  { color: #F59E0B; }

/* ---- FOUNDING / GRANTS SECTION ---- */
[data-theme="light"] .grant-card, [data-theme="light"] .grants-math {
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border-color: rgba(30, 25, 20, 0.07);
}
[data-theme="light"] .grant-name   { color: #111827; }
[data-theme="light"] .grant-amount { color: #059669; }
[data-theme="light"] .grant-desc   { color: #4B5563; }
[data-theme="light"] .impact-label { color: #6B7280; }
[data-theme="light"] .impact-val   { color: #059669; }
[data-theme="light"] .math-title   { color: #111827; }
[data-theme="light"] .math-item {
  background: rgba(5, 150, 105, 0.05);
  border-color: rgba(5, 150, 105, 0.12);
}
[data-theme="light"] .math-label   { color: #6B7280; }
[data-theme="light"] .math-val     { color: #111827; }
[data-theme="light"] .math-equals,
[data-theme="light"] .math-minus,
[data-theme="light"] .math-plus    { color: #9CA3AF; }
[data-theme="light"] .math-footnote { color: #6B7280; }

/* ---- PRICING TOGGLE ---- */
[data-theme="light"] .pricing-toggle {
  background: #FFFFFF;
  border-color: rgba(30, 25, 20, 0.12);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
[data-theme="light"] .ptoggle-btn       { color: #4B5563; }
[data-theme="light"] .ptoggle-btn.active { background: #047857; color: #FFFFFF; }
[data-theme="light"] .ptoggle-save       { background: rgba(5, 150, 105, 0.12); color: #047857; }
[data-theme="light"] .ptoggle-btn.active .ptoggle-save { background: rgba(255,255,255,0.2); color: #fff; }

/* ---- PRICING CARDS ---- */
[data-theme="light"] .pricing-card {
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border-color: rgba(30, 25, 20, 0.08);
}
[data-theme="light"] .pricing-card:hover { box-shadow: var(--shadow-card-hover); }
[data-theme="light"] .pricing-card--pro  { border-color: #059669; box-shadow: 0 0 0 2px rgba(5,150,105,0.3), var(--shadow-card); }
[data-theme="light"] .plan-name          { color: #111827; }
[data-theme="light"] .plan-billing       { color: #6B7280; }
[data-theme="light"] .plan-features li   { color: #374151; }
[data-theme="light"] .plan-usage-note {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.14);
}
[data-theme="light"] .plan-usage-note span { color: #4B5563; }
[data-theme="light"] .btn-plan {
  background: rgba(5, 150, 105, 0.10);
  color: #047857;
  border: 1.5px solid rgba(5, 150, 105, 0.3);
}
[data-theme="light"] .btn-plan:hover     { background: rgba(5, 150, 105, 0.18); }
[data-theme="light"] .btn-plan--pro      { background: #047857; color: #FFFFFF; border-color: #047857; }
[data-theme="light"] .btn-plan--pro:hover { background: #065F46; }

/* ---- PRICING GUARANTEE ---- */
[data-theme="light"] .pricing-guarantee {
  background: rgba(5, 150, 105, 0.07);
  border-color: rgba(5, 150, 105, 0.22);
}
[data-theme="light"] .guarantee-text        { color: #374151; }
[data-theme="light"] .guarantee-text strong { color: #047857; }

/* ---- ROI CALCULATOR ---- */
[data-theme="light"] .roi-section { background: #FFFFFF; }
[data-theme="light"] .roi-calculator {
  background: #FAFAF7;
  border-color: rgba(30, 25, 20, 0.08);
  box-shadow: var(--shadow-card);
}
[data-theme="light"] .roi-input-group label { color: #374151; }
[data-theme="light"] .roi-inputs input {
  background: #FFFFFF;
  border-color: rgba(30, 25, 20, 0.14);
  color: #111827;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
[data-theme="light"] .roi-inputs input:focus { border-color: #059669; }
[data-theme="light"] .roi-result-card {
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border-color: rgba(30, 25, 20, 0.07);
}
[data-theme="light"] .roi-result-label  { color: #6B7280; }
[data-theme="light"] .roi-result-value  { color: #111827; }
[data-theme="light"] .roi-result-sub    { color: #9CA3AF; }
[data-theme="light"] .roi-result-card--highlight {
  background: linear-gradient(135deg, rgba(5,150,105,0.08), rgba(37,99,235,0.06));
  border-color: rgba(5, 150, 105, 0.3);
}
[data-theme="light"] .roi-result-card--highlight .roi-result-value { color: #047857; }

/* ---- BUILT-TO-DELIVER (testimonials slot) ---- */
[data-theme="light"] .testimonials-section { background: #F2F0EB; }
[data-theme="light"] .testimonial-card {
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border-color: rgba(30, 25, 20, 0.07);
}
[data-theme="light"] .test-quote  { color: #4B5563; border-left-color: #059669; }
[data-theme="light"] .test-name   { color: #111827; }
[data-theme="light"] .test-role   { color: #6B7280; }
[data-theme="light"] .test-metrics span {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
  border-color: rgba(5, 150, 105, 0.18);
}

/* ---- SETUP STRIP ---- */
[data-theme="light"] .setup-strip {
  background: #FFFFFF;
  border-color: rgba(30, 25, 20, 0.08);
  box-shadow: var(--shadow-card);
}
[data-theme="light"] .setup-strip span { color: #374151; }

/* ---- CONTACT SECTION ---- */
[data-theme="light"] .contact-section {
  background: linear-gradient(135deg, #ECFDF5 0%, #EFF6FF 50%, #FAFAF7 100%);
}
[data-theme="light"] .contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(30, 25, 20, 0.08);
  box-shadow: var(--shadow-card-hover);
}
[data-theme="light"] .contact-form label { color: #374151; }
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select {
  background: #FAFAF7;
  border-color: rgba(30, 25, 20, 0.14);
  color: #111827;
}
[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form select:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}
[data-theme="light"] .check-item    { color: #374151; }
[data-theme="light"] .form-disclaimer { color: #6B7280; }

/* ---- FOUNDER NOTE ---- */
[data-theme="light"] .founder-note {
  background: rgba(5, 150, 105, 0.07);
  border-color: rgba(5, 150, 105, 0.20);
}
[data-theme="light"] .founder-msg         { color: #374151; }
[data-theme="light"] .founder-msg strong  { color: #047857; }

/* ---- URGENCY BLOCK ---- */
[data-theme="light"] .contact-urgency {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.22);
}
[data-theme="light"] .urgency-text         { color: #374151; }
[data-theme="light"] .contact-urgency strong { color: #B45309; }

/* ---- FOOTER — always dark ---- */
[data-theme="light"] .footer              { background: #111827; }
[data-theme="light"] .footer-logo .logo-text  { color: #F9FAFB; }
[data-theme="light"] .footer-logo .logo-accent { color: #34D399; }
[data-theme="light"] .footer-tagline      { color: #9CA3AF; }
[data-theme="light"] .footer-col h4       { color: #F3F4F6; }
[data-theme="light"] .footer-col a        { color: #9CA3AF; }
[data-theme="light"] .footer-col a:hover  { color: #34D399; }
[data-theme="light"] .footer-badge        { background: rgba(255,255,255,0.08); color: #D1D5DB; border-color: rgba(255,255,255,0.1); }
[data-theme="light"] .footer-divider      { background: rgba(255,255,255,0.08); }
[data-theme="light"] .footer-bottom p     { color: #6B7280; }
[data-theme="light"] .footer-disclaimer   { color: #6B7280; }


/* ================================================================
   LIGHT THEME — TARGETED FIXES v3
   Resolves all 8 identified audit issues
   ================================================================ */

/* FIX 1: Hero — Tame the gradient clash. Keep green-only in light */
[data-theme="light"] .hero-sub-highlight {
  background: linear-gradient(90deg, #059669, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(90deg, #059669, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FIX 2: Pain stat numbers — red = danger/loss, not amber */
[data-theme="light"] .pain-stat { color: #DC2626; }

/* FIX 3: Grant impact boxes — ditch the ugly grey */
[data-theme="light"] .grant-impact {
  background: rgba(5, 150, 105, 0.07) !important;
  border: 1px solid rgba(5, 150, 105, 0.18) !important;
  border-radius: 12px;
}
[data-theme="light"] .impact-label { color: #6B7280 !important; font-size: 0.75rem; }
[data-theme="light"] .impact-val { color: #047857 !important; font-weight: 700; }

/* FIX 4: Increase section contrast delta */
[data-theme="light"] .problem-section            { background: #F5F3EE; }
[data-theme="light"] .how-it-works-section       { background: #FFFFFF; }
[data-theme="light"] .features-section           { background: #F5F3EE; }
[data-theme="light"] .comparison-section         { background: #FFFFFF; }
[data-theme="light"] .grants-section             { background: #F5F3EE; }
[data-theme="light"] .pricing-section            { background: #FFFFFF; }
[data-theme="light"] .roi-section                { background: #F5F3EE; }
[data-theme="light"] .testimonials-section       { background: #FFFFFF; }

/* FIX 5: Contact section — warm emerald gradient, not icy blue */
[data-theme="light"] .contact-section {
  background: linear-gradient(160deg, #ECFDF5 0%, #F0FDF4 40%, #F5F3EE 100%);
}

/* FIX 6: Footer logo text must be visible on dark footer */
[data-theme="light"] .footer .logo-text  { color: #F9FAFB !important; }
[data-theme="light"] .footer .logo-icon  { color: #F9FAFB; }

/* FIX 7: Footer transition — emerald border bridges light to dark */
[data-theme="light"] .footer {
  border-top: 3px solid rgba(5, 150, 105, 0.4);
}

/* FIX 8: Hero grid — reduce noise in light mode */
[data-theme="light"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* FIX 9: Phone badge readability in light mode */
[data-theme="light"] .phone-badge {
  color: #F9FAFB; /* Keep text white because background is dark navy */
}
[data-theme="light"] .phone-badge strong {
  color: #34D399; /* Bright green for emphasis on dark bg */
}

/* BONUS: Pain card title should be dark (not gradient green) */
[data-theme="light"] .pain-title  { color: #111827; font-size: 1rem; }
[data-theme="light"] .pain-card p { color: #4B5563; }

/* BONUS: Founding Member section — card body text readable */
[data-theme="light"] .grant-name  { color: #111827; }
[data-theme="light"] .grant-amount { color: #059669; }
[data-theme="light"] .grant-desc  { color: #4B5563; }

/* BONUS: "Becoming Founding Member" heading gradient fix */
[data-theme="light"] .grants-section .section-title .gradient-text {
  background: linear-gradient(90deg, #059669, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
