﻿
:root {
    --pv-orange: #f7941d;
    --pv-orange-soft: #ffe8cc;
    --pv-blue: #0072bc;
    --pv-blue-dark: #005a94;
    --pv-ink: #111827;
    --pv-muted: #6b7280;
    --pv-bg: #f5f7fb;
    --pv-border: #e2e5f3;
    --pv-chip: #eef2ff;
    --pv-card: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", "Roboto", sans-serif;
}

body {
    background: radial-gradient(circle at top left, #fdf7f0 0, #f5f7fb 36%, #eef2ff 100%);
    color: var(--pv-ink);
    padding: 24px 16px 40px;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
    color: inherit;
}

.page {
    width: 100%;
    max-width: 1240px;
}

/* ===== Width alignment: Top Nav + Solution Catalog align with Master Header ===== */
.nav, .hero, .top-row, .selected-strip, .solutions {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}
/* Keep internal spacing consistent on small screens */
@media (max-width: 760px) {
    .nav, .hero, .top-row, .selected-strip {
        max-width: 100%;
    }
}

/* Hero banner */
.hero {
    border-radius: 18px;
    padding: 42px 20px 46px;
    background: linear-gradient(135deg, #0b1220, #020617);
    color: #f9fafb;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1.1fr);
    gap: 22px;
    margin-bottom: 26px;
    box-shadow: inmax(0, 1.6fr) minmax(260px, 1.1fr);
    gap: 22px;
    margin-bottom: 26px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 12% 0%, rgba(248, 250, 252, 0.18) 0, transparent 45%), radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.18) 0, transparent 50%), radial-gradient(circle at 80% 75%, rgba(248, 250, 252, 0.06) 0, transparent 60%);
        opacity: 0.9;
        pointer-events: none;
    }

.hero-left, .hero-right {
    position: relative;
    z-index: 1;
}

.hero-tagline-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

    .hero-tagline-chip span.dot {
        display: inline-block;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #22c55e;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.27);
    }

.hero-title {
    font-size: 2.1rem;
    line-height: 1.16;
    font-weight: 650;
    margin-top: 2px;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 0.96rem;
    color: #e5e7eb;
    max-width: 520px;
    line-height: 1.40;
    margin-bottom: 11px;
    letter-spacing: 0.01em;
}

    .hero-subtitle strong {
        color: #fefce8;
        font-weight: 500;
    }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.8rem;
}

.hero-point {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(55, 65, 81, 0.8);
    color: #e5e7eb;
}

    .hero-point span.icon-dot {
        width: 9px;
        height: 9px;
        border-radius: 999px;
        background: linear-gradient(135deg, #fb923c, #facc15);
    }

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-hero-primary {
    border-radius: 999px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    background: linear-gradient(135deg, #f97316, #facc15);
    color: #0b1120;
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .btn-hero-primary:hover {
        filter: brightness(1.04);
    }

.btn-hero-secondary {
    border-radius: 999px;
    padding: 8px 15px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.hero-note {
    margin-top: 10px;
    font-size: 0.78rem;
    color: #9ca3af;
}

.hero-right-card {
    border-radius: 14px;
    padding: 12px 12px 10px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
    font-size: 0.78rem;
}

.hero-right-title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e5e7eb;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.metric {
    padding: 7px 8px;
    border-radius: 10px;
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.09), transparent 70%);
    border: 1px solid rgba(31, 41, 55, 0.9);
}

.metric-label {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: #e5e7eb;
}

.metric-sub {
    font-size: 0.68rem;
    color: #9ca3af;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.hero-pill {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(75, 85, 99, 0.8);
    color: #9ca3af;
    font-size: 0.7rem;
}

/* Filters and layout */
.top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.top-row-left-title {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--pv-ink);
}

.top-row-left-sub {
    font-size: 0.8rem;
    color: var(--pv-muted);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
}

.filter-chip {
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(255, 255, 255, 0.95);
    color: var(--pv-muted);
    cursor: pointer;
}

    .filter-chip.active {
        background: #0f172a;
        color: #f9fafb;
        border-color: #0f172a;
    }

.layout {
    display: grid;
    grid-template-columns: minmax(220px, 240px) minmax(0, 1fr);
    gap: 18px;
}

.side-nav {
    position: sticky;
    top: 18px;
    align-self: flex-start;
    border-radius: 14px;
    padding: 10px 10px 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--pv-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    font-size: 0.8rem;
}

.side-nav-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pv-muted);
    margin-bottom: 6px;
}

.side-nav-list {
    list-style: none;
}

.side-nav-item {
    border-radius: 999px;
    padding: 6px 8px;
    cursor: pointer;
    color: var(--pv-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

    .side-nav-item span.dot {
        width: 5px;
        height: 5px;
        border-radius: 999px;
        background: #d1d5db;
    }

    .side-nav-item.active {
        background: #0f172a;
        color: #f9fafb;
    }

        .side-nav-item.active span.dot {
            background: #fbbf24;
        }

.solutions {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


:root {
    /* Smooth-scroll landing offset (keeps section top aligned + a tiny breathing room) */
    --pv-scroll-offset: 16px;
}

.category-section {
    position: relative;
    scroll-margin-top: var(--pv-scroll-offset);
    padding: 16px 14px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(210, 214, 235, 0.9);
    margin-bottom: 28px;
}

    .category-section::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -16px;
        height: 1px;
        background: rgba(200,210,230,0.55);
    }

    .category-section::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 18px;
        background: linear-gradient(to bottom, rgba(0,114,188,0.08), rgba(0,114,188,0.00) 32%);
        pointer-events: none;
        z-index: -1;
    }

    .category-section[data-category="product"]::before {
        background: linear-gradient(to bottom, rgba(247,148,29,0.10), rgba(247,148,29,0.00) 32%);
    }

    .category-section[data-category="experience"]::before {
        background: linear-gradient(to bottom, rgba(34,197,94,0.10), rgba(34,197,94,0.00) 32%);
    }

    .category-section[data-category="evidence"]::before {
        background: linear-gradient(to bottom, rgba(99,102,241,0.10), rgba(99,102,241,0.00) 32%);
    }

    .category-section[data-category="experience"]::before {
        background: linear-gradient(to bottom, rgba(34, 197, 94, 0.05), transparent 26%);
    }

    .category-section[data-category="evidence"]::before {
        background: linear-gradient(to bottom, rgba(99, 102, 241, 0.05), transparent 26%);
    }

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(209, 213, 245, 0.8);
}

.category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pv-ink);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .category-title::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: var(--pv-blue);
        flex-shrink: 0;
    }

/* Keep category title marker consistent across all sections (match Brand Funnel Diagnostic Tool card) */
.category-section[data-category="product"] .category-title::before,
.category-section[data-category="experience"] .category-title::before,
.category-section[data-category="evidence"] .category-title::before {
    background: var(--pv-blue);
}

.category-sub {
    font-size: 0.78rem;
    color: var(--pv-muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tool-card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--pv-border);
    padding: 10px 11px 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.08s ease, background 0.08s ease;
    min-height: 150px;
    cursor: pointer;
}

.tool-card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--pv-border);
    padding: 10px 11px 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.08s ease, background 0.08s ease;
    min-height: 150px;
}

    .tool-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
        border-color: rgba(15, 23, 42, 0.15);
        background: #ffffff;
    }

.tool-header-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: flex-start;
    min-height: 32px;
}

.tool-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pv-ink);
}

.tool-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    background: var(--pv-chip);
    color: #4338ca;
    border: 1px solid #e0e7ff;
    white-space: nowrap;
}

.tool-desc {
    font-size: 0.78rem;
    color: var(--pv-muted);
    min-height: 44px;
}

.tool-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 2px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tool-tag {
    padding: 2px 6px;
    border-radius: 999px;
    background: #f3f4ff;
    color: #4b5563;
    font-size: 0.68rem;
}

.tool-link {
    font-size: 0.74rem;
    color: var(--pv-blue-dark);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(239, 246, 255, 0.9);
    white-space: nowrap;
}

@media (max-width: 1040px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body {
        padding-top: 18px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .side-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .side-nav-title {
        width: 100%;
    }

    .side-nav-item {
        padding-inline: 10px;
    }

    .category-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.section-band {
    /*margin-top: 40px;*/
    margin-bottom: 30px;
    padding: 22px 20px 28px;
    border-radius: 18px;
}

.section-band-dark {
    background: linear-gradient(120deg, rgba(15,23,42,0.98), rgba(15,23,42,0.90));
    color: #e5e7eb;
    box-shadow: 0 18px 38px rgba(15,23,42,0.55);
}

    .section-band-dark .category-title {
        color: #f9fafb;
    }

    .section-band-dark .category-sub {
        color: #cbd5f5;
    }

    .section-band-dark .category-grid {
        margin-top: 14px;
    }

    .section-band-dark .tool-card {
        background: rgba(15,23,42,0.85);
        border-color: rgba(148,163,184,0.6);
        box-shadow: none;
    }

    .section-band-dark .tool-title {
        color: #f9fafb;
    }

    .section-band-dark .tool-desc {
        color: #e5e7eb;
    }

    .section-band-dark .tool-tags .tool-tag {
        background: rgba(30,64,175,0.85);
        color: #e5e7eb;
    }

.section-band-light {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--pv-border);
    box-shadow: 0 12px 26px rgba(15,23,42,0.06);
}

    .section-band-light .category-grid {
        margin-top: 10px;
    }

    .section-band-light .tool-card {
        border-radius: 10px;
        box-shadow: none;
        background: #f9fafb;
    }

    .section-band-light .tool-meta-row {
        border-top: 1px dashed rgba(148,163,184,0.7);
        padding-top: 6px;
    }


.selected-strip {
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f3f4ff;
    border: 1px dashed var(--pv-border);
    font-size: 13px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
}

.selected-strip-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 0;
}

    .selected-strip-row:last-child {
        margin-bottom: 0;
    }

.selected-label {
    font-weight: 600;
    color: var(--pv-ink);
}

.selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.selected-chip {
    padding: 4px 9px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d4dcff;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .selected-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .selected-strip {
        grid-template-columns: minmax(0, 1fr);
    }
}

.footer {
    margin-top: 40px;
    padding: 18px 32px 28px;
    border-radius: 18px;
    border-top: 1px solid var(--pv-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--pv-muted);
    background: #f9fafc;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--pv-blue), var(--pv-orange));
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-inner-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
}

.footer-brand-text-main {
    font-weight: 600;
    color: var(--pv-ink);
}

.footer-right {
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* Left Accent Bars for Each Category */
.category-section::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    opacity: 0.9;
}

.category-section[data-category="market"]::after {
    background: rgba(0,114,188,0.55);
}

.category-section[data-category="product"]::after {
    background: rgba(247,148,29,0.55);
}

.category-section[data-category="experience"]::after {
    background: rgba(34,197,94,0.55);
}

.category-section[data-category="evidence"]::after {
    background: rgba(99,102,241,0.55);
}


/* Alternate background shading for category sections */
.category-section:nth-of-type(odd) {
    background: rgba(250, 250, 255, 0.92);
}

.category-section:nth-of-type(even) {
    background: rgba(242, 244, 250, 0.92);
}


/* Reveal animation for solution categories */
.category-section {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out, box-shadow 0.25s ease-out;
}

    .category-section.is-visible {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    }

@media (prefers-reduced-motion: reduce) {
    .category-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* Responsive hero padding */
@media (min-width: 900px) and (max-width: 1399px) {
    .hero {
        padding: 56px 28px 64px;
    }
}

@media (min-width: 1400px) {
    .hero {
        padding: 62px 32px 72px;
    }
}

/* Hero fade-in micro interaction */
.hero {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

    .hero.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    .hero {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* Responsive lift for hero tagline */
@media (min-width: 768px) {
    .hero-tagline-chip {
        margin-top: -4px;
    }
}

@media (min-width: 1200px) {
    .hero-tagline-chip {
        margin-top: -10px;
    }
}

.btn-loading {
    pointer-events: none;
    opacity: 0.75;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.spinner1 {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,0.4);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.studio-auth-greeting {
    font-weight: 600;
    color: #0f172a;
    margin-right: 6px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

.studio-auth-sep {
    color: #64748b;
    margin: 0 6px;
}


/* =========================
        Tool Card Illustration Strips (Per-Tool / Universal, Non-invasive)
        - Sidebar removed to free space
        - Cards widened to accommodate 3x strip width WITHOUT changing internal text layout
        - Unique illustration generated per tool based on tool qualities/outputs
        ========================= */

:root {
    --illus-strip-w: 110px; /* 3x of earlier 52px */
    --illus-gap: 22px; /* left padding buffer (same feel as before) */
}

/* Remove sidebar + reclaim width */
.layout {
    grid-template-columns: minmax(0, 1fr) !important;
}

.side-nav {
    display: none !important;
}

/* Allow wider cards on desktop (to preserve original text area despite larger strip) */
.page {
    max-width: 1240px;
}

/* Tool cards: reserve space for the strip (solution cards only) */
.category-section .tool-card[data-url] {
    position: relative;
    overflow: visible;
    padding-left: calc(var(--illus-strip-w) + var(--illus-gap)) !important;
    overflow: hidden;
}

    .category-section .tool-card[data-url] .tool-illus {
        position: absolute;
        left: 10px;
        top: 10px;
        bottom: 10px;
        width: var(--illus-strip-w);
        border-radius: 14px;
        background-size: cover;
        background-position: center;
        opacity: 0.95;
        filter: saturate(1.05);
        box-shadow: inset 0 0 0 1px rgba(2, 6, 23, 0.06), 0 10px 20px rgba(15, 23, 42, 0.06);
        pointer-events: none;
    }

/* Keep responsive behavior sane */
@media (max-width: 1040px) {
    :root {
        --illus-strip-w: 96px;
    }

    .page {
        max-width: 1240px;
    }
}

@media (max-width: 760px) {
    :root {
        --illus-strip-w: 72px;
    }

    .category-section .tool-card[data-url] {
        padding-left: calc(var(--illus-strip-w) + 18px) !important;
    }
}



/* =========================
        Tool Card Illustration Icons (Per-tool / Universal Illustration Language)
        - Unique illustration per tool (motif matches the tool's output/quality)
        - Tint matches the solution category
        - Wide strip supported (3x)
        ========================= */


.category-section .tool-card[data-url] {
    position: relative;
    overflow: hidden;
    /* Keep text layout intact; only reserve left space for the strip */
    padding-left: 130px;
}

    .category-section .tool-card[data-url] .tool-illus {
        position: absolute;
        left: 10px;
        top: 10px;
        bottom: 10px;
        width: 110px; /* premium strip */
        border-radius: 12px;
        background-size: cover;
        background-position: center;
        opacity: 0.94;
        filter: saturate(1.05);
        box-shadow: inset 0 0 0 1px rgba(2, 6, 23, 0.06);
        pointer-events: none;
    }

/* Slightly tighter on very small screens */
@media (max-width: 520px) {
    .category-section .tool-card[data-url] {
        padding-left: 120px;
    }

        .category-section .tool-card[data-url] .tool-illus {
            width: 100px;
        }
}


/* Inline SVG mode (ultra compatible): */
.tool-illus {
    background-image: none !important;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

    .tool-illus svg {
        width: 100%;
        height: 100%;
    }

/* =========================
        Lively / Interactive Tool Illustrations (tasteful)
        - Hover: subtle "breathing" motion + stroke draw shimmer
        - Mouse move: gentle parallax (JS)
        - Respects reduced-motion
        ========================= */
.tool-illus {
    position: absolute;
}

.tool-illus {
    --illus-amp: 7px;
    --illus-tilt: 3deg;
}

    .tool-illus .illus-svg {
        width: 100%;
        height: 100%;
        transform-origin: 50% 50%;
    }

    .tool-illus .illus-stroke {
        stroke-dasharray: 180;
        stroke-dashoffset: 0;
        transition: stroke-opacity 220ms ease;
    }

    .tool-illus .illus-dot, .tool-illus .illus-rect {
        transition: transform 220ms ease, opacity 220ms ease;
    }

/* idle gentle motion */
.category-section .tool-card[data-url] .tool-illus .illus-svg {
    animation: illusFloat 6.6s ease-in-out infinite;
    filter: drop-shadow(0 8px 18px rgba(2,6,23,0.08));
}

/* on hover: more life */
.category-section .tool-card[data-url]:hover .tool-illus .illus-svg {
    animation-duration: 4.4s;
}

.category-section .tool-card[data-url]:hover .tool-illus .illus-stroke {
    animation: illusDraw 1.4s ease-in-out infinite;
}

.category-section .tool-card[data-url]:hover .tool-illus .illus-dot {
    animation: illusDots 1.8s ease-in-out infinite;
}

/* slight focus pop */
.category-section .tool-card[data-url]:hover .tool-illus {
    opacity: 0.98;
}

/* Fallback: ensure ALL tool icons float (even if their SVG doesn't carry .illus-svg or is injected as background) */
.tool-card[data-url] .tool-illus.illus-fallback-float {
    animation: illusFloat 6.6s ease-in-out infinite;
    filter: drop-shadow(0 8px 18px rgba(2,6,23,0.08));
}

.category-section .tool-card[data-url]:hover .tool-illus.illus-fallback-float {
    animation-duration: 4.4s;
}

.category-section .tool-card[data-url]:hover .tool-illus .illus-stroke {
    stroke-opacity: 0.78;
}

@keyframes illusFloat {
    0%, 100% {
        transform: rotateX(6deg) rotateY(-6deg) translateY(0px) translateZ(0px) scale(1);
    }

    50% {
        transform: rotateX(8deg) rotateY(-10deg) translateY(-6px) translateZ(16px) scale(1.01);
    }
}

@keyframes illusDraw {
    0% {
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dashoffset: 140;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes illusDots {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.42;
    }

    50% {
        transform: translateY(-3px) scale(1.05);
        opacity: 0.55;
    }
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .category-section .tool-card[data-url] .tool-illus .illus-svg {
        animation: none !important;
    }

    .category-section .tool-card[data-url]:hover .tool-illus .illus-stroke {
        animation: none !important;
    }

    .category-section .tool-card[data-url]:hover .tool-illus .illus-dot {
        animation: none !important;
    }
}


/* =========================
        Transparent + 3D Icon Treatment
        - Keeps the illustration strip airy/transparent
        - Restores the earlier "front/back" depth motion via @@keyframes illusFloat
        - Adds premium hover lift without breaking existing functionality
        ========================= */

/* Make the illustration strip itself transparent (no glass panel) */
.category-section .tool-card[data-url] .tool-illus {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

    /* Remove the first 2 rects in each SVG (these were the background tile + highlight wash) */
    .category-section .tool-card[data-url] .tool-illus svg rect:nth-of-type(1),
    .category-section .tool-card[data-url] .tool-illus svg rect:nth-of-type(2) {
        fill-opacity: 0 !important;
        stroke: none !important;
    }

    /* Global SVG transparency + crispness */
    .category-section .tool-card[data-url] .tool-illus svg {
        opacity: 0.92;
        transform-style: preserve-3d;
        will-change: transform, filter;
    }

/* Add perspective at card level for real 3D tilt */
.category-section .tool-card[data-url] {
    perspective: 900px;
}

    /* Hover: premium "object tilt" + lift (pause the idle float) */
    .category-section .tool-card[data-url]:hover .tool-illus .illus-svg {
        animation-play-state: paused;
        transform: rotateX(12deg) rotateY(-14deg) translateY(-2px) translateZ(18px) scale(1.01);
        filter: drop-shadow(0 18px 30px rgba(2,6,23,0.16)) drop-shadow(0 6px 12px rgba(2,6,23,0.10));
    }

/* Subtle category glow (uses existing category color via currentColor trick on strip)
        We set currentColor based on section category. */
.category-section[data-category="growth"] {
    color: rgba(0,114,188,0.65);
}

.category-section[data-category="market"] {
    color: rgba(0,114,188,0.65);
}

/* Match Brand Funnel Diagnostic Tool card accent across ALL tool cards */
.category-section[data-category="product"] {
    color: rgba(0,114,188,0.65);
}

.category-section[data-category="experience"] {
    color: rgba(0,114,188,0.65);
}

.category-section[data-category="evidence"] {
    color: rgba(0,114,188,0.65);
}

.category-section .tool-card[data-url] .tool-illus::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 25%, currentColor 0%, rgba(255,255,255,0) 60%);
    opacity: 0.0;
    filter: blur(10px);
    transform: translateZ(-10px);
    transition: opacity 220ms ease;
    pointer-events: none;
}

.category-section .tool-card[data-url]:hover .tool-illus::after {
    opacity: 0.45;
}

/* Reduced-motion: keep static */
@media (prefers-reduced-motion: reduce) {
    .category-section .tool-card[data-url] .tool-illus svg {
        transform: none !important;
        filter: none !important;
    }
}


/* =========================
        DOUBLE-LAYER SVG (Premium Depth)
        - Creates a blurred "shadow copy" behind the icon
        - Adds slight parallax between layers on hover/mousemove
        ========================= */
.category-section .tool-card[data-url] .tool-illus {
    position: absolute; /* already */
    overflow: hidden;
}

.category-section .tool-card[data-url] .tool-illus {
    display: block;
}

    .category-section .tool-card[data-url] .tool-illus .illus-stack {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .category-section .tool-card[data-url] .tool-illus svg {
        position: absolute;
        inset: 0;
    }

        /* Back layer: softer, larger, blurred */
        .category-section .tool-card[data-url] .tool-illus svg.illus-back {
            opacity: 0.38;
            filter: blur(1.8px) drop-shadow(0 14px 28px rgba(2,6,23,0.14));
            transform: translate3d(-8px, 6px, -24px) scale(1.025);
        }

        /* Front layer: crisp */
        .category-section .tool-card[data-url] .tool-illus svg.illus-front {
            opacity: 0.92;
            filter: drop-shadow(0 10px 18px rgba(2,6,23,0.10)) drop-shadow(0 2px 6px rgba(2,6,23,0.08));
            transform: translate3d(0,0,0) scale(1.0);
        }


/* Default motion (applies to ALL illus-icons unless a category overrides it) */
.category-section .tool-card .tool-illus svg.illus-front {
    animation: driftSteadyFront 9.8s ease-in-out infinite;
    will-change: transform;
}

.category-section .tool-card .tool-illus svg.illus-back {
    animation: driftSteadyBack 9.8s ease-in-out infinite;
    will-change: transform;
}

/* If an icon has only one svg, treat it as the front layer */
.category-section .tool-card .tool-illus svg.illus-svg:not(.illus-front):not(.illus-back) {
    animation: driftSteadyFront 9.8s ease-in-out infinite;
    will-change: transform;
}

/* Fallback (non-inline SVG / wrapper-based icons) */
.category-section .tool-card .tool-illus.illus-fallback-float {
    animation: driftWrapper 9.8s ease-in-out infinite;
    will-change: transform;
}

@keyframes driftWrapper {
    0% {
        transform: translate3d(0,0,0);
    }

    50% {
        transform: translate3d(6px,-6px,0);
    }

    100% {
        transform: translate3d(0,0,0);
    }
}
/* Hover: deepen separation slightly */
.category-section .tool-card[data-url]:hover .tool-illus svg.illus-back {
    opacity: 0.46;
    transform: translate3d(-12px, 10px, -34px) scale(1.05);
}

.category-section .tool-card[data-url]:hover .tool-illus svg.illus-front {
    transform: translate3d(8px, -6px, 18px) scale(1.0);
}

: keep layers static */
/* Extra depth for newly added cards (makes parallax obvious while keeping same style) */
.category-section .tool-card.new-tool[data-url] .tool-illus svg.illus-back {
    opacity: 0.18;
    filter: blur(0.8px);
}

.category-section .tool-card.new-tool[data-url] .tool-illus svg.illus-front {
    opacity: 1;
}

.category-section .tool-card.new-tool[data-url]:hover .tool-illus svg.illus-back {
    transform: translate3d(-18px, 16px, -40px) scale(1.07) rotate(-3deg);
}

.category-section .tool-card.new-tool[data-url]:hover .tool-illus svg.illus-front {
    transform: translate3d(14px, -10px, 22px) scale(1.02) rotate(3deg);
}

/* Reduced motion: keep layers static */
@media (prefers-reduced-motion: reduce) {
    .category-section .tool-card[data-url] .tool-illus svg.illus-back,
    .category-section .tool-card[data-url] .tool-illus svg.illus-front {
        transform: none !important;
        filter: none !important;
    }
}



/* =========================
        THREE TOOLS PER ROW (Desktop)
        ========================= */
.category-grid {
    grid-template-columns: repeat(3, minmax(380px, 1fr)) !important;
    gap: 12px !important;
}

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .category-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

}

/* Slightly larger cards (width/feel) without changing inner text layout */
.category-section .tool-card[data-url] {
    min-height: 240px;
}

.category-section {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}



/* =========================
        BASE HOVER POP (All tools)
        ========================= */

}




.category-section .tool-card[data-url] {
    position: relative;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 260ms ease, background 260ms ease, z-index 0ms linear 260ms;
    z-index: 1;
    will-change: transform;
    transform-origin: 50% 50%;
}

    .category-section .tool-card[data-url]:hover {
        transform: translateY(-12px) scale(1.085);
        z-index: 6;
        box-shadow: 0 26px 70px rgba(2, 6, 23, 0.18), 0 10px 26px rgba(2, 6, 23, 0.12);
        border-color: rgba(15,23,42,0.16);
        background: #ffffff;
    }

    .category-section .tool-card[data-url]:active {
        transform: translateY(-2px) scale(1.015);
    }

/* =========================
        HERO HOVER (Top tools only)
        - Mark cards with .hero-tool (added automatically for selected titles)
        ========================= */
.category-section .tool-card.hero-tool[data-url] {
    overflow: visible;
}

    .category-section .tool-card.hero-tool[data-url]::before {
        content: "";
        position: absolute;
        inset: -12px;
        border-radius: 22px;
        background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%), radial-gradient(circle at 80% 30%, rgba(255,255,255,0.14), rgba(255,255,255,0) 60%);
        opacity: 0;
        filter: blur(6px);
        pointer-events: none;
        transition: opacity 220ms ease;
        z-index: -1;
    }

    .category-section .tool-card.hero-tool[data-url]::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 18px;
        background: radial-gradient(circle at 30% 25%, currentColor 0%, rgba(255,255,255,0) 62%);
        opacity: 0;
        filter: blur(12px);
        pointer-events: none;
        transition: opacity 220ms ease;
        z-index: -1;
    }

    .category-section .tool-card.hero-tool[data-url]:hover {
        transform: translateY(-16px) scale(1.115);
        z-index: 10;
        box-shadow: 0 26px 70px rgba(2, 6, 23, 0.22), 0 10px 26px rgba(2, 6, 23, 0.16);
    }

        .category-section .tool-card.hero-tool[data-url]:hover::before {
            opacity: 0.55;
        }

        .category-section .tool-card.hero-tool[data-url]:hover::after {
            opacity: 0.55;
        }

    .category-section .tool-card.hero-tool[data-url]:active {
        transform: translateY(-6px) scale(1.025);
    }

/* Make halo color category-aware via currentColor */
/* Unify hero-halo / accent color for all tool cards (match Brand Funnel Diagnostic Tool card feel) */
.category-section[data-category="growth"],
.category-section[data-category="market"],
.category-section[data-category="product"],
.category-section[data-category="experience"],
.category-section[data-category="evidence"] {
    /*color: rgba(0,114,188,0.65);*/
    color: rgba(99,102,241,0.65);
}

/* Enhance double-layer icon depth only on hero tools */
.category-section .tool-card.hero-tool[data-url]:hover .tool-illus svg.illus-back {
    opacity: 0.55;
    filter: blur(2.2px) drop-shadow(0 18px 34px rgba(2,6,23,0.18));
}

.category-section .tool-card.hero-tool[data-url]:hover .tool-illus svg.illus-front {
    filter: drop-shadow(0 18px 34px rgba(2,6,23,0.16)) drop-shadow(0 6px 14px rgba(2,6,23,0.12));
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
    .category-section .tool-card[data-url],
    .category-section .tool-card[data-url]:hover,
    .category-section .tool-card.hero-tool[data-url]:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .category-section .tool-card.hero-tool[data-url]::before,
    .category-section .tool-card.hero-tool[data-url]::after {
        display: none !important;
    }
}

.category-section .tool-card .tool-illus svg.illus-back {
    animation: iconFloatBack 9s ease-in-out infinite;
}

/* Stagger motion so grid doesn't sync */
.category-section .tool-card:nth-child(3n+1) .tool-illus svg {
    animation-delay: 0s;
}

.category-section .tool-card:nth-child(3n+2) .tool-illus svg {
    animation-delay: 1.8s;
}

.category-section .tool-card:nth-child(3n+3) .tool-illus svg {
    animation-delay: 3.6s;
}

@keyframes iconFloat {
    0% {
        transform: translate3d(0,0,18px) rotate(0deg);
    }

    50% {
        transform: translate3d(6px,-6px,22px) rotate(1.5deg);
    }

    100% {
        transform: translate3d(0,0,18px) rotate(0deg);
    }
}

@keyframes iconFloatBack {
    0% {
        transform: translate3d(-12px,10px,-34px) rotate(0deg);
    }

    50% {
        transform: translate3d(-18px,14px,-40px) rotate(-1.5deg);
    }

    100% {
        transform: translate3d(-12px,10px,-34px) rotate(0deg);
    }
}

/* Pause continuous motion on hover (hover takes control) */
.category-section .tool-card:hover .tool-illus svg {
    animation-play-state: paused;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .category-section .tool-card .tool-illus svg {
        animation: none !important;
    }
}


/* =========================
        CATEGORY MOTION SIGNATURES (Premium, Calm)
        - Each category gets a distinct "feel"
        - Front/back layers move differently for depth
        - Staggered delays so grid never syncs
        ========================= */

/* Global: keep transforms stable; animations will drive transforms */
.category-section .tool-card .tool-illus svg.illus-front,
.category-section .tool-card .tool-illus svg.illus-back {
    will-change: transform;
}

/* Stagger motion so cards don't sync (applies to both layers) */
.category-section .tool-card:nth-child(3n+1) .tool-illus svg {
    animation-delay: 0s;
}

.category-section .tool-card:nth-child(3n+2) .tool-illus svg {
    animation-delay: 1.7s;
}

.category-section .tool-card:nth-child(3n+3) .tool-illus svg {
    animation-delay: 3.4s;
}

/* ---------- Growth / Market (blue): confident, steady drift ---------- */
.category-section[data-category="growth"] .tool-card .tool-illus svg.illus-front,
.category-section[data-category="market"] .tool-card .tool-illus svg.illus-front {
    animation: driftSteadyFront 10.5s ease-in-out infinite;
}

.category-section[data-category="growth"] .tool-card .tool-illus svg.illus-back,
.category-section[data-category="market"] .tool-card .tool-illus svg.illus-back {
    animation: driftSteadyBack 10.5s ease-in-out infinite;
}

/* ---------- Product (orange): crisp "snap" micro-tilt ---------- */
.category-section[data-category="product"] .tool-card .tool-illus svg.illus-front {
    animation: tiltSnapFront 8.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.category-section[data-category="product"] .tool-card .tool-illus svg.illus-back {
    animation: tiltSnapBack 8.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

/* ---------- Experience (green): warm breathing pulse + drift ---------- */
.category-section[data-category="experience"] .tool-card .tool-illus svg.illus-front {
    animation: breatheFront 9.6s ease-in-out infinite;
}

.category-section[data-category="experience"] .tool-card .tool-illus svg.illus-back {
    animation: breatheBack 9.6s ease-in-out infinite;
}

/* ---------- Evidence (indigo): subtle scan-like sway ---------- */
.category-section[data-category="evidence"] .tool-card .tool-illus svg.illus-front {
    animation: scanSwayFront 9.2s ease-in-out infinite;
}

.category-section[data-category="evidence"] .tool-card .tool-illus svg.illus-back {
    animation: scanSwayBack 9.2s ease-in-out infinite;
}

/* Keyframes: keep within tasteful bounds */
@keyframes driftSteadyFront {
    0% {
        transform: translate3d(0,0,18px) rotate(0deg);
    }

    50% {
        transform: translate3d(7px,-7px,22px) rotate(1.2deg);
    }

    100% {
        transform: translate3d(0,0,18px) rotate(0deg);
    }
}

@keyframes driftSteadyBack {
    0% {
        transform: translate3d(-12px,10px,-34px) rotate(0deg) scale(1.05);
    }

    50% {
        transform: translate3d(-20px,16px,-40px) rotate(-1.2deg) scale(1.06);
    }

    100% {
        transform: translate3d(-12px,10px,-34px) rotate(0deg) scale(1.05);
    }
}

@keyframes tiltSnapFront {
    0% {
        transform: translate3d(0,0,18px) rotate(-0.8deg);
    }

    35% {
        transform: translate3d(6px,-5px,22px) rotate(1.6deg);
    }

    55% {
        transform: translate3d(5px,-6px,22px) rotate(0.6deg);
    }

    100% {
        transform: translate3d(0,0,18px) rotate(-0.8deg);
    }
}

@keyframes tiltSnapBack {
    0% {
        transform: translate3d(-12px,10px,-34px) rotate(0.8deg) scale(1.05);
    }

    35% {
        transform: translate3d(-20px,16px,-40px) rotate(-1.6deg) scale(1.06);
    }

    55% {
        transform: translate3d(-18px,14px,-40px) rotate(-0.6deg) scale(1.06);
    }

    100% {
        transform: translate3d(-12px,10px,-34px) rotate(0.8deg) scale(1.05);
    }
}

@keyframes breatheFront {
    0% {
        transform: translate3d(0,0,18px) rotate(0deg) scale(1.0);
    }

    50% {
        transform: translate3d(5px,-6px,22px) rotate(1.0deg) scale(1.015);
    }

    100% {
        transform: translate3d(0,0,18px) rotate(0deg) scale(1.0);
    }
}

@keyframes breatheBack {
    0% {
        transform: translate3d(-12px,10px,-34px) rotate(0deg) scale(1.05);
    }

    50% {
        transform: translate3d(-18px,14px,-40px) rotate(-1.0deg) scale(1.07);
    }

    100% {
        transform: translate3d(-12px,10px,-34px) rotate(0deg) scale(1.05);
    }
}

@keyframes scanSwayFront {
    0% {
        transform: translate3d(0,0,18px) rotate(-0.6deg);
    }

    50% {
        transform: translate3d(8px,-4px,22px) rotate(1.4deg);
    }

    100% {
        transform: translate3d(0,0,18px) rotate(-0.6deg);
    }
}

@keyframes scanSwayBack {
    0% {
        transform: translate3d(-12px,10px,-34px) rotate(0.6deg) scale(1.05);
    }

    50% {
        transform: translate3d(-22px,12px,-40px) rotate(-1.4deg) scale(1.06);
    }

    100% {
        transform: translate3d(-12px,10px,-34px) rotate(0.6deg) scale(1.05);
    }
}

/* Pause idle motion on hover (hover interactions take over) */
.category-section .tool-card:hover .tool-illus svg {
    animation-play-state: paused;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .category-section .tool-card .tool-illus svg {
        animation: none !important;
    }
}



/* === Master header + Solutions catalog: locked to reference homepage === */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 16px;
}


.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}


.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: conic-gradient(from 200deg, #f7941d, #ffb84d, #0072bc, #005a94, #f7941d);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}


    .brand-mark::after {
        content: "";
        position: absolute;
        inset: 3px;
        border-radius: 9px;
        background: radial-gradient(circle at 20% 10%, #ffffff 0, #f5f7fb 40%, #e5edff 100%);
    }


.brand-inner-dot {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(0, 114, 188, 0.12);
    box-shadow: 0 0 0 1px rgba(0, 114, 188, 0.14);
}


    .brand-inner-dot::after {
        content: "";
        position: absolute;
        inset: 3px;
        border-radius: inherit;
        background: #f7941d;
    }


.brand-text-main {
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--pv-muted);
}


.brand-text-sub {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pv-ink);
}


.nav-links {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 0.86rem;
    color: var(--pv-muted);
}


.nav-link {
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
}


    .nav-link:hover {
        background: rgba(255, 255, 255, 0.9);
    }


    .nav-link.primary {
        background: #111827;
        color: #f9fafb;
        font-weight: 500;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.32);
    }


        .nav-link.primary:hover {
            background: #020617;
        }


.hero {
    border-radius: 18px;
    padding: 42px 20px 46px;
    background: linear-gradient(135deg, #0b1220, #020617);
    color: #f9fafb;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1.1fr);
    gap: 22px;
    margin-bottom: 26px;
    box-shadow: inmax(0, 1.6fr) minmax(260px, 1.1fr);
    gap: 22px;
    margin-bottom: 26px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
    position: relative;
    overflow: hidden;
}


    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 12% 0%, rgba(248, 250, 252, 0.18) 0, transparent 45%), radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.18) 0, transparent 50%), radial-gradient(circle at 80% 75%, rgba(248, 250, 252, 0.06) 0, transparent 60%);
        opacity: 0.9;
        pointer-events: none;
    }


.hero-left, .hero-right {
    position: relative;
    z-index: 1;
}


.hero-tagline-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}


    .hero-tagline-chip span.dot {
        display: inline-block;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #22c55e;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.27);
    }


.hero-title {
    font-size: 2.1rem;
    line-height: 1.16;
    font-weight: 650;
    margin-top: 2px;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}


.hero-subtitle {
    font-size: 0.96rem;
    color: #e5e7eb;
    max-width: 520px;
    line-height: 1.40;
    margin-bottom: 11px;
    letter-spacing: 0.01em;
}


    .hero-subtitle strong {
        color: #fefce8;
        font-weight: 500;
    }


.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.8rem;
}


.hero-point {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(55, 65, 81, 0.8);
    color: #e5e7eb;
}


    .hero-point span.icon-dot {
        width: 9px;
        height: 9px;
        border-radius: 999px;
        background: linear-gradient(135deg, #fb923c, #facc15);
    }


.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}


.btn-hero-primary {
    border-radius: 999px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    background: linear-gradient(135deg, #f97316, #facc15);
    color: #0b1120;
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


    .btn-hero-primary:hover {
        filter: brightness(1.04);
    }


.btn-hero-secondary {
    border-radius: 999px;
    padding: 8px 15px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}


.hero-note {
    margin-top: 10px;
    font-size: 0.78rem;
    color: #9ca3af;
}



.hero-right-card {
    border-radius: 14px;
    padding: 12px 12px 10px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
    font-size: 0.78rem;
}


.hero-right-title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e5e7eb;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}


.metric {
    padding: 7px 8px;
    border-radius: 10px;
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.09), transparent 70%);
    border: 1px solid rgba(31, 41, 55, 0.9);
}


.metric-label {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-bottom: 4px;
}


.metric-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: #e5e7eb;
}


.metric-sub {
    font-size: 0.68rem;
    color: #9ca3af;
}


.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}


.hero-pill {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(75, 85, 99, 0.8);
    color: #9ca3af;
    font-size: 0.7rem;
}


.top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}


.top-row-left-title {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--pv-ink);
}


.top-row-left-sub {
    font-size: 0.8rem;
    color: var(--pv-muted);
}


.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
}


.filter-chip {
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(255, 255, 255, 0.95);
    color: var(--pv-muted);
    cursor: pointer;
}


    .filter-chip.active {
        background: #0f172a;
        color: #f9fafb;
        border-color: #0f172a;
    }



.layout {
    display: grid;
    grid-template-columns: minmax(220px, 240px) minmax(0, 1fr);
    gap: 18px;
}


.side-nav {
    position: sticky;
    top: 18px;
    align-self: flex-start;
    border-radius: 14px;
    padding: 10px 10px 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--pv-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    font-size: 0.8rem;
}


.side-nav-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pv-muted);
    margin-bottom: 6px;
}


.side-nav-list {
    list-style: none;
}


.side-nav-item {
    border-radius: 999px;
    padding: 6px 8px;
    cursor: pointer;
    color: var(--pv-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}


    .side-nav-item span.dot {
        width: 5px;
        height: 5px;
        border-radius: 999px;
        background: #d1d5db;
    }


    .side-nav-item.active {
        background: #0f172a;
        color: #f9fafb;
    }


        .side-nav-item.active span.dot {
            background: #fbbf24;
        }



.solutions {
    display: flex;
    flex-direction: column;
    gap: 18px;
}




.selected-strip {
    margin-top: 14px;
    margin-bottom: 6px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f3f4ff;
    border: 1px dashed var(--pv-border);
    font-size: 13px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
}


.selected-strip-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 0;
}


    .selected-strip-row:last-child {
        margin-bottom: 0;
    }


.selected-label {
    font-weight: 600;
    color: var(--pv-ink);
}


.selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


.selected-chip {
    padding: 4px 9px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d4dcff;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

@media (max-width: 1040px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @media (max-width: 760px) {
        body {
            padding-top: 18px;
        }

        @media (max-width: 640px) {
            .nav {
                flex-direction: column;
                align-items: flex-start;
            }

            @media (max-width: 1100px) {
                .selected-strip {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }

                @media (max-width: 720px) {
                    .selected-strip {
                        grid-template-columns: minmax(0, 1fr);
                    }
                }
            }
        }
    }
}

/* ===== Group block hover: light-up + pop-out (Solution Catalog group blocks) ===== */
.selected-strip-row.is-jump {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.35);
    background: rgba(255,255,255,0.62);
    transform: translateZ(0);
}

    .selected-strip-row.is-jump::before {
        content: "";
        position: absolute;
        inset: -40px;
        background: radial-gradient(circle at 30% 20%, rgba(250,204,21,0.22), transparent 55%), radial-gradient(circle at 70% 70%, rgba(59,130,246,0.18), transparent 55%), radial-gradient(circle at 50% 50%, rgba(255,255,255,0.22), transparent 60%);
        opacity: 0;
        filter: blur(0px);
        transition: opacity 0.16s ease;
        pointer-events: none;
    }

    .selected-strip-row.is-jump:hover {
        transform: translateY(-3px) scale(1.012);
        border-color: rgba(15,23,42,0.18);
        background: rgba(255,255,255,0.92);
        box-shadow: 0 18px 40px rgba(15,23,42,0.16), 0 0 0 3px rgba(250,204,21,0.14);
    }

        .selected-strip-row.is-jump:hover::before {
            opacity: 1;
        }

    .selected-strip-row.is-jump:active {
        transform: translateY(-1px) scale(1.006);
        box-shadow: 0 12px 26px rgba(15,23,42,0.12), 0 0 0 3px rgba(250,204,21,0.10);
    }

@media (max-width: 1100px) {
    .selected-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .selected-strip {
        grid-template-columns: minmax(0, 1fr);
    }
}

.footer {
    margin-top: 40px;
    padding: 18px 32px 28px;
    border-top: 1px solid var(--pv-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--pv-muted);
    background: #f9fafc;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--pv-blue), var(--pv-orange));
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-inner-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
}

.footer-brand-text-main {
    font-weight: 600;
    color: var(--pv-ink);
}

.footer-right {
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* Left Accent Bars for Each Category */
.category-section::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    opacity: 0.9;
}

.category-section[data-category="market" id="learning-market"]::after {
    background: rgba(0,114,188,0.55);
}

.category-section[data-category="product"]::after {
    background: rgba(247,148,29,0.55);
}

.category-section[data-category="experience"]::after {
    background: rgba(34,197,94,0.55);
}

.category-section[data-category="evidence"]::after {
    background: rgba(99,102,241,0.55);
}


/* Alternate background shading for category sections */
.category-section:nth-of-type(odd) {
    background: rgba(250, 250, 255, 0.92);
}

.category-section:nth-of-type(even) {
    background: rgba(242, 244, 250, 0.92);
}


/* Reveal animation for solution categories */
.category-section {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out, box-shadow 0.25s ease-out;
}

    .category-section.is-visible {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    }

@media (prefers-reduced-motion: reduce) {
    .category-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* Responsive hero padding */
@media (min-width: 900px) and (max-width: 1399px) {
    .hero {
        padding: 56px 28px 64px;
    }
}

@media (min-width: 1400px) {
    .hero {
        padding: 62px 32px 72px;
    }
}

/* Hero fade-in micro interaction */
.hero {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

    .hero.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    .hero {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* Responsive lift for hero tagline */
@media (min-width: 768px) {
    .hero-tagline-chip {
        margin-top: -4px;
    }
}

@media (min-width: 1200px) {
    .hero-tagline-chip {
        margin-top: -10px;
    }
}

/* Make solution-group chips act like jump links */
.selected-strip-row.is-jump {
    cursor: pointer;
    border-radius: 12px;
    padding: 10px 10px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

    .selected-strip-row.is-jump:hover {
        background: rgba(255,255,255,0.78);
        box-shadow: 0 10px 22px rgba(15,23,42,0.10);
        transform: translateY(-1px);
    }

    .selected-strip-row.is-jump:active {
        transform: translateY(0px);
        box-shadow: 0 6px 14px rgba(15,23,42,0.08);
    }

    .selected-strip-row.is-jump:focus {
        outline: none;
    }

    .selected-strip-row.is-jump:focus-visible {
        box-shadow: 0 0 0 3px rgba(0,114,188,0.22), 0 10px 22px rgba(15,23,42,0.10);
    }



/* ===== Group block hover: light-up + pop-out (Solution Catalog group blocks) ===== */
.selected-strip-row.is-jump {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.35);
    background: rgba(255,255,255,0.62);
    transform: translateZ(0);
}

    .selected-strip-row.is-jump::before {
        content: "";
        position: absolute;
        inset: -40px;
        background: radial-gradient(circle at 30% 20%, rgba(250,204,21,0.22), transparent 55%), radial-gradient(circle at 70% 70%, rgba(59,130,246,0.18), transparent 55%), radial-gradient(circle at 50% 50%, rgba(255,255,255,0.22), transparent 60%);
        opacity: 0;
        filter: blur(0px);
        transition: opacity 0.16s ease;
        pointer-events: none;
    }

    .selected-strip-row.is-jump:hover {
        transform: translateY(-3px) scale(1.012);
        border-color: rgba(15,23,42,0.18);
        background: rgba(255,255,255,0.92);
        box-shadow: 0 18px 40px rgba(15,23,42,0.16), 0 0 0 3px rgba(250,204,21,0.14);
    }

        .selected-strip-row.is-jump:hover::before {
            opacity: 1;
        }

    .selected-strip-row.is-jump:active {
        transform: translateY(-1px) scale(1.006);
        box-shadow: 0 12px 26px rgba(15,23,42,0.12), 0 0 0 3px rgba(250,204,21,0.10);
    }

/* View Toggle Buttons - Capsule 3D Style */
.view-toggle-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 0px;
    justify-content: center;
    flex-wrap: wrap;
}

.view-btn {
    min-width: 200px;
    padding: 6px 24px;
    border: none;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    /* 3D Effect - Default state */
    background: linear-gradient(to bottom, #ffffff 0%, #f3f4f6 100%);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--pv-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .view-btn span {
        position: relative;
        z-index: 1;
    }

    /* Hover Effect - Lift and enhance shadow */
    .view-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18), 0 3px 6px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
        border-color: rgba(148, 163, 184, 0.4);
    }

    /* Active state - pressed down */
    .view-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(15, 23, 42, 0.10), inset 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    /* Selected/Active button - orange gradient */
    .view-btn.active {
        background: linear-gradient(to bottom, #f7941d 0%, #e87d0d 100%);
        box-shadow: 0 6px 12px rgba(247, 148, 29, 0.35), 0 2px 4px rgba(247, 148, 29, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        border: 1px solid rgba(231, 125, 13, 0.6);
        color: #ffffff;
        font-weight: 700;
    }

        .view-btn.active:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(247, 148, 29, 0.45), 0 4px 8px rgba(247, 148, 29, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.4);
            background: linear-gradient(to bottom, #ff9d2e 0%, #f7941d 100%);
        }

        .view-btn.active:active {
            transform: translateY(1px);
            box-shadow: 0 3px 6px rgba(247, 148, 29, 0.30), inset 0 1px 2px rgba(0, 0, 0, 0.15);
        }

/* Responsive adjustments */
@media (max-width: 640px) {
    .view-toggle-buttons {
        gap: 8px;
    }

    .view-btn {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

.view-toggle-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 5px;
    gap: 6px;
    margin-left: auto;
}

/* =====================================================
   MOBILE RESPONSIVENESS PATCH (CSS-only, functionality-safe)
   Place at the END of your main stylesheet so it overrides desktop rules.
===================================================== */

/* Prevent accidental horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

/* Make common wrappers respect small screens */
.page {
    width: 100%;
}

.nav, .hero, .top-row, .selected-strip, .solutions, .layout {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 900px) {
    /* Collapse hero earlier for tablets */
    .hero {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 760px) {
    /* Stack main layout */
    .layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .side-nav {
        position: static !important;
        top: auto !important;
        width: 100%;
    }

    /* Side nav becomes horizontal swipeable pills */
    .side-nav-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

        .side-nav-list::-webkit-scrollbar {
            display: none;
        }

    .side-nav-item {
        margin-bottom: 0 !important;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    /* Top nav: wrap instead of squish */
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    /* Filter chips: single row swipe */
    .filter-bar {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

        .filter-bar::-webkit-scrollbar {
            display: none;
        }

    .filter-chip {
        white-space: nowrap;
        flex: 0 0 auto;
    }

    /* Selected strip: 2 cols on phones */
    .selected-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Tool cards grid: 1 column on phones */
    .category-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Tighten paddings */
    .section-band {
        padding: 18px 14px 22px !important;
    }

    body {
        padding: 16px 10px 28px !important;
    }
}

@media (max-width: 420px) {
    /* Very small phones */
    .selected-strip {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .tool-title {
        font-size: 0.92rem;
    }

    .tool-desc {
        font-size: 0.8rem;
    }
}


/* =========================
   MOBILE FIX: prevent illustration/icon overlap with text
   - Keeps left illustration strip + text on the right (layout preserved)
   - CSS-only; no JS/functionality touched
   ========================= */

@media (max-width: 640px) {
    :root {
        --illus-strip-w: 70px;
        --illus-gap: 14px;
    }

    /* Cards with illustration strip */
    .category-section .tool-card[data-url] {
        padding-left: calc(var(--illus-strip-w) + var(--illus-gap) + 18px) !important;
        min-height: 120px;
    }

        .category-section .tool-card[data-url] .tool-illus {
            width: var(--illus-strip-w) !important;
            left: 10px !important;
            top: 10px !important;
            bottom: 10px !important;
            right: auto !important;
        }

        /* Header row wrap so badges never collide with title */
        .category-section .tool-card[data-url] .tool-header-row {
            flex-wrap: wrap;
            align-items: flex-start;
            row-gap: 6px;
        }

        .category-section .tool-card[data-url] .tool-title {
            width: 100%;
        }

        /* Defensive wrapping for long labels */
        .category-section .tool-card[data-url] .tool-title,
        .category-section .tool-card[data-url] .tool-sub,
        .category-section .tool-card[data-url] .tool-desc {
            word-break: break-word;
            overflow-wrap: anywhere;
        }
}

@media (max-width: 520px) {
    :root {
        --illus-strip-w: 64px;
        --illus-gap: 12px;
    }

    .category-section .tool-card[data-url] {
        padding-left: calc(var(--illus-strip-w) + var(--illus-gap) + 18px) !important;
    }
}

@media (max-width: 380px) {
    :root {
        --illus-strip-w: 56px;
        --illus-gap: 10px;
    }

    .category-section .tool-card[data-url] {
        padding-left: calc(var(--illus-strip-w) + var(--illus-gap) + 18px) !important;
    }

    .tool-badge {
        max-width: 60vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tool-link {
        max-width: 70vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* =========================
           INLINE DESCRIPTION EXPANSION (Small, In-card)
           - Replaces hover tooltip with an inline, non-overlay "Details" expander
           ========================= */
.pv-inline-more {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(148,163,184,0.55);
}

.pv-inline-more-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pv-inline-more-btn {
    border: 1px solid rgba(148,163,184,0.75);
    background: rgba(255,255,255,0.9);
    color: #334155;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .pv-inline-more-btn:hover {
        background: rgba(239,246,255,0.95);
        border-color: rgba(59,130,246,0.35);
    }

    .pv-inline-more-btn .chev {
        display: inline-block;
        transition: transform 160ms ease;
        font-size: 0.85em;
        opacity: 0.9;
    }

.pv-inline-more-panel {
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #475569;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-2px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.tool-card.pv-more-open .pv-inline-more-panel {
    max-height: 220px;
    opacity: 1;
    transform: translateY(0);
}

.tool-card.pv-more-open .pv-inline-more-btn .chev {
    transform: rotate(180deg);
}

.pv-inline-more-panel ul {
    margin: 6px 0 0 0;
    padding-left: 18px;
}

.pv-inline-more-panel li {
    margin: 0 0 6px 0;
}

    .pv-inline-more-panel li:last-child {
        margin-bottom: 0;
    }

@media (prefers-reduced-motion: reduce) {
    .pv-inline-more-panel {
        transition: none !important;
    }

    .pv-inline-more-btn .chev {
        transition: none !important;
    }
}




/* === Default Drift Animation (applies to all icon stacks) === */
@keyframes defaultDrift {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0px);
    }
}

.illus-icon,
.illus-icon svg,
.icon-stack,
.icon-stack svg {
    animation: defaultDrift 4s ease-in-out infinite;
    will-change: transform;
}




/* === Universal Icon-Stack Drift Patch (Lab + All Views) === */
/* Apply drift to the actual icon container used by tool cards */
.tool-illus {
    position: relative;
}

    /* When we create an icon-stack inside tool-illus, keep it perfectly aligned */
    .tool-illus .icon-stack {
        position: relative;
        width: 96px;
        height: 96px;
        display: grid;
        place-items: center;
    }

        .tool-illus .icon-stack svg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            overflow: visible;
        }

/* Slight parallax between layers */
@keyframes defaultDriftFront {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0px);
    }
}

@keyframes defaultDriftBack {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0px);
    }
}

.tool-illus .icon-stack .illus-front {
    animation: defaultDriftFront 4s ease-in-out infinite;
    will-change: transform;
}

.tool-illus .icon-stack .illus-back {
    animation: defaultDriftBack 4s ease-in-out infinite;
    will-change: transform;
}




/* === Force Drift for All Tool Cards (v7) === */
/* Some icons may have existing animations/transforms; force drift at the layer level */
@keyframes pvDriftFront {
    0% {
        transform: translate3d(0px, 0px, 0px);
    }

    50% {
        transform: translate3d(6px, 0px, 0px);
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
    }
}

@keyframes pvDriftBack {
    0% {
        transform: translate3d(0px, 0px, 0px);
    }

    50% {
        transform: translate3d(-4px, 0px, 0px);
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
    }
}

@keyframes pvDriftSolo {
    0% {
        transform: translate3d(0px, 0px, 0px);
    }

    50% {
        transform: translate3d(5px, 0px, 0px);
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
    }
}

/* Force on expected layers */
.tool-card .tool-illus .icon-stack .illus-front {
    animation: pvDriftFront 4s ease-in-out infinite !important;
    will-change: transform;
}

.tool-card .tool-illus .icon-stack .illus-back {
    animation: pvDriftBack 4s ease-in-out infinite !important;
    will-change: transform;
}

/* If an icon ends up without stack layers, animate the direct visual element */
.tool-card .tool-illus > svg,
.tool-card .tool-illus > img,
.tool-card .tool-illus > .illus-icon,
.tool-card .tool-illus > .illus-svg {
    animation: pvDriftSolo 4s ease-in-out infinite !important;
    will-change: transform;
}




/* === Deep Icon-Stack Wrapper Patch (v8) === */
/* Ensure icon-stack works even when SVG is nested inside an inner wrapper */
.tool-card .tool-illus .icon-stack {
    position: relative;
    display: grid;
    place-items: center;
}

    .tool-card .tool-illus .icon-stack svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }




    /* === Back Layer Lightness Enhancement (v9) === */
    /* Make all back layers visually lighter without altering layout */
    .tool-card .tool-illus .icon-stack .illus-back {
        opacity: 0.45 !important;
        filter: brightness(1.15) saturate(0.9);
    }

/* Prevent illustration wrappers from blocking clicks on the card.
   Ensures clicks reach the .tool-card handler even after DOM reorders. */
.tool-card .tool-illus,
.tool-card .tool-illus *,
.tool-card .icon-stack,
.tool-card .icon-stack *,
.tool-card .illus-stack,
.tool-card .illus-svg,
.tool-card .illus-front,
.tool-card .illus-back {
    pointer-events: none !important;
}

/* -------------- 22 March 2026 ------------- */

/*. Catalog Pillar Tool Labels Styling */

.selected-chips {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
}

.selected-chip {
    display: block;
    width: 100%;
    padding: 0 0 0 12px;
    border: none;
    background: transparent;
    border-radius: 0;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
    color: #475569;
    position: relative;
    box-shadow: none;
}

    .selected-chip::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        color: #94a3b8;
        font-weight: 700;
    }

    .selected-chip:hover {
        background: transparent;
        color: #334155;
    }

/* Clickable Pillar-Card Behavior Restoration */

.selected-strip-row.is-jump {
    cursor: pointer !important;
    user-select: none;
}

    .selected-strip-row.is-jump .selected-label {
        width: 100%;
    }

    .selected-strip-row.is-jump:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(11, 78, 122, 0.18), 0 16px 34px rgba(15, 23, 42, 0.14) !important;
    }

    .selected-strip-row.is-jump .selected-chip {
        pointer-events: none;
    }

    .selected-strip-row.is-jump:hover .selected-label {
        color: #0f172a;
    }

    .selected-strip-row.is-jump:hover .selected-chip {
        color: #334155;
    }

.selected-strip {
    align-items: stretch;
}

/* Active Pillar Styling*/

.selected-strip-row.is-jump.active {
    transform: translateY(-3px);
    border-color: rgba(11, 78, 122, 0.22);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

    .selected-strip-row.is-jump.active::before {
        opacity: 1;
    }

    .selected-strip-row.is-jump.active .selected-label {
        color: #0f172a;
    }

    .selected-strip-row.is-jump.active .selected-chip {
        color: #334155;
    }

.side-nav-item {
    cursor: pointer;
}

    .side-nav-item:focus-visible {
        outline: 2px solid rgba(11, 78, 122, 0.25);
        outline-offset: 3px;
        border-radius: 10px;
    }

/*v5 Pillar-Card Enhanced Treatment*/
.selected-strip {
    margin-top: 14px;
    margin-bottom: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f7f9ff 0%, #eef4ff 100%);
    border: 1px dashed rgba(203,213,225,0.95);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 14px;
    align-items: stretch;
}

.selected-label {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    width: 100%;
}

.included-tools-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 2px;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(148,163,184,0.45);
    width: 100%;
    pointer-events: none;
}

.selected-chips {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100%;
    align-items: start;
}

.selected-chip {
    display: block !important;
    position: relative;
    width: 100%;
    padding: 0 0 0 16px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    white-space: normal !important;
    color: #475569 !important;
    line-height: 1.48 !important;
    font-size: 12px !important;
    pointer-events: none;
}

    .selected-chip::before {
        content: "–" !important;
        position: absolute;
        left: 0;
        top: 0;
        color: #94a3b8;
        font-weight: 700;
    }

.selected-strip-row.is-jump::after {
    content: "Click card to explore";
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #0b4e7a;
    background: rgba(11,78,122,0.08);
    border: 1px solid rgba(11,78,122,0.12);
    border-radius: 999px;
    padding: 6px 10px;
}

/* v7: Prominent Pillar Labels */

.selected-label {
    font-size: 15.5px;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.selected-strip-row.is-jump.active .selected-label {
    color: #0B4E7A;
}

.selected-strip-row.is-jump:hover .selected-label {
    color: #0f172a;
}

/*v10: Pillar Icons with Animated Underline */
.selected-label-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    width: 100%;
}

.selected-label-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0B4E7A;
    background: linear-gradient(135deg, rgba(11, 78, 122, 0.10), rgba(247, 148, 29, 0.08));
    border: 1px solid rgba(11, 78, 122, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
    margin-top: 1px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

    .selected-label-icon svg {
        width: 18px;
        height: 18px;
        display: block;
        overflow: visible;
    }

.selected-strip-row.is-jump.active .selected-label-icon {
    color: #0B4E7A;
    background: linear-gradient(135deg, rgba(11, 78, 122, 0.16), rgba(247, 148, 29, 0.12));
    border-color: rgba(11, 78, 122, 0.24);
    box-shadow: 0 8px 18px rgba(11, 78, 122, 0.10), inset 0 1px 0 rgba(255,255,255,0.82);
}

.selected-strip-row.is-jump:hover .selected-label-icon {
    transform: translateY(-1px);
}

.selected-label-row::after {
    content: "";
    position: absolute;
    left: 44px;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0B4E7A, #F7941D);
    opacity: 0.96;
    transition: width 0.28s ease;
}

.selected-strip-row.is-jump.active .selected-label-row::after {
    width: 86px;
}

.selected-strip-row.is-jump:hover .selected-label-row::after {
    width: 52px;
}

.selected-strip-row.is-jump.active:hover .selected-label-row::after {
    width: 98px;
}




