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

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }

/* ===== SKIP LINK (a11y) ===== */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 10000;
  padding: 8px 16px; background: var(--primary); color: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ===== FOCUS INDICATORS (a11y) ===== */
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  color: #212529;
  background: #F8F9FA;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.subtext { font-size: 1.125rem; max-width: 700px; margin: 0 auto; color: var(--text-muted); line-height: 1.7; }
.link { color: var(--accent); font-weight: 500; transition: opacity 0.15s; }
.link:hover { opacity: 0.8; }

/* ===== 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: #636B73;
  --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); }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-white-soft { color: rgba(255,255,255,0.75); }
.leading-relaxed { line-height: 1.7; }
.mt-1 { margin-top: 1rem; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.link-accent { color: var(--accent); text-decoration: underline; }
.link-white-soft { color: rgba(255,255,255,0.5); text-decoration: underline; }
.img-rounded { border-radius: var(--radius-lg); width: 100%; }
.img-circle { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }
.photo-credit { font-size: 0.75rem; color: var(--text-muted); margin-top: 8px; }
.photo-credit a { color: var(--text-muted); text-decoration: underline; }
.photo-credit-light { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 8px; }
.photo-credit-light a { color: rgba(255,255,255,0.5); text-decoration: underline; }

/* Section backgrounds */
.bg-white { background: white; }
.bg-grey { background: var(--bg); }
.bg-primary { background: var(--primary); color: var(--white); }
.border-top-subtle { border-top: 1px solid var(--border); }

/* Section intro (centred label + text below hero) */
.section-intro { text-align: center; }
.section-intro p { color: var(--text-muted); line-height: 1.7; margin-top: 16px; }

/* Two-column grid with image */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Flex buttons row */
.flex-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.container-narrow p + p { margin-top: 1rem; }
.container-narrow h2 { margin-bottom: 1rem; }
.section { padding: 96px 0; }
.section-header { text-align: center; max-width: 880px; margin: 0 auto 64px; }
.section-header p { margin-top: 16px; color: var(--text-muted); line-height: 1.7; }
.section-label {
  display: inline-block; font-size: 1rem; font-weight: 600; letter-spacing: 0.75px;
  text-transform: uppercase; color: #3D9970; 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: 1rem; 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.45); }
.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); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.btn-dark:hover { background: var(--primary-light); border-color: 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: 0.9375rem; 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: 0.875rem; }

/* ===== 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: 1.1875rem; 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.6); 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;
  margin-bottom: -1px;
}
.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::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 32' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 32 L0 0 Q360 32 720 16 Q1080 0 1440 20 L1440 32 Z' fill='%23F8F9FA'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  z-index: 1;
}
.page-hero.wave-white::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 32' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 32 L0 0 Q360 32 720 16 Q1080 0 1440 20 L1440 32 Z' fill='white'/%3E%3C/svg%3E");
}
.page-hero h1 { margin-bottom: 16px; position: relative; z-index: 1; }
.page-hero p {
  font-size: 1.1875rem; line-height: 1.7; color: rgba(255,255,255,0.8);
  max-width: 640px; margin: 0 auto; position: relative; z-index: 1;
}

/* ===== 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 row styles are in the FEATURES PAGE section below) */
.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-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.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-grid--4 .problem-card { padding: 24px; }
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px; color: var(--accent); position: relative;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='28' cy='26' rx='24' ry='28' fill='%23F5E6D0' opacity='0.6'/%3E%3Cpath d='M28 54 L28 26' stroke='%23E8D5BC' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M28 36 Q20 31 15 34' stroke='%23E8D5BC' stroke-width='1' stroke-linecap='round' fill='none'/%3E%3Cpath d='M28 36 Q36 31 41 34' stroke='%23E8D5BC' stroke-width='1' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { font-size: 0.9375rem; 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.65); margin-top: 8px; }

/* ===== PRICING ===== */
.pricing { background: var(--white); }
.pricing-intro { text-align: center; max-width: 600px; margin: -8px auto 20px; color: var(--text-muted); }
.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;
  border: none; padding: 0; -webkit-appearance: none; appearance: none;
}
.toggle-switch:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.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 span.active { color: var(--text); font-weight: 600; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.pricing-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 28px; display: flex; flex-direction: column;
  transition: all 0.2s ease;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured {
  background: var(--primary); color: var(--white); border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.pricing-card .card-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
.pricing-card.featured .card-label { color: var(--accent); }
.pricing-card .card-name {
  font-family: 'Fraunces', serif; font-size: 24px; margin-bottom: 8px;
}
.pricing-card .card-desc {
  font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5;
  min-height: 42px;
}
.pricing-card.featured .card-desc { color: rgba(255,255,255,0.65); }
.pricing-card .card-price-row {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px;
}
.pricing-card .card-price {
  font-family: 'Fraunces', serif; font-size: 42px;
}
.pricing-card .card-price .currency { font-size: 24px; vertical-align: top; line-height: 1.8; }
.pricing-card .card-period { font-size: 15px; color: var(--text-muted); align-self: flex-end; padding-bottom: 6px; }
.pricing-card.featured .card-period { color: rgba(255,255,255,0.6); }
.pricing-card .card-saving { font-size: 13px; color: var(--accent); margin-bottom: 28px; }
.pricing-card.featured .card-saving { color: rgba(82,183,136,0.8); }
.pricing-card .card-features { list-style: none; flex: 1; margin-bottom: 28px; }
.pricing-card .card-features li {
  padding: 8px 0; font-size: 14px; display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  min-height: 40px;
}
.pricing-card.featured .card-features li { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.pricing-card .card-features li:last-child { border-bottom: none; }
.pricing-card .card-features svg { flex-shrink: 0; margin-top: 2px; }
.pricing-card .feature-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-muted); display: block; line-height: 1.2;
}
.pricing-card .feature-value { display: block; }
.pricing-card.featured .feature-label { color: rgba(255,255,255,0.55); }
.card-btn { width: 100%; justify-content: center; text-align: center; margin-top: auto; }
.pricing-card.featured .card-btn { background: var(--accent); color: var(--primary); border: 2px solid var(--accent-light); }
.pricing-card.featured .card-btn:hover { background: var(--accent-light); }
.pricing-note {
  text-align: center; margin-top: 40px; font-size: 16px; color: var(--text-muted);
}
.pricing-note + .pricing-note {
  margin-top: 8px; font-size: 13px;
}
.pricing-note:not(.pricing-note-detail) + .pricing-note-detail {
  margin-top: 20px;
}
.pricing-note strong { color: var(--primary); font-weight: 600; }

/* ===== DIFFERENTIATORS ===== */
.differentiators { background: var(--bg); }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.diff-card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.diff-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0; color: var(--accent); position: relative;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='24' cy='22' rx='20' ry='24' fill='%23F5E6D0' opacity='0.6'/%3E%3Cpath d='M24 46 L24 22' stroke='%23E8D5BC' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M24 30 Q18 26 14 28' stroke='%23E8D5BC' stroke-width='1' stroke-linecap='round' fill='none'/%3E%3Cpath d='M24 30 Q30 26 34 28' stroke='%23E8D5BC' stroke-width='1' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.diff-icon.green, .diff-icon.walnut, .diff-icon.emerald, .diff-icon.gold { background-color: transparent; }
.diff-card h3 { margin-bottom: 8px; }
.diff-card p { font-size: 0.9375rem; 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: 1.0625rem; 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.7); line-height: 1.6; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: start; max-width: 860px; margin: 0 auto; }
.about-header { grid-column: 1 / -1; }
.about-header h2 { margin-bottom: 0; }
.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;
  align-self: start; margin-top: 4px;
}
.about-text h2 { margin-bottom: 12px; }
.about-text p { 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: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 64px; text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1;
  border-top: none;
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { font-size: 1.0625rem; 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: -12px; }
.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: 24px 48px; margin-bottom: 48px; }
.footer-brand { grid-row: 1 / 3; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-top: 16px; }
.footer-tagline { grid-column: 2 / -1; align-self: end; margin-bottom: 8px; }
.footer-tagline p { font-size: 15px; color: rgba(255,255,255,0.55); font-style: italic; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.55); 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.55); }
.footer-bottom a { color: rgba(255,255,255,0.55); font-size: 13px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }
.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 { 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 th:first-child,
.comparison-table td:first-child { width: 24%; font-weight: 500; color: var(--text-muted); }
.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) { width: 38%; color: var(--primary); font-weight: 600; }
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) { width: 38%; }

/* 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: 0.9375rem; 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: 40px; justify-content: center; flex-wrap: wrap; margin: 48px 0; }
.consolidation-before { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 380px; position: relative; }
.consolidation-after { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.consolidation-bubble { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 500; background: rgba(192,57,43,0.06); color: #9B2C2C; border: 1px solid rgba(192,57,43,0.12); }
.consolidation-bubble svg { width: 20px; height: 20px; flex-shrink: 0; }
.consolidation-arrow { font-size: 36px; color: var(--accent); line-height: 1; }
.consolidation-alder { display: flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 100px; background: rgba(82,183,136,0.10); border: 2px solid rgba(82,183,136,0.25); }
.consolidation-alder svg { width: 32px; height: 32px; flex-shrink: 0; }
.consolidation-alder span { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--primary); }
.consolidation-caption { font-size: 13px; color: #9B2C2C; text-align: center; margin-top: 4px; font-weight: 500; opacity: 0.8; }

/* FAQ */
.faq-list { margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 0; overflow: hidden;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { font-weight: 600; font-size: 17px; color: var(--text); margin-bottom: 8px; cursor: pointer; }
.faq-a { font-size: 16px; 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: 24px 28px; 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: 20px; flex-shrink: 0; margin-left: 16px; margin-right: 4px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; color: var(--text-muted); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 28px 24px; }
.faq-answer p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
/* Native <details> FAQ (used on switch page) */
details.faq-item { padding: 0; }
details.faq-item summary {
  font-weight: 600; font-size: 17px; color: var(--text); cursor: pointer;
  list-style: none; padding: 24px 28px; display: flex; align-items: center;
  justify-content: space-between;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; font-size: 20px; color: var(--text-muted); flex-shrink: 0;
  margin-left: 16px; transition: transform 0.3s;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-answer { display: none; padding: 0 28px 24px; }
details.faq-item[open] .faq-answer { display: block; }

/* Switch page: before/after comparison */
.switch-comparison { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.switch-comparison-item {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.switch-from p, .switch-to p { font-size: 0.9375rem; line-height: 1.6; margin: 0; }
.switch-from p { color: var(--text-muted); }
.switch-to p { color: var(--text); font-weight: 500; }
.switch-label {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px;
}
.switch-label-from { background: #fef2f2; color: #991b1b; }
.switch-label-to { background: #f0fdf4; color: var(--primary); }
.switch-arrow { font-size: 24px; color: var(--accent); font-weight: 600; }

/* First 100 day counter */
.f100-counter { margin-top: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }
.f100-day { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.f100-day-number { font-family: 'Fraunces', serif; font-size: 1.75rem; color: var(--primary); }
.f100-bar-outer { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.f100-bar-inner { height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.6s ease; }
.f100-spots { font-size: 0.875rem; color: var(--text-muted); margin-top: 8px; }


/* 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; }

/* ===== HOMEPAGE: Hero mock dashboard ===== */
.hero-visual {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 24px; position: relative;
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 20px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #febc2e; }
.mock-dot:nth-child(3) { background: #28c840; }
.mock-dash {
  background: rgba(255,255,255,0.04); border-radius: var(--radius);
  padding: 20px; margin-bottom: 12px;
}
.mock-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock-dash-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.mock-dash-value { font-family: 'Fraunces', serif; font-size: 32px; color: var(--accent); }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.mock-chart-bar { flex: 1; background: var(--accent); border-radius: 4px 4px 0 0; opacity: 0.6; min-height: 8px; }
.mock-chart-bar:nth-child(odd) { opacity: 0.35; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-stat { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 16px; }
.mock-stat-label { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.5px; }
.mock-stat-value { font-family: 'Fraunces', serif; font-size: 22px; color: var(--white); margin-top: 4px; }
.mock-stat-change { font-size: 12px; color: var(--accent); margin-top: 2px; }

/* ===== HOMEPAGE: Hero tree ===== */
.hero-tree {
  position: absolute; left: -60px; bottom: 0;
  width: 380px; height: 520px; opacity: 0.035; z-index: 0; pointer-events: none;
}

/* ===== HOMEPAGE: CTA tree ===== */
.cta .container { position: relative; }
.cta-tree { position: absolute; bottom: -160px; right: -80px; width: 600px; height: auto; opacity: 0.1; pointer-events: none; z-index: 0; }
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

/* ===== 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; }
.page-hero h1 { animation: fadeInUp 0.6s ease-out forwards; }
.page-hero + .section, .page-hero + .section-divider + .section { animation: fadeInUp 0.5s ease-out 0.15s forwards; opacity: 0; }
.section-header, .section-intro, .diff-card, .problem-card, .step-card { animation: fadeInUp 0.5s ease-out forwards; }
.diff-card:nth-child(2), .problem-card:nth-child(2), .step-card:nth-child(2) { animation-delay: 0.1s; opacity: 0; }
.diff-card:nth-child(3), .problem-card:nth-child(3), .step-card:nth-child(3) { animation-delay: 0.2s; opacity: 0; }
.diff-card:nth-child(4), .problem-card:nth-child(4) { animation-delay: 0.3s; opacity: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner, .migration-inner, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .hero-tree { width: 280px; height: 380px; left: -40px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-tagline { grid-column: 1 / -1; }
  .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; }
  .problem-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .diff-grid { grid-template-columns: 1fr; }
  .hero-tree { display: none; }
  .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 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { grid-column: 1 / -1; }
  .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; }
}

/* ===== POLICY PAGES (Privacy, Terms, Cookies) ===== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.policy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.policy-section { margin-bottom: 40px; }
.policy-section:last-child { margin-bottom: 0; }

.policy-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.policy-section h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 12px;
}

.policy-section p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.7;
}

.policy-section ul, .policy-section ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.policy-section li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.policy-section a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s;
}
.policy-section a:hover { color: var(--primary); }

.policy-note, .highlight-box {
  background: rgba(82,183,136,0.06);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 24px 0;
  border-radius: 4px;
}
.policy-note p, .highlight-box p { margin-bottom: 0; font-size: 15px; }
.highlight-box strong { color: var(--primary); }

.policy-updated {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Policy content (cookie page simple layout) */
.policy-simple-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.policy-simple-content h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--primary);
}
.policy-simple-content h2:first-child { margin-top: 0; }

.policy-simple-content p { margin-bottom: 16px; line-height: 1.8; }
.policy-simple-content ul { margin-left: 24px; margin-bottom: 16px; }
.policy-simple-content li { margin-bottom: 8px; line-height: 1.8; }
.policy-simple-content a { color: var(--accent); text-decoration: underline; }
.policy-simple-content a:hover { color: var(--primary); }

.policy-contact-box {
  background: var(--bg);
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: 4px;
  margin-top: 32px;
}
.policy-contact-box p { margin-bottom: 8px; }

/* ===== CONTACT / REGISTER INTEREST PAGE ===== */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-form h2 { margin-bottom: 8px; }
.contact-form > p { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; line-height: 1.6; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--text);
  background: var(--white); transition: border-color 0.2s;
  height: auto; min-height: 48px;
}
.form-group select {
  appearance: none; -webkit-appearance: none;
  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='%236C757D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 40px; cursor: pointer;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.form-consent { font-size: 13px; color: var(--text-muted); margin-top: 20px; margin-bottom: 24px; line-height: 1.6; }
.form-consent a { color: var(--accent); text-decoration: underline; }

.form-submit { width: 100%; justify-content: center; font-size: 16px; padding: 16px 32px; }

/* Book a call panel */
.book-call { padding: 36px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-top: 32px; }
.book-call h3 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.book-call > p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; line-height: 1.6; }
.book-call-placeholder {
  background: var(--bg); border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 48px 24px; text-align: center; margin-bottom: 24px;
}
.book-call-placeholder p { font-size: 14px; color: var(--text-muted); }
.book-call-email { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.book-call-email p { font-size: 15px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.book-call-email a { color: var(--primary); font-weight: 600; text-decoration: underline; }

/* What to expect */
.expect-panel { margin-top: 32px; padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.expect-panel h3 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.expect-panel > p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }

.expect-list { list-style: none; margin-top: 24px; }
.expect-list li {
  display: flex; gap: 12px; padding: 12px 0; font-size: 14px; color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.expect-list li:last-child { border-bottom: none; }
.expect-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(82,183,136,0.1); font-size: 14px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .policy-card { padding: 24px; }
  .policy-section h2 { font-size: 1.3rem; }
}

/* ===== FEATURES PAGE ===== */
.feature-row { padding: 64px 24px; border-bottom: 1px solid var(--border); }
.feature-row-reverse { background-color: var(--bg); }

.feature-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}



.feature-badge {
  display: inline-block; padding: 6px 14px; border-radius: 4px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 24px;
}

.badge-green { background-color: rgba(82, 183, 136, 0.1); color: #2d6a4f; }
.badge-walnut { background-color: rgba(177, 132, 104, 0.1); color: #6f4f28; }
.badge-emerald { background-color: rgba(82, 183, 136, 0.1); color: #1b4332; }
.badge-gold { background-color: rgba(212, 175, 55, 0.1); color: #92640f; }
.badge-coral { background-color: rgba(255, 127, 106, 0.1); color: #c1121f; }
.badge-amber { background-color: rgba(255, 184, 72, 0.1); color: #d97706; }
.badge-teal { background-color: rgba(32, 201, 201, 0.1); color: #0d7377; }
.badge-slate { background-color: rgba(107, 114, 128, 0.1); color: #374151; }
.badge-indigo { background-color: rgba(99, 102, 241, 0.1); color: #312e81; }
.badge-plum { background-color: rgba(168, 85, 247, 0.1); color: #6b21a8; }

.feature-text h2 { font-size: 1.875rem; margin-bottom: 16px; line-height: 1.3; }
.feature-text > p { font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 24px; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; color: var(--text); }
.feature-list svg { flex-shrink: 0; margin-top: 2px; }

.feature-visual {
  background: white; border: 1px solid var(--border); border-radius: 8px;
  padding: 24px; box-shadow: var(--shadow-sm);
}

.fv-panel { display: flex; flex-direction: column; }
.fv-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.fv-header h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.fv-date, .fv-filter { font-size: 13px; color: #ADB5BD; }

.fv-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.fv-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 14px; }
.fv-label { display: flex; flex-direction: column; gap: 4px; }
.fv-name { font-weight: 500; color: var(--text); }
.fv-meta { font-size: 12px; color: #ADB5BD; }
.fv-amount, .fv-count, .fv-stat { font-weight: 600; color: var(--text); }
.fv-major { color: #2d6a4f; font-size: 1rem; }
.fv-warning { color: #d97706; font-weight: 600; }

.fv-badge {
  display: inline-block; padding: 4px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.fv-badge-active { background-color: rgba(82, 183, 136, 0.15); color: #2d6a4f; }
.fv-badge-review { background-color: rgba(255, 184, 72, 0.15); color: #d97706; }
.fv-badge-draft { background-color: rgba(107, 114, 128, 0.15); color: #6b7280; }
.fv-badge-submitted { background-color: rgba(99, 102, 241, 0.15); color: #3730a3; }
.fv-badge-awarded { background-color: rgba(82, 183, 136, 0.15); color: #2d6a4f; }
.fv-badge-scheduled { background-color: rgba(168, 85, 247, 0.15); color: #5b21b6; }

.fv-summary {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 12px; color: #ADB5BD; text-transform: uppercase; font-weight: 600; letter-spacing: 0.3px; }
.stat-value { font-size: 1.25rem; font-weight: 700; color: var(--text); }

.fv-integrations { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.fv-integration {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px; background-color: var(--bg); border-radius: 4px; font-size: 14px;
}
.fv-integration-name { font-weight: 500; color: var(--text); }

.fv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.fv-grid-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px; background-color: var(--bg); border-radius: 4px;
}
.fv-grid-label { font-size: 12px; color: #ADB5BD; text-transform: uppercase; font-weight: 600; }
.fv-grid-value { font-size: 1.5rem; font-weight: 700; color: var(--text); }

.fv-chart-placeholder {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 8px; height: 80px; padding-top: 16px; border-top: 1px solid var(--border);
}
.fv-chart-bar {
  flex: 1; background: linear-gradient(180deg, #52b788 0%, #40916c 100%);
  border-radius: 4px 4px 0 0; opacity: 0.8;
}

.feature-closing { padding: 64px 24px; text-align: center; }
.feature-closing h2 { font-size: 2rem; margin-bottom: 16px; }
.feature-closing p {
  font-size: 1.0625rem; line-height: 1.6; max-width: 700px;
  margin: 0 auto 32px; color: var(--text-muted);
}

/* Pricing comparison table (switch page — 4 columns) */
.pricing-comparison th:first-child,
.pricing-comparison td:first-child { width: 18%; }
.pricing-comparison th:nth-child(2),
.pricing-comparison td:nth-child(2) { width: 28%; }
.pricing-comparison th:nth-child(3),
.pricing-comparison td:nth-child(3) { width: 28%; width: 28%; }
.pricing-comparison th:nth-child(4),
.pricing-comparison td:nth-child(4) { width: 26%; }
.pricing-comparison td { padding: 18px 20px; }

.pricing-notes { margin-top: 32px; }
.pricing-notes p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.pricing-notes p:last-child { margin-bottom: 0; }

/* ===== COMPARE PAGE ===== */

.comp-competitor-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem; font-weight: 600; color: var(--text);
  margin-top: 32px; margin-bottom: 0;
}

.comp-content h3 { margin-top: 40px; margin-bottom: 16px; font-size: 1.25rem; }
.comp-content p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.7; }

.comparison-table {
  width: 100%; border-collapse: collapse; margin: 32px 0;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.comparison-table thead { background-color: var(--bg); border-bottom: 2px solid var(--border); }
.comparison-table th { padding: 16px; text-align: left; font-weight: 600; color: var(--text); font-family: 'DM Sans', sans-serif; }
.comparison-table td { padding: 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 0.95rem; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background-color: rgba(0, 0, 0, 0.02); }

.cta-section .btn { display: inline-block; }

@media (max-width: 768px) {
  .feature-content { grid-template-columns: 1fr; gap: 32px; }
  .feature-text h2 { font-size: 1.5rem; }
  .fv-grid { grid-template-columns: 1fr; }
  .feature-closing h2 { font-size: 1.5rem; }
  .switch-comparison-item { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .switch-arrow { transform: rotate(90deg); }
  .faq-question { padding: 20px 20px; }
  .faq-answer { padding: 0 20px 20px; }
  details.faq-item summary { padding: 20px 20px; }
  details.faq-item .faq-answer { padding: 0 20px 20px; }
}
