

/* ── CSS VARIABLES ── */
:root {
  --orange: #FF5C35;
  --orange-dark: #e04a26;
  --orange-light: #fff3ef;
  --blue: #00A4BD;
  --blue-light: #e6f7fa;
  --purple: #6B5BFF;
  --purple-light: #f0eeff;
  --green: #00C875;
  --green-light: #e6faf3;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --border: #E5E7EB;
  --border-focus: #FF5C35;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.14), 0 6px 16px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --transition: all 0.2s ease;
  --transition-slow: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-main); border: none; background: none; }
input, select, textarea { font-family: var(--font-main); }

/* ── CONTAINER ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,92,53,0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
  font-size: 13px;
}
.btn-ghost:hover { background: var(--bg); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-md { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.btn-success { background: var(--green); color: #fff; border-color: var(--green); }
.btn-success:hover { background: #00a862; border-color: #00a862; }

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

/* ── HIDDEN ── */
.hidden { display: none !important; }


/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-icon { font-size: 22px; }
.logo-accent { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg); }

/* Mobile Nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-mobile-link:hover { background: var(--bg); color: var(--text-primary); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #F7F9FC 100%);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
}
.shape-1 {
  width: 500px; height: 500px;
  background: var(--orange);
  top: -200px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--blue);
  bottom: -200px; left: -100px;
  animation: float2 10s ease-in-out infinite;
}
.shape-3 {
  width: 300px; height: 300px;
  background: var(--purple);
  top: 40%; left: 50%;
  transform: translate(-50%,-50%);
  animation: float3 12s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,20px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }
@keyframes float3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-55%,-45%)} }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(255,92,53,0.2);
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,200,117,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(0,200,117,0.25)} 50%{box-shadow:0 0 0 6px rgba(0,200,117,0.1)} }

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-title-highlight {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.desktop-br { display: block; }
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px 32px;
  box-shadow: var(--shadow-sm);
}
.hero-stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
}
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border); }


/* ============================================================
   CONTROLS SECTION (Search + Tabs)
   ============================================================ */
.controls-section {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  top: 64px;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.search-wrapper {
  position: relative;
  max-width: 560px;
  margin: 0 auto 20px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 12px 44px 12px 44px;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}
.search-input:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,92,53,0.1);
}
.search-input::placeholder { color: var(--text-muted); }
.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
  display: none;
}
.search-clear:hover { color: var(--text-primary); }

.category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}
.category-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.tab-btn:hover { border-color: var(--orange); color: var(--orange); }
.tab-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.results-count {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 12px;
  min-height: 18px;
}


/* ============================================================
   CALCULATOR GRID
   ============================================================ */
.calculators-section { padding: 48px 0 64px; }

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

/* ── CALCULATOR CARD ── */
.calc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: fadeInUp 0.4s ease both;
  position: relative;
  overflow: hidden;
}
.calc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: var(--transition);
}
.calc-card.cat-acquisition::before { background: var(--orange); }
.calc-card.cat-conversion::before { background: var(--blue); }
.calc-card.cat-revenue::before { background: var(--green); }
.calc-card.cat-retention::before { background: var(--purple); }
.calc-card.cat-ecommerce::before { background: #F59E0B; }
.calc-card.cat-finance::before { background: #EF4444; }

.calc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,92,53,0.2);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card Header */
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}
.card-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-bottom: 12px;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.card-category-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Inputs */
.card-inputs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.input-group { display: flex; flex-direction: column; gap: 4px; }
.input-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.input-field {
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}
.input-field:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,92,53,0.08);
}
.input-field::placeholder { color: var(--text-muted); font-weight: 400; }

/* Card Buttons */
.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}
.btn-calculate {
  background: var(--orange);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-calculate:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,92,53,0.3);
}
.btn-reset {
  background: var(--bg);
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.btn-reset:hover { border-color: var(--text-secondary); color: var(--text-primary); }

/* Result */
.result-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: var(--transition);
}
.result-box.has-result {
  background: var(--orange-light);
  border-color: rgba(255,92,53,0.3);
}
.result-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; }
.result-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
  font-family: var(--font-mono);
  transition: var(--transition);
}
.result-placeholder {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* Formula */
.card-formula {
  background: #1e1e2e;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a9b1d6;
  letter-spacing: 0.3px;
}
.formula-label { color: #7aa2f7; font-size: 10px; font-weight: 500; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.8px; }
.formula-text { color: #c0caf5; }
.formula-accent { color: #ff9e64; }

/* Benchmark */
.benchmark-section { margin-bottom: 10px; }
.benchmark-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}
.bench-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--bg);
  font-size: 11px;
}
.bench-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bench-dot.poor { background: #EF4444; }
.bench-dot.average { background: #F59E0B; }
.bench-dot.good { background: var(--blue); }
.bench-dot.excellent { background: var(--green); }
.bench-label { color: var(--text-muted); flex: 1; font-weight: 500; }
.bench-value { color: var(--text-secondary); font-weight: 700; font-size: 10px; }

/* Explanation */
.card-explanation {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 6px;
}
.explanation-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 0;
  transition: var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.explanation-toggle:hover { color: var(--orange); }
.explanation-arrow { transition: var(--transition); font-size: 10px; }
.explanation-toggle.open .explanation-arrow { transform: rotate(180deg); }
.explanation-body {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
  display: none;
}
.explanation-body.open { display: block; }

/* ── BENCHMARK STATUS ── */
.bench-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}
.bench-status.poor { background: #fef2f2; color: #EF4444; }
.bench-status.average { background: #fffbeb; color: #D97706; }
.bench-status.good { background: #eff6ff; color: var(--blue); }
.bench-status.excellent { background: var(--green-light); color: #059669; }

/* No Results */
.no-results {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-secondary);
}
.no-results-icon { font-size: 48px; margin-bottom: 16px; }
.no-results h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.no-results p { font-size: 14px; margin-bottom: 20px; }


/* ============================================================
   COMPARISON DASHBOARD
   ============================================================ */
.dashboard-section {
  background: linear-gradient(135deg, #1e1e2e 0%, #16213e 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.dashboard-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.dashboard-section .section-title { color: #fff; }
.dashboard-section .section-subtitle { color: rgba(255,255,255,0.6); }

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

.dash-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-slow);
  position: relative;
  z-index: 1;
}
.dash-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}
.dash-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.dash-card-body { flex: 1; }
.dash-card-label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.dash-card-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  min-height: 36px;
}
.dash-card-bench { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 500; }


/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 80px 0;
  background: var(--bg);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(255,92,53,0.3); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: var(--font-main);
}
.faq-question:hover { color: var(--orange); }
.faq-arrow { font-size: 16px; transition: var(--transition); color: var(--text-muted); flex-shrink: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--orange); }
.faq-item.open .faq-question { color: var(--orange); }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0f0f17; }
.footer-cta-bar {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8a65 100%);
  padding: 48px 0;
}
.footer-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.footer-cta-sub { font-size: 14px; color: rgba(255,255,255,0.85); }
.footer-cta-bar .btn-primary {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
}
.footer-cta-bar .btn-primary:hover { background: rgba(255,255,255,0.9); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

.footer-main { padding: 56px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { color: #fff; }
.footer-logo .logo-accent { color: var(--orange); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 12px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer-links-col { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-link:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links .footer-link { font-size: 13px; }


/* ============================================================
   LEAD MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  position: relative;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 20px;
  line-height: 1;
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--text-primary); }
.modal-badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.modal-title { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.modal-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }

.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-input {
  padding: 11px 14px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  font-family: var(--font-main);
}
.form-input:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,92,53,0.1);
}
.form-disclaimer { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 4px; }

.modal-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.modal-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.modal-success p { font-size: 14px; color: var(--text-secondary); }


/* ============================================================
   CATEGORY TAG COLORS
   ============================================================ */
.tag-acquisition { background: var(--orange-light); color: var(--orange); }
.tag-conversion  { background: var(--blue-light);   color: var(--blue); }
.tag-revenue     { background: var(--green-light);  color: #059669; }
.tag-retention   { background: var(--purple-light); color: var(--purple); }
.tag-ecommerce   { background: #fffbeb; color: #D97706; }
.tag-finance     { background: #fef2f2; color: #EF4444; }
.icon-acquisition { background: var(--orange-light); }
.icon-conversion  { background: var(--blue-light); }
.icon-revenue     { background: var(--green-light); }
.icon-retention   { background: var(--purple-light); }
.icon-ecommerce   { background: #fffbeb; }
.icon-finance     { background: #fef2f2; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .calc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .calc-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .calc-grid { grid-template-columns: 1fr; gap: 16px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-title { letter-spacing: -0.8px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .desktop-br { display: none; }
  .controls-section { top: 56px; }
  .hero-stats { gap: 16px; padding: 14px 24px; }
  .stat-number { font-size: 18px; }
  .footer-cta-content { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal { padding: 28px 20px; }
  .calc-card { padding: 20px; }
  .category-tabs { justify-content: flex-start; }
}

@media (max-width: 400px) {
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .benchmark-grid { grid-template-columns: 1fr; }
}
