/* ==========================================================================
   Anti-DDoS PRO v2 — Enterprise Precision Visual Upgrade
   Clean hierarchy, hairline Bento surfaces, interactive console, zero AI slop
   ========================================================================== */

/* 1. Subtle inline glossary terms (replaces 227 glowing blue asterisks) */
a.glossary-term {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(14, 116, 144, 0.5);
    transition: border-color 0.2s ease, color 0.2s ease;
}
a.glossary-term:hover,
a.glossary-term:focus {
    color: #0284c7;
    border-bottom-color: #0284c7;
    text-decoration: none;
}
html[data-theme="dark"] a.glossary-term {
    border-bottom-color: rgba(56, 189, 248, 0.42);
}
html[data-theme="dark"] a.glossary-term:hover,
html[data-theme="dark"] a.glossary-term:focus {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
}

/* 2. Hero section — sharp engineering eyebrow, strong CTA hierarchy */
.v2-hero {
    padding-top: 124px !important;
    padding-bottom: 112px !important;
}
.v2-hero-copy {
    padding: 12px 0 24px !important;
}
.v2-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 13px;
    margin-bottom: 20px;
    border-radius: 999px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
html[data-theme="dark"] .v2-hero-eyebrow {
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: none;
}
.v2-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
    flex-shrink: 0;
}
.v2-hero-h1 {
    font-size: clamp(2.15rem, 3.6vw, 3.25rem) !important;
    line-height: 1.09 !important;
    letter-spacing: -0.03em !important;
    font-weight: 750 !important;
    margin-bottom: 18px !important;
    color: #0f172a !important;
}
html[data-theme="dark"] .v2-hero-h1 {
    color: #f8fafc !important;
}
.v2-hero-sub {
    font-size: 1.1rem !important;
    line-height: 1.62 !important;
    max-width: 520px;
    color: #475569 !important;
    margin-bottom: 28px !important;
}
html[data-theme="dark"] .v2-hero-sub {
    color: #94a3b8 !important;
}

.v2-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.v2-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.25), 0 10px 24px -10px rgba(2, 132, 199, 0.65);
    text-decoration: none !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.v2-btn-primary:hover,
.v2-btn-primary:focus {
    color: #ffffff !important;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35), 0 14px 28px -10px rgba(2, 132, 199, 0.72);
}
html[data-theme="dark"] .v2-btn-primary {
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
    color: #03131f !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 10px 26px -10px rgba(14, 165, 233, 0.65);
}
html[data-theme="dark"] .v2-btn-primary:hover,
html[data-theme="dark"] .v2-btn-primary:focus {
    color: #03131f !important;
}

.v2-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.16);
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.v2-btn-secondary:hover,
.v2-btn-secondary:focus {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.45);
    transform: translateY(-1px);
}
html[data-theme="dark"] .v2-btn-secondary {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.24);
}
html[data-theme="dark"] .v2-btn-secondary:hover,
html[data-theme="dark"] .v2-btn-secondary:focus {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(56, 189, 248, 0.45);
    color: #ffffff;
}

.v2-hero-emergency {
    margin-top: 16px;
}
.v2-emergency-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #be123c;
    cursor: pointer;
    text-align: left;
}
html[data-theme="dark"] .v2-emergency-link {
    color: #fda4af;
}
.v2-emergency-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f43f5e;
    flex-shrink: 0;
}

/* 3. Interactive Mitigation Console (replaces generic neon-shield SVG) */
.v2-console {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 24px 48px -20px rgba(15, 23, 42, 0.16);
}
html[data-theme="dark"] .v2-console {
    background: #0b111d;
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 28px 60px -24px rgba(0, 0, 0, 0.75);
}
.v2-console-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}
html[data-theme="dark"] .v2-console-head {
    background: #0f1726;
    border-bottom-color: rgba(148, 163, 184, 0.12);
}
.v2-console-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.v2-console-dots {
    display: inline-flex;
    gap: 5px;
}
.v2-console-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    display: block;
}
html[data-theme="dark"] .v2-console-dots i {
    background: #334155;
}
.v2-console-host {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
html[data-theme="dark"] .v2-console-host {
    color: #94a3b8;
}
.v2-console-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    white-space: nowrap;
}
html[data-theme="dark"] .v2-console-status {
    color: #34d399;
    background: rgba(16, 185, 129, 0.14);
}

.v2-console-tabs {
    display: flex;
    gap: 6px;
    padding: 12px 16px 0;
}
.v2-console-tab {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.v2-console-tab:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
}
.v2-console-tab.is-active {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.24);
}
html[data-theme="dark"] .v2-console-tab {
    color: #94a3b8;
}
html[data-theme="dark"] .v2-console-tab:hover {
    color: #f8fafc;
    background: rgba(148, 163, 184, 0.08);
}
html[data-theme="dark"] .v2-console-tab.is-active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.28);
}

.v2-console-chart-wrap {
    padding: 14px 16px 8px;
}
.v2-console-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 11.5px;
    color: #64748b;
}
html[data-theme="dark"] .v2-console-legend {
    color: #94a3b8;
}
.v2-console-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.v2-console-legend em {
    font-style: normal;
}
.v2-console-legend i {
    width: 10px;
    height: 3px;
    border-radius: 2px;
    display: inline-block;
}
.v2-leg-atk i { background: #f43f5e; }
.v2-leg-ok i { background: #10b981; }

.v2-console-svg {
    display: block;
    width: 100%;
    height: 156px;
}
.v2-chart-grid line {
    stroke: rgba(15, 23, 42, 0.07);
    stroke-dasharray: 3 4;
}
html[data-theme="dark"] .v2-chart-grid line {
    stroke: rgba(148, 163, 184, 0.12);
}

.v2-console-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
html[data-theme="dark"] .v2-console-kpis {
    border-color: rgba(148, 163, 184, 0.12);
}
.v2-kpi {
    padding: 12px 16px;
}
.v2-kpi + .v2-kpi {
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}
html[data-theme="dark"] .v2-kpi + .v2-kpi {
    border-left-color: rgba(148, 163, 184, 0.12);
}
.v2-kpi-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 3px;
}
html[data-theme="dark"] .v2-kpi-label {
    color: #94a3b8;
}
.v2-kpi-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}
html[data-theme="dark"] .v2-kpi-val {
    color: #f8fafc;
}
.v2-kpi-val.is-danger { color: #e11d48; }
html[data-theme="dark"] .v2-kpi-val.is-danger { color: #fb7185; }
.v2-kpi-val.is-ok { color: #059669; }
html[data-theme="dark"] .v2-kpi-val.is-ok { color: #34d399; }

.v2-console-log {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: #f8fafc;
    font-size: 12px;
    color: #334155;
}
html[data-theme="dark"] .v2-console-log {
    background: #080d17;
    color: #cbd5e1;
}
.v2-log-badge {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 5px;
    color: #0369a1;
    background: rgba(2, 132, 199, 0.1);
    white-space: nowrap;
}
html[data-theme="dark"] .v2-log-badge {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.14);
}
.v2-log-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 4. Hero metrics strip — fix mobile 2+2+1 orphan card */
@media (max-width: 767.98px) {
    .v2-hero-eyebrow {
        font-size: 10px;
        letter-spacing: 0.03em;
        padding: 5px 10px;
        gap: 6px;
        max-width: 100%;
    }
    .v2-console-tabs {
        gap: 4px;
        padding: 10px 12px 0;
        overflow-x: auto;
    }
    .v2-console-tab {
        padding: 5px 9px;
        font-size: 11.5px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .hero-metrics li:nth-child(5) {
        grid-column: 1 / -1 !important;
        text-align: center;
    }
    .v2-hero {
        padding-top: 96px !important;
        padding-bottom: 72px !important;
    }
    .v2-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .v2-console {
        margin-top: 24px;
    }
    .v2-console-kpis {
        grid-template-columns: repeat(3, 1fr);
    }
    .v2-kpi {
        padding: 10px 10px;
    }
    .v2-kpi-val {
        font-size: 13.5px;
    }
    .v2-console-log {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .v2-log-text {
        white-space: normal;
    }
}

/* 5. Editorial 3-step onboarding timeline (replaces 3 cartoon SVG cards) */
.v2-steps {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #ffffff;
}
html[data-theme="dark"] .v2-steps {
    background: #0c121e;
    border-color: rgba(148, 163, 184, 0.14);
}
.v2-step {
    padding: 32px 28px;
    text-align: left;
}
.v2-step + .v2-step {
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}
html[data-theme="dark"] .v2-step + .v2-step {
    border-left-color: rgba(148, 163, 184, 0.12);
}
.v2-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.v2-step-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #0284c7;
    letter-spacing: -0.04em;
}
html[data-theme="dark"] .v2-step-num {
    color: #38bdf8;
}
.v2-step-meta,
.v2-step-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px;
    padding: 4px 9px;
    border-radius: 6px;
    color: #475569;
    background: #f1f5f9;
}
html[data-theme="dark"] .v2-step-meta,
html[data-theme="dark"] .v2-step-code {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.1);
}
.v2-step-meta.is-ok {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}
html[data-theme="dark"] .v2-step-meta.is-ok {
    color: #34d399;
}
.v2-step h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}
.v2-step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: #475569;
}
html[data-theme="dark"] .v2-step p {
    color: #94a3b8;
}
@media (max-width: 991.98px) {
    .v2-steps {
        grid-template-columns: 1fr;
    }
    .v2-step + .v2-step {
        border-left: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }
    html[data-theme="dark"] .v2-step + .v2-step {
        border-top-color: rgba(148, 163, 184, 0.12);
    }
}

/* 6. Native Control Panel Preview with real chart + diverse domains */
.v2-panel-mock {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 20px 44px -22px rgba(15, 23, 42, 0.18);
}
html[data-theme="dark"] .v2-panel-mock {
    background: #0b111d;
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 24px 52px -22px rgba(0, 0, 0, 0.72);
}
.v2-panel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 12.5px;
}
html[data-theme="dark"] .v2-panel-bar {
    background: #0f1726;
    border-bottom-color: rgba(148, 163, 184, 0.12);
}
.v2-panel-brand {
    font-weight: 700;
    color: #0f172a;
}
html[data-theme="dark"] .v2-panel-brand { color: #f8fafc; }
.v2-panel-brand em {
    font-style: normal;
    font-weight: 400;
    color: #64748b;
}
.v2-panel-pill {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}
html[data-theme="dark"] .v2-panel-pill { color: #34d399; }

.v2-panel-chart {
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
html[data-theme="dark"] .v2-panel-chart {
    border-bottom-color: rgba(148, 163, 184, 0.12);
}
.v2-panel-chart-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}
.v2-panel-chart-meta span {
    display: block;
    font-size: 11px;
    color: #64748b;
}
.v2-panel-chart-meta strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
html[data-theme="dark"] .v2-panel-chart-meta strong { color: #f8fafc; }
.v2-panel-chart-meta strong.is-danger { color: #e11d48; }
html[data-theme="dark"] .v2-panel-chart-meta strong.is-danger { color: #fb7185; }
.v2-panel-chart-meta strong.is-ok { color: #059669; }
html[data-theme="dark"] .v2-panel-chart-meta strong.is-ok { color: #34d399; }
.v2-panel-chart svg {
    display: block;
    width: 100%;
    height: 86px;
}

.v2-panel-table {
    padding: 4px 0;
}
.v2-pt-row {
    display: grid;
    grid-template-columns: 1.3fr 1.05fr 0.65fr 1fr;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    font-size: 12.5px;
    color: #334155;
}
html[data-theme="dark"] .v2-pt-row { color: #cbd5e1; }
.v2-pt-row + .v2-pt-row {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
html[data-theme="dark"] .v2-pt-row + .v2-pt-row {
    border-top-color: rgba(148, 163, 184, 0.08);
}
.v2-pt-head {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}
.v2-pt-row strong {
    color: #0f172a;
    font-weight: 600;
}
html[data-theme="dark"] .v2-pt-row strong { color: #f8fafc; }
.v2-pt-row code {
    font-size: 11.5px;
    color: #475569;
    background: transparent;
    padding: 0;
}
html[data-theme="dark"] .v2-pt-row code { color: #94a3b8; }

.v2-st-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.v2-st-badge.is-ok {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}
html[data-theme="dark"] .v2-st-badge.is-ok { color: #34d399; }
.v2-st-badge.is-attack {
    color: #be123c;
    background: rgba(244, 63, 94, 0.13);
}
html[data-theme="dark"] .v2-st-badge.is-attack { color: #fb7185; }

@media (max-width: 575.98px) {
    .v2-pt-row {
        grid-template-columns: 1.2fr 1fr;
    }
    .v2-pt-row code,
    .v2-pt-row > span:nth-child(3),
    .v2-pt-head > span:nth-child(2),
    .v2-pt-head > span:nth-child(3) {
        display: none;
    }
}

/* 7. Hairline Bento Matrix (breaks repetitive rounded dark-card monotony) */
.v2-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.08);
    gap: 1px;
}
html[data-theme="dark"] .v2-bento-grid {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(148, 163, 184, 0.12);
}
.v2-bento-cell {
    padding: 30px 28px;
    background: #ffffff;
    text-align: left;
    transition: background 0.18s ease;
}
.v2-bento-cell:hover {
    background: #f8fafc;
}
html[data-theme="dark"] .v2-bento-cell {
    background: #0b111d;
}
html[data-theme="dark"] .v2-bento-cell:hover {
    background: #0f1727;
}
.v2-bento-tag {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #0284c7;
    margin-bottom: 14px;
}
html[data-theme="dark"] .v2-bento-tag {
    color: #38bdf8;
}
.v2-bento-cell h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.v2-bento-cell p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.62;
    color: #475569;
}
html[data-theme="dark"] .v2-bento-cell p {
    color: #94a3b8;
}
@media (max-width: 991.98px) {
    .v2-bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .v2-bento-grid { grid-template-columns: 1fr; }
    .v2-bento-cell { padding: 24px 20px; }
}

/* 8. Architectural 3-column Stat Band (fixes 3-of-4 column gap) */
.v2-stat-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #ffffff;
}
html[data-theme="dark"] .v2-stat-band {
    background: #0c121e;
    border-color: rgba(148, 163, 184, 0.14);
}
.v2-stat-item {
    padding: 36px 28px;
    text-align: center;
}
.v2-stat-item + .v2-stat-item {
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}
html[data-theme="dark"] .v2-stat-item + .v2-stat-item {
    border-left-color: rgba(148, 163, 184, 0.12);
}
.v2-stat-kicker {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0284c7;
    margin-bottom: 10px;
}
html[data-theme="dark"] .v2-stat-kicker { color: #38bdf8; }
.v2-stat-item strong {
    display: block;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    margin-bottom: 8px;
    color: #0f172a;
}
html[data-theme="dark"] .v2-stat-item strong { color: #f8fafc; }
.v2-stat-item p {
    margin: 0;
    font-size: 14.5px;
    color: #475569;
}
html[data-theme="dark"] .v2-stat-item p { color: #94a3b8; }
@media (max-width: 767.98px) {
    .v2-stat-band { grid-template-columns: 1fr; }
    .v2-stat-item + .v2-stat-item {
        border-left: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }
    html[data-theme="dark"] .v2-stat-item + .v2-stat-item {
        border-top-color: rgba(148, 163, 184, 0.12);
    }
}

/* 9. Localized Behavioral Bot Inspection Card (replaces English 47K2 CAPTCHA SVG) */
.v2-bot-mock {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.16);
}
html[data-theme="dark"] .v2-bot-mock {
    background: #0b111d;
    border-color: rgba(148, 163, 184, 0.16);
}
.v2-bot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
html[data-theme="dark"] .v2-bot-head {
    background: #0f1726;
    border-bottom-color: rgba(148, 163, 184, 0.12);
    color: #f8fafc;
}
.v2-bot-nocap {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5px;
    padding: 3px 8px;
    border-radius: 6px;
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}
html[data-theme="dark"] .v2-bot-nocap { color: #34d399; }
.v2-bot-list {
    padding: 6px 0;
}
.v2-bot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
}
.v2-bot-row + .v2-bot-row {
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}
html[data-theme="dark"] .v2-bot-row + .v2-bot-row {
    border-top-color: rgba(148, 163, 184, 0.1);
}
.v2-bot-row strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}
html[data-theme="dark"] .v2-bot-row strong { color: #f8fafc; }
.v2-bot-row span:not(.v2-st-badge) {
    display: block;
    font-size: 12.5px;
    color: #64748b;
}
html[data-theme="dark"] .v2-bot-row span:not(.v2-st-badge) { color: #94a3b8; }

/* 10. Pricing polish, subtle footer 16+ badge, centered compact cookie bar */
.v2-ws-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.v2-ws-mark {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
    font-size: 14px;
    color: #94a3b8;
}
.v2-ws-mark.is-ok {
    color: #10b981;
}
.site-plan-websocket-none {
    color: #94a3b8 !important;
    opacity: 0.72;
}
.age-badge {
    background: transparent !important;
    color: #64748b !important;
    border: 1px solid rgba(100, 116, 139, 0.35) !important;
    font-weight: 600 !important;
}
html[data-theme="dark"] .age-badge {
    color: #94a3b8 !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
}

/* Compact centered horizontal cookie bar on desktop (never covers Hero metrics or scroll-top) */
@media (min-width: 768px) {
    .cookie-notice {
        left: 50% !important;
        right: auto !important;
        bottom: 18px !important;
        transform: translateX(-50%) translateY(16px);
        width: min(92vw, 860px) !important;
        max-width: 860px !important;
        padding: 12px 42px 12px 18px !important;
        border-radius: 14px !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 14px 36px -14px rgba(15, 23, 42, 0.28) !important;
    }
    .cookie-notice.show {
        transform: translateX(-50%) translateY(0) !important;
    }
    .cookie-notice-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 18px !important;
    }
    .cookie-notice .cookie-title {
        display: inline !important;
        margin-right: 8px !important;
        font-size: 13.5px !important;
    }
    .cookie-notice .cookie-text p {
        display: inline !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    .cookie-notice .cookie-buttons {
        display: flex !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
        gap: 8px !important;
        margin-top: 0 !important;
    }
    .cookie-notice .cookie-close {
        top: 50% !important;
        right: 12px !important;
        transform: translateY(-50%) !important;
    }
}

/* 11. Tasteful WOW enterprise animations (telemetry scan, live pulse, Linear cursor spotlight) */
@keyframes v2PulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70%  { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes v2ScanSweep {
    0%   { transform: translateX(-30%); opacity: 0; }
    15%  { opacity: 0.9; }
    85%  { opacity: 0.9; }
    100% { transform: translateX(460%); opacity: 0; }
}
@keyframes v2CurvePop {
    0%   { opacity: 0.35; transform: scaleY(0.92); }
    100% { opacity: 1; transform: scaleY(1); }
}
@keyframes v2HeroRise {
    0%   { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes v2KpiTick {
    0%   { opacity: 0.65; }
    100% { opacity: 1; }
}

.v2-live-dot {
    animation: v2PulseRing 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.v2-hero-copy {
    animation: v2HeroRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.v2-console {
    animation: v2HeroRise 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.v2-console-chart-wrap {
    position: relative;
    overflow: hidden;
}
.v2-console-chart-wrap::after {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 8px;
    left: 0;
    width: 22%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.14) 55%, rgba(16, 185, 129, 0.22) 92%, transparent 100%);
    animation: v2ScanSweep 4.6s ease-in-out infinite;
}
.v2-console.is-switching .v2-console-svg {
    transform-origin: bottom center;
    animation: v2CurvePop 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-kpi-val.is-tick {
    animation: v2KpiTick 0.35s ease;
}

/* Linear-style interactive radial spotlight following cursor on surfaces */
.v2-bento-cell,
.v2-step,
.v2-stat-item,
.v2-console,
.v2-panel-mock,
.v2-bot-mock {
    position: relative;
    isolation: isolate;
}
.v2-bento-cell::before,
.v2-step::before,
.v2-stat-item::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.28s ease;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(14, 165, 233, 0.11), transparent 70%);
}
html[data-theme="dark"] .v2-bento-cell::before,
html[data-theme="dark"] .v2-step::before,
html[data-theme="dark"] .v2-stat-item::before {
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.13), transparent 68%);
}
.v2-bento-cell:hover::before,
.v2-step:hover::before,
.v2-stat-item:hover::before {
    opacity: 1;
}
.v2-bento-cell > *,
.v2-step > *,
.v2-stat-item > * {
    position: relative;
    z-index: 1;
}

/* Pricing card subtle lift & specular accent */
.site-plan {
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-plan:hover {
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .v2-live-dot,
    .v2-hero-copy,
    .v2-console,
    .v2-console-chart-wrap::after,
    .v2-console.is-switching .v2-console-svg,
    .v2-kpi-val.is-tick {
        animation: none !important;
    }
    .v2-bento-cell::before,
    .v2-step::before,
    .v2-stat-item::before {
        display: none !important;
    }
    .site-plan:hover {
        transform: none !important;
    }
}
