:root{--pure-white:#FFFFFF;--electric-blue:#2563FF;--primary-violet:#7C3AED;--midnight-blue:#0A0F1E;--gold:#F5B700;--teal:#00C2B8;--cream:#F8FAFC;--violet-highlight:#7C3AED;--body-text:#0F172A;--white:#FFFFFF;--muted-text:#475569;--border:#E2E8F0;--font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;--max-width:1200px;--header-height:72px;--transition:0.25s ease}html[data-theme="dark"]{--cream:#0A0F1E;--white:#151D2E;--body-text:#F8FAFC;--muted-text:#A7B0C0;--border:#263247;--bg-soft:#111827;--surface-hover:#1B2638}html[data-theme="light"]{--cream:#F8FAFC;--white:#FFFFFF;--body-text:#0F172A;--muted-text:#475569;--border:#E2E8F0;--bg-soft:#F7F3EC;--surface-hover:#EEF2F7}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:var(--font-family);background-color:var(--cream);color:var(--body-text);line-height:1.6}img{max-width:100%;height:auto;display:block}a{color:var(--primary-violet);text-decoration:none}a:hover{color:var(--gold)}.container{max-width:var(--max-width);margin:0 auto;padding:0 1.5rem}.section-padding{padding:5rem 0}.section-title{font-size:2.25rem;font-weight:700;color:var(--primary-violet);margin-bottom:1rem;line-height:1.2}.section-subtitle{font-size:1.125rem;color:var(--muted-text);max-width:720px;margin-bottom:2.5rem}.text-center{text-align:center}.mx-auto{margin-left:auto;margin-right:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.skip-link{position:absolute;top:-100%;left:0;padding:0.75rem 1.5rem;background:var(--electric-blue);color:#FFFFFF;z-index:10000}.skip-link:focus{top:0}.btn{display:inline-block;padding:0.8rem 2rem;font-weight:600;border-radius:8px;border:2px solid transparent;transition:var(--transition);cursor:pointer;font-size:1rem;text-align:center}.btn-primary{background:var(--electric-blue);color:#FFFFFF;border-color:var(--electric-blue)}.btn-primary:hover{background:#1a4fd8;border-color:#1a4fd8;color:#FFFFFF}.btn-secondary{background:var(--primary-violet);color:var(--pure-white);border-color:var(--primary-violet)}.btn-secondary:hover{background:#1f0f4f;border-color:#1f0f4f;color:var(--pure-white)}.btn-outline{background:transparent;color:var(--primary-violet);border-color:var(--primary-violet)}.btn-outline:hover{background:var(--primary-violet);color:var(--pure-white)}.btn-teal{background:var(--teal);color:var(--pure-white);border-color:var(--teal)}.btn-teal:hover{background:#1f6e54;border-color:#1f6e54;color:var(--pure-white)}.card{background:var(--white);border-radius:12px;padding:2rem;box-shadow:0 4px 20px rgba(0,0,0,0.06);transition:var(--transition);border:1px solid var(--border)}.card:hover{box-shadow:0 8px 32px rgba(45,27,105,0.10);transform:translateY(-4px)}.card h3{color:var(--primary-violet);font-size:1.25rem;margin-bottom:0.75rem}.card p{color:var(--muted-text);font-size:0.95rem}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}.site-header{position:sticky;top:0;z-index:1000;background:var(--cream);border-bottom:1px solid var(--border);height:var(--header-height);display:flex;align-items:center}.site-header .container{display:flex;align-items:center;justify-content:space-between;width:100%}.logo img{width:230px;height:auto;max-width:230px;max-height:68px;display:block;object-fit:contain}.nav-links{display:flex;align-items:center;gap:1.75rem;list-style:none}.nav-links a{color:var(--body-text);font-weight:500;font-size:0.95rem}.nav-links a:hover{color:var(--electric-blue)}.nav-links .btn{padding:0.5rem 1.25rem;font-size:0.9rem}.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}.hamburger span{display:block;width:28px;height:3px;background:var(--body-text);border-radius:3px;transition:var(--transition)}.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}.hamburger.active span:nth-child(2){opacity:0}.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}.dropdown{position:relative}.dropdown-menu{display:none;position:absolute;top:100%;left:0;background:var(--white);border:1px solid var(--border);border-radius:8px;padding:0.75rem 0;min-width:200px;box-shadow:0 8px 24px rgba(0,0,0,0.08);list-style:none}.dropdown-menu li a{display:block;padding:0.5rem 1.5rem;font-size:0.9rem}.dropdown:hover .dropdown-menu{display:block}.site-footer{background:var(--midnight-blue);color:var(--cream);padding:3rem 0 1.5rem}.site-footer a{color:var(--muted-text)}.site-footer a:hover{color:var(--gold)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}.footer-logo img{height:36px;margin-bottom:0.75rem}.footer-bottom{border-top:1px solid rgba(255,255,255,0.1);padding-top:1.5rem;display:flex;justify-content:space-between;flex-wrap:wrap;font-size:0.85rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;font-weight:600;margin-bottom:0.4rem;font-size:0.95rem}.form-group input,.form-group select,.form-group textarea{width:100%;padding:0.75rem 1rem;border:1px solid var(--border);border-radius:8px;font-size:1rem;font-family:inherit;background:var(--white)}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:2px solid var(--electric-blue);outline-offset:2px}.form-check{display:flex;align-items:flex-start;gap:0.75rem}.form-check input{width:auto;margin-top:0.25rem}#cookieConsent{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:9999;max-width:980px;margin:auto;background:var(--white);color:#0F172A;border:1px solid var(--border);border-left:5px solid var(--gold);box-shadow:0 14px 40px rgba(10,15,30,.22);border-radius:12px;padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}#cookieConsent p{margin:.25rem 0 0;font-size:.9rem}.cookie-actions{display:flex;gap:.75rem;flex-shrink:0}@media(max-width:700px){#cookieConsent{align-items:stretch;flex-direction:column}.cookie-actions{flex-wrap:wrap}.cookie-actions .btn{flex:1}}#formStatus{margin-top:1rem;color:var(--midnight-blue);font-weight:600}.hero{background:linear-gradient(135deg,#0A0F1E 0%,#1a0f3a 30%,var(--primary-violet) 70%,#2563FF 100%);color:var(--pure-white);padding:6rem 0 5rem}.hero .eyebrow{color:var(--gold);font-weight:600;letter-spacing:1px;text-transform:uppercase;font-size:0.85rem;margin-bottom:0.75rem}.hero h1{font-size:3.25rem;font-weight:800;line-height:1.15;max-width:800px;margin-bottom:1.25rem}.hero p{font-size:1.2rem;max-width:680px;opacity:0.9;margin-bottom:2rem}.hero .btn-group{display:flex;gap:1rem;flex-wrap:wrap}.hero .trust-badge{display:flex;flex-wrap:wrap;gap:2rem;margin-top:2.5rem;font-size:0.9rem;opacity:0.85}.problem-grid .card{border-left:4px solid var(--gold)}.solution-grid .card{border-top:4px solid var(--primary-violet)}.outcome-grid .card{background:var(--primary-violet);color:var(--pure-white);text-align:center}.outcome-grid .card h3{color:var(--gold);font-size:2rem}.outcome-grid .card p{color:rgba(255,255,255,0.8)}.process-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem;counter-reset:step}.process-step{text-align:center;background:var(--white);padding:2rem 1rem;border-radius:12px;border:1px solid var(--border);position:relative}.process-step::before{counter-increment:step;content:counter(step);display:inline-block;background:var(--gold);color:var(--pure-white);width:36px;height:36px;border-radius:50%;line-height:36px;font-weight:700;margin-bottom:1rem}.tech-badge{display:inline-block;background:var(--white);padding:0.5rem 1.25rem;border-radius:40px;border:1px solid var(--border);font-weight:500;font-size:0.9rem;margin:0.25rem}.industry-card{background:var(--white);padding:1.5rem;border-radius:12px;text-align:center;border:1px solid var(--border)}.testimonial-card{background:var(--white);padding:2rem;border-radius:12px;border-left:4px solid var(--gold)}.testimonial-card blockquote{font-style:italic;font-size:1.05rem;margin-bottom:1rem}.testimonial-card .attribution{font-weight:600;color:var(--primary-violet)}.faq-item{background:var(--white);border:1px solid var(--border);border-radius:8px;margin-bottom:0.75rem;overflow:hidden}.faq-item summary{padding:1.25rem 1.5rem;font-weight:600;cursor:pointer;background:var(--cream)}.faq-item summary:hover{background:var(--surface-hover)}.faq-item .faq-answer{padding:1.25rem 1.5rem;color:var(--muted-text)}.cta-final{background:linear-gradient(135deg,var(--gold),#a0760a);color:var(--pure-white);text-align:center;padding:4rem 0}.cta-final h2{font-size:2.5rem;margin-bottom:1rem}.cta-final .btn{background:var(--pure-white);color:var(--primary-violet);border-color:var(--pure-white)}.cta-final .btn:hover{background:var(--cream);border-color:var(--cream)}.cta-final .btn-outline-light{background:transparent;color:var(--pure-white);border-color:var(--pure-white)}.cta-final .btn-outline-light:hover{background:var(--pure-white);color:var(--primary-violet)}@media (max-width:1024px){.grid-4{grid-template-columns:repeat(2,1fr)}.process-steps{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}@media (max-width:768px){.hamburger{display:flex}.nav-links{display:none;flex-direction:column;position:absolute;top:var(--header-height);left:0;right:0;background:var(--white);padding:1.5rem;border-bottom:1px solid var(--border);gap:1.25rem;align-items:stretch}.nav-links.open{display:flex}.dropdown-menu{position:static;box-shadow:none;border:none;padding-left:1rem}.dropdown:hover .dropdown-menu{display:none}.dropdown.open .dropdown-menu{display:block}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.process-steps{grid-template-columns:1fr 1fr}.hero h1{font-size:2.25rem}.hero .btn-group{flex-direction:column;align-items:stretch}.section-title{font-size:1.75rem}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:0.5rem}}@media (max-width:480px){.process-steps{grid-template-columns:1fr}.hero{padding:4rem 0 3rem}.section-padding{padding:3rem 0}}main>section{content-visibility:auto;contain-intrinsic-size:1px 800px}a:not(.btn):not(.logo a):not(.nav-links a){text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.18em}.btn-primary{color:#FFFFFF}.btn-primary:hover,.btn-primary:focus-visible{color:#FFFFFF}:focus-visible{outline:3px solid var(--violet-highlight);outline-offset:3px}@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.footer-logo img{max-width:220px;width:auto;height:auto}@media (max-width:768px){.footer-logo img{max-width:200px}}.logo img{width:230px !important;height:auto !important;max-width:230px !important;max-height:68px !important;object-fit:contain;display:block}html{color-scheme:light}html[data-theme="dark"]{color-scheme:dark}.theme-control{display:flex;align-items:center}.theme-toggle{width:34px;height:34px;padding:0;border:1px solid var(--border);border-radius:50%;background:var(--white);color:var(--body-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--transition);font-size:1rem;line-height:1}.theme-toggle:hover{border-color:var(--primary-violet);color:var(--primary-violet);transform:translateY(-1px)}.theme-toggle:focus-visible{outline:3px solid var(--violet-highlight);outline-offset:3px}.theme-icon{display:block;width:1em;height:1em}html[data-theme="dark"] .theme-toggle{background:#111827;border-color:#263247;color:#F8FAFC}html[data-theme="dark"] .theme-toggle:hover{border-color:var(--teal);color:var(--teal)}html[data-theme="dark"] .dropdown-menu{box-shadow:0 8px 24px rgba(0,0,0,.35)}html[data-theme="dark"] .card,html[data-theme="dark"] .process-step,html[data-theme="dark"] .tech-badge,html[data-theme="dark"] .industry-card,html[data-theme="dark"] .testimonial-card,html[data-theme="dark"] .faq-item,html[data-theme="dark"] .dropdown-menu{box-shadow:0 4px 20px rgba(0,0,0,.20)}html[data-theme="dark"] .faq-item summary{background:var(--bg-soft)}html[data-theme="dark"] .faq-item summary:hover{background:var(--surface-hover)}html[data-theme="dark"] .form-group input,html[data-theme="dark"] .form-group select,html[data-theme="dark"] .form-group textarea{color:var(--body-text)}html[data-theme="dark"] #cookieConsent{background:#151D2E;color:#F8FAFC;box-shadow:0 14px 40px rgba(0,0,0,.45)}html[data-theme="dark"] .site-footer{background:#070B15}@media (max-width:768px){.theme-control{margin-top:.25rem}.theme-toggle{width:36px;height:36px}}html[data-theme="dark"] .logo img{content:url("../images/logo-white.png")}html[data-theme="light"] .logo img{content:url("../images/logo.png")}

/* ===== ARD UPGRADE: ENHANCED DARK MODE VISIBILITY ===== */

/* Dark mode: section backgrounds need clear contrast */
html[data-theme="dark"] .section-padding {
  background: var(--cream); /* #0A0F1E */
}
html[data-theme="dark"] .section-padding[style*="background:var(--white)"],
html[data-theme="dark"] section[style*="background:var(--white)"] {
  background: var(--bg-soft) !important; /* #111827 */
}

/* Dark mode: h2 section titles more readable */
html[data-theme="dark"] .section-title {
  color: #A78BFA; /* lighter violet for dark bg */
}

/* Dark mode: card headings */
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .card h2 {
  color: #A78BFA;
}

/* Dark mode: links in body content */
html[data-theme="dark"] main a:not(.btn) {
  color: var(--teal);
}
html[data-theme="dark"] main a:not(.btn):hover {
  color: var(--gold);
}

/* Dark mode: tech badges */
html[data-theme="dark"] .tech-badge {
  background: #1B2638;
  border-color: #263247;
  color: #E2E8F0;
}

/* Dark mode: industry cards */
html[data-theme="dark"] .industry-card {
  background: #151D2E;
  color: #F8FAFC;
  border-color: #263247;
}

/* Dark mode: process steps */
html[data-theme="dark"] .process-step {
  background: #151D2E;
  border-color: #263247;
  color: #F8FAFC;
}
html[data-theme="dark"] .process-step p {
  color: #A7B0C0;
}

/* Dark mode: comparison table rows */
html[data-theme="dark"] div[style*="background:var(--cream)"] {
  background: #1B2638 !important;
  color: #F8FAFC;
}
html[data-theme="dark"] div[style*="background:var(--bg-soft)"] {
  background: #111827 !important;
  color: #F8FAFC;
}

/* Dark mode: flow pills (How It All Fits Together) */
html[data-theme="dark"] div[style*="border-radius:999px"][style*="background:var(--white)"] {
  background: #1B2638 !important;
  border-color: #263247 !important;
  color: #F8FAFC;
}

/* Dark mode: hero trust badges - already white, just ensure spacing */
html[data-theme="dark"] .hero .trust-badge span {
  color: rgba(255,255,255,0.9);
}

/* Dark mode: muted text contrast improvement */
html[data-theme="dark"] .muted-text,
html[data-theme="dark"] p,
html[data-theme="dark"] .card p {
  color: #C4CADB;
}

/* ===== ARD UPGRADE: LIGHT MODE CONTRAST FIXES ===== */
/* Ensure section alternation is visible in light mode */
html[data-theme="light"] section[style*="background:var(--white)"] {
  background: #FFFFFF !important;
}
html[data-theme="light"] .section-padding:not([style]) {
  background: var(--cream);
}

/* Light mode: btn-primary text should be dark for gold background */
html[data-theme="light"] .btn-primary {
  color: #FFFFFF;
}

/* ===== ARD UPGRADE: SMB TEAL HIGHLIGHT CARDS ===== */
.card[style*="border-top:4px solid var(--teal)"] {
  box-shadow: 0 4px 24px rgba(0,194,184,0.10);
}
html[data-theme="dark"] .card[style*="border-top:4px solid var(--teal)"] {
  box-shadow: 0 4px 24px rgba(0,194,184,0.18);
}

/* ===== ARD UPGRADE: GLOBAL VISIBILITY IMPROVEMENTS ===== */
/* Eyebrow label styling */
.eyebrow {
  display: inline-block;
  background: rgba(37,99,255,0.1);
  color: var(--primary-violet);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}
html[data-theme="dark"] .eyebrow {
  background: rgba(124,58,237,0.18);
  color: #A78BFA;
}
/* Hero eyebrow stays gold */
.hero .eyebrow {
  background: rgba(245,183,0,0.15);
  color: var(--gold);
}

/* Smooth section alternation */
.section-padding { transition: background 0.25s ease; }

/* Focus outline visible in both modes */
html[data-theme="dark"] :focus-visible {
  outline-color: var(--teal);
}

/* Hamburger dark mode visibility */
html[data-theme="dark"] .hamburger span {
  background: #F8FAFC;
}

/* Sitemap/footer in dark: gold headings already set but ensure */
html[data-theme="dark"] .site-footer h3 {
  color: var(--gold);
}

/* ===== PERFORMANCE: Reduce rendering cost of off-screen content ===== */
.section-padding:not(:first-of-type) {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* ===== PERFORMANCE: Preconnect hint class ===== */
/* (preconnect links are in <head> not CSS, but ensure no layout shift on load) */
img {
  max-width: 100%;
  height: auto;
}

/* ===== BRAND FIX: Electric Blue (#2563FF) as primary accent ===== */
/* Primary CTA button uses Electric Blue per brand palette */
/* Gold is reserved for revenue/growth emphasis (3% rule) */

/* Light mode: active/current nav item */
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a:focus {
  color: var(--electric-blue);
}

/* Dark mode: nav links hover → Electric Blue */
html[data-theme="dark"] .nav-links a:hover {
  color: var(--electric-blue);
}

/* Cookie consent border — brand Electric Blue */
#cookieConsent {
  border-left-color: var(--electric-blue);
}

/* Focus outline — Electric Blue in light mode */
html[data-theme="light"] :focus-visible {
  outline-color: var(--electric-blue);
}

/* Brand signature gradient — hero eyebrow accent */
.hero .eyebrow {
  background: rgba(37,99,255,0.15);
  color: var(--gold);
  border: 1px solid rgba(37,99,255,0.3);
}

/* Process step numbers → Electric Blue (was Gold) */
/* Gold reserved for final CTA and revenue sections only */
.process-step::before {
  background: var(--electric-blue);
}

/* Section title accent underline → Electric Blue */
.section-title {
  position: relative;
}

/* Outcome cards: numbers stay Gold (revenue context — correct) */
.outcome-grid .card h3 {
  color: var(--gold);
}

/* btn-primary in dark mode — ensure Electric Blue visible */
html[data-theme="dark"] .btn-primary {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  color: #FFFFFF;
}
html[data-theme="dark"] .btn-primary:hover {
  background: #1a4fd8;
  border-color: #1a4fd8;
  color: #FFFFFF;
}

/* CTA final section KEEPS Gold — growth/revenue section (correct) */
.cta-final {
  background: linear-gradient(135deg, #1a4fd8 0%, var(--electric-blue) 40%, var(--primary-violet) 100%);
}
.cta-final .btn {
  background: var(--pure-white);
  color: var(--electric-blue);
  border-color: var(--pure-white);
}
.cta-final .btn:hover {
  background: #F1F5F9;
  color: var(--electric-blue);
}

/* Brand gradient — for use in section dividers and hero accents */
.brand-gradient {
  background: linear-gradient(90deg, #2563FF, #7C3AED, #00C2B8, #F5B700);
}

/* Testimonial card left border → Electric Blue (trust/technology) */
.testimonial-card {
  border-left-color: var(--electric-blue);
}

/* Problem grid cards left border → Gold still correct (problem = revenue impact) */
.problem-grid .card {
  border-left-color: var(--gold);
}
