/* ===== ALDER CRM — SHARED STYLES ===== */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #212529;
  background: #F8F9FA;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== PALETTE: Deep Roots ===== */
:root {
  --primary: #1B4332;
  --primary-light: #2D6A4F;
  --secondary: #8B5E3C;
  --accent: #52B788;
  --accent-light: #74C69D;
  --bg: #F8F9FA;
  --bg-warm: #F5F1EB;
  --text: #212529;
  --text-muted: #6C757D;
  --white: #FFFFFF;
  --border: #DEE2E6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header p { margin-top: 16px; font-size: 18px; color: var(--text-muted); line-height: 1.7; }
.section-label {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(27, 67, 50, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo span { font-family: 'Fraunces', serif; font-size: 22px; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta { padding: 10px 24px; font-size: 14px; }

/* ===== MOBILE NAV ===== */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 5px 0; transition: all 0.3s;
}

/* ===== EARLY ACCESS BANNER ===== */
.ea-banner {
  background: linear-gradient(90deg, var(--secondary) 0%, #A0724A 100%);
  color: var(--white); text-align: center;
  padding: 10px 24px; font-size: 14px; font-weight: 500;
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
}
.ea-banner a { color: var(--accent-light); text-decoration: underline; font-weight: 600; }
.ea-banner a:hover { color: var(--white); }
.ea-banner + nav { top: 38px; }
.ea-banner ~ main .hero,
.ea-banner ~ .hero { padding-top: 198px; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(175deg, #2D6A4F 0%, #1B4332 60%, #1B4332 100%);
  color: var(--white);
  padding: 160px 0 120px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.12) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,94,60,0.08) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-content h1 { margin-bottom: 24px; }
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-content p { font-size: 19px; line-height: 1.7; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-proof {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-proof-item .number { font-family: 'Fraunces', serif; font-size: 28px; color: var(--accent); }
.hero-proof-item .label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* Page hero (non-homepage) */
.page-hero {
  background: linear-gradient(175deg, #2D6A4F 0%, #1B4332 60%, #1B4332 100%);
  color: var(--white);
  padding: 160px 0 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.12) 0%, transparent 70%);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p {
  font-size: 19px; line-height: 1.7; color: rgba(255,255,255,0.8);
  max-width: 640px; margin: 0 auto;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  display: block; overflow: hidden; line-height: 0; position: relative;
  z-index: 2; padding: 0; font-size: 0; margin-top: -1px; margin-bottom: -1px;
}
.section-divider svg { width: 100%; display: block; margin: 0; padding: 0; height: 32px; }

/* ===== FEATURE ROWS ===== */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-badge {
  display: inline-block; padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.badge-green { background: rgba(82,183,136,0.12); color: #2D6A4F; }
.badge-emerald { background: rgba(27,67,50,0.08); color: #1B4332; }
.badge-walnut { background: rgba(139,94,60,0.12); color: #8B5E3C; }
.badge-gold { background: rgba(212,168,67,0.12); color: #8B6914; }
.badge-coral { background: rgba(184,66,51,0.08); color: #B84233; }
.badge-amber { background: rgba(146,100,10,0.10); color: #92640A; }
.badge-teal { background: rgba(13,115,119,0.08); color: #0D7377; }
.badge-sky { background: rgba(30,109,148,0.08); color: #1E6D94; }
.badge-slate { background: rgba(71,85,105,0.08); color: #475569; }
.badge-indigo { background: rgba(67,56,202,0.06); color: #4338CA; }
.badge-plum { background: rgba(134,25,143,0.06); color: #86198F; }
.feature-text h2 { margin-bottom: 16px; }
.feature-text p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.feature-visual {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.fv-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.fv-title { font-weight: 600; font-size: 15px; }
.fv-tag { font-size: 12px; padding: 3px 10px; border-radius: 100px; background: rgba(82,183,136,0.12); color: #2D6A4F; }
.fv-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; margin-bottom: 6px; transition: background 0.15s; }
.fv-row:hover { background: rgba(27,67,50,0.03); }
.fv-avatar { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.fv-info { flex: 1; min-width: 0; }
.fv-name { font-size: 14px; font-weight: 600; }
.fv-detail { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.fv-amount { font-family: 'Fraunces', serif; font-size: 16px; color: var(--primary); font-weight: 500; }
.fv-status { font-size: 11px; padding: 3px 10px; border-radius: 100px; font-weight: 600; white-space: nowrap; }
.status-active { background: rgba(82,183,136,0.12); color: #2D6A4F; }
.status-pending { background: rgba(212,168,67,0.15); color: #8B6914; }
.status-new { background: rgba(30,109,148,0.12); color: #1E6D94; }
.fv-progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.fv-progress-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }

/* ===== PROBLEM SECTION ===== */
.problem { background: var(--white); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.problem-card {
  padding: 32px; border-radius: var(--radius-lg); background: var(--bg);
  border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-icon { font-size: 32px; margin-bottom: 16px; }
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ===== STATS BANNER ===== */
.stats-banner { background: var(--primary); color: var(--white); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; text-align: center; }
.stat-number { font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* ===== PRICING ===== */
.pricing { background: var(--white); }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; font-size: 15px; font-weight: 500; color: var(--text-muted); }
.toggle-switch {
  width: 52px; height: 28px; border-radius: 14px; background: var(--border);
  position: relative; cursor: pointer; transition: background 0.2s;
}
.toggle-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-sm); transition: transform 0.2s;
}
.toggle-switch.annual { background: var(--accent); }
.toggle-switch.annual::after { transform: translateX(24px); }
.pricing-toggle .active { color: var(--primary); font-weight: 600; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pricing-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; display: flex; flex-direction: column;
}
.pricing-card.featured { background: var(--primary); color: var(--white); border-color: transparent; position: relative; }
.pricing-card.featured .card-label { color: var(--accent); }
.pricing-card.featured .card-desc { color: rgba(255,255,255,0.7); }
.pricing-card.featured .card-saving { color: rgba(255,255,255,0.5); }
.pricing-card.featured .card-features li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .feature-label { color: rgba(255,255,255,0.55); }
.pricing-card.featured .card-btn { background: var(--accent); color: var(--primary); border: none; }
.pricing-card.featured .card-btn:hover { background: var(--accent-light); }
.card-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.card-name { font-family: 'Fraunces', serif; font-size: 28px; margin-bottom: 8px; }
.card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 24px; min-height: 42px; }
.card-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.card-price { font-family: 'Fraunces', serif; font-size: 42px; font-weight: 400; }
.card-price .currency { font-size: 24px; }
.card-period { font-size: 14px; color: var(--text-muted); }
.pricing-card.featured .card-period { color: rgba(255,255,255,0.5); }
.card-saving { font-size: 13px; color: var(--accent); margin-bottom: 24px; min-height: 20px; }
.card-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex-grow: 1; }
.card-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.card-features li span { display: flex; justify-content: space-between; flex: 1; }
.feature-label { color: var(--text-muted); }
.feature-value { font-weight: 600; text-align: right; }
.card-btn { width: 100%; justify-content: center; margin-top: auto; }
.pricing-note { text-align: center; font-size: 15px; color: var(--text-muted); margin-top: 32px; }

/* ===== DIFFERENTIATORS ===== */
.differentiators { background: var(--bg); }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.diff-card {
  display: flex; gap: 20px; padding: 32px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.diff-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.diff-icon.green { background: rgba(82,183,136,0.12); }
.diff-icon.walnut { background: rgba(139,94,60,0.12); }
.diff-icon.emerald { background: rgba(27,67,50,0.08); }
.diff-icon.gold { background: rgba(212,168,67,0.12); }
.diff-card h3 { margin-bottom: 8px; }
.diff-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ===== MIGRATION ===== */
.migration { background: var(--primary); color: var(--white); }
.migration-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.migration-text p { font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-top: 16px; }
.migration-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.migration-source {
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.1);
}
.migration-step { display: flex; gap: 16px; margin-bottom: 32px; }
.step-number {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; flex-shrink: 0;
}
.step-content h3 { color: var(--white); margin-bottom: 6px; }
.step-content p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; max-width: 860px; margin: 0 auto; }
.about-avatar {
  width: 120px; height: 120px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 42px; color: var(--accent); flex-shrink: 0;
}
.about-text h2 { margin-bottom: 12px; }
.about-text p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.about-text p:last-child { margin-bottom: 0; }
.about-credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.about-cred {
  display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 500;
  background: rgba(27,67,50,0.06); color: var(--primary);
}

/* ===== CTA ===== */
.cta { background: var(--bg-warm); position: relative; overflow: hidden; }
.cta-box {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 64px; text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1;
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 14px; color: var(--text-muted); margin-top: 16px; margin-bottom: 0; }
.cta-tagline { text-align: center; font-size: 15px; color: var(--text-muted); font-style: italic; margin-top: 48px; }

/* ===== FOOTER ===== */
footer {
  background: var(--primary); color: var(--white); padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-top: 16px; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }
.footer-links { display: flex; gap: 24px; }

/* ===== CONTENT SECTIONS (for inner pages) ===== */
.content-section { padding: 80px 0; }
.content-section:nth-child(even) { background: var(--white); }
.content-section h2 { margin-bottom: 16px; }
.content-section p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.content-section p:last-child { margin-bottom: 0; }

/* Comparison tables */
.comparison-table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.comparison-table th,
.comparison-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.comparison-table th { background: var(--bg); font-weight: 600; color: var(--primary); }
.comparison-table td:first-child { font-weight: 500; color: var(--text-muted); width: 200px; }
.comparison-table td:nth-child(2) { color: var(--primary); font-weight: 600; }

/* Segment panels */
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.segment-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; transition: transform 0.2s, box-shadow 0.2s;
}
.segment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.segment-card h3 { margin-bottom: 12px; }
.segment-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.segment-card .btn { width: 100%; justify-content: center; }

/* Consolidation visual */
.consolidation { display: flex; align-items: center; gap: 32px; justify-content: center; flex-wrap: wrap; }
.consolidation-before,
.consolidation-after { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.consolidation-tool {
  padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  background: rgba(192,57,43,0.08); color: #C0392B; border: 1px solid rgba(192,57,43,0.15);
}
.consolidation-tool.good {
  background: rgba(82,183,136,0.12); color: #2D6A4F; border-color: rgba(82,183,136,0.2);
}
.consolidation-arrow { font-size: 32px; color: var(--accent); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 600; font-size: 17px; color: var(--text); margin-bottom: 8px; cursor: pointer; }
.faq-a { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 17px;
  color: var(--text); text-align: left; line-height: 1.4;
}
.faq-icon { font-size: 24px; flex-shrink: 0; margin-left: 16px; transition: transform 0.2s; }
.faq-answer { display: none; padding-top: 12px; }
.faq-answer p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
/* Native <details> FAQ (used on switch page) */
.faq-item[open] .faq-answer { display: block; }
details.faq-item summary { font-weight: 600; font-size: 17px; color: var(--text); cursor: pointer; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* Progress tracker */
.progress-tracker {
  background: var(--white); border: 2px solid var(--accent); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; margin: 48px auto; max-width: 400px;
}
.progress-number { font-family: 'Fraunces', serif; font-size: 64px; color: var(--primary); }
.progress-label { font-size: 16px; color: var(--text-muted); margin-top: 8px; }
.progress-bar-outer { height: 12px; background: var(--border); border-radius: 6px; margin-top: 16px; overflow: hidden; }
.progress-bar-inner { height: 100%; background: var(--accent); border-radius: 6px; transition: width 0.6s ease; }

/* Comparison page tabs */
.comp-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.comp-tab {
  padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 600;
  background: var(--bg); color: var(--text-muted); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.2s;
}
.comp-tab:hover { border-color: var(--accent); color: var(--primary); }
.comp-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.comp-section { display: none; }
.comp-section.active { display: block; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 48px 0; }
.step-card { text-align: center; padding: 32px; }
.step-card .step-number {
  width: 56px; height: 56px; margin: 0 auto 16px;
  font-size: 22px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Two-column content */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col h3 { margin-bottom: 12px; font-family: 'Fraunces', serif; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content, .hero-visual { animation: fadeInUp 0.6s ease-out forwards; }
.hero-visual { animation-delay: 0.15s; opacity: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner, .feature-row, .migration-inner, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .segment-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 400px; margin: 48px auto; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 80px; }
  .page-hero { padding: 120px 0 60px; }
  .hero-proof { gap: 0; justify-content: space-between; }
  .hero-proof-item { flex: 1; text-align: center; }
  .hero-proof-item .number { font-size: 22px; }
  .hero-proof-item .label { font-size: 11px; }
  .problem-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .diff-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.nav-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(27, 67, 50, 0.98); backdrop-filter: blur(12px);
    padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  nav.nav-open .nav-links a { padding: 12px 0; }
  nav.nav-open .nav-cta { margin-top: 8px; text-align: center; justify-content: center; }
  nav.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-avatar { margin: 0 auto; }
  .about-credentials { justify-content: center; }
  .cta-box { padding: 40px 24px; }
  .ea-banner ~ main .hero,
  .ea-banner ~ .hero { padding-top: 158px; }
  .ea-banner { font-size: 13px; padding: 8px 16px; }
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}
