/* ============================================
   VIRALMINT DESIGN SYSTEM
   Dark-first aesthetic: deep space backgrounds,
   electric indigo primary, neon green accent.
   ============================================ */

/* ============================================
   RESET & BOX MODEL
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Media never exceed container */
img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

/* Flex/grid children: allow shrinking */
[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

/* Text overflow */
p, li, td, th, dt, dd {
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input, textarea, select {
    max-width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}

section {
    overflow: clip;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Syne: headlines / DM Sans: body
   ============================================ */

/* Headings use Syne */
h1, h2, h3, h4, h5, h6 {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

/* H1 - 38px mobile, 68px desktop */
h1, .h1 {
    font-size: clamp(2.125rem, 5vw + 1rem, 4.25rem);
    font-weight: 800;
}

/* H2 - 32px mobile, 48px desktop */
h2, .h2 {
    font-size: clamp(2rem, 3.5vw + 1rem, 3rem);
    font-weight: 700;
}

/* H3 - 24px mobile, 32px desktop */
h3, .h3 {
    font-size: clamp(1.5rem, 2vw + 0.75rem, 2rem);
    font-weight: 600;
}

/* H4 - 18px mobile, 22px desktop */
h4, .h4 {
    font-size: clamp(1.125rem, 1vw + 0.75rem, 1.375rem);
    font-weight: 600;
}

/* Body */
.body-lg {
    font-size: 17px;
    line-height: 1.6;
}

.body-sm {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* Muted text */
.text-muted {
    color: var(--muted-foreground);
}

/* Accent text (neon green) */
.text-accent {
    color: var(--accent);
}

/* Max-width paragraph constraint */
.prose {
    max-width: 680px;
}

/* ============================================
   LAYOUT - Container, Grid, Sections
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Section vertical spacing */
.section {
    padding-top: 72px;
    padding-bottom: 72px;
}

@media (min-width: 1024px) {
    .section {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

/* Section with charcoal background (pattern break) */
.section-charcoal {
    background-color: var(--charcoal);
}

/* Section near-black */
.section-dark {
    background-color: var(--background);
}

/* Full-bleed section */
.section-full-bleed {
    width: 100%;
}

/* Section header (centered) */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted-foreground);
    font-size: 17px;
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 64px;
    }
}

/* ============================================
   PULSE LINE - Signature neon green EKG stroke
   Used as section dividers and stat underlines
   ============================================ */

.pulse-line-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.pulse-line-svg,
.stat-pulse-svg,
.cta-pulse-svg {
    display: block;
}

/* Animated draw-on stroke */
.pulse-line-svg line,
.stat-pulse-line,
.cta-pulse-line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 0.8s ease-in-out;
}

.pulse-line-svg.is-drawn line,
.stat-pulse-line.is-drawn,
.cta-pulse-line.is-drawn {
    stroke-dashoffset: 0;
}

/* Section pulse line (centered, decorative) */
.section-pulse {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.section-pulse svg line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.8s ease-in-out;
}

.section-pulse.is-drawn svg line {
    stroke-dashoffset: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease;
    white-space: nowrap;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

/* Primary: Electric indigo */
.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    background-image: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
}

.btn-primary:hover {
    background-position: 0 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 80, 240, 0.35);
}

/* Accent: Neon green */
.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
    background-image: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
}

.btn-accent:hover {
    background-position: 0 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.35);
}

/* Ghost: Bordered, transparent bg */
.btn-ghost {
    background-color: transparent;
    color: var(--foreground);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Ghost accent bordered
   FIX: Use primary color (indigo) in light theme for sufficient contrast on light bg.
   In dark theme the neon green works fine on dark backgrounds. */
.btn-ghost-accent {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.dark .btn-ghost-accent {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-ghost-accent:hover {
    background-color: rgba(91, 80, 240, 0.08);
    transform: translateY(-2px);
}

.dark .btn-ghost-accent:hover {
    background-color: rgba(0, 230, 118, 0.08);
}

/* Sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    min-height: 40px;
    border-radius: 6px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
    min-height: 56px;
    border-radius: 8px;
}

/* ============================================
   HEADER - Sticky, frosted glass on scroll
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    background-color: rgba(13, 15, 20, 0.85);
    border-bottom-color: transparent;
}

/* Only apply backdrop-filter on desktop to avoid mobile nav trap */
@media (min-width: 768px) {
    .site-header.is-scrolled {
        -webkit-backdrop-filter: blur(20px) saturate(1.5);
        backdrop-filter: blur(20px) saturate(1.5);
    }
}

/* Light theme frosted */
html:not(.dark) .site-header.is-scrolled {
    background-color: rgba(245, 246, 248, 0.88);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

/* Logo */
.header-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
}

.logo-text {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

/* Desktop Nav */
.header-nav {
    display: none;
    flex: 1;
    max-width: 600px;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.nav-link {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--foreground);
    background-color: var(--muted);
}

.nav-link.active {
    color: var(--accent);
}

/* Nav mobile CTA - hidden on desktop */
.nav-mobile-cta {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Desktop CTA - hidden on mobile */
.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: inline-flex;
    }
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--muted);
    color: var(--foreground);
    transition: background-color 0.2s ease, color 0.2s ease;
    min-height: 40px;
    min-width: 40px;
    cursor: pointer;
}

.theme-toggle:hover {
    background-color: var(--border);
}

/* Show sun in dark mode, moon in light mode */
.dark .icon-moon {
    display: none;
}

.dark .icon-sun {
    display: block;
}

html:not(.dark) .icon-sun {
    display: none;
}

html:not(.dark) .icon-moon {
    display: block;
}

/* ============================================
   MOBILE MENU TOGGLE (Hamburger)
   ============================================ */

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--muted);
    z-index: 1001;
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: var(--border);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--foreground);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* X state when menu open */
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ============================================
   MOBILE NAV DRAWER
   ============================================ */

/* Mobile nav: hidden by default */
@media (max-width: 767px) {
    .header-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--background);
        z-index: 999;
        padding: 32px 24px 48px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        /* Ensure backdrop-filter is NOT on mobile nav to avoid containing block trap */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header-nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex: 1;
    }

    .nav-link {
        font-size: 24px;
        font-weight: 600;
        font-family: "Syne", sans-serif;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        min-height: 60px;
        color: var(--foreground);
        border-radius: 0;
        background: none;
    }

    .nav-link:hover {
        color: var(--accent);
        background: none;
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 32px;
    }

    .nav-mobile-cta .btn {
        width: 100%;
        font-size: 17px;
    }
}

/* ============================================
   HERO TRUST ROW - Quick proof beneath CTAs
   ============================================ */

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 28px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

/* Hero chart label */
.hero-chart-label {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.04em;
}

/* Hero floating badges */
.hero-badge {
    position: absolute;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.hero-badge-1 {
    top: -16px;
    right: -8px;
}

.hero-badge-2 {
    bottom: -16px;
    left: 16px;
    animation: heroFloat 3s 1s ease-in-out infinite;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* Web3 callout header */
.web3-callout-header {
    margin-bottom: 4px;
}

/* Form social proof */
.form-social-proof {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 72px;
    position: relative;
    background-color: var(--background);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }

    .hero-copy {
        flex: 1 1 55%;
    }

    .hero-visual {
        flex: 1 1 45%;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 100px;
    background-color: rgba(0, 230, 118, 0.06);
}

/* FIX: Light theme hero eyebrow - use primary color for sufficient contrast */
html:not(.dark) .hero-eyebrow {
    color: #1a7a45;
    border-color: rgba(0, 180, 90, 0.3);
    background-color: rgba(0, 180, 90, 0.06);
}

.hero-headline {
    margin-bottom: 8px;
    color: var(--foreground);
}

/* Neon green pulse line beneath hero headline */
.hero-pulse {
    margin-bottom: 24px;
    margin-top: 4px;
}

.hero-pulse svg line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLine 0.8s 0.3s ease-in-out forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.hero-subheadline {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted-foreground);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 480px) {
    .hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Hero Visual - abstract growth animation */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    animation: heroFloat 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 80, 240, 0.08) 0%, rgba(0, 230, 118, 0.05) 100%);
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Dashboard metrics inside hero card */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.hero-metric {
    background-color: var(--muted);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.hero-metric-value {
    font-family: "Syne", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

/* FIX: Light theme hero metric values - use dark green for contrast on light muted bg */
html:not(.dark) .hero-metric-value {
    color: #1a7a45;
}

.hero-metric-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
    display: block;
}

/* Mini EKG chart in hero card */
.hero-chart {
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.hero-chart-svg {
    width: 100%;
    height: 100%;
}

.hero-chart-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawEKG 2s 0.5s ease-out forwards;
}

@keyframes drawEKG {
    to { stroke-dashoffset: 0; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Service Card */
.service-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    border-left: 3px solid var(--accent);
    transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 0;
}

.service-card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 230, 118, 0.15);
}

.service-card-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(91, 80, 240, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 20px;
}

.service-card h4 {
    margin-bottom: 10px;
    color: var(--foreground);
}

.service-card p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ============================================
   STAT BLOCKS - Numbers That Speak
   ============================================ */

.stats-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .stats-row {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
        gap: 24px;
    }
}

.stat-block {
    background-color: var(--card);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.stat-number-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.stat-number {
    font-family: "Syne", sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--foreground);
    display: block;
    line-height: 1;
}

.stat-underline {
    display: block;
    margin-top: 4px;
    height: 3px;
    overflow: hidden;
}

.stat-pulse-svg {
    width: 100%;
    display: block;
}

.stat-label {
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--muted-foreground);
    display: block;
}

/* ============================================
   CASE STUDY CARDS
   ============================================ */

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.case-study-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    border-left: 3px solid var(--accent);
    transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 0;
}

@media (min-width: 1024px) {
    .case-study-card {
        padding: 40px;
    }
}

.case-study-card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 230, 118, 0.15);
}

.card-vertical-tag {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-foreground);
    background-color: var(--muted);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.card-headline {
    font-size: clamp(1.375rem, 2vw, 2rem);
    margin-bottom: 24px;
    color: var(--foreground);
}

.card-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.card-row-label {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.card-row-text {
    font-size: 15px;
    color: var(--card-foreground);
    line-height: 1.5;
}

/* Results row */
.card-row-results .card-results-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.card-before-after {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.result-before {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.result-after {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: var(--foreground);
    font-weight: 600;
}

/* FIX: result-delta - neon green fails contrast on white card bg in light theme.
   Use dark green in light theme, keep neon green in dark theme. */
.result-delta {
    font-family: "Syne", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

html:not(.dark) .result-delta {
    color: #1a7a45;
}

.result-detail {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .testimonials-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .testimonials-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.testimonial-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    min-width: 0;
}

.testimonial-quote-mark {
    font-family: "Syne", sans-serif;
    font-size: 48px;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
    opacity: 0.7;
}

/* FIX: light theme quote mark - use dark green for contrast */
html:not(.dark) .testimonial-quote-mark {
    color: #1a7a45;
}

.testimonial-text {
    font-family: "Syne", sans-serif;
    font-size: 19px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    color: var(--foreground);
    margin-bottom: 20px;
}

.testimonial-author {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

/* Testimonial result tag - accent colored proof line beneath author.
   FIX: Use dark green in light theme for 4.5:1 contrast on white card bg (#ffffff).
   Keep neon green in dark theme (sufficient contrast on dark card bg). */
.testimonial-result-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 8px;
}

html:not(.dark) .testimonial-result-tag {
    color: #1a7a45;
}

/* Horizontal pull-quote for homepage social proof */
.testimonials-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .testimonials-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.testimonial-pull-quote {
    padding: 24px;
}

.testimonial-pull-quote .testimonial-text {
    font-size: clamp(1rem, 1.5vw, 1.375rem);
}

/* ============================================
   PROCESS STEPS - Timeline
   ============================================ */

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

@media (min-width: 1024px) {
    .process-steps {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
    }
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-left: 64px;
    padding-bottom: 40px;
    min-width: 0;
}

/* Vertical connector on mobile */
.process-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        var(--accent) 0px,
        var(--accent) 8px,
        transparent 8px,
        transparent 16px
    );
}

.process-step:last-child::before {
    display: none;
}

@media (min-width: 1024px) {
    .process-step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 0;
    }

    /* Horizontal dashed connector on desktop */
    .process-step::before {
        left: calc(50% + 28px);
        right: calc(-50% + 28px);
        top: 20px;
        bottom: auto;
        width: auto;
        height: 2px;
        background: repeating-linear-gradient(
            to right,
            var(--accent) 0px,
            var(--accent) 8px,
            transparent 8px,
            transparent 16px
        );
    }
}

.process-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Syne", sans-serif;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

@media (min-width: 1024px) {
    .process-node {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 16px;
    }
}

.process-content {
    padding-top: 4px;
}

@media (min-width: 1024px) {
    .process-content {
        padding-top: 0;
    }
}

.process-step h4 {
    margin-bottom: 6px;
    color: var(--foreground);
}

.process-step p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.5;
    max-width: 200px;
}

@media (min-width: 1024px) {
    .process-step p {
        margin: 0 auto;
    }
}

/* Compact process recap (FAQ page) */
.process-recap .process-node {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.process-recap .process-step h4 {
    font-size: 17px;
}

/* ============================================
   DIFFERENTIATORS LIST
   ============================================ */

.differentiators-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1024px) {
    .differentiators-layout {
        grid-template-columns: 1fr 1.5fr;
        gap: 80px;
    }
}

/* FIX: differentiators-pull-quote - neon green fails on light bg charcoal (#e8eaef).
   Use dark green in light theme (3:1+ contrast for large text).
   Keep neon green in dark theme. */
.differentiators-pull-quote {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1.3;
}

html:not(.dark) .differentiators-pull-quote {
    color: #1a7a45;
}

.differentiators-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.differentiator-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.differentiator-row:first-child {
    border-top: 1px solid var(--border);
}

.differentiator-check {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 230, 118, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.differentiator-check svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
}

.differentiator-content h4 {
    margin-bottom: 4px;
    font-size: 18px;
}

.differentiator-content p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */

.industries-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .industries-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .industries-tiles {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.industry-tile {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: default;
}

.industry-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Web3 tile has accent border */
.industry-tile.web3 {
    border-color: rgba(0, 230, 118, 0.4);
}

.industry-tile.web3:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.15);
}

.industry-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    color: var(--primary);
}

.industry-tile h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--foreground);
}

.industry-tile p {
    font-size: 12px;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.web3-callout {
    background-color: var(--card);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.web3-callout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        60deg,
        transparent,
        transparent 12px,
        rgba(0, 230, 118, 0.02) 12px,
        rgba(0, 230, 118, 0.02) 13px
    );
    pointer-events: none;
}

.web3-callout p {
    max-width: 680px;
    color: var(--muted-foreground);
    font-size: 16px;
    line-height: 1.6;
    position: relative;
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pricing-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    min-width: 0;
}

.pricing-card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Featured pricing card */
.pricing-card.featured {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 4px 24px rgba(91, 80, 240, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background-color: var(--accent);
    color: var(--accent-foreground);
    font-family: "Syne", sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.04em;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--foreground);
}

.pricing-card-desc {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 20px;
    line-height: 1.5;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--card-foreground);
}

.pricing-feature::before {
    content: '';
    width: 16px;
    height: 16px;
    background-color: rgba(0, 230, 118, 0.12);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%2300E676' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.pricing-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.pricing-cta-link:hover {
    color: var(--accent);
    gap: 10px;
}

/* ============================================
   ACCENT LINK - Safe contrast on light/dark bg
   FIX: accent-colored inline links need contrast-safe colors
   ============================================ */
.accent-link-safe {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.dark .accent-link-safe {
    color: var(--accent);
}

/* ============================================
   LEAD FORM
   ============================================ */

.lead-form-section {
    background-color: var(--charcoal);
}

.lead-form-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1024px) {
    .lead-form-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 80px;
    }
}

.lead-form-copy h2 {
    margin-bottom: 16px;
}

.lead-form-copy p {
    color: var(--muted-foreground);
    margin-bottom: 32px;
    font-size: 16px;
    max-width: 480px;
}

.trust-signals {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

.trust-signal-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Form itself */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-row.two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 16px;
    height: 52px;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: var(--foreground);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.form-textarea {
    height: auto;
    padding: 16px;
    resize: vertical;
    min-height: 120px;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 44px;
    cursor: pointer;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91, 80, 240, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

/* Checkbox */
.form-checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--input);
    flex-shrink: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-checkbox:checked {
    background-color: var(--accent);
    border-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5l3 3 6-6' stroke='%230D0F14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.form-checkbox-label {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

/* Form success state */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 24px;
    background-color: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 16px;
}

.form-success.visible {
    display: block;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-accordion {
    width: 100%;
}

.faq-category-label {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    padding: 32px 0 12px;
    margin-top: 8px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    min-height: 48px;
    transition: color 0.2s ease;
}

.faq-question span:first-child {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    color: var(--foreground);
    transition: color 0.2s ease;
    line-height: 1.3;
}

.faq-question:hover span:first-child,
.faq-item.is-open .faq-question span:first-child {
    color: var(--accent);
}

/* FIX: light theme FAQ open/hover - use dark green for sufficient contrast */
html:not(.dark) .faq-question:hover span:first-child,
html:not(.dark) .faq-item.is-open .faq-question span:first-child {
    color: #1a7a45;
}

/* Row hover state */
.faq-item:hover {
    background-color: var(--muted);
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-item.is-open .faq-answer {
    max-height: 800px;
}

.faq-answer-inner {
    padding-bottom: 24px;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
    max-width: 680px;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-answer-inner strong {
    color: var(--foreground);
}

/* ============================================
   CTA BAND
   ============================================ */

.cta-band {
    background-color: var(--primary);
    padding: 48px 0;
    text-align: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .cta-band {
        padding: 80px 0;
    }
}

.cta-band-pulse {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-pulse-svg {
    display: block;
}

.cta-pulse-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.8s ease-in-out;
}

.cta-pulse-line.is-drawn {
    stroke-dashoffset: 0;
}

.cta-band-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-band-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #FFFFFF;
    max-width: 800px;
    text-align: center;
}

.cta-band-subtext {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    text-align: center;
    line-height: 1.6;
}

.cta-band-btn {
    margin-top: 8px;
    max-width: 320px;
    width: 100%;
}

@media (max-width: 767px) {
    .cta-band-btn {
        max-width: calc(100vw - 48px);
    }
}

/* FIX: cta-band-microcopy contrast - rgba(255,255,255,0.6) on #4338CA = 3.86:1 (fails 4.5:1).
   Raised to rgba(255,255,255,0.9) which achieves ~5.5:1 contrast ratio. */
.cta-band-microcopy {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* ============================================
   INDUSTRY FILTER TABS
   ============================================ */

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    flex-shrink: 0;
    background-color: var(--muted);
    color: var(--muted-foreground);
    border: 1px solid transparent;
    border-radius: 100px;
    padding: 8px 18px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.filter-tab:hover {
    color: var(--foreground);
    border-color: var(--primary);
}

.filter-tab.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

/* ============================================
   FEATURED CASE STUDY - Expanded narrative
   ============================================ */

.featured-case-study {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    border-left: 3px solid var(--accent);
}

@media (min-width: 1024px) {
    .featured-case-study {
        padding: 48px;
    }
}

.featured-case-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .featured-case-inner {
        grid-template-columns: 3fr 2fr;
        gap: 60px;
    }
}

.featured-case-narrative h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    margin-bottom: 32px;
}

.featured-case-subsection {
    margin-bottom: 28px;
}

.featured-case-subsection h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 8px;
}

.featured-case-subsection p {
    font-size: 16px;
    color: var(--card-foreground);
    line-height: 1.6;
}

.featured-metrics-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-metric-pair {
    background-color: var(--muted);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-metric-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.featured-metric-values {
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-metric-before {
    font-family: "Syne", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.featured-metric-arrow {
    color: var(--accent);
    flex-shrink: 0;
}

.featured-metric-after {
    font-family: "Syne", sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

html:not(.dark) .featured-metric-after {
    color: #1a7a45;
}

.featured-case-quote {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.featured-case-quote blockquote {
    font-family: "Syne", sans-serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 12px;
    line-height: 1.4;
}

.featured-case-quote cite {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    color: var(--muted-foreground);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 680px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 24px;
    z-index: 9000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .cookie-banner {
        bottom: 32px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(120%);
    }

    .cookie-banner.is-visible {
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 480px) {
    .cookie-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }
}

.cookie-text {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}

.cookie-policy-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-family: inherit;
}

.cookie-policy-btn:hover {
    color: var(--primary);
    opacity: 0.8;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ============================================
   LEGAL MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px);
    transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.modal-title {
    font-family: "Syne", sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: background-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background-color: var(--border);
    color: var(--foreground);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted-foreground);
    flex: 1;
}

.modal-body h3 {
    font-size: 18px;
    color: var(--foreground);
    margin-bottom: 8px;
    margin-top: 24px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 12px;
}

.modal-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: var(--background);
    padding-top: 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1.2fr;
        gap: 48px;
    }
}

.footer-brand .footer-logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 16px;
    color: var(--muted-foreground);
    margin-bottom: 20px;
    max-width: 260px;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: background-color 0.2s ease, color 0.2s ease;
    min-height: 40px;
    min-width: 40px;
}

.social-link:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}

.footer-nav-title {
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foreground);
    margin-bottom: 16px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 15px;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--foreground);
}

.footer-email {
    display: block;
    font-size: 15px;
    color: var(--muted-foreground);
    margin-bottom: 8px;
    transition: color 0.2s ease;
    min-height: 40px;
    line-height: 40px;
}

.footer-email:hover {
    color: var(--accent);
}

.footer-cta-link {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    transition: color 0.2s ease;
    min-height: 40px;
    line-height: 40px;
}

.footer-cta-link:hover {
    color: var(--accent);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-legal-link,
.footer-legal-btn {
    font-size: 13px;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    text-align: left;
    min-height: 28px;
    display: block;
}

.footer-legal-link:hover,
.footer-legal-btn:hover {
    color: var(--foreground);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    padding-bottom: 32px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   SCROLL ANIMATIONS
   .animate-on-scroll elements start hidden,
   JS adds .is-visible to reveal them
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for siblings */
.animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.animate-on-scroll:nth-child(5) { transition-delay: 400ms; }
.animate-on-scroll:nth-child(6) { transition-delay: 500ms; }

/* ============================================
   SUMMARY / TL;DR BOX - Engagement CRO pattern
   ============================================ */

.tldr-box {
    background-color: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0 0 32px;
}

.tldr-box strong {
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.tldr-box p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CALLOUT / HIGHLIGHT BOX - CRO pattern
   ============================================ */

.callout-box {
    background-color: rgba(91, 80, 240, 0.08);
    border: 1px solid rgba(91, 80, 240, 0.25);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.callout-box.callout-accent {
    background-color: rgba(0, 230, 118, 0.06);
    border-color: rgba(0, 230, 118, 0.25);
    border-left-color: var(--accent);
}

.callout-box p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

.callout-box strong {
    color: var(--foreground);
}

/* ============================================
   COMPARISON TABLE - CRO pattern
   ============================================ */

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin: 24px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 480px;
}

.comparison-table thead th {
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid var(--border);
    background-color: var(--muted);
}

.comparison-table thead th.col-highlight {
    background-color: rgba(91, 80, 240, 0.15);
    color: var(--primary);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody td {
    padding: 14px 20px;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.comparison-table tbody td.col-highlight {
    background-color: rgba(91, 80, 240, 0.06);
    color: var(--foreground);
    font-weight: 500;
}

/* ============================================
   SOCIAL PROOF DISPLAY - CRO pattern
   ============================================ */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    filter: grayscale(1);
}

.trust-badge {
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted-foreground);
    letter-spacing: 0.04em;
}

/* ============================================
   PULL QUOTE - CRO pattern
   ============================================ */

.pull-quote {
    border-left: 3px solid var(--accent);
    padding: 16px 24px;
    margin: 32px 0;
}

.pull-quote blockquote {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-style: italic;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.4;
    margin-bottom: 10px;
}

.pull-quote cite {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    color: var(--muted-foreground);
}

/* ============================================
   PAGE HERO (inner pages - shorter)
   ============================================ */

.page-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 72px;
    background-color: var(--background);
    position: relative;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91, 80, 240, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 8px;
}

.page-hero-pulse {
    display: flex;
    justify-content: center;
    margin: 8px 0 24px;
}

.page-hero-pulse svg line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 0.8s 0.3s ease-in-out forwards;
}

.page-hero-sub {
    font-size: 18px;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */

html:not(.dark) .hero,
html:not(.dark) .page-hero {
    background-color: var(--background);
}

html:not(.dark) .section-charcoal {
    background-color: #E8EAEF;
}

html:not(.dark) .lead-form-section {
    background-color: #E8EAEF;
}

html:not(.dark) .hero-visual-card {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

html:not(.dark) .service-card:hover,
html:not(.dark) .case-study-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Grid gap with text */
.gap-section-title {
    margin-bottom: 48px;
}

/* Background accent for hero and CTA sections */
.bg-accent-gradient {
    background: linear-gradient(135deg, rgba(91, 80, 240, 0.15) 0%, rgba(0, 230, 118, 0.08) 100%);
}

/* Inline badge */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    background-color: var(--muted);
    color: var(--muted-foreground);
}

.badge-accent {
    background-color: rgba(0, 230, 118, 0.12);
    color: var(--accent);
}

/* FIX: light theme badge-accent - use dark green for contrast */
html:not(.dark) .badge-accent {
    color: #1a7a45;
    background-color: rgba(0, 150, 80, 0.1);
}

.badge-primary {
    background-color: rgba(91, 80, 240, 0.15);
    color: var(--primary);
}

/* Geometric grid texture */
.grid-texture {
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    background-color: var(--background);
}

.grid-texture-subtle {
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ============================================
   FAQ PAGE - Hero stats, sidebar, clusters
   ============================================ */

/* FAQ Hero */
.faq-hero {
    min-height: 44vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.faq-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 32px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 28px;
}

.faq-hero-stat strong {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--foreground);
    line-height: 1;
}

.faq-hero-stat span {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-foreground);
}

.faq-hero-stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border);
    flex-shrink: 0;
}

/* FAQ Two-column layout */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1024px) {
    .faq-layout {
        grid-template-columns: 220px 1fr;
        gap: 64px;
    }
}

/* FAQ Sidebar (sticky on desktop) */
.faq-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.faq-sidebar-label {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}

.faq-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.faq-sidebar-link {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    display: block;
    min-height: 40px;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.faq-sidebar-link:hover {
    color: var(--foreground);
    background-color: var(--muted);
}

.faq-sidebar-link.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background-color: rgba(0, 230, 118, 0.06);
}

html:not(.dark) .faq-sidebar-link.active {
    color: #1a7a45;
    border-left-color: #1a7a45;
    background-color: rgba(0, 150, 80, 0.06);
}

.faq-sidebar-cta {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.faq-sidebar-cta p {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* FAQ Main content area */
.faq-main-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}

.faq-main-intro {
    font-size: 16px;
    color: var(--muted-foreground);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 48px;
}

/* FAQ cluster - a visual group of related questions */
.faq-cluster {
    margin-bottom: 8px;
}

.faq-cluster .faq-category-label {
    padding: 24px 0 12px;
    margin-top: 0;
}

/* More link at bottom of FAQ content */
.faq-more-link {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.faq-more-link p {
    font-size: 16px;
    color: var(--muted-foreground);
    max-width: 540px;
    line-height: 1.6;
}

/* FAQ process section - lighter treatment than homepage */
.faq-process-section .process-step h3 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.faq-process-section .process-step p {
    font-size: 14px;
}

.faq-process-detail-link {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s ease;
}

html:not(.dark) .faq-process-detail-link {
    color: var(--primary);
}

.dark .faq-process-detail-link {
    color: var(--accent);
}

.faq-process-detail-link:hover {
    opacity: 0.8;
}

/* FAQ comparison section spacing */
.faq-comparison-section .callout-box {
    margin-top: 32px;
    margin-bottom: 0;
}

/* ============================================
   CASE STUDIES PAGE - Hero, bar chart, filter
   ============================================ */

/* CS Hero - two-column layout */
.cs-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: left;
}

.cs-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    width: 100%;
    text-align: left;
}

@media (min-width: 768px) {
    .cs-hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }

    .cs-hero-copy {
        flex: 1 1 55%;
    }

    .cs-hero-visual {
        flex: 1 1 45%;
    }
}

.cs-hero-sub {
    text-align: left;
    margin-left: 0;
}

.cs-hero-scroll-btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

/* CS Hero Chart Card */
.cs-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-hero-chart-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    width: 100%;
    max-width: 400px;
    animation: heroFloat 4s ease-in-out infinite;
}

.cs-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cs-chart-title {
    font-family: "Syne", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--foreground);
}

/* Animated bar chart */
.cs-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 140px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.cs-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: flex-end;
}

.cs-bar {
    width: 100%;
    max-width: 28px;
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
}

.cs-bar-before {
    height: 0;
    background-color: var(--muted);
    animation: growBar 1s 0.3s ease-out forwards;
}

.cs-bar-after {
    height: 0;
    background-color: var(--accent);
    animation: growBar 1s 0.6s ease-out forwards;
    opacity: 0.9;
}

/* The bars grow to their CSS custom property --bar-h */
@keyframes growBar {
    from { height: 0; }
    to { height: var(--bar-h, 60%); }
}

.cs-bar-label {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 4px;
}

/* Chart legend */
.cs-chart-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cs-legend-item {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cs-legend-item::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

.cs-legend-before::before {
    background-color: var(--muted);
}

.cs-legend-after::before {
    background-color: var(--accent);
}

/* Stats bar - tighter padding vs homepage */
.cs-stats-bar {
    padding-top: 0;
}

.cs-stats-container {
    padding-top: 48px;
    padding-bottom: 56px;
}

.cs-stats-header {
    margin-bottom: 40px;
}

.cs-stats-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

/* Filter wrap - spacer above grid */
.cs-filter-wrap {
    margin-bottom: 32px;
}

/* Grid spacing for case studies page */
.cs-grid {
    min-height: 200px;
}

/* Light theme chart card */
html:not(.dark) .cs-hero-chart-card {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

html:not(.dark) .cs-bar-after {
    background-color: #1a7a45;
}

/* ============================================
   RESPONSIVE DISPLAY UTILITIES
   ============================================ */

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}