/* ==========================================================================
   Solutions — Business Intelligence page-specific styles
   Uses tokens from css/brand-v1.6.css. Master-brand / cross-platform page
   (lives under Solutions in nav), so the page accent stays Navy + Teal.
   Indigo and Coral appear only on the Prime/Pulse platform comparison cards,
   matching the convention used on about.html for the platform picker cards.
   This solution genuinely spans both platforms — Prime's Platform Services
   layer and Pulse Intelligence's Business Intelligence module both list
   real, overlapping features (Enterprise Reporting, Operational Dashboards),
   so the dual-platform split (unlike solutions-workforce-productivity.html,
   which is Prime-only) is grounded in the actual docs, not just the hub tag.
   ========================================================================== */

/* ---- Hero ---- */

/* ---- Hero visual: dashboard embedded in the platform (2026-08-17, Track B
   Cluster A; frame+fill fix 2026-08-17) — a browser-chrome frame wrapping
   a bar chart, standing for "dashboards built INTO Prime/Pulse" (this
   page's own subtitle). This is the deliberate mirror-opposite of
   business-intelligence-solutions.html's concept (external data sources
   feeding a report, no platform chrome) — see docs/known-issues.md for
   why the two BI pages needed different compositions, not just different
   labels.

   Frame+fill fix: this page already had a genuine border, but at 78%/68%
   centered it left a visible margin instead of matching the site's
   full-bleed frame convention (see it-consulting.css's comment for the
   full writeup) — changed to inset:0 so the browser window itself IS the
   frame. ---- */

.sbihv-fallback {
    position: absolute;
    inset: 0;
}

.sbihv-browser {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sbihv-browser-bar {
    display: flex;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sbihv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--da-white) 25%, transparent);
}

.sbihv-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
    padding: 1rem 1.25rem 1.25rem;
}

.sbihv-chart-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: color-mix(in srgb, var(--da-white) 22%, transparent);
}

.sbihv-chart-bar--peak {
    background: var(--accent, var(--da-teal-600));
}

/* ---- Shared section label / title pattern ---- */

/* ---- The Challenge (intro) ---- */

.sbi-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Before / After visual (sits inside The Challenge section) ---- */

/* ---- What Changes: 4-up feature cards ---- */

.sbi-changes {
    padding: 60px 0;
    background: var(--da-gray-100);
}

.sbi-changes-text {
    font-size: 1.05rem;
    color: var(--da-gray-500);
    line-height: 1.7;
    width: 100%;
    margin-bottom: 2.5rem;
}

.sbi-change-text {
    font-size: 0.92rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Across Both Platforms: Prime = Indigo, Pulse = Coral ---- */

.sbi-platforms {
    padding: 60px 0;
    background: var(--da-white);
}

.sbi-platform-card-text {
    font-size: 1rem;
    color: var(--da-gray-500);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* ---- Outcomes: chip row ---- */

.sbi-outcomes {
    padding: 20px 0 70px;
    background: var(--da-white);
}

/* ---- Explore Other Solutions ---- */

.sbi-explore {
    padding: 20px 0 80px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.sbi-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.sbi-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {
    .sbi-hero {
        padding: 130px 0 60px;
    }

    .sbi-hero-title {
        font-size: 2.1rem;
    }

    .sbi-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .sbi-section-title {
        font-size: 1.65rem;
    }
}

@media (max-width: 575.98px) {
    .sbi-hero-title {
        font-size: 1.75rem;
    }

    .sbi-section-title {
        font-size: 1.5rem;
    }

    .sbi-cta-title {
        font-size: 1.4rem;
    }

    .sbi-baf {
        flex-direction: column;
    }

    .sbi-baf-arrow {
        transform: rotate(90deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sbi-change-card,
    .sbi-platform-card,
    .sbi-explore-card,
    .sbi-cta-actions a {
        transition: none;
    }

    .sbi-change-card:hover,
    .sbi-platform-card:hover,
    .sbi-explore-card:hover,
    .sbi-cta-actions a:hover {
        transform: none;
    }
}
