/* Industry landing page styles */

section.industry-hero {
    height: auto;
    min-height: auto;
    padding: 2.75rem 0 3rem;
}

section.industry-hero .content {
    max-width: 780px;
    text-align: center;
}

section.industry-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.industry-badge {
    display: inline-block;
    font-family: mollen-bold, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    padding: 0.35rem 0.95rem 0.3rem;
    border: 1px solid #4D5D6E;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.industry-hero-tagline {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 1.25rem;
    color: #4D5D6E;
}

.industry-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    max-width: 640px;
}

.industry-hero-points li {
    font-size: 0.9rem;
    font-family: mollen-bold, sans-serif;
    color: #4D5D6E;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.industry-hero-points li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4D5D6E;
    flex-shrink: 0;
    opacity: 0.65;
}

.industry-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.problem-grid .problem-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(77, 93, 110, 0.08);
    border: 1px solid rgba(222, 229, 236, 0.8);
}

.problem-grid .problem-card h3 {
    font-family: mollen-bold;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: #4D5D6E;
}

.problem-stat {
    font-family: mollen-bold;
    font-size: 2rem;
    color: #4D5D6E;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* How It Works — concise step flow */
.how-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-top: 0.25rem;
}

.how-flow::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background: #DEE5EC;
    z-index: 0;
}

.how-flow-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.35rem;
}

.how-flow-marker {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #4D5D6E;
    color: #fff;
    font-family: mollen-bold, sans-serif;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(77, 93, 110, 0.2);
}

.how-flow-title {
    font-family: mollen-bold, sans-serif;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #4D5D6E;
    margin: 0 0 0.5rem;
}

.how-flow-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4D5D6E;
    opacity: 0.88;
    margin: 0;
}

@media (max-width: 991.98px) {
    .how-flow {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 520px;
        padding-top: 0;
    }

    .how-flow::before {
        display: none;
    }

    .how-flow-step {
        display: grid;
        grid-template-columns: 2.75rem 1fr;
        grid-template-rows: auto auto;
        column-gap: 1rem;
        row-gap: 0.35rem;
        text-align: left;
        padding: 1.35rem 0;
        border-bottom: 1px solid rgba(222, 229, 236, 0.85);
    }

    .how-flow-step:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .how-flow-step:first-child {
        padding-top: 0;
    }

    .how-flow-marker {
        grid-row: 1 / span 2;
        grid-column: 1;
        margin: 0;
        align-self: start;
    }

    .how-flow-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
        font-size: 1.15rem;
    }

    .how-flow-desc {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .how-flow-step {
        padding: 1.5rem 0;
    }

    .how-flow-title {
        font-size: 1.25rem;
    }
}


/* Example Questions — unified panel layout */
.example-questions-section {
    background: linear-gradient(180deg, #f5f7fa 0%, #fff 50%);
}

.example-questions-panel {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(77, 93, 110, 0.1);
    border: 1px solid rgba(222, 229, 236, 0.9);
    overflow: hidden;
}

.example-questions-layout {
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;
    min-height: 460px;
    align-items: stretch;
}

.example-questions-picker {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: #f8fafb;
    border-right: 1px solid #DEE5EC;
}

.example-questions-demo {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    min-width: 0;
}

.example-panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.example-panel-step {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #4D5D6E;
    color: #fff;
    font-family: mollen-bold;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding-top: 0.1rem;
}

.example-panel-title {
    font-family: mollen-bold;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 0.2rem;
    color: #4D5D6E;
}

.example-panel-sub {
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.75;
}

.example-question-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    flex: 1;
    align-content: start;
}

.example-q-chip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    min-height: 4.25rem;
    text-align: left;
    padding: 0.65rem 0.75rem;
    background: #fff;
    border: 2px solid #DEE5EC;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    color: #4D5D6E;
}

.example-q-chip:hover {
    border-color: #4D5D6E;
    box-shadow: 0 4px 12px rgba(77, 93, 110, 0.1);
}

.example-q-chip.is-active {
    background: #4D5D6E;
    border-color: #4D5D6E;
    color: #fff;
    box-shadow: 0 6px 18px rgba(77, 93, 110, 0.18);
}

.example-q-chip.is-active .example-q-category {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.example-q-category {
    font-family: mollen-bold;
    font-size: 0.6rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem 0.1rem;
    border-radius: 100px;
    background: #DEE5EC;
    color: #4D5D6E;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.example-q-text {
    font-size: 0.8rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.example-questions-demo .chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 24px rgba(77, 93, 110, 0.12);
    min-height: 0;
}

.example-questions-demo .chat-body {
    flex: 1;
    min-height: 280px;
    max-height: 360px;
    transition: opacity 0.18s ease;
}

.example-chat-body.is-fading {
    opacity: 0.35;
}

.example-chat-body.is-fading-in {
    animation: exampleChatIn 0.35s ease;
}

@keyframes exampleChatIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.example-q-responses {
    display: none !important;
}

.example-questions-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(222, 229, 236, 0.9);
    text-align: center;
}

.example-questions-cta p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.role-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(77, 93, 110, 0.08);
}

.role-card .role-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #DEE5EC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: mollen-bold;
    font-size: 1.1rem;
    color: #4D5D6E;
}

.role-card h3 {
    font-family: mollen-bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Documents — graphical library panel */
.documents-section {
    background: linear-gradient(180deg, #f4f8fb 0%, #fff 50%, #f7f9fc 100%);
}

.documents-panel {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 16px 48px rgba(74, 124, 155, 0.12);
    border: 1px solid rgba(74, 124, 155, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(240px, 34%) 1fr;
    align-items: stretch;
}

.documents-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(155deg, #4a7c9b 0%, #3d6a85 45%, #4D5D6E 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.documents-visual::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -60px;
    right: -70px;
    pointer-events: none;
}

.documents-stack-ext--pdf {
    background: #4a7c9b;
}

.documents-stack-ext--xls {
    background: #3d7a55;
}

.doc-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(74, 124, 155, 0.18);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.doc-card:hover {
    border-color: rgba(74, 124, 155, 0.45);
    box-shadow: 0 8px 24px rgba(74, 124, 155, 0.12);
    transform: translateY(-2px);
}

.doc-card-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(74, 124, 155, 0.12);
    color: #4a7c9b;
}

.doc-card-format {
    display: inline-block;
    margin-top: 0.35rem;
    font-family: mollen-bold, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: rgba(74, 124, 155, 0.12);
    color: #4a7c9b;
}

.documents-visual-label {
    font-family: mollen-bold, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.documents-visual-title {
    font-family: mollen-bold, sans-serif;
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.documents-stack {
    position: relative;
    height: 200px;
    margin: 0 auto;
    width: 100%;
    max-width: 240px;
    z-index: 1;
}

.documents-stack-file {
    position: absolute;
    left: 50%;
    width: 88%;
    max-width: 210px;
    background: #fff;
    border-radius: 10px;
    padding: 0.65rem 0.85rem 0.7rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #4D5D6E;
    transform-origin: center bottom;
}

.documents-stack-file--1 {
    bottom: 0;
    transform: translateX(-50%) rotate(-4deg);
    z-index: 4;
}

.documents-stack-file--2 {
    bottom: 28px;
    transform: translateX(-52%) rotate(2deg);
    z-index: 3;
    opacity: 0.95;
}

.documents-stack-file--3 {
    bottom: 56px;
    transform: translateX(-48%) rotate(-2deg);
    z-index: 2;
    opacity: 0.88;
}

.documents-stack-file--4 {
    bottom: 84px;
    transform: translateX(-50%) rotate(3deg);
    z-index: 1;
    opacity: 0.78;
}

.documents-stack-ext {
    flex-shrink: 0;
    font-family: mollen-bold, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    color: #fff;
    line-height: 1.2;
}

.documents-stack-ext--doc {
    background: #4D5D6E;
}

.documents-stack-name {
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.documents-visual-note {
    font-size: 0.85rem;
    line-height: 1.45;
    opacity: 0.8;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.documents-grid-wrap {
    padding: 1.75rem 1.75rem 1.5rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.doc-card-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.doc-card-body {
    min-width: 0;
    flex: 1;
}

.doc-card-title {
    font-family: mollen-bold, sans-serif;
    font-size: 0.92rem;
    line-height: 1.35;
    color: #1a232d;
    margin: 0 0 0.35rem;
}

.documents-cta {
    text-align: center;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .documents-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .documents-panel {
        grid-template-columns: 1fr;
    }

    .documents-visual {
        padding: 2rem 1.5rem;
    }

    .documents-stack {
        height: 180px;
        max-width: 280px;
    }

    .documents-grid-wrap {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
}

/* Legacy case study (unused) */
.case-study-block {
    background-image: url('../images/gradient2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    padding: 3rem;
}

.case-study-block .case-label {
    font-family: mollen-bold;
    font-size: 0.75rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.case-study-block h2 {
    font-family: mollen-bold;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.case-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(77, 93, 110, 0.2);
}

.case-metric strong {
    display: block;
    font-family: mollen-bold;
    font-size: 2rem;
    line-height: 1.1;
}

.case-metric span {
    font-size: 0.9rem;
}

/* Process instrumentation — case study */
.industry-case-section {
    padding: 4rem 0;
}

.industry-case-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 2.25rem;
    border-radius: 1.75rem;
    background-image: url('../images/gradient2.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 48px rgba(74, 124, 155, 0.18);
    position: relative;
    overflow: hidden;
}

.industry-case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%);
    pointer-events: none;
}

.industry-case-card > * {
    position: relative;
    z-index: 1;
}

.industry-case-intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.industry-case-intro .home-eyebrow {
    background: rgba(255, 255, 255, 0.5);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 0.85rem;
}

.industry-case-title {
    font-family: mollen-bold, sans-serif;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    line-height: 1.15;
    color: #4D5D6E;
    margin: 0 0 0.5rem;
}

.industry-case-title-accent {
    background-image: linear-gradient(180deg, transparent 52%, #b8dcc4 52%, #e4f2e9 100%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.06em;
}

.industry-case-meta {
    font-size: 0.78rem;
    font-family: mollen-bold, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4D5D6E;
    opacity: 0.75;
    margin: 0;
}

.industry-case-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.industry-case-visual {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 1.15rem;
    padding: 1.5rem 1.35rem;
}

.industry-case-visual-heading {
    font-family: mollen-bold, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4D5D6E;
    opacity: 0.7;
    margin: 0 0 1rem;
}

.industry-case-compare-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #4D5D6E;
    margin-bottom: 0.45rem;
}

.industry-case-compare-after-label {
    font-family: mollen-bold, sans-serif;
    color: #3d7a55;
}

.industry-case-compare-bars {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
}

.industry-case-bar {
    display: flex;
    align-items: center;
    height: 2.25rem;
    padding: 0 0.85rem;
    border-radius: 8px;
    font-family: mollen-bold, sans-serif;
    font-size: 0.88rem;
    width: 0;
    min-width: 3.5rem;
    animation: industryCaseBarGrow 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.industry-case-bar--before {
    background: #DEE5EC;
    color: #4D5D6E;
    animation-delay: 0.1s;
}

.industry-case-bar--after {
    background: #3d7a55;
    color: #fff;
    animation-delay: 0.35s;
}

@keyframes industryCaseBarGrow {
    to { width: var(--w, 50%); }
}

.industry-case-pipeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(222, 229, 236, 0.9);
}

.industry-case-pipe-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.industry-case-pipe-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-case-pipe-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.industry-case-pipe-icon--docs {
    background: #eef4fc;
    color: #4a7c9b;
}

.industry-case-pipe-icon--ai {
    background: #e4f2e9;
    color: #3d7a55;
}

.industry-case-pipe-icon--team {
    background: #eeeaf5;
    color: #5c4f7a;
}

.industry-case-pipe-label {
    font-size: 0.68rem;
    font-family: mollen-bold, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4D5D6E;
    text-align: center;
}

.industry-case-pipe-arrow {
    flex-shrink: 0;
    width: 1.25rem;
    height: 2px;
    background: #4D5D6E;
    opacity: 0.25;
    position: relative;
}

.industry-case-pipe-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: #4D5D6E;
    opacity: 0.35;
}

.industry-case-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industry-case-metric {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem 1.2rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border-left: 4px solid var(--case-accent, #4a7c9b);
}

.industry-case-metric--queue { --case-accent: #4a7c9b; }
.industry-case-metric--speed { --case-accent: #3d7a55; }
.industry-case-metric--rollout { --case-accent: #7a6b9e; }

.industry-case-metric-value {
    font-family: mollen-bold, sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    line-height: 1;
    color: var(--case-accent);
}

.industry-case-metric-label {
    font-size: 0.88rem;
    color: #4D5D6E;
    line-height: 1.35;
    margin-top: 0.25rem;
}

.industry-case-metric-delta {
    font-size: 0.72rem;
    color: #4D5D6E;
    opacity: 0.65;
    margin-top: 0.2rem;
}

.industry-case-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(77, 93, 110, 0.15);
}

.industry-case-outcome {
    font-size: 0.95rem;
    color: #4D5D6E;
    line-height: 1.45;
    margin: 0;
    max-width: 420px;
}

@media (max-width: 991.98px) {
    .industry-case-body {
        grid-template-columns: 1fr;
    }

    .industry-case-metrics {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .industry-case-metric {
        flex: 1 1 calc(33.33% - 0.5rem);
        min-width: 140px;
    }
}

@media (max-width: 575.98px) {
    .industry-case-card {
        padding: 1.75rem 1.25rem;
    }

    .industry-case-metrics {
        flex-direction: column;
    }

    .industry-case-metric {
        flex: 1 1 100%;
    }

    .industry-case-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .industry-case-outcome {
        max-width: none;
    }

    .industry-case-pipeline {
        gap: 0.2rem;
    }

    .industry-case-pipe-label {
        font-size: 0.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .industry-case-bar {
        animation: none;
        width: var(--w, 50%);
    }
}

.industry-cta-strip {
    background: #DEE5EC;
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.industry-cta-strip h2 {
    font-family: mollen-bold;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.industry-cta-strip p {
    max-width: 560px;
    margin: 0 auto 1.25rem;
}

.industry-chat-preview .chat-body {
    max-height: 480px;
}

.section-intro {
    max-width: 720px;
    margin: 0 auto;
}

/* Homepage industry cards */
.industries .industry-card {
    margin-top: 0;
    height: auto;
    min-height: 280px;
    padding: 2rem 1.75rem;
}

.industries .industry-card h2 {
    font-family: mollen-bold;
    font-size: 1.25rem;
}

.industries .industry-card p {
    flex-grow: 1;
}

@media (max-width: 991px) {
    .example-questions-layout {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        grid-template-rows: none;
        min-height: 0;
    }

    .example-questions-picker {
        order: 1;
        border-right: none;
        border-bottom: 1px solid #DEE5EC;
        padding-bottom: 1.25rem;
    }

    .example-questions-demo {
        order: 2;
        border-bottom: none;
        padding-top: 0.25rem;
    }

    .example-questions-demo .chat-body {
        min-height: 260px;
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    section.industry-hero {
        padding: 2rem 0 2.5rem;
    }

    section.industry-hero h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .industry-hero-tagline {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .industry-hero-points {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }

    .case-study-block,
    .industry-case-card {
        padding: 2rem 1.5rem;
    }

    .industry-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .example-question-grid {
        grid-template-columns: 1fr 1fr;
    }

    .example-q-chip {
        min-height: 3.75rem;
    }
}

@media (max-width: 480px) {
    .example-question-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Challenge band (Process Instrumentation) ── */
.industry-challenge {
    padding: 3rem 0 4.5rem;
}

.industry-challenge-band {
    max-width: 920px;
    margin: 0 auto;
    padding: 2.25rem 2rem 2rem;
    background-image: url('../images/gradient1.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 48px rgba(74, 124, 155, 0.22);
    position: relative;
    overflow: hidden;
}

.industry-challenge-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 100% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 58%),
        radial-gradient(ellipse 45% 40% at 0% 100%, rgba(255, 255, 255, 0.35) 0%, transparent 52%);
    pointer-events: none;
}

.industry-challenge-band > * {
    position: relative;
    z-index: 1;
}

.industry-challenge-header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

.industry-challenge-header .home-eyebrow {
    background: rgba(255, 255, 255, 0.55);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.industry-challenge-title {
    font-family: mollen-bold, sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.15;
    color: #4D5D6E;
    margin: 0 0 0.85rem;
}

.industry-challenge-highlight {
    background-image: linear-gradient(180deg, transparent 52%, #f5a3c7 52%, #fde2ef 100%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.06em;
}

.industry-challenge-interactive {
    max-width: 920px;
    margin: 0 auto;
}

.industry-challenge-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.industry-challenge-tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font-family: mollen-bold, sans-serif;
    font-size: 0.82rem;
    color: #4D5D6E;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

.industry-challenge-tab:hover {
    background: rgba(255, 255, 255, 0.75);
}

.industry-challenge-tab.is-active {
    background: #fff;
    box-shadow: 0 6px 20px rgba(77, 93, 110, 0.12);
    color: #1a232d;
}

.industry-challenge-tab[data-challenge="portfolio"].is-active { color: #356580; }
.industry-challenge-tab[data-challenge="bottleneck"].is-active { color: #5c4f7a; }
.industry-challenge-tab[data-challenge="risk"].is-active { color: #a84a3a; }

.industry-challenge-stage {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 1.25rem;
    padding: 1.35rem 1.5rem 1.75rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    min-height: 200px;
}

.industry-challenge-panel {
    display: none;
}

.industry-challenge-panel.is-active {
    display: block;
    animation: industryChallengeIn 0.35s ease;
}

.industry-challenge-panel.is-exiting {
    animation: industryChallengeOut 0.28s ease forwards;
}

@keyframes industryChallengeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes industryChallengeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-6px); }
}

.industry-challenge-panel-grid {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
}

/* Visual card */
.industry-challenge-visual {
    width: 200px;
    height: 160px;
    border-radius: 14px;
    background: linear-gradient(160deg, #f4f8fb 0%, #e8f0f6 100%);
    border: 1px solid rgba(222, 229, 236, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icv {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Docs stack */
.icv--docs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icv-doc {
    position: absolute;
    width: 52px;
    height: 68px;
    border-radius: 6px;
    background: #fff;
    border: 2px solid #4D5D6E;
    box-shadow: 0 4px 12px rgba(77, 93, 110, 0.1);
}

.icv-doc::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 10px;
    right: 10px;
    height: 3px;
    border-radius: 2px;
    background: #DEE5EC;
    box-shadow: 0 8px 0 #DEE5EC, 0 16px 0 #e3eef5;
}

.icv-doc--1 {
    transform: rotate(-8deg) translate(-28px, 4px);
    z-index: 1;
}

.icv-doc--2 {
    transform: rotate(4deg) translate(0, -6px);
    z-index: 2;
    border-color: #4a7c9b;
}

.icv-doc--3 {
    transform: rotate(10deg) translate(28px, 2px);
    z-index: 1;
}

.icv-search {
    position: absolute;
    bottom: 18px;
    right: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #4a7c9b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(74, 124, 155, 0.35);
    z-index: 3;
}

.icv-search svg {
    width: 18px;
    height: 18px;
}

/* Queue */
.icv--queue {
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
}

.icv-queue-bar {
    height: 10px;
    border-radius: 999px;
    background: #DEE5EC;
    overflow: hidden;
}

.icv-queue-fill {
    display: block;
    height: 100%;
    width: 35%;
    border-radius: inherit;
    background: #7a6b9e;
    animation: icvQueuePulse 2.5s ease-in-out infinite;
}

@keyframes icvQueuePulse {
    0%, 100% { width: 28%; }
    50% { width: 72%; }
}

.icv-queue-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.icv-queue-items li {
    height: 22px;
    border-radius: 6px;
    background: #fff;
    border: 1.5px solid #DEE5EC;
}

.icv-queue-items li:nth-child(1) { width: 85%; }
.icv-queue-items li:nth-child(2) { width: 70%; margin-left: 8%; }
.icv-queue-items li:nth-child(3) { width: 55%; margin-left: 16%; }

.icv-clock {
    position: absolute;
    bottom: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #7a6b9e;
    color: #7a6b9e;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(122, 107, 158, 0.2);
}

.icv-clock svg {
    width: 20px;
    height: 20px;
}

/* Risk */
.icv--risk {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
}

.icv-warn-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(196, 92, 74, 0.12);
    color: #c45c4a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icv-warn-icon svg {
    width: 32px;
    height: 32px;
}

.icv-spec-card {
    font-family: mollen-bold, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #c45c4a;
    color: #c45c4a;
    box-shadow: 0 4px 12px rgba(196, 92, 74, 0.15);
}

/* Copy */
.industry-challenge-copy {
    min-width: 0;
}

.industry-challenge-stat-value {
    font-family: mollen-bold, sans-serif;
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    line-height: 1;
    display: block;
}

.industry-challenge-stat-value--word,
.industry-challenge-stat-value--range {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.industry-challenge-stat--secondary {
    margin-top: 0.75rem;
}

.industry-challenge-stat--secondary .industry-challenge-stat-value {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.industry-challenge-subline {
    font-size: 0.85rem;
    color: #4D5D6E;
    line-height: 1.45;
    margin: 0.55rem 0 0;
    max-width: 22rem;
}

.industry-challenge-panel--portfolio .industry-challenge-stat-value { color: #356580; }
.industry-challenge-panel--bottleneck .industry-challenge-stat-value { color: #5c4f7a; }
.industry-challenge-panel--risk .industry-challenge-stat-value { color: #a84a3a; }

.industry-challenge-line {
    font-size: 0.95rem;
    color: #4D5D6E;
    line-height: 1.4;
    margin: 0.4rem 0 0.85rem;
}

.industry-challenge-meter {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.65rem;
    max-width: 320px;
}

.industry-challenge-meter-label {
    font-size: 0.72rem;
    font-family: mollen-bold, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4D5D6E;
    opacity: 0.7;
    white-space: nowrap;
}

.industry-challenge-meter-track {
    height: 7px;
    border-radius: 999px;
    background: #DEE5EC;
    overflow: hidden;
}

.industry-challenge-meter-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #4a7c9b;
}

.industry-challenge-panel--bottleneck .industry-challenge-meter-fill {
    background: #7a6b9e;
}

.industry-challenge-panel.is-active .industry-challenge-meter-fill {
    animation: industryMeterGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

@keyframes industryMeterGrow {
    to { width: var(--w, 50%); }
}

.industry-challenge-meter-val {
    font-family: mollen-bold, sans-serif;
    font-size: 0.88rem;
    color: #c45c4a;
    white-space: nowrap;
}

.industry-challenge-panel--bottleneck .industry-challenge-meter-val {
    color: #7a6b9e;
}

.industry-challenge-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.industry-challenge-tags li {
    font-size: 0.68rem;
    font-family: mollen-bold, sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(196, 92, 74, 0.1);
    border: 1px solid rgba(196, 92, 74, 0.22);
    color: #a84a3a;
}

.industry-challenge-panel--portfolio .industry-challenge-tags li {
    background: rgba(53, 101, 128, 0.1);
    border-color: rgba(53, 101, 128, 0.22);
    color: #356580;
}

.industry-challenge-panel--bottleneck .industry-challenge-tags li {
    background: rgba(122, 107, 158, 0.12);
    border-color: rgba(122, 107, 158, 0.28);
    color: #5c4f7a;
}

.industry-challenge-progress {
    position: absolute;
    left: 1.75rem;
    right: 1.75rem;
    bottom: 0.65rem;
    height: 3px;
    border-radius: 999px;
    background: rgba(222, 229, 236, 0.8);
    overflow: hidden;
}

.industry-challenge-progress-fill {
    display: block;
    height: 100%;
    width: 33.33%;
    border-radius: inherit;
    background: #4a7c9b;
    transition: transform 0.35s ease, background 0.25s;
}

.industry-challenge-interactive[data-active-challenge="portfolio"] .industry-challenge-progress-fill {
    transform: translateX(0);
    background: #4a7c9b;
}

.industry-challenge-interactive[data-active-challenge="bottleneck"] .industry-challenge-progress-fill {
    transform: translateX(100%);
    background: #7a6b9e;
}

.industry-challenge-interactive[data-active-challenge="risk"] .industry-challenge-progress-fill {
    transform: translateX(200%);
    background: #c45c4a;
}

.industry-challenge-footnote {
    text-align: center;
    font-size: 0.82rem;
    margin: 0.85rem 0 0;
}

.industry-challenge-footnote a {
    color: #4D5D6E;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Who uses it — role cards ── */
.industry-teams {
    padding: 4.5rem 0;
}

.industry-teams-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.industry-teams-lead {
    font-size: 1.05rem;
    color: #4D5D6E;
    line-height: 1.55;
    margin: 0.75rem 0 0;
}

.industry-teams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
}

.industry-team-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.35rem 1.35rem 1.25rem;
    background: #fff;
    border: 1px solid #DEE5EC;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(77, 93, 110, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border-top: 3px solid var(--team-accent, #4a7c9b);
}

.industry-team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(77, 93, 110, 0.1);
    border-color: rgba(74, 124, 155, 0.35);
}

.industry-team-card--sales { --team-accent: #4a7c9b; }
.industry-team-card--apps { --team-accent: #7a6b9e; }
.industry-team-card--field { --team-accent: #3d7a55; }
.industry-team-card--support { --team-accent: #c45c4a; }

.industry-team-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.industry-team-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--team-accent) 12%, white);
    color: var(--team-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-team-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.industry-team-card h3 {
    font-family: mollen-bold, sans-serif;
    font-size: 1rem;
    color: #1a232d;
    margin: 0;
    line-height: 1.3;
}

.industry-team-outcome {
    font-size: 0.88rem;
    color: #4D5D6E;
    line-height: 1.5;
    margin: 0;
}

.industry-team-ask {
    margin: 0;
    padding: 0.75rem 0.9rem;
    background: #f8fafb;
    border-left: 3px solid var(--team-accent);
    border-radius: 0 10px 10px 0;
    font-size: 0.82rem;
    font-style: normal;
    color: #4D5D6E;
    line-height: 1.45;
}

.industry-team-tags {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.industry-team-tags li {
    font-size: 0.68rem;
    font-family: mollen-bold, sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--team-accent) 10%, white);
    color: var(--team-accent);
    border: 1px solid color-mix(in srgb, var(--team-accent) 22%, transparent);
}

@media (max-width: 991.98px) {
    .industry-challenge-band {
        padding: 2rem 1.25rem 1.75rem;
    }

    .industry-challenge-panel-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .industry-challenge-visual {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .industry-teams-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .industry-challenge-tabs {
        grid-template-columns: 1fr;
    }

    .industry-challenge-tab-label {
        display: block;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .industry-challenge-panel.is-active,
    .industry-challenge-panel.is-exiting {
        animation: none;
    }

    .industry-challenge-panel.is-active .industry-challenge-meter-fill {
        animation: none;
        width: var(--w, 50%);
    }

    .icv-queue-fill {
        animation: none;
        width: 55%;
    }
}

#example-questions {
    scroll-margin-top: 3rem;
}

.example-questions-section.home-docintel {
    background: transparent;
}
