/* =============================================================
   manufacturing.css - Manufacturing page specific styles
   Loaded on: /industries/manufacturing/, /industries/ai-readiness/
   ============================================================= */

/* --------------------------------------------------------------
   SECTION 1 � Hero (mfg-hero)
   -------------------------------------------------------------- */
.mfg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    background-image: url('../../images/pages/manufacturing/hero-banner3.webp');
}

.mfg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 28, 72, 0.92) 0%, rgba(3, 28, 72, 0.75) 50%, rgba(220, 20, 60, 0.45) 100%);
    z-index: 1;
}

.mfg-hero .container-xl {
    position: relative;
    z-index: 2;
}

.mfg-hero .breadcrumb {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.mfg-hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.mfg-hero .eyebrow .text-brand {
    color: var(--color-brand-red);
    font-size: 1rem;
    line-height: 0;
}

.mfg-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.mfg-hero__lead {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mfg-hero__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.mfg-hero__desc strong {
    color: var(--color-white);
    font-weight: 700;
}

.mfg-hero__note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 2.5rem;
}

/* Hero button overrides (designer smaller buttons) */
.mfg-hero .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    border: 1px solid transparent;
}

.mfg-hero .btn-primary {
    background-color: var(--color-brand-red);
    color: var(--color-white);
}

.mfg-hero .btn-primary:hover {
    background-color: #B91130;
    transform: translateY(-2px);
}

.mfg-hero .btn-outline-light {
    background-color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    color: #000 !important;
}

.mfg-hero .btn-outline-light:hover {
    background-color: #fff;
    border-color: #000;
    transform: translateY(-2px);
}

.mfg-hero .page-hero__actions {
    justify-content: flex-start;
    margin-bottom: 2.5rem;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-outline-dark:hover {
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Glass Card (Hero right column) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-card__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.glass-card__list {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
}

.glass-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.glass-card__list li::before {
    content: '\25CF';
    color: var(--color-brand-red);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    margin-top: 3px;
}

.glass-card__footer {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.glass-card__footer strong {
    color: var(--color-white);
}

/* Hero form */
.mfg-hero-form .form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.mfg-hero-form .form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.375rem;
}

.mfg-hero-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    transition: border-color 0.2s;
}

.mfg-hero-form .form-control:focus {
    outline: none;
    border-color: var(--color-brand-red);
    background: rgba(0, 0, 0, 0.4);
}

.mfg-hero-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.mfg-hero-form .btn--block {
    width: 100%;
}

.form-feedback {
    display: none;
}

/* --------------------------------------------------------------
   SECTION 2 � Leader Quotes
   -------------------------------------------------------------- */
.leader-quotes-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 5rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(3, 28, 72, 0.05);
}

@media (min-width: 768px) {
    .leader-quotes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .leader-quotes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quote-item {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background-color 300ms ease;
    border-bottom: 1px solid var(--color-gray-200);
}

.quote-item:last-child {
    border-bottom: none;
}

.quote-item:hover {
    background-color: var(--color-gray-50);
}

@media (min-width: 768px) {
    .quote-item {
        border-bottom: none;
        border-right: 1px solid var(--color-gray-200);
    }

    .quote-item:nth-child(2n) {
        border-right: none;
    }
}

@media (min-width: 1024px) {
    .quote-item:nth-child(2n) {
        border-right: 1px solid var(--color-gray-200);
    }

    .quote-item:last-child {
        border-right: none;
    }
}

.quote-item__icon {
    color: var(--color-brand-red);
    margin-bottom: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-item__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quote-item__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.quote-item__desc {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------
   SECTION 3 � Role Tabs
   -------------------------------------------------------------- */
.mfg-tabs__header {
    margin-bottom: 3.5rem;
}

.mfg-section-eyebrow {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand-red);
    margin-bottom: 0.625rem;
}

.mfg-section-heading {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

.mfg-section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* --------------------------------------------------------------
   Shared section header utilities
   Used by "WHAT WE DELIVER" and similar section eyebrows
   -------------------------------------------------------------- */
.section-header-center {
    text-align: center;
    margin: 0 auto 4rem;
}

.eyebrow {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand-red);
    margin-bottom: 1rem;
}

/* Dark section overrides � per designer spec */
.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.section-dark .section-header__subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.section-dark .section-text-center {
    color: rgba(255, 255, 255, 0.75);
}

.section-dark .card-dark .card-title-main,
.section-dark .card-dark .phase-card__title {
    color: var(--color-white, #FFFFFF);
}

.section-dark .card-dark .card-text,
.section-dark .card-dark .phase-card__desc {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark .card-dark {
    padding: 2rem;
    border-radius: var(--radius-lg, 1rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.section-white .card-dark {
    background-color: var(--color-navy);
    color: #FFFFFF;
    padding: 2rem;
    border-radius: var(--radius-lg, 1rem);
}

/* Tab Navigation */
.role-tabs-nav {
    display: flex;
    gap: 2.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: 3.5rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.role-tabs-nav::-webkit-scrollbar {
    display: none;
}

.role-tab-btn {
    background: none;
    padding: 1rem 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-gray-500);
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    margin-bottom: -1px;
    transition: all 0.2s ease;
}

.role-tab-btn:hover {
    color: var(--color-navy);
}

.role-tab-btn.active {
    color: var(--color-brand-red);
    border-bottom-color: var(--color-brand-red);
}

/* Tab Panels */
.role-tab-panel {
    display: none;
    animation: tabFadeIn 0.4s ease forwards;
}

.role-tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quote Card (Left Column) */
.role-quote-card {
    background-color: var(--color-gray-50);
    border-left: 4px solid var(--color-brand-red);
    padding: 2.5rem 2.5rem 2.5rem 3rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    position: relative;
    margin-bottom: 2.5rem;
}

.role-quote-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    color: rgba(220, 20, 60, 0.15);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
    pointer-events: none;
}

.role-quote-text {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem;
    font-style: italic;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.role-quote-author {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* Pain Points List */
.role-pain-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    list-style: none;
}

.role-pain-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.role-pain-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-brand-red);
}

.role-pain-list li strong {
    color: var(--color-navy);
    font-weight: 700;
}

/* Cost Card (Right Column) */
.cost-eyebrow {
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand-red);
    margin-bottom: 1rem;
}

.cost-card {
    padding: 2rem;
}

.cost-card-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cost-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
    list-style: none;
}

.cost-list li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    padding-left: 1.25rem;
    position: relative;
}

.cost-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-brand-red);
}

.cost-list li strong {
    color: var(--color-white);
    font-weight: 700;
}

.role-cta-btn {
    margin-top: 2rem;
    width: 100%;
}

/* --------------------------------------------------------------
   SECTION 4 � Solutions
   -------------------------------------------------------------- */
.section-padding {
    padding: var(--section-padding-y) 0;
}

.content-block {
    margin-bottom: 6rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.sub-section-header {
    margin: 0 0 2.5rem;
}

.sub-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* Horizontal Card */
.card-horizontal {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
}

.card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(3, 28, 72, 0.1);
    border-color: var(--color-gray-300);
}

.card-horizontal__media {
    width: 160px;
    min-height: 160px;
    overflow: hidden;
    background: var(--color-gray-100);
}

.card-horizontal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-horizontal:hover .card-horizontal__media img {
    transform: scale(1.06);
}

.card-horizontal__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-horizontal__body .card-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------
   SECTION 5 � Problem Hero + Journey
   -------------------------------------------------------------- */

/* Problem Hero (Dark) */
.problem-hero {
    position: relative;
    background-color: var(--color-navy);
    padding: 8rem 0 6rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.problem-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    background-image: url('../../images/pages/manufacturing/bg-ai-problem.webp');
}

.problem-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 18, 48, 0.95) 0%, rgba(3, 28, 72, 0.85) 100%);
    z-index: -1;
}

.eyebrow-label {
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand-red);
    margin-bottom: 1.25rem;
    display: inline-block;
}

.problem-hero .hero-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 3.5rem;
    letter-spacing: -0.02em;
    margin-left: auto;
    margin-right: auto;
}

.problem-hero .hero-heading span {
    color: var(--color-brand-red);
}

/* Comparison Cards */
.comparison-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.problem-hero .glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 300ms ease;
}

.problem-hero .glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.problem-hero .glass-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand-red);
    margin-bottom: 1rem;
}

.problem-hero .glass-card__text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.5;
    margin: 0;
}

.comparison-arrow {
    color: var(--color-brand-red);
    animation: pulseSlide 2s infinite;
}

@keyframes pulseSlide {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.7;
    }

    50% {
        transform: translateX(8px);
        opacity: 1;
    }
}

.hero-statement,
.problem-hero .hero-statement,
.problem-hero p.hero-statement {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #FFFFFF !important;
    line-height: 1.5;
    margin: 0 auto 3rem;
    text-wrap: balance;
}

/* Broad fallback � any paragraph inside problem-hero on dark bg */
.problem-hero p {
    color: #FFFFFF !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* Journey Section */
.journey-section {
    background-color: var(--bg-light);
    padding: var(--section-padding-y) 0;
}

.journey-header {
    text-align: center;
    margin: 0 auto 4rem;
}

.journey-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.journey-heading span {
    color: var(--color-brand-red);
}

.journey-desc {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin: 0 auto;
}

.journey-desc strong {
    color: var(--color-navy);
    font-weight: 700;
}

/* Process Cards */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gutter);
    margin-bottom: 5rem;
}

.process-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 300ms ease;
    z-index: 1;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(3, 28, 72, 0.1);
    border-color: var(--color-brand-red);
}

.process-card__bg-num {
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 8rem;
    font-weight: 900;
    color: var(--color-gray-50);
    line-height: 1;
    z-index: -1;
    user-select: none;
    transition: color 300ms ease;
}

.process-card:hover .process-card__bg-num {
    color: var(--color-gray-100);
}

.process-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.process-card__icon {
    color: var(--color-brand-red);
    width: 24px;
    height: 24px;
    transition: transform 300ms ease;
}

.process-card:hover .process-card__icon {
    transform: scale(1.1) translateY(-2px);
}

.process-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-card__cat {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-brand-red);
}

.process-card__title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.process-card__desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.process-card__badge {
    display: inline-block;
    background: rgba(220, 20, 60, 0.1);
    color: var(--color-brand-red);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    align-self: flex-start;
}

/* Metrics Bar */
.metrics-bar {
    background-color: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(3, 28, 72, 0.15);
}

.metric-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-value span {
    color: #FF8FA3;
    font-size: 2.25rem;
}

.metric-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0 auto;
}

/* --------------------------------------------------------------
   SECTION 6 � Services + Use Cases
   -------------------------------------------------------------- */

/* Service Cards */
.service-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
    position: relative;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -8px rgba(3, 28, 72, 0.12);
    border-color: var(--color-gray-300);
}

.service-card__num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-gray-100);
    line-height: 1;
    margin-bottom: -1rem;
    z-index: 0;
    transition: color 300ms ease;
}

.service-card:hover .service-card__num {
    color: var(--color-gray-200);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--color-brand-red);
    margin-bottom: 1.25rem;
    z-index: 1;
    transition: transform 300ms ease;
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) translateY(-4px);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card__title {
    font-size: 1.1875rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
    z-index: 1;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    z-index: 1;
    flex-grow: 1;
}

.service-card__benefit {
    font-size: 0.875rem;
    color: var(--color-gray-700);
    background: var(--color-gray-50);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    width: 100%;
    line-height: 1.5;
}

.service-card__benefit strong {
    color: var(--color-navy);
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-brand-red);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap 150ms ease, color 150ms ease;
}

.service-card:hover .card-link {
    gap: 0.625rem;
    color: var(--color-brand-red);
}

/* Use Case Cards (Dark Mode) */
.use-case-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 300ms ease, background-color 300ms ease, border-color 300ms ease;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.use-case-card__category {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand-red);
    margin-bottom: 0.75rem;
}

.use-case-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.use-case-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

@media (min-width: 640px) {
    .use-case-split {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.use-case-col__label {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.use-case-col--after .use-case-col__label {
    color: #10B981;
}

.use-case-col__desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.use-case-col__desc strong {
    color: var(--color-white);
    font-weight: 700;
}

.use-cases-cta {
    text-align: center;
    margin-top: 4rem;
}

/* --------------------------------------------------------------
   SECTION 7 � Phase Cards + Demo
   -------------------------------------------------------------- */
.phase-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.phase-card {
    display: flex;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal, 300ms ease);
}

.phase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -8px rgba(3,28,72,0.12);
    border-color: var(--color-brand-red);
}

.phase-card__left {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 2.5rem 2rem;
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phase-card__left::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-brand-red);
    opacity: 0;
    transition: opacity 300ms ease;
}

.phase-card:hover .phase-card__left::after {
    opacity: 1;
}

.phase-card__step {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.phase-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.phase-card__badge {
    margin-top: auto;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm, 0.25rem);
}

.phase-card__right {
    padding: 2.5rem;
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.phase-col {
    display: flex;
    flex-direction: column;
}

.phase-col__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.phase-col__icon {
    color: var(--color-brand-red);
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: block;
    transition: transform 300ms ease;
}

.phase-card:hover .phase-col__icon {
    transform: scale(1.1);
}

.phase-col__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.phase-col__title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-navy);
}

.phase-col__desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

.phase-col__desc strong {
    color: var(--color-navy);
    font-weight: 700;
}

/* Demo Section */
.demo-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(3, 28, 72, 0.08);
    border: 1px solid var(--color-gray-200);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.demo-content {
    padding: 4rem;
}

.demo-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.demo-desc {
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.demo-features {
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
}

.demo-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.demo-feature__icon {
    color: var(--color-brand-red);
    width: 24px;
    height: 24px;
    margin-top: 0.125rem;
}

.demo-feature__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-feature__text {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

.demo-feature__text strong {
    color: var(--color-navy);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.demo-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Demo Form */
.demo-form-wrapper {
    background: var(--color-gray-50);
    padding: 4rem;
    border-left: 1px solid var(--color-gray-200);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.form-subheading {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-align: center;
    margin-top: 1rem;
}

/* Demo Form: Select styling */
form .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
    background: var(--color-white);
    color: var(--color-gray-900);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

form .form-select:focus {
    outline: none;
    border-color: var(--color-brand-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

/* --------------------------------------------------------------
   SECTION 8 � FAQ Accordion (manufacturing override)
   -------------------------------------------------------------- */
.mfg-faq .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    height: 100%;
}

.mfg-faq .faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 300ms ease;
}

.mfg-faq .faq-item:hover {
    border-color: var(--color-brand-red);
    box-shadow: 0 8px 24px rgba(3, 28, 72, 0.06);
    transform: translateY(-2px);
}

.mfg-faq .faq-item.active {
    border-color: var(--color-brand-red);
}

.mfg-faq .faq-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--color-navy);
    transition: color 0.3s;
    cursor: pointer;
}

.mfg-faq .faq-item:hover .faq-header,
.mfg-faq .faq-item.active .faq-header {
    color: var(--color-brand-red);
}

.mfg-faq .faq-icon {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.mfg-faq .faq-icon::before,
.mfg-faq .faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-white);
    border-radius: 2px;
}

.mfg-faq .faq-icon::before {
    width: 12px;
    height: 2px;
}

.mfg-faq .faq-icon::after {
    width: 2px;
    height: 12px;
    transition: transform 0.3s ease;
}

.mfg-faq .faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

/* -- Generic FAQ accordion (matches pages_.css) --------------- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal, 300ms ease);
}

.faq-item:hover {
    border-color: var(--color-brand-red);
    box-shadow: 0 8px 24px rgba(3, 28, 72, 0.06);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--color-brand-red);
}

.faq-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--color-navy);
    cursor: pointer;
    transition: color 0.3s;
}

.faq-item:hover .faq-header {
    color: var(--color-brand-red);
}

.faq-icon {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-white);
    border-radius: 2px;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-gray-600);
}

.faq-content a {
    color: var(--color-brand-red);
    font-weight: 800;
    display: inline-block;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .faq-header {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-content {
        padding: 0 1rem 1rem;
    }
}

/* --------------------------------------------------------------
   Reveal override � force all sections visible on load
   The global pages.css sets .reveal-up { opacity:0 } and
   DB content still carries reveal-up classes.
   -------------------------------------------------------------- */
.reveal-up,
.reveal-up.active {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.delay-100,
.delay-200,
.delay-300 {
    transition-delay: 0ms !important;
}

/* --------------------------------------------------------------
   CTA Banner override note
   -------------------------------------------------------------- */
.cta-banner .cta-banner__inner .eyebrow {
    color: var(--color-brand-red);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: inline-block;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}



/* --------------------------------------------------------------
   Responsive: Tablet (1024px)
   -------------------------------------------------------------- */
@media (max-width: 1024px) {
    .mfg-hero {
        min-height: auto;
        padding: 6rem 0;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 3rem 2rem;
    }

    .phase-card {
        flex-direction: column;
    }

    .phase-card__left {
        width: 100%;
        padding: 2rem;
    }

    .phase-card__left::after {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 4px;
    }

    .phase-card__badge {
        margin-top: 1.5rem;
    }

    .phase-card__right {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }

    .demo-wrapper {
        grid-template-columns: 1fr;
    }

    .demo-content,
    .demo-form-wrapper {
        padding: 3rem 2rem;
    }

    .demo-form-wrapper {
        border-left: none;
        border-top: 1px solid var(--color-gray-200);
    }

    .comparison-wrapper {
        flex-direction: column;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        animation: pulseSlideDown 2s infinite;
    }

    @keyframes pulseSlideDown {

        0%,
        100% {
            transform: rotate(90deg) translateX(0);
            opacity: 0.7;
        }

        50% {
            transform: rotate(90deg) translateX(8px);
            opacity: 1;
        }
    }
}

/* --------------------------------------------------------------
   Responsive: Mobile (768px)
   -------------------------------------------------------------- */
@media (max-width: 768px) {
    .mfg-hero {
        padding: 5rem 0;
    }

    .mfg-hero__title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .mfg-hero__lead,
    .mfg-hero__desc {}

    .card-horizontal {
        flex-direction: column;
    }

    .card-horizontal__media {
        width: 100%;
        min-height: 180px;
    }
}

/* --------------------------------------------------------------
   Responsive: Small Mobile (640px)
   -------------------------------------------------------------- */
@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .metrics-bar {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .demo-actions {
        flex-direction: column;
    }

    .demo-actions .btn {
        width: 100%;
    }

    .problem-hero .glass-card {
        width: 100%;
    }

    .comparison-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* --------------------------------------------------------------
   SECTION � Timeline (Data Foundation Journey)
   =========================================================== */

/* -- Top Diagram (Systems & Integration) --------------------- */
.top-diagram-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 2rem;
    max-width: 900px;
}

.diagram-row-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.diagram-left-col {
    display: flex;
    flex-direction: column;
}

.diagram-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.diagram-grid.center {
    justify-content: center;
}

.diagram-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background-color: transparent;
}

.diagram-box svg {
    width: 20px;
    height: 20px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.diagram-text-block {
    text-align: left;
}

.top-diagram-wrapper .diagram-row-wrapper:first-of-type .diagram-text-block,
.top-diagram-wrapper .diagram-row-wrapper:first-of-type .diagram-info-block {
    min-width: 180px;
}

.diagram-text-block h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--color-white);
}

.diagram-text-block p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0;
}

.diagram-info-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
}

.diagram-info-block svg {
    width: 24px;
    height: 24px;
    color: #3B82F6;
    flex-shrink: 0;
}

.diagram-info-block p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0;
}

.down-arrow {
    color: #3B82F6;
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.down-arrow svg {
    width: 24px;
    height: 24px;
}

.diagram-icon-large {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.diagram-icon-large {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .diagram-row-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .diagram-text-block {
        text-align: center;
    }

    .diagram-info-block {
        justify-content: center;
        text-align: left;
    }
}


.fw-semibold { font-weight: 600 !important; }

.timeline-wrapper {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
}

.timeline-step {
    display: grid;
    grid-template-columns: 200px 60px 1fr;
    margin-bottom: 2rem;
    position: relative;
}

.step-center {
    position: relative;
    display: flex;
    justify-content: center;
}

.step-line {
    position: absolute;
    top: 24px;
    bottom: -56px;
    width: 2px;
    background-color: rgba(255,255,255,0.15);
    z-index: 1;
}

.step-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-navy);
    border: 2px solid rgba(255,255,255,0.3);
    margin-top: 6px;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal, 300ms ease);
}

.step-left {
    text-align: right;
    padding-right: 2rem;
    padding-top: 4px;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
    display: block;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.step-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin: 0;
}

.step-right {
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.card-title-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.card-text {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag-dark {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
}

.timeline-step .card-dark {
    background-color: rgba(255,255,255,0.04);
    padding: 2.5rem;
    border-radius: var(--radius-lg, 1rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
    cursor: pointer;
}

.timeline-step .card-dark:hover {
    transform: scale(1.02);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}

.timeline-step .card-icon {
    color: var(--color-brand-red, #DC143C);
    width: 24px;
    height: 24px;
    margin-bottom: 0.25rem;
}

.timeline-step .card-icon svg {
    width: 100%;
    height: 100%;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    cursor: default;
    transition: none;
}

.systems-grid:hover,
.timeline-step .card-dark.systems-grid:hover {
    transform: none;
    box-shadow: none;
}

.timeline-step .card-dark.systems-grid {
    display: grid;
    flex-direction: unset;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
}

.system-box {
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md, 0.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform var(--transition-normal, 300ms ease);
}

.system-box:hover {
    transform: scale(1.04);
    border-color: rgba(255,255,255,0.2);
}

.system-box .card-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
}

.system-box h4 {
    font-size: 0.875rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.system-box p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.4;
}

.connector-row {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 1rem 0 3rem;
    z-index: 2;
}

.connector-text {
    background-color: var(--color-navy, #031C48);
    color: rgba(255,255,255,0.4);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.25rem 1rem;
}

.highlight-box {
    background-color: rgba(220,20,60,0.08);
    border: 1px solid rgba(220,20,60,0.2);
    padding: 1.25rem;
    border-radius: var(--radius-md, 0.5rem);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.highlight-box strong {
    color: #FFFFFF;
    font-weight: 700;
}

.timeline-step.is-active .step-line {
    background-color: var(--color-brand-red, #DC143C);
}

.timeline-step.is-active .step-node {
    border-color: var(--color-brand-red, #DC143C);
    background-color: var(--color-brand-red, #DC143C);
    box-shadow: 0 0 12px rgba(220,20,60,0.4);
}

.timeline-step.is-active .step-label,
.timeline-step.is-active .step-title,
.timeline-step.is-active .step-desc {
    color: var(--color-brand-red, #DC143C);
}

.timeline-step.is-active .card-dark {
    border-color: var(--color-brand-red, #DC143C);
    box-shadow: 0 0 24px rgba(220,20,60,0.1);
}

.timeline-step.is-active .connector-text {
    color: var(--color-brand-red, #DC143C);
}

.mobile-step-label {
    display: none;
}

@media (max-width: 768px) {
    .timeline-step {
        grid-template-columns: 40px 1fr;
    }
    .step-left {
        display: none;
    }
    .step-line {
        left: 19px;
    }
    .step-right {
        padding-left: 1rem;
        padding-bottom: 3rem;
    }
    .connector-row {
        justify-content: flex-start;
        padding-left: 40px;
    }
    .mobile-step-label {
        display: block;
        font-size: 0.75rem;
        font-weight: 800;
        color: rgba(255,255,255,0.5);
        margin-bottom: 0.5rem;
    }
    .timeline-step.is-active .mobile-step-label {
        color: var(--color-brand-red, #DC143C);
    }
}

@media (min-width: 769px) {
    .mobile-step-label { display: none; }
}

@media (max-width: 640px) {
    .card-dark { padding: 1.5rem; }
}