/* ============================================================
   A-FRAME SOLUTIONS — STYLESHEET (CLEAN v34)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── TOKENS ── */
:root {
  --red: #CC0000; --red-dark: #a50000; --red-light: #fff0f0;
  --charcoal: #111318; --ink: #1e2128;
  --gray-700: #374151; --gray-500: #6b7280; --gray-300: #d1d5db;
  --gray-100: #f3f4f6; --gray-50: #f9fafb; --white: #ffffff;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10);
  --max-w: 1160px;
  --gutter: clamp(20px, 5vw, 60px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden; max-width: 100vw; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }

/* ── TYPOGRAPHY ── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--red); flex-shrink: 0; }
.display-xl { font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 70px); color: var(--charcoal); line-height: 1.06; letter-spacing: -.02em; }
.display-lg { font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 50px); color: var(--charcoal); line-height: 1.1; letter-spacing: -.02em; }
.display-md { font-family: var(--font-display); font-size: clamp(22px, 3vw, 36px); color: var(--charcoal); line-height: 1.15; letter-spacing: -.02em; }
.lead { font-size: clamp(15px, 1.6vw, 18px); color: var(--gray-500); line-height: 1.75; max-width: 580px; }
em { font-style: italic; color: var(--red); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .18s; border: 1.5px solid transparent; white-space: nowrap; text-decoration: none; line-height: 1; }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(204,0,0,.28); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--gray-300); }
.btn-secondary:hover { border-color: var(--ink); background: var(--gray-50); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-300); height: 66px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); gap: 24px; overflow: hidden; }
.nav-logo { flex-shrink: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.nav-logo img { height: 30px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-700); padding: 7px 14px; border-radius: var(--radius-sm); transition: color .15s, background .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--red); background: var(--red-light); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ── HAMBURGER ── */
.nav-mobile-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0; }
.nav-mobile-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s; }
.nav-mobile-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-btn.open span:nth-child(2) { opacity: 0; }
.nav-mobile-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer { display: none; position: fixed; top: 66px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-300); padding: 16px 24px 24px; z-index: 199; box-shadow: 0 8px 24px rgba(0,0,0,.1); flex-direction: column; gap: 4px; }
.nav-drawer.open { display: flex; }
.nav-drawer a { display: block; font-size: 15px; font-weight: 500; color: var(--gray-700); padding: 12px 16px; border-radius: var(--radius-sm); transition: background .15s, color .15s; }
.nav-drawer a:hover, .nav-drawer a.active { background: var(--red-light); color: var(--red); }
.nav-drawer .drawer-cta { margin-top: 12px; background: var(--red); color: white !important; text-align: center; border-radius: var(--radius-sm); font-weight: 600; }

/* ── PAGE HERO ── */
.page-hero { background: var(--gray-50); border-bottom: 1px solid var(--gray-300); padding: clamp(56px,8vw,88px) var(--gutter) clamp(48px,6vw,72px); }
.page-hero-inner { max-width: var(--max-w); margin-inline: auto; }

/* ── HOMEPAGE HERO ── */
.hero-wrap { max-width: var(--max-w); margin-inline: auto; padding: clamp(64px,9vw,112px) var(--gutter) clamp(48px,7vw,80px); }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--red-light); border: 1px solid #ffd0d0; border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--red); margin-bottom: 22px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }
.hero-title { margin-bottom: 18px; }
.hero-lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--gray-300); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-display); font-size: 26px; color: var(--charcoal); display: block; line-height: 1.1; }
.hero-stat-label { font-size: 12px; color: var(--gray-500); font-weight: 500; margin-top: 2px; }
.hero-visual { position: relative; }
.hero-screenshot-wrap { position: relative; border-radius: 12px; overflow: visible; box-shadow: var(--shadow-lg), 0 0 0 1px var(--gray-300); }
.hero-screenshot { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--gray-300); }
.hero-callout { position: absolute; bottom: -16px; right: -16px; background: var(--charcoal); color: var(--white); border-radius: var(--radius-md); padding: 14px 18px; box-shadow: var(--shadow-md); min-width: 180px; }
.hero-callout-stat { font-family: var(--font-display); font-size: 28px; color: #4ade80; line-height: 1; margin-bottom: 4px; }
.hero-callout-label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.7); line-height: 1.4; }

/* ── LOGOBAR ── */
.logobar { background: var(--gray-50); border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); padding: 24px var(--gutter); }
.logobar-inner { max-width: var(--max-w); margin-inline: auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.logobar-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); white-space: nowrap; flex-shrink: 0; }
.logobar-clients { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.logobar-clients img { display: block; flex-shrink: 0; filter: grayscale(30%); opacity: .85; transition: filter .2s, opacity .2s; }
.logobar-clients img:hover { filter: grayscale(0%); opacity: 1; }

/* ── SECTIONS ── */
.section { padding: clamp(56px,8vw,88px) var(--gutter); }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-header { margin-bottom: 52px; }
.section-header .lead { margin-top: 14px; }

/* ── MODULE CARDS GRID ── */
.modules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mod-card { border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 28px; background: var(--white); position: relative; overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.mod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: #bbb; }
.mod-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.mod-card:hover::after { transform: scaleX(1); }
.mod-logo-wrap { background: transparent; padding: 0; margin-bottom: 14px; }
.mod-logo-wrap img { height: 28px; width: auto; max-width: 180px; }
.mod-desc { font-size: 13px; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; flex: 0 0 auto; }
.mod-features { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; flex: 1; }
.mod-feature { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray-700); }
.mod-feature::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.mod-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--red); transition: gap .18s; margin-top: auto; }
.mod-link:hover { gap: 10px; }
.mod-link svg { width: 13px; height: 13px; }

/* ── AGENCY BADGE (text fallback) ── */
.agency-badge { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 6px; background: var(--white); border: 1px solid var(--gray-300); font-size: 12px; font-weight: 700; color: var(--gray-700); letter-spacing: .04em; box-shadow: var(--shadow-sm); }

/* ── VALUE CARDS ── */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.value-num { font-family: var(--font-display); font-size: 44px; color: var(--red); display: block; margin-bottom: 4px; line-height: 1; }
.value-label { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.value-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: steps; }
.step-card { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-300); counter-increment: steps; position: relative; }
.step-card::before { content: counter(steps,decimal-leading-zero); position: absolute; top: 20px; right: 20px; font-family: var(--font-display); font-size: 32px; color: var(--gray-100); line-height: 1; }
.step-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-icon svg { width: 18px; height: 18px; color: var(--white); }
.step-title { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--gray-500); line-height: 1.65; }

/* ── CTA BAND ── */
.cta-band { background: var(--charcoal); padding: clamp(56px,8vw,88px) var(--gutter); }
.cta-band-inner { max-width: var(--max-w); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.5); font-size: 16px; line-height: 1.65; max-width: 500px; }
.cta-band-actions { display: flex; gap: 10px; flex-direction: column; align-items: flex-start; }

/* ── FOOTER ── */
.footer { background: #0c0e11; color: rgba(255,255,255,.55); padding: clamp(48px,6vw,68px) var(--gutter) 28px; }
.footer-grid { max-width: var(--max-w); margin-inline: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 28px; }
.footer-brand img { height: 26px; margin-bottom: 14px; filter: brightness(10); opacity: .6; width: auto; object-fit: contain; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max-w); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.footer-contract { font-family: 'Courier New', monospace; font-size: 11px; background: rgba(255,255,255,.05); padding: 4px 10px; border-radius: 4px; color: rgba(255,255,255,.35); }

/* ── PRODUCTS PAGE ── */
.mod-detail { padding: clamp(48px,7vw,80px) var(--gutter); border-bottom: 1px solid var(--gray-300); }
.mod-detail:nth-child(even) { background: var(--gray-50); }
.mod-detail-inner { max-width: var(--max-w); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mod-detail-inner.flip { direction: rtl; }
.mod-detail-inner.flip > * { direction: ltr; }
.mod-num { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.mod-num::before { content: ''; width: 18px; height: 2px; background: var(--red); }
.mod-detail-logo { display: inline-flex; background: transparent; padding: 0; margin-bottom: 20px; }
.mod-detail-logo img { height: 32px; width: auto; object-fit: contain; }
.mod-detail-desc { font-size: 16px; color: var(--gray-500); line-height: 1.75; margin-bottom: 28px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; }
.feat-item { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--gray-700); line-height: 1.5; }
.feat-check { width: 17px; height: 17px; border-radius: 50%; background: var(--red-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.feat-check svg { width: 9px; height: 9px; color: var(--red); }
.mod-visual { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mv-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-100); }
.mv-title { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.mv-badge { font-size: 10px; font-weight: 700; background: var(--red-light); color: var(--red); padding: 3px 9px; border-radius: 10px; }
.mv-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 6px; margin-bottom: 5px; font-size: 12px; }
.mv-row.alt { background: var(--gray-50); }
.mv-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mv-label { flex: 1; color: var(--gray-700); font-weight: 500; }
.mv-val { color: var(--gray-500); font-size: 11px; }

/* ── COMPARE TABLE ── */
.compare-section { padding: clamp(48px,6vw,72px) var(--gutter); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; border: 1px solid #e0e0e0; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 700px; }
.compare-table th, .compare-table td { border: 1px solid #e0e0e0; }
.compare-table col.feature-col { width: 240px; min-width: 200px; }
.compare-table col.feature-col-wide { width: 260px; min-width: 200px; }
.compare-table col.arc-col, .compare-table col.other-col { width: 8%; }
.compare-table col.arc-col-wide, .compare-table col.other-col-wide { width: 9.7%; }
.compare-table thead th { background: #1a1a1a; color: #fff; padding: 12px 8px; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.35; border-color: #333; }
.compare-table thead th:first-child { text-align: left; padding-left: 14px; }
.compare-table thead th.arc-header { background: #CC0000; border-color: #a50000; }
.compare-table tr.section-row td { background: #BBBBBB; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #222; padding: 7px 14px; border-top: 2px solid #e0e0e0; }
.compare-table td.feat { padding: 10px 14px; font-size: 12px; font-weight: 500; color: #1a1a1a; line-height: 1.4; }
.compare-table td.score { text-align: center; padding: 8px 4px; vertical-align: middle; }
.compare-table td.score svg { display: block; margin: 0 auto; }
.compare-legend { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; padding: 10px 14px; background: #FAFAFA; border-top: 1px solid #e0e0e0; font-size: 11px; color: #666; }
.compare-legend-item { display: flex; align-items: center; gap: 6px; }
.compare-legend-note { margin-left: auto; font-style: italic; font-size: 10px; }

/* ── CONTACT PAGE ── */
.contact-layout { max-width: var(--max-w); margin-inline: auto; padding: clamp(56px,8vw,88px) var(--gutter); display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.contact-form-wrap h2 { font-family: var(--font-display); font-size: 26px; color: var(--charcoal); margin-bottom: 8px; }
.contact-form-wrap p { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; line-height: 1.6; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; color: var(--ink); background: var(--white); transition: border-color .15s; outline: none; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--red); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-info-icon { width: 40px; height: 40px; background: var(--red-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 18px; height: 18px; color: var(--red); }
.contact-info-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--charcoal); font-weight: 500; }
.contact-info-sub { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ── VEHICLE CARDS (How to Buy) ── */
.v-how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.solution-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.use-case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mod-detail-inner { grid-template-columns: 1fr; gap: 40px; }
  .mod-detail-inner.flip { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile */
@media (max-width: 700px) {
  /* Single column everything */
  .modules-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .v-how-grid { grid-template-columns: 1fr; }
  .solution-cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .feat-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Nav */
  .nav-inner { gap: 12px; }
  .nav-logo img { height: 24px; max-width: 180px; }
  .nav-links { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-mobile-btn { display: flex; }

  /* Hero */
  .hero-visual { display: block; margin-top: 28px; }
  .hero-visual .fade-in { opacity: 1 !important; transform: none !important; }
  .hero-screenshot { max-height: 220px; object-fit: cover; object-position: top; }
  .hero-callout { position: relative; bottom: auto; right: auto; margin-top: 12px; display: inline-block; min-width: 0; }

  /* Cards */
  .mod-card { padding: 20px; }
  .mod-desc { font-size: 13px; }

  /* Misc */
  .cta-band-inner { gap: 24px; }
}

/* ── MOBILE COMPARISON PICKER ── */
.compare-mobile { display: none; }
.cmp-picker-wrap { margin-bottom: 20px; }
.cmp-picker-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.cmp-picker { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink); background: var(--white); outline: none; }
.cmp-picker:focus { border-color: var(--red); }
.cmp-table { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.cmp-head { display: grid; grid-template-columns: 1fr 70px 70px; background: var(--charcoal); color: #fff; }
.cmp-head-feat { padding: 12px 12px; font-size: 12px; font-weight: 700; }
.cmp-head-arc { padding: 12px 6px; font-size: 11px; font-weight: 700; text-align: center; background: var(--red); display: flex; align-items: center; justify-content: center; }
.cmp-head-comp { padding: 12px 6px; font-size: 11px; font-weight: 700; text-align: center; display: flex; align-items: center; justify-content: center; }
.cmp-section { background: #BBBBBB; color: #222; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 7px 12px; }
.cmp-row { display: grid; grid-template-columns: 1fr 70px 70px; border-top: 1px solid #e0e0e0; align-items: center; }
.cmp-feat { padding: 12px; font-size: 12px; color: var(--ink); font-weight: 500; line-height: 1.4; border-right: 1px solid #e0e0e0; }
.cmp-score { padding: 10px 4px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #e0e0e0; }
.cmp-score:last-child { border-right: none; }

@media (max-width: 768px) {
  .compare-mobile { display: block; }
  .compare-section .table-wrap { display: none; }
}

/* ── PRICING PAGE ── */
.pricing-calc { max-width: 860px; margin-inline: auto; padding: clamp(40px,6vw,64px) var(--gutter); }
.pc-card { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg); padding: clamp(20px,4vw,32px); margin-bottom: 20px; }
.pc-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); margin-bottom: 20px; }
.pc-modules { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pc-pill { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; border: 1px solid var(--gray-300); color: var(--gray-700); background: var(--white); }
.pc-slider-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.pc-user-count { font-family: var(--font-display); font-size: clamp(32px,6vw,44px); font-weight: 400; color: var(--red); line-height: 1; letter-spacing: -.02em; }
.pc-user-count span { font-size: 16px; color: var(--gray-500); font-family: var(--font-body); margin-left: 6px; }
.pc-slider-wrap { display: flex; align-items: center; gap: 14px; }
.pc-slider-min, .pc-slider-max { font-size: 12px; color: var(--gray-500); white-space: nowrap; font-weight: 500; }
input[type=range].pc-range { flex: 1; -webkit-appearance: none; appearance: none; height: 5px; background: var(--gray-300); border-radius: 3px; outline: none; cursor: pointer; }
input[type=range].pc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 3px solid white; box-shadow: 0 2px 6px rgba(0,0,0,.2); cursor: pointer; }
input[type=range].pc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 3px solid white; cursor: pointer; }
.pc-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.pc-metric { background: var(--gray-50); border: 1px solid var(--gray-300); border-radius: var(--radius-md); padding: 16px 18px; }
.pc-metric-label { font-size: 12px; color: var(--gray-500); margin-bottom: 6px; line-height: 1.4; }
.pc-metric-value { font-family: var(--font-display); font-size: clamp(20px,4vw,26px); font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.pc-metric-value.big { color: var(--red); }
.pc-metric-value.med { color: var(--charcoal); }
.pc-metric-value.small { color: var(--gray-700); }
.pc-tier-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pc-tier-table thead th { text-align: left; padding: 9px 12px; color: var(--gray-500); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--gray-300); }
.pc-tier-table thead th:nth-child(3), .pc-tier-table thead th:last-child { text-align: right; }
.pc-tier-table tbody tr { border-bottom: 1px solid var(--gray-100); transition: opacity .15s; }
.pc-tier-table tbody tr:last-child { border-bottom: none; }
.pc-tier-table tbody tr.inactive { opacity: .35; }
.pc-tier-table td { padding: 12px; vertical-align: middle; }
.pc-tier-table td:nth-child(3), .pc-tier-table td:last-child { text-align: right; }
.pc-tier-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 5px; background: var(--red-light); color: var(--red); }
.pc-sub-strong { font-weight: 700; color: var(--charcoal); }
.pc-sub-count { color: var(--gray-500); font-weight: 400; font-size: 12px; margin-left: 4px; }
.pc-note { font-size: 13px; color: var(--gray-500); line-height: 1.7; margin-top: 8px; }
@media (max-width: 560px) {
  .pc-metrics { grid-template-columns: 1fr; }
  .pc-tier-table { font-size: 12px; }
  .pc-tier-table td, .pc-tier-table thead th { padding: 8px 6px; }
}

/* ── STEPS ROW ── */
.steps-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 900px) { .steps-row { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .steps-row { grid-template-columns: 1fr; gap: 12px; } }

/* ── ENSURE MODULE SECTIONS ALWAYS VISIBLE ── */
.mod-detail .fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.mod-detail .fade-in.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Ensure all module sections are always visible */
.mod-detail > .mod-detail-inner > .fade-in,
.mod-detail > .mod-detail-inner > div > .fade-in {
  opacity: 1 !important;
  transform: none !important;
}

.mod-always-visible { opacity: 1; transform: none; }

/* ── MOBILE RESPONSIVE & NAVIGATION FIX ── */
@media (max-width: 640px) {
  /* Private sector cards */
  div[style*="display:grid"][style*="grid-template-columns:1fr 1fr"] { grid-template-columns:1fr !important; }
}

@media (max-width: 1280px) {
  .nav-links { display: none !important; }
  .nav-actions .btn-secondary { display: none !important; }
  .nav-mobile-btn { display: flex !important; }
}
@media (min-width: 1281px) {
  .nav-mobile-btn { display: none !important; }
  .nav-drawer { display: none !important; }
}

/* ── CLEAN CODE CLASSES ── */
.nav-cta { padding: 9px 20px; font-size: 13px; }
.mod-logo { height: 28px; width: auto; }
.logobar-logo { 
  width: auto; 
  max-width: 120px; 
  object-fit: contain; 
  filter: grayscale(30%); 
  opacity: 0.85; 
  transition: filter .2s, opacity .2s; 
}
.logobar-logo:hover { 
  filter: grayscale(0%); 
  opacity: 1; 
}
.logobar-logo-sm { height: 32px; }
.logobar-logo-md { height: 36px; }
.logobar-logo-lg { height: 44px; }

/* Version Badge */
.version-badge {
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: #111318;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0.7;
  z-index: 9999;
}

/* Typography Utilities */
.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
}
.heading-md {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}
.body-large {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
}

/* Card Components */
.solution-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .2s;
}
.solution-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  border-color: var(--gray-300);
}
.solution-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.solution-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-600);
}
.solution-card-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}
.solution-card-desc {
  color: var(--gray-600);
  line-height: 1.6;
}

.founder-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
}
.founder-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.founder-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}
.founder-card .role {
  color: var(--gray-600);
  font-size: 14px;
}
.founder-card .bio {
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 15px;
  max-width: 300px;
}
