/* assets/css/visuals.css */

/* --- General Visual Util Classes --- */
.visual-container {
    position: relative;
    width: 100%;
}

.diagram-svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
}

/* --- Consulting: Chaos vs Order --- */
.hero-section {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-grid-bg {
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    position: absolute;
    inset: 0;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
}

.consulting-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #020617 90%);
    z-index: 2;
    pointer-events: none;
}

.hero-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 768px) {
    .hero-section-inner .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .consulting-hero {
        padding-bottom: 4rem !important;
        min-height: 600px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Typography Adjustments for Uniformity */
    .consulting-hero h1 {
        font-size: 2rem !important;
        /* Reduced to 2rem to fit longer titles */
        margin-bottom: 1rem !important;
    }

    .consulting-hero p {
        font-size: 0.95rem !important;
        max-width: 90% !important;
        margin: 0 auto 2rem auto !important;
    }
}

@media (min-width: 769px) {
    .consulting-hero {
        /* Use padding-bottom 0 for desktop to rely on flex centering or min-height */
        padding-bottom: 0 !important;
    }
}

.chaos-order-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.state-visual {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.state-visual:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent, #3b82f6);
}

.state-visual h4 {
    margin-top: 1rem;
    color: #475569;
    font-weight: 600;
}

/* --- Services Grid Premium --- */
.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .services-grid-premium {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-span-2 {
        grid-column: span 2;
    }

    .services-grid-5 {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }

    .services-grid-5 .service-visual-card {
        border-radius: 8px;
    }

    .services-grid-5 .svc-visual {
        height: 100px;
    }

    .services-grid-5 .svc-visual svg {
        transform: scale(0.8);
    }

    .services-grid-5 .svc-content {
        padding: 1rem;
    }

    .services-grid-5 .svc-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .services-grid-5 .svc-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* --- BI Services Specific Grid (Flex Centered) --- */
.bi-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.bi-services-grid .service-visual-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: white;
    flex: 1 1 300px;
    max-width: 380px;
    width: 100%;
}

/* Ensure Nav Span works mostly */
.nav-span-2 {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .nav-span-2 {
        grid-column: span 2;
    }
}


/* --- Deliverables Grid (6 Cards) --- */
.deliverables-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .deliverables-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .deliverables-grid-6 {
        grid-template-columns: 1fr;
    }
}

.deliv-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.deliv-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--color-primary, #0f172a);
}

.deliv-mockup {
    width: 100%;
    height: 100px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

.deliv-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: shine 4s infinite linear;
    pointer-events: none;
}

@keyframes shine {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* --- Methodology Roadmap (Horizontal) --- */
.roadmap-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
    overflow-x: auto;
}

.roadmap-horizontal::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #334155;
    z-index: 0;
}

.roadmap-node {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0 1rem;
}

.node-circle {
    width: 60px;
    height: 60px;
    background: var(--color-primary, #0f172a);
    border: 4px solid #1e293b;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.roadmap-node:hover .node-circle {
    background: var(--color-accent, #3b82f6);
    transform: scale(1.1);
    border-color: white;
    box-shadow: 0 0 15px var(--color-accent, #3b82f6);
}

.roadmap-node h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.roadmap-node p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .roadmap-horizontal {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
        padding-left: 1rem;
    }

    .roadmap-horizontal::before {
        top: 0;
        bottom: 0;
        left: 29px;
        width: 4px;
        height: auto;
        right: auto;
    }

    .roadmap-node {
        display: flex;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .node-content {
        flex: 1;
    }

    .node-circle {
        margin: 0;
        flex-shrink: 0;
    }
}

/* --- Industry Impact Cards (Enhanced) --- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.impact-card {
    /* Legacy override if needed, or target impact-card-visual if we renamed it. 
       In DE page I kept class="impact-card" but structure changed. 
       Wait, in DE page replacement I used impact-card class. 
       I should style impact-card as well or ensure it inherits.
    */
    background: #1e293b;
    /* Dark bg fallback */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.impact-card-visual {
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.impact-card-visual:hover,
.impact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.impact-icon-wrapper,
.impact-icon {
    margin-bottom: 1.5rem;
    color: var(--color-accent, #38bdf8);
}

.impact-visual-box {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.flow-step {
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    text-align: center;
}

.flow-arrow {
    color: #64748b;
}

/* --- Micro-Interactions --- */
.hover-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}


/* --- Service Visual Cards --- */
.service-visual-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent, #3b82f6);
}

.svc-visual {
    height: 140px;
    background: #f8fafc;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.svc-content {
    padding: 1.5rem;
}

.svc-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.svc-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* ============================================
   ENHANCED VISUAL COMPONENTS - Service Pages
   ============================================ */

/* --- Animated Metric Cards --- */
.metric-card-visual {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.metric-card-visual:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.metric-card-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent, #38bdf8), #22c55e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.metric-card-visual:hover::before {
    transform: scaleX(1);
}

.metric-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent, #38bdf8);
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.metric-value.positive {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    background-clip: text;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.metric-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Metric Mini Chart Container */
.metric-chart-mini {
    height: 60px;
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.metric-chart-mini svg {
    width: 100%;
    height: 100%;
}

/* --- Progress Ring --- */
.progress-ring-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--color-accent, #38bdf8);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 1.5s ease-out;
}

.progress-ring-fill.animated {
    stroke-dashoffset: calc(314 - (314 * var(--progress, 0) / 100));
}

.progress-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

/* --- Comparison Diagrams (Before/After) --- */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.comparison-state {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.comparison-state.before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.1));
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.comparison-state.after {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(34, 197, 94, 0.1));
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.comparison-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-state.before .comparison-state-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.comparison-state.after .comparison-state-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.comparison-state h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.comparison-state.before h4 {
    color: #dc2626;
}

.comparison-state.after h4 {
    color: #16a34a;
}

.comparison-state ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.comparison-state li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #475569;
}

.comparison-state.before li::before {
    content: 'âœ—';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.comparison-state.after li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .comparison-arrow {
        transform: rotate(90deg);
    }
}

/* --- Architecture/Pipeline Diagrams --- */
.architecture-diagram {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
}

.arch-layer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.arch-layer:last-child {
    margin-bottom: 0;
}

.arch-node {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
}

.arch-node:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-3px);
}

.arch-node-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent, #38bdf8);
}

.arch-node-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
}

.arch-connector {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    color: #475569;
}

/* ============================================
   BI REDESIGN STYLES (New)
   ============================================ */

/* --- Grid Pattern Background --- */
.bg-grid-pattern {
    background-image:
        linear-gradient(to right, var(--color-secondary-light) 1px, transparent 1px),
        linear-gradient(to bottom, var(--color-secondary-light) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
}

.dark-mode .bg-grid-pattern {
    background-image:
        linear-gradient(to right, var(--color-primary-light) 1px, transparent 1px),
        linear-gradient(to bottom, var(--color-primary-light) 1px, transparent 1px);
}

/* --- Gradient Text Utilities --- */
.text-gradient-bi {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Hero Section Layout --- */
.bi-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .bi-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-blob {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 9999px;
    filter: blur(100px);
    z-index: 0;
}

.hero-blob.blob-top {
    top: -5rem;
    right: -5rem;
    background: rgba(56, 189, 248, 0.2);
    /* Primary/20 equivalent */
}

.hero-blob.blob-bottom {
    bottom: -5rem;
    left: -5rem;
    background: rgba(56, 189, 248, 0.1);
    /* Accent/10 equivalent */
}

.bi-badge {
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(15, 23, 42, 0.4);
    color: var(--color-accent);
}

.dashboard-visual-wrapper {
    position: relative;
    z-index: 10;
}

.dashboard-frame {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgba(0, 0, 0, 0.5));
    border-radius: 1rem;
    overflow: hidden;
}

.dashboard-header {
    background: #0f172a;
    /* Slate 900 */
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

.dot.bg-red-500 {
    background-color: #ef4444;
}

.dot.bg-yellow-500 {
    background-color: #eab308;
}

.dot.bg-green-500 {
    background-color: #22c55e;
}

.floating-status-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(15, 23, 42, 0.9);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #22c55e;
}

/* --- Comparison Section Layout --- */
.bi-comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .bi-comparison-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.old-way-card {
    background: #f8fafc;
    /* Slate 50 */
    border: 1px solid #e2e8f0;
    position: relative;
}

.old-way-card:hover {
    border-color: #fca5a5;
    /* Red 300 equivalent */
}

.new-way-card {
    background: white;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-xl equivalent */
    width: 100%;
}

@media (min-width: 768px) {
    .new-way-card {
        transform: translateY(-1rem);
    }
}

.icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.old-way-card .icon-wrapper {
    background: #e2e8f0;
    color: #64748b;
}

.new-way-card .icon-wrapper {
    background: rgba(56, 189, 248, 0.1);
    color: var(--color-accent);
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.check-item.negative span {
    color: #ef4444;
    font-weight: bold;
}

.check-item.positive span {
    color: #22c55e;
    font-weight: bold;
}

/* --- Stats Grid --- */
.bi-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bi-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stats-card {
    text-align: left;
}

.stat-icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stat-icon-circle.blue {
    background: #eff6ff;
    color: var(--color-primary);
}

.stat-icon-circle.orange {
    background: #fff7ed;
    color: #f97316;
}

.stat-icon-circle.teal {
    background: #f0fdfa;
    color: #14b8a6;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* --- Services Modules (Modern) --- */
.section-header-split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .section-header-split {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.bi-services-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .bi-services-grid-modern {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- New Service Card Style (Numbered) --- */
.service-card-numbered {
    background: var(--color-bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    height: 100%;
}

.service-card-numbered:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.service-card-numbered .svc-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-bg-light);
    z-index: 0;
    transition: color 0.3s ease;
}

.service-card-numbered:hover .svc-number {
    color: rgba(56, 189, 248, 0.1);
}

.service-card-numbered .svc-content-wrapper {
    position: relative;
    z-index: 1;
}

.service-card-numbered .svc-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.1);
    /* Accent glow low opacity */
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card-numbered .svc-icon-box svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* --- Process Grid --- */
.bi-process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .bi-process-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
}

/* --- Timeline / Process Steps (Connected) --- */
.group-hover-scale {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover-scale {
    transform: scale(1.1);
}

.process-step-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: var(--color-bg-white);
    border: 4px solid var(--color-secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
    transition: all var(--transition-medium);
    margin-left: auto;
    margin-right: auto;
}

.process-step-group:hover .process-step-circle {
    border-color: var(--color-accent);
    transform: scale(1.1);
    color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-accent-glow);
}

.process-line {
    position: absolute;
    top: 1.5rem;
    /* Center of 3rem circle */
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-secondary-light);
    z-index: 0;
    transform: translateY(2rem);
    /* adjust based on grid top margin */
}

@media (max-width: 768px) {
    .process-line {
        display: none;
    }
}

/* --- FAQ Accordion Minimal --- */
.faq-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq-accordion-header {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--color-bg-white);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-main);
    transition: background-color 0.2s ease;
}

.faq-accordion-header:hover {
    background: var(--color-bg-light);
}

.faq-accordion-body {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--color-bg-white);
    color: var(--color-text-muted);
}

.faq-accordion-item.active .faq-accordion-header {
    background: rgba(56, 189, 248, 0.1);
    color: var(--color-primary);
}

.faq-accordion-item.active .faq-accordion-body {
    padding-bottom: 1.25rem;
    max-height: 200px;
    /* Arbitrary large enough height */
}

/* --- Text Utilities --- */
.font-manrope {
    font-family: var(--font-heading);
    /* Fallback to existing Inter */
}

.text-surface-dark {
    color: var(--color-primary-light);
}

.arch-connector svg {
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(3px);
    }
}

/* --- Utility Bridge: BI Service Page --- */
.bi-service-page .absolute {
    position: absolute;
}

.bi-service-page .inset-0 {
    inset: 0;
}

.bi-service-page .top-0 {
    top: 0;
}

.bi-service-page .left-0 {
    left: 0;
}

.bi-service-page .left-6 {
    left: 1.5rem;
}

.bi-service-page .bottom-6 {
    bottom: 1.5rem;
}

.bi-service-page .z-0 {
    z-index: 0;
}

.bi-service-page .grid {
    display: grid;
}

.bi-service-page .inline-flex {
    display: inline-flex;
}

.bi-service-page .flex-col {
    flex-direction: column;
}

.bi-service-page .flex-grow {
    flex-grow: 1;
}

.bi-service-page .justify-between {
    justify-content: space-between;
}

.bi-service-page .justify-center {
    justify-content: center;
}

.bi-service-page .gap-2 {
    gap: 0.5rem;
}

.bi-service-page .gap-3 {
    gap: 0.75rem;
}

.bi-service-page .gap-8 {
    gap: 2rem;
}

.bi-service-page .space-y-3>*+* {
    margin-top: 0.75rem;
}

.bi-service-page .w-1 {
    width: 0.25rem;
}

.bi-service-page .w-2 {
    width: 0.5rem;
}

.bi-service-page .w-full {
    width: 100%;
}

.bi-service-page .h-2 {
    height: 0.5rem;
}

.bi-service-page .h-full {
    height: 100%;
}

.bi-service-page .h-auto {
    height: auto;
}

.bi-service-page .max-w-lg {
    max-width: 32rem;
}

.bi-service-page .max-w-2xl {
    max-width: 42rem;
}

.bi-service-page .max-w-3xl {
    max-width: 48rem;
}

.bi-service-page .max-w-4xl {
    max-width: 56rem;
}

.bi-service-page .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bi-service-page .mt-auto {
    margin-top: auto;
}

.bi-service-page .mb-2 {
    margin-bottom: 0.5rem;
}

.bi-service-page .mb-3 {
    margin-bottom: 0.75rem;
}

.bi-service-page .mb-6 {
    margin-bottom: 1.5rem;
}

.bi-service-page .mb-8 {
    margin-bottom: 2rem;
}

.bi-service-page .mb-12 {
    margin-bottom: 3rem;
}

.bi-service-page .mb-16 {
    margin-bottom: 4rem;
}

.bi-service-page .mt-4 {
    margin-top: 1rem;
}

.bi-service-page .mt-8 {
    margin-top: 2rem;
}

.bi-service-page .p-1 {
    padding: 0.25rem;
}

.bi-service-page .p-3 {
    padding: 0.75rem;
}

.bi-service-page .p-4 {
    padding: 1rem;
}

.bi-service-page .p-8 {
    padding: 2rem;
}

.bi-service-page .px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.bi-service-page .py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.bi-service-page .py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.bi-service-page .py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.bi-service-page .pb-4 {
    padding-bottom: 1rem;
}

.bi-service-page .pt-2 {
    padding-top: 0.5rem;
}

.bi-service-page .pt-4 {
    padding-top: 1rem;
}

.bi-service-page .pt-8 {
    padding-top: 2rem;
}

.bi-service-page .mr-2 {
    margin-right: 0.5rem;
}

.bi-service-page .ml-2 {
    margin-left: 0.5rem;
}

.bi-service-page .text-xs {
    font-size: 0.75rem;
}

.bi-service-page .text-sm {
    font-size: 0.875rem;
}

.bi-service-page .text-xl {
    font-size: 1.25rem;
}

.bi-service-page .text-2xl {
    font-size: 1.5rem;
}

.bi-service-page .text-3xl {
    font-size: 1.875rem;
}

.bi-service-page .text-4xl {
    font-size: 2.25rem;
}

.bi-service-page .font-medium {
    font-weight: 500;
}

.bi-service-page .font-semibold {
    font-weight: 600;
}

.bi-service-page .font-bold {
    font-weight: 700;
}

.bi-service-page .leading-tight {
    line-height: 1.25;
}

.bi-service-page .leading-relaxed {
    line-height: 1.625;
}

.bi-service-page .tracking-wide {
    letter-spacing: 0.025em;
}

.bi-service-page .tracking-widest {
    letter-spacing: 0.1em;
}

.bi-service-page .text-primary {
    color: var(--color-primary);
}

.bi-service-page .text-slate-300 {
    color: #cbd5e1;
}

.bi-service-page .text-slate-400 {
    color: #94a3b8;
}

.bi-service-page .text-slate-500 {
    color: #64748b;
}

.bi-service-page .text-slate-600 {
    color: #475569;
}

.bi-service-page .text-slate-700 {
    color: #334155;
}

.bi-service-page .text-slate-900 {
    color: #0f172a;
}

.bi-service-page .text-green-500 {
    color: #22c55e;
}

.bi-service-page .text-green-600 {
    color: #16a34a;
}

.bi-service-page .text-red-400 {
    color: #f87171;
}

.bi-service-page .bg-accent {
    background-color: var(--color-accent);
}

.bi-service-page .bg-primary {
    background-color: var(--color-primary);
}

.bi-service-page .bg-green-100 {
    background-color: #dcfce7;
}

.bi-service-page .bg-green-500 {
    background-color: #22c55e;
}

.bi-service-page .bg-slate-50 {
    background-color: #f8fafc;
}

.bi-service-page .bg-slate-200 {
    background-color: #e2e8f0;
}

.bi-service-page .bg-slate-300 {
    background-color: #cbd5e1;
}

.bi-service-page .bg-slate-900 {
    background-color: #0f172a;
}

.bi-service-page .bg-slate-800\/50 {
    background-color: rgba(30, 41, 59, 0.5);
}

.bi-service-page .bg-slate-900\/90 {
    background-color: rgba(15, 23, 42, 0.9);
}

.bi-service-page .bg-primary\/10 {
    background-color: rgba(56, 189, 248, 0.1);
}

.bi-service-page .bg-primary\/5 {
    background-color: rgba(56, 189, 248, 0.05);
}

.bi-service-page .border {
    border-width: 1px;
    border-style: solid;
}

.bi-service-page .border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.bi-service-page .border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.bi-service-page .border-y {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
}

.bi-service-page .border-slate-100 {
    border-color: #f1f5f9;
}

.bi-service-page .border-slate-200 {
    border-color: #e2e8f0;
}

.bi-service-page .border-slate-600 {
    border-color: #475569;
}

.bi-service-page .border-slate-700 {
    border-color: #334155;
}

.bi-service-page .border-slate-800 {
    border-color: #1e293b;
}

.bi-service-page .border-primary\/20 {
    border-color: rgba(56, 189, 248, 0.2);
}

.bi-service-page .rounded-lg {
    border-radius: 0.5rem;
}

.bi-service-page .rounded-xl {
    border-radius: 0.75rem;
}

.bi-service-page .rounded-2xl {
    border-radius: 1rem;
}

.bi-service-page .rounded-full {
    border-radius: 9999px;
}

.bi-service-page .shadow-sm {
    box-shadow: var(--shadow-sm);
}

.bi-service-page .shadow-xl {
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.12), 0 4px 6px -4px rgba(15, 23, 42, 0.12);
}

.bi-service-page .shadow-2xl {
    box-shadow: 0 24px 50px -12px rgba(2, 6, 23, 0.45);
}

.bi-service-page .shadow-primary\/5 {
    box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.08), 0 4px 6px -4px rgba(56, 189, 248, 0.08);
}

.bi-service-page .opacity-90 {
    opacity: 0.9;
}

.bi-service-page .opacity-\[0\.4\] {
    opacity: 0.4;
}

.bi-service-page .opacity-\[0\.3\] {
    opacity: 0.3;
}

.bi-service-page .overflow-hidden {
    overflow: hidden;
}

.bi-service-page .object-cover {
    object-fit: cover;
}

.bi-service-page .backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bi-service-page .transition-all {
    transition: all 0.25s ease;
}

.bi-service-page .transition-colors {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.bi-service-page .transition-shadow {
    transition: box-shadow 0.2s ease;
}

.bi-service-page .transition-transform {
    transition: transform 0.2s ease;
}

.bi-service-page .transform {
    transform: translateZ(0);
}

.bi-service-page .arrow-indicator {
    display: inline-block;
}

.bi-service-page .btn-group {
    align-items: flex-start;
}

.bi-service-page .animate-slide-up {
    animation: biSlideUp 0.6s ease-out both;
}

.bi-service-page .animate-fade-in {
    animation: biFadeIn 0.7s ease-out both;
}

.bi-service-page .animate-pulse {
    animation: biPulse 2s ease-in-out infinite;
}

.bi-service-page .hover\:border-red-200:hover {
    border-color: #fecaca;
}

.bi-service-page .hover\:border-slate-400:hover {
    border-color: #94a3b8;
}

.bi-service-page .hover\:border-primary\/30:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.bi-service-page .hover\:shadow-md:hover {
    box-shadow: var(--shadow-md);
}

.bi-service-page .hover\:shadow-lg:hover {
    box-shadow: var(--shadow-lg);
}

.bi-service-page .hover\:text-primary-dark:hover {
    color: var(--color-primary-dark);
}

.bi-service-page .hover\:text-white:hover {
    color: #ffffff;
}

.bi-service-page .group:hover .group-hover\:bg-red-300 {
    background-color: #fca5a5;
}

.bi-service-page .group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

.bi-service-page .group:hover .group-hover\:text-primary\/20 {
    color: rgba(15, 23, 42, 0.2);
}

@media (min-width: 640px) {
    .bi-service-page .sm\:flex-row {
        flex-direction: row;
    }

    .bi-service-page .sm\:w-auto {
        width: auto;
    }

    .bi-service-page .btn-group {
        align-items: center;
    }
}

@media (min-width: 768px) {
    .bi-service-page .md\:-translate-y-4 {
        transform: translateY(-1rem);
    }
}

@media (min-width: 1024px) {
    .bi-service-page .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@keyframes biSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes biFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes biPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }
}

/* --- Tech Stack Grid --- */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-3px);
}

.tech-item-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    color: var(--color-accent, #38bdf8);
    font-size: 1.5rem;
}

.tech-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
}

.tech-item-category {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* --- Case Study Visual Cards --- */
.case-study-visual {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-study-visual:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-study-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.case-study-icon {
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent, #38bdf8);
}

.case-study-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.case-study-industry {
    font-size: 0.8rem;
    color: #64748b;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.case-metric {
    background: #0f172a;
    padding: 1.25rem;
    text-align: center;
}

.case-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
}

.case-metric-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.case-study-timeline {
    padding: 1.5rem;
}

.timeline-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent, #38bdf8), #22c55e);
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-out;
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

/* --- Animated Counter --- */
.animated-counter {
    display: inline-block;
}

.animated-counter[data-counted="true"] {
    animation: countPop 0.3s ease-out;
}

@keyframes countPop {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Scroll-Triggered Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-child {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-parent.visible .stagger-child {
    animation: staggerIn 0.5s ease forwards;
}

.stagger-parent.visible .stagger-child:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-parent.visible .stagger-child:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-parent.visible .stagger-child:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-parent.visible .stagger-child:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-parent.visible .stagger-child:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-parent.visible .stagger-child:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Metrics Grid (Responsive) --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Dark Comparison Container (for dark sections) --- */
.comparison-container-dark {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

@media (max-width: 768px) {
    .comparison-container-dark {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.comparison-state-dark {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.comparison-state-dark.before {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-state-dark.after {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.comparison-state-dark h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.comparison-state-dark.before h4 {
    color: #f87171;
}

.comparison-state-dark.after h4 {
    color: #4ade80;
}

.comparison-state-dark ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.comparison-state-dark li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.comparison-state-dark.before li::before {
    content: 'âœ—';
    position: absolute;
    left: 0;
    color: #f87171;
}

.comparison-state-dark.after li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: #4ade80;
}

/* --- Outcomes Hero Grid --- */
.outcomes-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.hero-metric-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.hero-metric-card .metric-value {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.hero-metric-card .metric-description {
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0 auto;
}

.supporting-metrics-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.supporting-metrics-column .metric-card-visual {
    height: 100%;
}

@media (max-width: 768px) {
    .outcomes-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ Accordion --- */
.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--color-accent, #38bdf8);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent, #38bdf8);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #94a3b8;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-accent, #38bdf8);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    /* Large enough for most content */
    border-top: 1px solid #f1f5f9;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Consulting: Measurable Outcomes Redesign --- */
.outcome-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
    align-items: stretch;
}

.outcome-image-col,
.outcome-text-col {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.outcome-image-col {
    position: relative;
    margin: 2rem;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove old overlay if it exists, or ensure we don't accidentally keep it */
.outcome-image-col::after {
    display: none;
}

.outcome-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* Deep dropshadow for card effect */
}

/* No hover effect on col needed */

.outcome-row:hover .outcome-img {
    transform: translateY(-5px);
    /* Lift effect instead of scale/zoom */
    /* box-shadow removed to eliminate glow */
}

@media (max-width: 991px) {
    .outcome-image-col {
        margin: 1rem;
        min-height: 250px;
        order: 1;
        /* Ensure image is always first on mobile */
    }

    .outcome-text-col {
        order: 2;
        /* Text always second */
    }

    .outcome-row {
        flex-direction: column !important;
        /* Force column layout including reverse rows */
    }
}

.outcome-text-col {
    display: flex;
    align-items: center;
    background: #0f172a;
    padding: 4rem;
}

.outcome-text-col h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.outcome-text-col p {
    color: #cbd5e1;
    /* Light gray for readability */
}

.outcome-content {
    max-width: 600px;
    margin: 0 auto;
}

.outcome-icon {
    width: 64px;
    height: 64px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.metric-big {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.metric-small {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.metric-highlight {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .outcome-row.reverse {
        flex-direction: row-reverse;
    }
}

@media (max-width: 991px) {
    .outcome-text-col {
        padding: 3rem 1.5rem;
    }

    .outcome-content h2 {
        font-size: 2rem;
        /* Smaller heading on mobile */
    }

    .metric-big {
        font-size: 2.5rem;
    }
}

/* ============================================
   UI/UX ENHANCEMENTS - Consulting Page
   ============================================ */

/* --- Hero Visual Continuity Line --- */
.hero-connector {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent, #38bdf8), transparent);
    z-index: 100;
}

/* --- Chaos vs Order Enhanced --- */
.state-visual.chaos-state {
    border-color: rgba(239, 68, 68, 0.3);
}

.state-visual.chaos-state:hover {
    border-color: #ef4444;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}

.state-visual.chaos-state svg {
    color: #ef4444;
}

.state-visual.order-state {
    border-color: rgba(34, 197, 94, 0.3);
}

.state-visual.order-state:hover {
    border-color: #22c55e;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.state-visual.order-state svg {
    color: #22c55e;
}

.chaos-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.chaos-arrow svg {
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .chaos-arrow {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
}

/* --- Outcome Section Enhanced --- */
.outcome-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent, #38bdf8), #0ea5e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
    z-index: 10;
}

.outcome-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
}

.outcome-row:hover .outcome-img {
    transform: translateY(-8px) scale(1.02);

}

/* Animated Counter for Metrics */
.metric-big {
    position: relative;
    display: inline-block;
}

.metric-big.glow {
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.metric-highlight {
    position: relative;
}

.metric-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

.outcome-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--color-accent, #38bdf8);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.outcome-learn-more:hover {
    gap: 0.75rem;
    color: #7dd3fc;
}

.outcome-learn-more svg {
    transition: transform 0.3s ease;
}

.outcome-learn-more:hover svg {
    transform: translateX(4px);
}

/* --- Services Grid Enhanced --- */
.service-card-clean {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start, #38bdf8), var(--gradient-end, #0ea5e9));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-clean:hover::before {
    transform: scaleX(1);
}

.service-card-clean:nth-child(1) {
    --gradient-start: #38bdf8;
    --gradient-end: #0ea5e9;
}

.service-card-clean:nth-child(2) {
    --gradient-start: #a78bfa;
    --gradient-end: #8b5cf6;
}

.service-card-clean:nth-child(3) {
    --gradient-start: #34d399;
    --gradient-end: #10b981;
}

.service-card-clean:nth-child(4) {
    --gradient-start: #fbbf24;
    --gradient-end: #f59e0b;
}

.service-card-clean:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.service-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(14, 165, 233, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent, #38bdf8);
    margin-bottom: 1rem;
}

.service-icon-clean {
    width: 56px;
    height: 56px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card-clean:hover .service-icon-clean {
    background: rgba(56, 189, 248, 0.1);
    color: var(--color-accent, #38bdf8);
}

.service-card-clean .service-icon-clean svg {
    width: 32px;
    height: 32px;
}

.service-card-clean h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.service-card-clean p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-learn-more {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent, #38bdf8);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.service-card-clean:hover .service-learn-more {
    opacity: 1;
    transform: translateY(0);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Methodology Roadmap Enhanced --- */
.roadmap-horizontal::before {
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    height: 3px;
    animation: lineDrawIn 1.5s ease-out forwards;
}

@keyframes lineDrawIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.node-circle {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 3px solid #334155;
    position: relative;
}

.node-circle::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0);
    transition: all 0.3s ease;
}

.roadmap-node:hover .node-circle::after {
    border-color: rgba(56, 189, 248, 0.4);
    animation: pulseRing 1.5s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* --- Deliverables Enhanced --- */
.deliverables-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.deliv-card {
    position: relative;
    background: var(--color-primary);
    /* Dark Blue */
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.deliv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: var(--color-accent, #38bdf8);
}

.deliv-mockup {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    color: #94a3b8;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deliv-card:hover .deliv-mockup {
    background: rgba(56, 189, 248, 0.15);
    color: var(--color-accent, #38bdf8);
    transform: scale(1.05) rotate(2deg);
    border-color: rgba(56, 189, 248, 0.3);
}

.deliv-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.deliv-card:hover h3 {
    color: var(--color-accent, #38bdf8);
}

.deliv-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.deliv-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.deliv-card:hover .deliv-number {
    background: var(--color-accent, #38bdf8);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

@media (max-width: 1024px) {
    .deliverables-grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .deliverables-grid-6 {
        grid-template-columns: 1fr;
    }

    .deliv-card {
        padding: 2rem 1.5rem;
    }
}

/* --- Industries Enhanced --- */
.impact-card {
    transition: all 0.3s ease;
}

.impact-card:hover .flow-arrow {
    animation: flowPulse 0.6s ease-in-out infinite;
    color: var(--color-accent, #38bdf8);
}

@keyframes flowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(3px);
    }
}

/* Industry-specific accent colors */
.impact-card:nth-child(1) .impact-icon {
    color: #38bdf8;
}

.impact-card:nth-child(2) .impact-icon {
    color: #f87171;
}

.impact-card:nth-child(3) .impact-icon {
    color: #a78bfa;
}

.impact-card:nth-child(4) .impact-icon {
    color: #fbbf24;
}

.impact-card:nth-child(5) .impact-icon {
    color: #34d399;
}

.impact-card:nth-child(6) .impact-icon {
    color: #22d3ee;
}

.impact-card:nth-child(7) .impact-icon {
    color: #fb923c;
}

.impact-card:nth-child(8) .impact-icon {
    color: #facc15;
}

.impact-card:nth-child(9) .impact-icon {
    color: #f472b6;
}

.impact-card {
    padding: 1.5rem;
}

/* --- FAQ Enhanced --- */
.faq-item {
    position: relative;
}

.faq-number {
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    width: 2rem;
    text-align: right;
}

.faq-list {
    position: relative;
    padding-left: 3rem;
}

.faq-answer {
    border-left: 3px solid transparent;
}

.faq-item.active .faq-answer {
    border-left-color: var(--color-accent, #38bdf8);
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.03), transparent);
}

/* --- CTA Section Enhanced --- */
.cta-enhanced {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
}

.cta-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(56, 189, 248, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    animation: patternFloat 20s linear infinite;
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 30px 30px;
    }
}

.cta-enhanced .container {
    position: relative;
    z-index: 10;
}

.btn-primary-glow {
    position: relative;
    transition: all 0.3s ease;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--color-accent, #38bdf8), #0ea5e9);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.btn-primary-glow:hover::before {
    opacity: 0.6;
}

.cta-trust {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.cta-trust svg {
    color: #22c55e;
}

/* --- Scroll Margin for Anchors --- */
section[id] {
    scroll-margin-top: 80px;
}

/* --- Contrast Fixes --- */
.text-muted-light {
    color: #cbd5e1;
}

/* --- Mobile Spacing Adjustments --- */
@media (max-width: 768px) {
    .section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .faq-list {
        padding-left: 0;
    }

    .faq-number {
        display: none;
    }
}

/* --- Engagement Process & Deliverables Timeline --- */
.process-timeline-section {
    position: relative;
    padding: 4rem 0;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    overflow: visible;
    /* Allow indicators to hang outside */
}

/* Vertical Line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -80px;
    /* Aligned with center of absolute indicators */
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.process-step {
    display: flex;
    /* gap: 3rem; Removed gap as indicator is absolute */
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-indicator {
    position: absolute;
    left: -120px;
    /* Push out to left */
    top: 0;
    bottom: 0;

    flex-shrink: 0;
    width: 80px;
    display: flex;
    justify-content: center;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #cbd5e1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    position: sticky;
    top: 100px;
    /* Sticky effect for long cards */
}

.process-step:hover .step-circle {
    border-color: var(--color-accent, #3b82f6);
    color: var(--color-accent, #3b82f6);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.step-content {
    flex: 1;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.step-description {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Embedded Deliverables */
.step-deliverables {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
}

.deliv-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deliv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.deliv-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.deliv-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.deliv-icon {
    color: var(--color-accent, #3b82f6);
    flex-shrink: 0;
    margin-top: 2px;
}

.deliv-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.25rem;
}

.deliv-text p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .process-timeline {
        position: static !important;
        /* Reset position */
        padding: 0 !important;
        /* Reset all padding */
        margin: 0 auto !important;
        /* Use auto margins to center */
        width: 100% !important;
        max-width: none !important;
        /* Override desktop max-width: 900px */
    }

    .process-timeline::before {
        display: none !important;
    }

    .process-step {
        position: static !important;
        /* Reset position */
        flex-direction: column;
        gap: 0;
        /* Remove gap since indicator is hidden */
        margin: 0 auto 3rem auto !important;
        /* Center with auto margins, keep bottom spacing */
        padding: 0 !important;
        /* Reset any padding */
        width: 100% !important;
        align-items: stretch;
    }

    .step-indicator {
        display: none !important;
    }

    .step-circle {
        display: none !important;
    }

    .step-content {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 1.5rem !important;
        /* Reduce padding for mobile */
        flex: auto;
        text-align: center;
        /* Center text for better mobile presentation */
    }
}

/* --- Global Mobile Typography Tweaks --- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
        /* Smaller hero title */
    }

    .hero-section p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
        /* reduce section padding */
    }

    h2 {
        font-size: 2rem;
    }
}

/* --- Deliverables Value Stack (Layers) --- */
.value-stack-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-layer {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.value-layer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e2e8f0;
}

.value-layer[data-layer="1"]::before {
    background: #1e40af;
    /* Blue-800 - Deepest Blue */
}

.value-layer[data-layer="2"]::before {
    background: #2563eb;
    /* Blue-600 - Strong Blue */
}

.value-layer[data-layer="3"]::before {
    background: #3b82f6;
    /* Blue-500 - Standard Blue */
}

.value-layer[data-layer="4"]::before {
    background: #60a5fa;
    /* Blue-400 - Light Blue */
}

.layer-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.layer-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.25rem;
    display: block;
}

.layer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.layer-subtitle {
    font-size: 0.95rem;
    color: #475569;
    margin-top: 0.25rem;
}

.layer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #0f172a;
    font-weight: 600;
}

.value-item p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Premium Business Intelligence Report Card (Blue Theme) */
.premium-artifact-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06);
}

.premium-artifact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

/* Ensure the H4 inside header gets the blue color via CSS, overriding potentially old inline styles */
.premium-artifact-header div h4 {
    margin: 0;
    color: #1e40af !important;
    /* Force Blue-800 */
}

.premium-badge {
    background: #dbeafe;
    /* Blue-100 */
    color: #1e40af;
    /* Blue-800 */
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.premium-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.premium-content li {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.25rem;
}

/* Premium Mini Cards */
.premium-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.premium-mini-card {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    /* Blue-200 */
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 0.95rem;
    color: #4b5563;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.05);
    /* Blue shadow */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.5;
    height: 100%;
}

.premium-mini-card strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #1d4ed8;
    /* Blue-700 */
    font-size: 1rem;
    font-weight: 700;
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item.active {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    user-select: none;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h4 {
    color: #1e40af;
    /* Blue-800 */
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: #3b82f6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Approximate max height */
    transition: max-height 0.4s ease-in-out;
    border-top: 1px solid #f1f5f9;
}

.faq-answer p {
    padding: 1.25rem;
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- Chaos to Order Arrow --- */
.chaos-arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    transform: rotate(90deg);
    /* Point down on Mobile */
}

@media (min-width: 768px) {
    .chaos-arrow-container {
        margin: 0;
        transform: rotate(0deg);
        /* Point right on Desktop */
    }

    .chaos-order-container {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

.chaos-order-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    /* Ensure container takes full width */
}

/* --- Safety Fix for State Visuals --- */
.state-visual {
    background: #fff;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    margin: 0;
    /* Removing any inherited margins */
    width: 100%;
    max-width: 400px;
    /* Prevent being too wide on mobile */
    box-sizing: border-box;
    /* Handle padding correctly */
}

@media (min-width: 768px) {
    .state-visual {
        flex: 1;
        max-width: none;
    }
}

/* --- Utility: Hide on Mobile --- */
@media (max-width: 767px) {
    .mobile-hidden {
        display: none !important;
    }

    /* --- Mobile Optimization: BI Process --- */
    .roadmap-horizontal {
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: flex-start !important;
    }

    .roadmap-node {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        width: 100% !important;
        gap: 1.5rem !important;
        margin-top: 0 !important;
    }

    .node-circle {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.1rem !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        /* Reset auto margins */
    }

    .node-text h4 {
        margin: 0 0 0.25rem 0 !important;
        font-size: 1.2rem !important;
    }

    .node-text p {
        margin: 0 !important;
        font-size: 0.95rem !important;
        color: #cbd5e1 !important;
    }

    /* --- Mobile Padding Reduction: BI Intro Section --- */
    .section-bi-intro {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
}

/* --- BI Intro Section Desktop Default --- */
.section-bi-intro {
    background: #ffffff;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* --- Modern Process Section --- */
/* --- Timeline Process Section --- */
.process-timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
}

.timeline-line-track {
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #e2e8f0;
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-icon-box {
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent, #38bdf8);
    position: relative;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-step:hover .timeline-icon-box {
    border-color: var(--color-accent, #38bdf8);
    color: white;
    background: var(--color-accent, #38bdf8);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.timeline-number {
    position: absolute;
    top: -25px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.timeline-step:hover .timeline-number {
    color: var(--color-accent, #38bdf8);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-timeline-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
    }

    .timeline-line-track {
        top: 20px;
        bottom: 20px;
        left: 29px;
        width: 4px;
        height: auto;
        right: auto;
    }

    .timeline-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        margin-bottom: 2.5rem;
        width: 100%;
    }

    .timeline-icon-box {
        margin-right: 1.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .timeline-number {
        top: auto;
        left: -30px;
        /* Position number to the left of icon on mobile */
    }
}

/* ============================================
   Service Refresh Pattern System (Reusable)
   ============================================ */

.service-refresh {
    --service-accent: var(--color-accent);
    --service-accent-soft: rgba(56, 189, 248, 0.14);
    --service-accent-strong: #0284c7;
    --service-border: #e2e8f0;
    --service-bg-soft: #f8fafc;
    --service-text: var(--color-text-main);
    --service-muted: #475569;
}

.service-refresh--bi {
    --service-accent: #38bdf8;
    --service-accent-soft: rgba(56, 189, 248, 0.14);
    --service-accent-strong: #0284c7;
}

.service-refresh .section {
    overflow: hidden;
}

.service-refresh__section-head {
    max-width: 760px;
    margin: 0 auto 3rem;
}

.service-refresh__section-head h2 {
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
    color: var(--service-text);
}

.service-refresh__section-head p {
    color: var(--service-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-refresh__section-head--dark {
    color: #cbd5e1 !important;
}

.service-refresh__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--service-accent-strong);
    border: 1px solid var(--service-accent-soft);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.service-refresh__hero {
    position: relative;
    background:
        radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.26), transparent 42%),
        radial-gradient(circle at 14% 88%, rgba(14, 165, 233, 0.16), transparent 45%),
        linear-gradient(142deg, #020617 0%, #0f172a 52%, #111827 100%);
    min-height: clamp(560px, 82vh, 760px);
    display: flex;
    align-items: center;
    padding-top: 6.6rem;
    padding-bottom: 3.8rem;
    isolation: isolate;
}

.service-refresh__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.13) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.13) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black 35%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 95%);
    opacity: 0.55;
    z-index: -2;
}

.service-refresh__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(2, 6, 23, 0.75) 0%, rgba(2, 6, 23, 0.45) 46%, rgba(2, 6, 23, 0.75) 100%);
    z-index: -1;
}

.service-refresh__hero .container {
    position: relative;
}

.service-refresh__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 2.2rem;
    align-items: center;
}

.service-refresh__kicker {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #bae6fd;
    border: 1px solid rgba(186, 230, 253, 0.3);
    background: rgba(14, 116, 144, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.service-refresh__hero-copy {
    max-width: 610px;
}

.service-refresh__title {
    color: #ffffff;
    font-size: clamp(1.95rem, 3.15vw, 2.95rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 0.78rem;
    max-width: 13.5ch;
}

.service-refresh__lede {
    color: #cbd5e1;
    font-size: clamp(1rem, 1.22vw, 1.08rem);
    line-height: 1.66;
    max-width: 52ch;
}

.service-refresh__hero-signals {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.service-refresh__hero-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    color: #c7e8ff;
    border: 1px solid rgba(125, 211, 252, 0.35);
    border-radius: 999px;
    background: rgba(12, 74, 110, 0.26);
    padding: 0.38rem 0.72rem;
}

.service-refresh__actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.service-refresh__hero-stage {
    position: relative;
}

.service-refresh__hero-console {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.7));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 28px 48px -24px rgba(2, 6, 23, 0.85);
    padding: 0.9rem;
    overflow: hidden;
}

.service-refresh__hero-console-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.service-refresh__hero-console-top p {
    margin: 0;
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.service-refresh__hero-console-top span {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bae6fd;
    border: 1px solid rgba(186, 230, 253, 0.35);
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
}

.service-refresh__hero-stats {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.service-refresh__hero-stat {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.8rem;
    background: rgba(2, 6, 23, 0.3);
    padding: 0.72rem;
}

.service-refresh__hero-stat h3 {
    margin-bottom: 0.3rem;
    font-size: 0.84rem;
    line-height: 1.3;
    color: #e2e8f0;
}

.service-refresh__hero-stat p {
    margin: 0;
    color: #93c5fd;
    font-size: 0.73rem;
    line-height: 1.5;
}

.service-refresh__hero-media {
    margin-top: 0.75rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.33);
    overflow: hidden;
}

.service-refresh__hero-media img {
    width: 100%;
    height: clamp(220px, 24vw, 300px);
    object-fit: cover;
    display: block;
}

.service-refresh__comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-refresh__panel {
    background: #ffffff;
    border: 1px solid var(--service-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-refresh__panel:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-refresh__panel h3 {
    margin-bottom: 0.9rem;
    font-size: 1.3rem;
    color: var(--service-text);
}

.service-refresh__panel--accent {
    border-color: rgba(56, 189, 248, 0.35);
    background: linear-gradient(165deg, rgba(56, 189, 248, 0.1), #ffffff 65%);
}

.service-refresh__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.service-refresh__list li {
    color: var(--service-muted);
    line-height: 1.55;
    display: flex;
    gap: 0.55rem;
}

.service-refresh__list li::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--service-accent);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.service-refresh__metrics {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-refresh__metric {
    background: #ffffff;
    border: 1px solid #dbe6f4;
    border-radius: 14px;
    padding: 1.2rem;
}

.service-refresh__metric-value {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--service-accent-strong);
    letter-spacing: -0.01em;
}

.service-refresh__metric h3 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
    color: var(--service-text);
}

.service-refresh__metric p {
    color: var(--service-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.service-refresh__split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.service-refresh__column {
    min-width: 0;
}

.service-refresh__subhead {
    margin-bottom: 1rem;
    color: var(--service-text);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.service-refresh__cards,
.service-refresh__deliverables {
    display: grid;
    gap: 0.85rem;
}

.service-refresh__card {
    position: relative;
    padding: 1.15rem 1.15rem 1.15rem 3.4rem;
    background: #ffffff;
    border: 1px solid #dbe6f4;
    border-radius: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-refresh__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(56, 189, 248, 0.35);
}

.service-refresh__card-index {
    position: absolute;
    left: 1rem;
    top: 1.15rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0369a1;
    background: rgba(56, 189, 248, 0.16);
}

.service-refresh__card h4 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
    color: var(--service-text);
}

.service-refresh__card p {
    margin: 0;
    color: var(--service-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.service-refresh__deliverable {
    padding: 1rem 1.05rem;
    background: #ffffff;
    border: 1px solid #dbe6f4;
    border-left: 4px solid var(--service-accent);
    border-radius: 12px;
}

.service-refresh__deliverable-need {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    color: #0369a1;
}

.service-refresh__deliverable h4 {
    margin-bottom: 0.35rem;
    color: var(--service-text);
    font-size: 1rem;
}

.service-refresh__deliverable p {
    margin: 0;
    color: var(--service-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.service-refresh__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.service-refresh__timeline::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 2.2rem;
    right: 2.2rem;
    height: 2px;
    background: #dbe6f4;
}

.service-refresh__timeline-item {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid #dbe6f4;
    border-radius: 14px;
    padding: 1rem;
}

.service-refresh__step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #0369a1;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.service-refresh__timeline-item h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    color: var(--service-text);
}

.service-refresh__timeline-item p {
    margin: 0;
    color: var(--service-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.service-refresh__industry-block {
    background:
        radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.23), transparent 42%),
        linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.service-refresh__industries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-refresh__industry {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    padding: 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.service-refresh__industry:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(15, 23, 42, 0.68);
}

.service-refresh__industry-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.15);
    margin-bottom: 0.75rem;
}

.service-refresh__industry h3 {
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-size: 1rem;
}

.service-refresh__industry p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-refresh__faq-wrap {
    max-width: 960px;
}

.service-refresh .faq-item {
    margin-bottom: 0.8rem;
    border: 1px solid var(--service-border);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 18px -14px rgba(15, 23, 42, 0.38);
}

.service-refresh .faq-question {
    width: 100%;
    border: 0;
    background: #ffffff;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    font-size: 1rem;
    color: var(--service-text);
}

.service-refresh .faq-question span:first-child {
    flex: 1 1 auto;
}

.service-refresh .faq-question .faq-toggle-icon {
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 400;
    color: var(--service-accent-strong);
    transition: transform 0.2s ease;
}

.service-refresh .faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.service-refresh .faq-answer {
    padding: 0 1.15rem 1rem;
    border-top: 1px solid #f1f5f9;
}

.service-refresh .faq-answer p {
    margin: 0.75rem 0 0;
    color: var(--service-muted);
    line-height: 1.7;
}

.service-refresh .faq-question:focus-visible {
    outline: 2px solid var(--service-accent);
    outline-offset: -2px;
}

.service-refresh__cta {
    background:
        radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.23), transparent 40%),
        linear-gradient(145deg, #0f172a 0%, #111827 65%, #0b1220 100%);
    color: #ffffff;
}

.service-refresh__cta-inner {
    max-width: 860px;
}

.service-refresh__cta h2 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.service-refresh__cta p {
    color: #cbd5e1;
    margin-bottom: 1.4rem;
    line-height: 1.7;
}

.service-refresh__cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.service-refresh__trust {
    margin-top: 1.25rem;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: #93c5fd;
}

@media (max-width: 1024px) {
    .service-refresh__hero {
        min-height: auto;
        padding-top: 6.7rem;
        padding-bottom: 3.6rem;
    }

    .service-refresh__hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-refresh__hero-copy {
        max-width: none;
    }

    .service-refresh__hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-refresh__split {
        grid-template-columns: 1fr;
    }

    .service-refresh__timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-refresh__timeline::before {
        display: none;
    }

    .service-refresh__industries {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .service-refresh__hero {
        padding-top: 6.2rem;
        padding-bottom: 3.4rem;
    }

    .service-refresh__title {
        max-width: none;
        font-size: clamp(1.85rem, 8.6vw, 2.45rem);
    }

    .service-refresh__hero-pill {
        font-size: 0.73rem;
        padding: 0.33rem 0.6rem;
    }

    .service-refresh__actions {
        flex-direction: column;
        gap: 0.65rem;
    }

    .service-refresh__actions .btn {
        width: 100%;
    }

    .service-refresh__hero-stats {
        grid-template-columns: 1fr;
    }

    .service-refresh__comparison,
    .service-refresh__metrics,
    .service-refresh__timeline,
    .service-refresh__industries {
        grid-template-columns: 1fr;
    }

    .service-refresh__cta-actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    .service-refresh *,
    .service-refresh *::before,
    .service-refresh *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   BI V2 – Complete Redesign
   ============================================ */

.bi-v2 {
    --bi-primary: #0F172A;
    --bi-accent: #38BDF8;
    --bi-accent-deep: #0284c7;
    --bi-accent-soft: rgba(56, 189, 248, 0.12);
    --bi-surface: #ffffff;
    --bi-surface-alt: #f6f7f8;
    --bi-border: #e2e8f0;
    --bi-text: #0F172A;
    --bi-text-muted: #64748b;
    --bi-text-subtle: #94a3b8;
    --bi-radius: 12px;
    --bi-radius-lg: 16px;
    --bi-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --bi-shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ---------- HERO ---------- */
.bi-v2__hero {
    position: relative;
    padding: 9rem 0 5rem;
    overflow: hidden;
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.bi-v2__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.55;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.bi-v2__hero-blob-1 {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(56, 189, 248, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.bi-v2__hero-blob-2 {
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 20rem;
    height: 20rem;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.bi-v2__hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bi-v2__hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bi-v2__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-size: 0.8rem;
    font-weight: 700;
    color: #bae6fd;
    letter-spacing: 0.02em;
}

.bi-v2__kicker-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #38bdf8;
}

.bi-v2__title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.bi-v2__title-accent {
    background: linear-gradient(135deg, var(--bi-accent-deep), var(--bi-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bi-v2__lede {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 32rem;
}

.bi-v2__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.25rem;
}

.bi-v2__btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    border-radius: var(--bi-radius);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    box-shadow: 0 4px 14px var(--color-accent-glow);
    transition: all 0.2s ease;
    text-decoration: none;
}

.bi-v2__btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-accent-glow), 0 0 15px var(--color-accent-glow);
}

.bi-v2__btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    background: transparent;
    color: #bae6fd;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.bi-v2__btn-ghost:hover {
    color: #ffffff;
}

.bi-v2__btn-ghost .material-icons {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.bi-v2__btn-ghost:hover .material-icons {
    transform: translateX(3px);
}

/* Hero image card */
.bi-v2__hero-visual {
    position: relative;
}

.bi-v2__hero-glow {
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--bi-accent-deep), var(--bi-accent));
    border-radius: calc(var(--bi-radius-lg) + 3px);
    opacity: 0.2;
    filter: blur(6px);
    pointer-events: none;
}

.bi-v2__hero-img-wrap {
    position: relative;
    border-radius: var(--bi-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.4);
    background: rgba(15, 23, 42, 0.5);
}

.bi-v2__hero-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.92;
    transition: opacity 0.3s ease;
}

.bi-v2__hero-img-wrap:hover img {
    opacity: 1;
}

.bi-v2__hero-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border-radius: var(--bi-radius);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: var(--bi-shadow-card);
    font-size: 0.72rem;
    font-weight: 700;
    color: #e2e8f0;
}

.bi-v2__hero-badge-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #22c55e;
    animation: bi-v2-pulse 2s ease-in-out infinite;
}

@keyframes bi-v2-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ---------- SECTION TYPOGRAPHY ---------- */
.bi-v2__section {
    padding: 5rem 0;
}

.bi-v2__section-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3.5rem;
}

.bi-v2__section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
    color: var(--bi-text);
}

.bi-v2__section-header p {
    font-size: 1.05rem;
    color: var(--bi-text-muted);
    line-height: 1.65;
}

.bi-v2__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bi-accent-deep);
    margin-bottom: 0.6rem;
}

/* ---------- COMPARISON (Why Modern BI) ---------- */
.bi-v2__compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.bi-v2__compare-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--bi-radius-lg);
    overflow: hidden;
}

.bi-v2__compare-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.bi-v2__compare-card--old {
    background: var(--bi-surface-alt);
    border: 1px solid var(--bi-border);
}

.bi-v2__compare-card--old::before {
    background: var(--bi-text-subtle);
}

.bi-v2__compare-card--new {
    background: var(--bi-surface);
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: var(--bi-shadow-hover);
    transform: translateY(-4px);
}

.bi-v2__compare-card--new::before {
    background: var(--bi-accent-deep);
}

.bi-v2__compare-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.bi-v2__compare-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--bi-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-v2__compare-card--old .bi-v2__compare-icon {
    background: #f1f5f9;
    color: var(--bi-text-subtle);
}

.bi-v2__compare-card--new .bi-v2__compare-icon {
    background: var(--bi-accent-soft);
    color: var(--bi-accent-deep);
}

.bi-v2__compare-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bi-v2__compare-card--old .bi-v2__compare-label {
    color: var(--bi-text-subtle);
}

.bi-v2__compare-card--new .bi-v2__compare-label {
    color: var(--bi-accent-deep);
}

.bi-v2__compare-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.bi-v2__compare-card--old h3 {
    color: #475569;
}

.bi-v2__compare-card--new h3 {
    color: var(--bi-text);
}

.bi-v2__compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.bi-v2__compare-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bi-v2__compare-card--old .bi-v2__compare-list li {
    color: #64748b;
}

.bi-v2__compare-card--new .bi-v2__compare-list li {
    color: var(--bi-text);
    font-weight: 500;
}

.bi-v2__compare-list .material-icons {
    font-size: 1rem;
    flex-shrink: 0;
}

.bi-v2__compare-card--old .bi-v2__compare-list .material-icons {
    color: #f87171;
}

.bi-v2__compare-card--new .bi-v2__compare-list .material-icons {
    color: #22c55e;
}

/* ---------- OUTCOMES ---------- */
.bi-v2__outcomes-bg {
    background: var(--bi-accent-soft);
}

.bi-v2__outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bi-v2__outcome-card {
    background: var(--bi-surface);
    border: 1px solid var(--bi-border);
    border-radius: var(--bi-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--bi-shadow-card);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bi-v2__outcome-card:hover {
    box-shadow: var(--bi-shadow-hover);
    transform: translateY(-3px);
}

.bi-v2__outcome-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bi-v2__outcome-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-v2__outcome-icon--blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--bi-accent-deep);
}

.bi-v2__outcome-icon--sky {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.bi-v2__outcome-icon--teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.bi-v2__outcome-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--bi-text);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.bi-v2__outcome-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bi-text-muted);
    margin-bottom: 0.5rem;
}

.bi-v2__outcome-desc {
    font-size: 0.9rem;
    color: var(--bi-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- SERVICES GRID ---------- */
.bi-v2__services-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.bi-v2__services-header-text {
    max-width: 36rem;
}

.bi-v2__services-header-text h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--bi-text);
}

.bi-v2__services-header-text p {
    font-size: 1rem;
    color: var(--bi-text-muted);
    line-height: 1.65;
}

.bi-v2__services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.bi-v2__service-card {
    background: var(--bi-surface);
    border: 1px solid var(--bi-border);
    border-radius: var(--bi-radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.bi-v2__service-card:hover {
    box-shadow: var(--bi-shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.3);
}

.bi-v2__service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.bi-v2__service-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--bi-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-v2__service-icon--blue {
    background: rgba(59, 130, 246, 0.08);
    color: var(--bi-accent-deep);
}

.bi-v2__service-icon--teal {
    background: rgba(20, 184, 166, 0.08);
    color: #0ea5e9;
}

.bi-v2__service-icon--indigo {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
}

.bi-v2__service-icon--sky {
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
}

.bi-v2__service-icon .material-icons {
    font-size: 1.6rem;
}

.bi-v2__service-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    transition: color 0.3s ease;
    user-select: none;
}

.bi-v2__service-card:hover .bi-v2__service-number {
    color: rgba(56, 189, 248, 0.1);
}

.bi-v2__service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--bi-text);
}

.bi-v2__service-card p {
    font-size: 0.95rem;
    color: var(--bi-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ---------- PROCESS TIMELINE ---------- */
.bi-v2__process-bg {
    background: var(--bi-surface-alt);
    border-top: 1px solid var(--bi-border);
    border-bottom: 1px solid var(--bi-border);
    position: relative;
    overflow: hidden;
}

.bi-v2__process-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--bi-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bi-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.35;
    pointer-events: none;
}

.bi-v2__timeline-wrapper {
    position: relative;
    z-index: 1;
}

.bi-v2__timeline-line {
    display: none;
}

@media (min-width: 769px) {
    .bi-v2__timeline-line {
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--bi-border);
        transform: translateY(-50%);
        z-index: 0;
    }
}

.bi-v2__timeline-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.bi-v2__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bi-v2__step-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.85rem;
    background: var(--bi-surface);
    border: 3px solid var(--bi-border);
    color: var(--bi-text-muted);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.bi-v2__step:first-child .bi-v2__step-circle {
    border-color: var(--bi-accent-deep);
    color: var(--bi-accent-deep);
}

.bi-v2__step:hover .bi-v2__step-circle {
    border-color: var(--bi-accent-deep);
    color: var(--bi-accent-deep);
    transform: scale(1.1);
}

.bi-v2__step h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--bi-text);
}

.bi-v2__step p {
    font-size: 0.8rem;
    color: var(--bi-text-muted);
    margin: 0;
}

/* ---------- DELIVERABLES ---------- */
.bi-v2__deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bi-v2__deliverable-card {
    background: var(--bi-surface-alt);
    border: 1px solid var(--bi-border);
    border-radius: var(--bi-radius-lg);
    padding: 1.75rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bi-v2__deliverable-card:hover {
    box-shadow: var(--bi-shadow-hover);
    transform: translateY(-3px);
}

.bi-v2__deliverable-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: var(--bi-radius);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bi-v2__deliverable-tag--strategic {
    background: var(--bi-accent-soft);
    color: var(--bi-accent-deep);
}

.bi-v2__deliverable-tag--operational {
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
}

.bi-v2__deliverable-tag--governance {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}

.bi-v2__deliverable-tag--data {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.bi-v2__deliverable-tag--enablement {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.bi-v2__deliverable-tag--architecture {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.bi-v2__deliverable-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--bi-text);
}

.bi-v2__deliverable-need {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--bi-text-muted);
    margin-bottom: 0.65rem;
}

.bi-v2__deliverable-card>p:last-child {
    font-size: 0.9rem;
    color: var(--bi-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- INDUSTRIES ---------- */
.bi-v2__industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.bi-v2__industry-chip {
    background: var(--bi-surface);
    border: 1px solid var(--bi-border);
    border-radius: var(--bi-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    cursor: default;
}

.bi-v2__industry-chip:hover {
    border-color: var(--bi-accent-deep);
    transform: translateY(-3px);
    box-shadow: var(--bi-shadow-card);
}

.bi-v2__industry-chip .material-icons {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--bi-text-subtle);
    transition: color 0.25s ease;
}

.bi-v2__industry-chip:hover .material-icons {
    color: var(--bi-accent-deep);
}

.bi-v2__industry-chip h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bi-text);
    margin: 0;
}

/* ---------- FAQ ---------- */
.bi-v2__faq-section {
    background: var(--bi-surface);
}

.bi-v2__faq-wrap {
    max-width: 48rem;
    margin: 0 auto;
}

.bi-v2 .faq-item {
    margin-bottom: 0.65rem;
    border: 1px solid var(--bi-border);
    border-radius: var(--bi-radius);
    overflow: hidden;
    background: var(--bi-surface);
    transition: border-color 0.2s ease;
}

.bi-v2 .faq-item:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.bi-v2 .faq-item.active {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.03);
}

.bi-v2 .faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bi-text);
    transition: background 0.2s ease;
}

.bi-v2 .faq-question:hover {
    background: rgba(56, 189, 248, 0.04);
}

.bi-v2 .faq-question span:first-child {
    flex: 1 1 auto;
}

.bi-v2 .faq-toggle-icon {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--bi-accent-deep);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.bi-v2 .faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.bi-v2 .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.bi-v2 .faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1rem;
}

.bi-v2 .faq-answer p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--bi-text-muted);
    line-height: 1.7;
}

.bi-v2 .faq-question:focus-visible {
    outline: 2px solid var(--bi-accent);
    outline-offset: -2px;
}

/* ---------- CTA ---------- */
.bi-v2__cta {
    background:
        radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.12), transparent 50%),
        linear-gradient(165deg, #0f172a 0%, #111827 60%, #0b1220 100%);
    padding: 5rem 0;
    color: #ffffff;
}

.bi-v2__cta-inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.bi-v2__cta h2 {
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.bi-v2__cta p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.bi-v2__cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.bi-v2__cta .btn-outline-light {
    border-color: #334155;
    color: #cbd5e1;
}

.bi-v2__cta .btn-outline-light:hover {
    border-color: #64748b;
    color: #ffffff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .bi-v2__hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bi-v2__services-grid {
        grid-template-columns: 1fr;
    }

    .bi-v2__deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bi-v2__industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bi-v2__timeline-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .bi-v2__outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bi-v2__hero {
        padding: 7rem 0 3rem;
    }

    .bi-v2__hero-actions {
        flex-direction: column;
    }

    .bi-v2__compare-grid {
        grid-template-columns: 1fr;
    }

    .bi-v2__compare-card--new {
        transform: none;
    }

    .bi-v2__outcomes-grid {
        grid-template-columns: 1fr;
    }

    .bi-v2__timeline-steps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .bi-v2__step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .bi-v2__step-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .bi-v2__deliverables-grid {
        grid-template-columns: 1fr;
    }

    .bi-v2__industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bi-v2__cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .bi-v2__services-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    .bi-v2 *,
    .bi-v2 *::before,
    .bi-v2 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   IND V2 – Industry Pages (mirrors BI V2)
   ============================================ */

.ind-v2 {
    --ind-primary: #0F172A;
    --ind-accent: #38BDF8;
    --ind-accent-deep: #0284c7;
    --ind-accent-soft: rgba(56, 189, 248, 0.12);
    --ind-surface: #ffffff;
    --ind-surface-alt: #f6f7f8;
    --ind-border: #e2e8f0;
    --ind-text: #0F172A;
    --ind-text-muted: #64748b;
    --ind-text-subtle: #94a3b8;
    --ind-radius: 12px;
    --ind-radius-lg: 16px;
    --ind-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --ind-shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ---------- HERO (no image) ---------- */
.ind-v2__hero {
    position: relative;
    padding: 9rem 0 5rem;
    overflow: hidden;
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.ind-v2__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.55;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.ind-v2__hero-blob-1 {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(56, 189, 248, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.ind-v2__hero-blob-2 {
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 20rem;
    height: 20rem;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.ind-v2__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.ind-v2__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-size: 0.8rem;
    font-weight: 700;
    color: #bae6fd;
    letter-spacing: 0.02em;
}

.ind-v2__kicker-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #38bdf8;
}

.ind-v2__title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.ind-v2__title-accent {
    background: linear-gradient(135deg, var(--ind-accent-deep), var(--ind-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ind-v2__lede {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 40rem;
}

.ind-v2__hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 0.25rem;
}

.ind-v2__btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    border-radius: var(--ind-radius);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    box-shadow: 0 4px 14px var(--color-accent-glow);
    transition: all 0.2s ease;
    text-decoration: none;
}

.ind-v2__btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-accent-glow), 0 0 15px var(--color-accent-glow);
}

.ind-v2__btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    background: transparent;
    color: #bae6fd;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.ind-v2__btn-ghost:hover {
    color: #ffffff;
}

.ind-v2__btn-ghost .material-icons {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.ind-v2__btn-ghost:hover .material-icons {
    transform: translateX(3px);
}

/* ---------- SECTION TYPOGRAPHY ---------- */
.ind-v2__section {
    padding: 5rem 0;
}

.ind-v2__section-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3.5rem;
}

.ind-v2__section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
    color: var(--ind-text);
}

.ind-v2__section-header p {
    font-size: 1.05rem;
    color: var(--ind-text-muted);
    line-height: 1.65;
}

.ind-v2__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ind-accent-deep);
    margin-bottom: 0.6rem;
}

/* ---------- CHALLENGE CARDS ---------- */
.ind-v2__challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ind-v2__challenge-card {
    background: var(--ind-surface);
    border: 1px solid var(--ind-border);
    border-radius: var(--ind-radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.ind-v2__challenge-card:hover {
    box-shadow: var(--ind-shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.3);
}

.ind-v2__challenge-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--ind-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--ind-accent-soft);
    color: var(--ind-accent-deep);
}

.ind-v2__challenge-icon .material-icons {
    font-size: 1.6rem;
}

.ind-v2__challenge-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--ind-text);
}

.ind-v2__challenge-card p {
    font-size: 0.95rem;
    color: var(--ind-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ---------- SERVICES GRID ---------- */
.ind-v2__services-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ind-v2__services-header-text {
    max-width: 36rem;
}

.ind-v2__services-header-text h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--ind-text);
}

.ind-v2__services-header-text p {
    font-size: 1rem;
    color: var(--ind-text-muted);
    line-height: 1.65;
}

.ind-v2__services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ind-v2__service-card {
    background: var(--ind-surface);
    border: 1px solid var(--ind-border);
    border-radius: var(--ind-radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: block;
    color: inherit;
}

.ind-v2__service-card:hover {
    box-shadow: var(--ind-shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.3);
}

.ind-v2__service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.ind-v2__service-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--ind-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ind-accent-soft);
    color: var(--ind-accent-deep);
}

.ind-v2__service-icon .material-icons {
    font-size: 1.6rem;
}

.ind-v2__service-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    transition: color 0.3s ease;
    user-select: none;
}

.ind-v2__service-card:hover .ind-v2__service-number {
    color: rgba(56, 189, 248, 0.1);
}

.ind-v2__service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--ind-text);
}

.ind-v2__service-card p {
    font-size: 0.95rem;
    color: var(--ind-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ---------- DELIVERABLES / USE-CASES ---------- */
.ind-v2__deliverables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ind-v2__deliverable-card {
    background: var(--ind-surface-alt);
    border: 1px solid var(--ind-border);
    border-radius: var(--ind-radius-lg);
    padding: 1.75rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ind-v2__deliverable-card:hover {
    box-shadow: var(--ind-shadow-hover);
    transform: translateY(-3px);
}

.ind-v2__deliverable-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: var(--ind-radius);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--ind-accent-soft);
    color: var(--ind-accent-deep);
}

.ind-v2__deliverable-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--ind-text);
}

.ind-v2__deliverable-card p {
    font-size: 0.9rem;
    color: var(--ind-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- SUCCESS STORY ---------- */
.ind-v2__success-bg {
    background: linear-gradient(135deg, #0f172a 0%, #111827 65%, #0b1220 100%);
    color: #ffffff;
}

.ind-v2__success-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ind-v2__success-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 0.85rem;
}

.ind-v2__success-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    margin-bottom: 1rem;
    color: #ffffff;
}

.ind-v2__success-summary {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.ind-v2__success-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.ind-v2__success-list li {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    padding-left: 0.75rem;
    border-left: 3px solid #38bdf8;
}

.ind-v2__success-list li strong {
    color: #ffffff;
}

.ind-v2__success-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--ind-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.ind-v2__success-metrics {
    display: grid;
    gap: 1.5rem;
}

.ind-v2__success-metric {
    text-align: center;
}

.ind-v2__success-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.ind-v2__success-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

/* ---------- FAQ ---------- */
.ind-v2__faq-section {
    background: var(--ind-surface);
}

.ind-v2__faq-wrap {
    max-width: 48rem;
    margin: 0 auto;
}

.ind-v2 .faq-item {
    margin-bottom: 0.65rem;
    border: 1px solid var(--ind-border);
    border-radius: var(--ind-radius);
    overflow: hidden;
    background: var(--ind-surface);
    transition: border-color 0.2s ease;
}

.ind-v2 .faq-item:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.ind-v2 .faq-item.active {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.03);
}

.ind-v2 .faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ind-text);
    transition: background 0.2s ease;
}

.ind-v2 .faq-question:hover {
    background: rgba(56, 189, 248, 0.04);
}

.ind-v2 .faq-question span:first-child {
    flex: 1 1 auto;
}

.ind-v2 .faq-toggle-icon {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ind-accent-deep);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.ind-v2 .faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.ind-v2 .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.ind-v2 .faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1rem;
}

.ind-v2 .faq-answer p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ind-text-muted);
    line-height: 1.7;
}

.ind-v2 .faq-question:focus-visible {
    outline: 2px solid var(--ind-accent);
    outline-offset: -2px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .ind-v2__challenge-grid {
        grid-template-columns: 1fr;
    }

    .ind-v2__services-grid {
        grid-template-columns: 1fr;
    }

    .ind-v2__deliverables-grid {
        grid-template-columns: 1fr;
    }

    .ind-v2__success-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ind-v2__hero {
        padding: 7rem 0 3rem;
    }

    .ind-v2__hero-actions {
        flex-direction: column;
    }

    .ind-v2__services-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ind-v2 *,
    .ind-v2 *::before,
    .ind-v2 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}