/* ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
   APEX DIGITAL ΓÇö Premium Light Mode Theme
   Logo: Black ink on white ΓåÆ site is white/off-white
   Primary accent: Gold  (#C8A84B)
   Data accent: Electric Blue (#0066FF)
ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ */

:root {
    /* Surfaces */
    --bg-base: #fafaf8;
    /* warm near-white canvas */
    --bg-section-alt: #f3f2ef;
    /* subtle section separation */
    --surface-card: #ffffff;
    /* pure white cards */
    --surface-dark: #111111;
    /* inverted deep block */

    /* Typography */
    --text-primary: #111111;
    /* near-black for headings */
    --text-body: #3a3a3a;
    /* body / readable dark */
    --text-muted: #888884;
    /* supporting / labels */
    --text-inverted: #ffffff;
    /* on dark surfaces */

    /* Accents */
    --gold: #C8A84B;
    /* primary brand accent */
    --gold-light: #f0e6c8;
    /* tints / backgrounds */
    --gold-border: rgba(200, 168, 75, 0.25);
    --blue: #0066FF;
    /* data / metric accent */
    --blue-light: #e8f0ff;
    /* tints / backgrounds */
    --blue-border: rgba(0, 102, 255, 0.2);

    /* Borders */
    --border-light: rgba(0, 0, 0, 0.07);
    --border-medium: rgba(0, 0, 0, 0.12);

    /* Layout */
    --container-width: 1200px;
    --radius-card: 20px;
    --radius-sm: 10px;

    /* Motion */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --t-fast: 0.18s var(--ease-out);
    --t-med: 0.32s var(--ease-out);
}

/* ΓöÇΓöÇΓöÇ Reset ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-body);
    font-family: 'Outfit', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ΓöÇΓöÇΓöÇ Header ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ */
.header {
    background-color: var(--surface-card);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 1px 0 var(--border-light);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo ΓÇö large, prominent */
.logo {
    height: 96px;
    width: auto;
    object-fit: contain;
}

/* ─── Navigation ─────────────────────────── */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content-left {
    flex: 1;
    max-width: 560px;
    flex-shrink: 0;
    margin-left: -0.5rem;
}

.hero-content-right {
    flex: 0 0 auto;
    width: 500px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: -2.5rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    transition: color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.nav-link.nav-cta {
    background-color: var(--gold);
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 1.25rem;
    border-radius: 99px;
    margin-left: 0.5rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(200, 168, 75, 0.25);
    transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}

.nav-link.nav-cta:hover {
    background-color: #b8982f;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200, 168, 75, 0.35);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background var(--t-fast);
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── Hero ─────────────────────────────────── */
.hero {
    padding: 7rem 0 5rem;
    background-color: var(--bg-base);
    background-image: radial-gradient(circle at 5% 60%, rgba(200, 168, 75, 0.06) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-light);
}

.badge {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    background-color: var(--gold-light);
    border: 1px solid var(--gold-border);
    border-radius: 99px;
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.accent-text {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 2.5rem;
}

/* ─── Hero Proof Strip ─────────────────── */
.hero-proof-strip {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.proof-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.02em;
    line-height: 1;
}

.proof-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.3;
    max-width: 160px;
}

.proof-divider {
    width: 1px;
    height: 36px;
    background: var(--border-medium);
    flex-shrink: 0;
}

/* ─── Section scaffolding ────────────────── */
.section-header-left {
    padding-left: 1.5rem;
    border-left: 3px solid var(--gold);
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 0.4rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ─── ROI Calculator ──────────────────────── */
.calculator-section {
    padding: 5rem 0;
    background-color: var(--bg-base);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: stretch;
}

.calc-card {
    background-color: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.inputs-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    gap: 0.5rem;
}

.editable-val-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.slider-val {
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 700;
    transition: opacity var(--t-fast);
    white-space: nowrap;
}

.edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: color var(--t-fast), background var(--t-fast);
    opacity: 0;
    pointer-events: none;
}

.input-group:hover .edit-btn,
.editable-val-wrap.editing .edit-btn {
    opacity: 1;
    pointer-events: auto;
}

.edit-btn:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.inline-input {
    width: 90px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    border: none;
    border-bottom: 2px solid var(--blue);
    background: transparent;
    text-align: right;
    padding: 0.1rem 0.2rem;
    outline: none;
    font-family: inherit;
    transition: border-color var(--t-fast);
}

.inline-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.inline-input:focus {
    border-color: var(--gold);
}

.hidden {
    display: none !important;
}

.slider-track-wrap {
    position: relative;
    padding: 0.35rem 0;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.1);
    outline: none;
    background: linear-gradient(to right,
            var(--blue) 0%,
            var(--blue) var(--fill, 4%),
            rgba(0, 0, 0, 0.1) var(--fill, 4%),
            rgba(0, 0, 0, 0.1) 100%);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2.5px solid var(--blue);
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 102, 255, 0.25);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.35);
}

.slider::-webkit-slider-thumb:active {
    transform: scale(0.97);
    border-color: var(--gold);
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.scenario-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.scenario-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0;
}

.clear-industry-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: 1px solid var(--border-medium);
    border-radius: 99px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    font-family: inherit;
    transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
}

.clear-industry-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.source-note {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
    animation: fadeUp 0.3s var(--ease-out);
}

.source-note svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Industry selector grid — 3 columns with 9 tiles */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.industry-btn {
    background-color: var(--bg-base);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.65rem;
    color: var(--text-body);
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: var(--t-med);
    min-height: 76px;
    justify-content: center;
    font-family: inherit;
}

.industry-btn:active {
    transform: scale(0.97);
}

.industry-btn.active {
    background-color: var(--blue-light);
    border-color: var(--blue);
    color: var(--blue);
}

.industry-btn.active .ind-lift {
    color: var(--blue);
    opacity: 0.75;
}

.ind-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.04);
    transition: background var(--t-fast);
}

.industry-btn.active .ind-icon {
    background: rgba(0, 102, 255, 0.12);
}

.ind-icon svg {
    display: block;
}

.ind-name {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.ind-lift {
    font-size: 0.64rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Outputs card */
.outputs-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    border-left: 3px solid var(--gold);
    background: linear-gradient(160deg, #fff 0%, #fdfcf7 100%);
    position: relative;
    overflow: hidden;
}

.no-industry-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    animation: fadeUp 0.35s var(--ease-out);
}

.no-industry-prompt svg {
    opacity: 0.25;
}

.no-industry-prompt p {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 220px;
}

.outputs-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeUp 0.35s var(--ease-out);
}

.outputs-inner.dimmed {
    opacity: 0.3;
    pointer-events: none;
    filter: blur(1px);
    transition: opacity 0.3s, filter 0.3s;
}

.output-metric {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.metric-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
    font-weight: 600;
}

.metric-value {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.text-gold {
    color: var(--gold) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.output-divider {
    height: 1px;
    background-color: var(--border-light);
}

.annual-lift-badge {
    background-color: var(--gold-light);
    border: 1px solid var(--gold-border);
    color: var(--text-primary);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

.annual-lift-badge strong {
    color: var(--gold);
}

/* ─── Case Studies ────────────────────────── */
.case-studies {
    padding: 5rem 0;
    background-color: var(--bg-section-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.case-studies-intl {
    background-color: var(--bg-base);
    border-top: none;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.case-card {
    background-color: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--t-med), transform var(--t-med);
}

.case-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.case-badge {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
}

.case-title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.case-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: -0.75rem;
    line-height: 1.4;
}

/* Case source attribution */
.case-source {
    font-size: 0.68rem;
    color: var(--text-muted);
    opacity: 0.7;
    line-height: 1.4;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    font-style: italic;
}

/* Toggle */
.toggle-container {
    background-color: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
}

.toggle-track {
    display: flex;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 7px;
    padding: 0.2rem;
    margin-bottom: 1rem;
}

.toggle-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.65rem;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: var(--t-fast);
    min-height: 48px;
    font-family: inherit;
}

.toggle-btn:active {
    transform: scale(0.97);
}

.toggle-btn.active {
    background-color: var(--surface-card);
    color: var(--text-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.toggle-content {
    display: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.toggle-content strong {
    color: var(--text-primary);
}

.toggle-content.active {
    display: block;
    animation: fadeUp 0.35s var(--ease-out);
}

/* SVG Charts */
.chart-wrapper {
    background-color: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
}

.chart {
    width: 100%;
    height: 80px;
    display: block;
    overflow: visible;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chart-label-right {
    display: none;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.chart-label-right.active {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
}

.chart-line {
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.chart-line.active {
    opacity: 1;
}

.challenge-line {
    stroke: rgba(0, 0, 0, 0.2);
}

.solution-line {
    stroke-dashoffset: 100;
}

.solution-line.active {
    animation: draw 1.6s forwards var(--ease-out);
}

.endpoint {
    opacity: 0;
    transition: opacity 0.4s 0.2s var(--ease-out);
}

.endpoint.active {
    opacity: 1;
}

.challenge-endpoint {
    fill: rgba(0, 0, 0, 0.2);
}

.solution-endpoint {
    fill: var(--gold);
}

/* Metrics row */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

.metrics-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.metric-num {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.metric-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* ─── Conviction Section ────────────────── */
.conviction-section {
    padding: 5rem 0;
    background-color: var(--surface-dark);
    color: var(--text-inverted);
}

.conviction-section .section-header-left {
    border-left-color: var(--gold);
}

.section-badge-logo {
    margin-bottom: 1rem;
    display: inline-flex;
}

.badge-logo-img {
    height: 32px;
    width: auto;
    opacity: 0.9;
}

.conviction-section .section-title {
    color: var(--text-inverted);
}

.conviction-section .section-desc {
    color: rgba(255, 255, 255, 0.5);
}

.conviction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.conviction-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-card);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: background var(--t-med), border-color var(--t-med);
}

.conviction-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(200, 168, 75, 0.25);
}

.conviction-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(200, 168, 75, 0.12);
    color: var(--gold);
    flex-shrink: 0;
}

.conviction-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-inverted);
    line-height: 1.25;
}

.conviction-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
}

/* ─── Macro Stats — Dense Grid ────────── */
.macro-stats {
    padding: 5rem 0;
    background-color: var(--bg-base);
}

.stats-dense-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--surface-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--t-med);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.stat-card-featured {
    border-left: 3px solid var(--gold);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.stat-detail {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.stat-source {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 0.75rem;
    font-style: italic;
    border-top: 1px solid var(--border-light);
    padding-top: 0.65rem;
}

/* ─── CTA Section ────────────────────────── */
.cta-section {
    padding: 5rem 0;
    background-color: var(--bg-section-alt);
    border-top: 1px solid var(--border-light);
}

.cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background-color: #25D366;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 99px;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    min-height: 48px;
}

.cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    background-color: #22c35e;
}

.cta-btn:active {
    transform: scale(0.98);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* ─── Inverted dark footer ──────────────── */
.footer {
    background-color: var(--surface-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 0;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 0.85rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-mark {
    height: 48px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--t-fast), transform var(--t-fast);
}

.footer-logo-mark:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ─── Animations ────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ─── Hover only on pointer devices ────── */
@media (hover: hover) and (pointer: fine) {
    .case-card:hover {
        transform: translateY(-2px);
    }

    .industry-btn:hover:not(.active) {
        border-color: var(--blue);
        color: var(--blue);
    }

    .industry-btn:hover:not(.active) .ind-icon {
        background: var(--blue-light);
    }
}

/* ─── Responsive ────────────────────────── */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content-right {
        width: 100%;
        max-width: 420px;
        margin-top: 1rem;
        margin-right: 0;
        justify-content: center;
    }
    
    .hero-visual-container {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 420px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .stats-dense-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .conviction-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .hero-proof-strip {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .metrics-grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    /* Nav collapses to hamburger */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-card);
        border-top: 1px solid var(--border-light);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem 2rem 1.5rem;
        gap: 0.25rem;
        z-index: 99;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        border-radius: 8px;
        width: 100%;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    .logo {
        height: 72px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .conviction-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        height: 60px;
    }

    .hero-proof-strip {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .proof-divider {
        width: 40px;
        height: 1px;
    }

    .calc-card {
        padding: 1.75rem;
    }

    .case-card {
        padding: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-btn {
        font-size: 0.95rem;
        padding: 1rem 2rem;
    }

    .metrics-grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-dense-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .industry-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ─── Hero Abstract Visual Art ───────────── */
.hero-visual-container {
    position: relative;
    width: 480px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Growth Visualization Overlay Text ──── */
.viz-overlay-text {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.viz-kpi-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: vizBadgeFadeIn 0.8s var(--ease-out) both;
}

.viz-kpi-badge--gold {
    border-left: 3px solid var(--gold);
}

.viz-kpi-badge--blue {
    border-left: 3px solid var(--blue);
}

.viz-kpi-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.viz-kpi-icon--gold {
    background: rgba(200, 168, 75, 0.12);
    color: var(--gold);
}

.viz-kpi-icon--blue {
    background: rgba(0, 102, 255, 0.1);
    color: var(--blue);
}

.viz-kpi-content {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.viz-kpi-value {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.viz-kpi-value--gold {
    color: var(--gold);
}

.viz-kpi-value--blue {
    color: var(--blue);
}

.viz-kpi-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
    white-space: nowrap;
}

/* Positioning for each badge */
.viz-badge-top {
    top: 0%;
    right: -5%;
    animation-delay: 0.3s;
}

.viz-badge-mid {
    top: 38%;
    left: -12%;
    animation-delay: 0.7s;
}

.viz-badge-bottom {
    bottom: 18%;
    right: -8%;
    animation-delay: 1.1s;
}

/* Headline label on visualization */
.viz-headline {
    position: absolute;
    bottom: 0%;
    left: -5%;
    z-index: 2;
    animation: vizBadgeFadeIn 1s var(--ease-out) 1.5s both;
}

.viz-headline-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.viz-headline-text span {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.01em;
    text-transform: none;
}

@keyframes vizBadgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Swaying Node Grid */
.grid-sway {
    animation: gridSway 9s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes gridSway {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(-8px) rotate(1deg) scale(1.02); }
}

/* Node Pulse */
.node-pulse {
    animation: nodePulse 2s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes nodePulse {
    0% { opacity: 0.35; r: 3px; }
    100% { opacity: 0.95; r: 5.5px; }
}

/* Golden Growth Path Dash Animation */
.growth-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawCurve 5s ease-in-out infinite alternate;
}

@keyframes drawCurve {
    0% { stroke-dashoffset: 800; opacity: 0.4; }
    30% { stroke-dashoffset: 800; opacity: 0.4; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Floating shapes */
.shape-float-gold {
    animation: floatGold 14s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes floatGold {
    0% { transform: translate(380px, 110px) rotate(0deg) translateY(0); }
    50% { transform: translate(382px, 102px) rotate(180deg) translateY(-5px); }
    100% { transform: translate(378px, 115px) rotate(360deg) translateY(5px); }
}

.shape-float-blue {
    animation: floatBlue 12s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes floatBlue {
    0% { transform: translate(140px, 310px) rotate(0deg) translateY(0); }
    50% { transform: translate(136px, 316px) rotate(-180deg) translateY(6px); }
    100% { transform: translate(143px, 305px) rotate(-360deg) translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .grid-sway, .node-pulse, .growth-path, .shape-float-gold, .shape-float-blue {
        animation: none;
    }
}

/* ─── Legal Disclaimer Styling ───────────── */
.calc-disclaimer-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-top: 1.25rem;
    text-align: center;
}

.disclaimer-anchor {
    color: var(--blue);
    text-decoration: underline;
    font-weight: 600;
    transition: color var(--t-fast);
}

.disclaimer-anchor:hover {
    color: #0044cc;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-disclaimer-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-disclaimer-text {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.copyright {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* ΓöÇΓöÇΓöÇ Hero Teaser Card ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ */
.hero-teaser-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-card);
    padding: 2.25rem;
    width: 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.teaser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.85rem;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.teaser-title-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.teaser-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.teaser-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.teaser-slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-primary);
}

.teaser-slider-val {
    color: var(--blue);
    font-weight: 700;
}

.teaser-slider-track-wrap {
    padding: 0.25rem 0;
}

.teaser-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.08);
    outline: none;
    background: linear-gradient(to right,
            var(--blue) 0%,
            var(--blue) var(--fill, 25%),
            rgba(0, 0, 0, 0.08) var(--fill, 25%),
            rgba(0, 0, 0, 0.08) 100%);
}

.teaser-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--blue);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 102, 255, 0.2);
    transition: transform var(--t-fast);
}

.teaser-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.teaser-output-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: rgba(200, 168, 75, 0.05);
    border: 1px dashed rgba(200, 168, 75, 0.2);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
}

.teaser-output-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    font-weight: 600;
}

.teaser-output-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.01em;
    text-shadow: 0 0 20px rgba(200, 168, 75, 0.12);
}

.teaser-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background-color: var(--surface-dark);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: transform var(--t-fast), background var(--t-fast);
    min-height: 48px;
}

.teaser-cta-btn:hover {
    background-color: #222;
    transform: translateY(-1px);
}

.teaser-cta-btn svg {
    transition: transform var(--t-fast);
}

.teaser-cta-btn:hover svg {
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
