/* ==========================================================================
   Predictive Intelligence (AI child page of the Resources hub)
   Uses tokens from css/brand-v1.6.css. Master-brand / cross-platform page,
   so accents stay Navy + Teal — never Indigo or Coral here, even though
   the content is entirely about DataArtha Pulse's forecasting capabilities;
   the Resources section itself is cross-platform navigation, not inside
   the Pulse product UI.
   ========================================================================== */

/* ---- Hero visual: trend line turning from actual to forecast
   (2026-08-17, Track B Cluster A) — a literal read of this page's own
   headline ("see what's coming, not just what happened"): a solid line
   (actual data) becomes a dashed line (forecast) at a marked "today" dot.

   Frame+fill fix (2026-08-17): the first build had no enclosing border at
   all — just the SVG line and dot floating in the transparent fallback box.
   Added .pihv-frame (matching the site's established hero-visual
   convention — see it-consulting.css's comment for the full writeup); the
   trend line's own 8%/12% margins already read as intentional padding
   inside the new frame, so no repositioning was needed. ---- */

.pihv-fallback {
    position: absolute;
    inset: 0;
}

.pihv-frame {
    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);
}

.pihv-trend {
    position: absolute;
    left: 8%;
    top: 12%;
    width: 84%;
    height: 70%;
}

.pihv-trend-solid {
    fill: none;
    stroke: var(--accent, var(--da-teal-400));
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pihv-trend-dashed {
    fill: none;
    stroke: color-mix(in srgb, var(--da-white) 55%, transparent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 6 6;
}

.pihv-trend-dot {
    position: absolute;
    left: 58%;
    top: 39%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent, var(--da-teal-400));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, var(--da-teal-400)) 25%, transparent);
    transform: translate(-50%, -50%);
}

/* ---- Shared section label / title pattern ---- */

/* ---- Overview ---- */

.pi-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Where Predictive Intelligence Helps Most ---- */

.pi-capabilities {
    padding: 60px 0;
    background: var(--da-gray-100);
}

.pi-capability-text {
    font-size: 0.95rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Benefits + Demo CTA ---- */

.pi-benefits {
    padding: 70px 0;
    background: var(--da-white);
}

.pi-consult-text {
    font-size: 0.98rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---- Other industries ---- */

.pi-related {
    padding: 60px 0 70px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.pi-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.pi-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .pi-hero-title {
        font-size: 2.1rem;
    }

    .pi-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .pi-section-title {
        font-size: 1.65rem;
    }

    .pi-consult-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .pi-hero-title {
        font-size: 1.75rem;
    }

    .pi-section-title {
        font-size: 1.5rem;
    }

    .pi-capability-card,
    .pi-related-card {
        padding: 1.75rem;
    }

    .pi-consult-card {
        padding: 2rem 1.5rem;
    }

    .pi-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pi-capability-card,
    .pi-related-card,
    .pi-consult-cta,
    .pi-cta-actions a {
        transition: none;
    }

    .pi-capability-card:hover,
    .pi-related-card:hover,
    .pi-consult-cta:hover,
    .pi-cta-actions a:hover {
        transform: none;
    }
}
