.occiplex-knowledge-section {
    position: relative;
}

.occiplex-knowledge-section .occiplex-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(11, 91, 211, 0.08);
    color: #0b5bd3;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.occiplex-knowledge-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(23, 79, 162, 0.02) 0%, rgba(229, 84, 36, 0.02) 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.occiplex-knowledge-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 2px;
    width: 100%;
    height: 3px;
    background: #0b5bd3;
    background: linear-gradient(180deg, var(--color-primary) 0%, #4391CE 100%);
}

.occiplex-knowledge-card::after {
    content: "";
    position: absolute;
    right: -24px;
    top: -24px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: radial-gradient(circle, color-mix(in srgb, var(--occiplex-accent, #0b5bd3) 10%, transparent) 0%, transparent 72%);
    pointer-events: none;
}

.occiplex-knowledge-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--occiplex-accent, #0b5bd3) 30%, rgba(15, 23, 42, 0.12));
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.10);
}

.occiplex-knowledge-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 200px;
    padding: 1.8rem;
}

.occiplex-knowledge-badge {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(23, 79, 162, 0.08), rgba(229, 84, 36, 0.08));
    color: var(--occiplex-accent, #0b5bd3);
    font-size: 1.25rem;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--occiplex-accent, #0b5bd3) 14%, transparent);
}

.occiplex-knowledge-title {
    margin-bottom: 0;
    font-size: 1.15rem;
    font-weight: 550;
    color: #111827;
}

.occiplex-knowledge-text {
    margin-bottom: 0;
    color: rgba(17, 24, 39, 0.76);
    line-height: 1.55;
}

.occiplex-accent-primary {
    --occiplex-accent: #0242a3b7;
}

.occiplex-knowledge-card.occiplex-accent-primary {
    border-color: #0b5bd3;
}

.occiplex-accent-warning {
    --occiplex-accent: #0242a3b7;
}

.occiplex-knowledge-card.occiplex-accent-warning {
    border-color: #0b5bd3;
}

.occiplex-accent-danger {
    --occiplex-accent: #0242a3b7;
}

.occiplex-knowledge-card.occiplex-accent-danger {
    border-color: #0b5bd3;
}

.occiplex-accent-info {
    --occiplex-accent: #0242a3b7;
}

.occiplex-knowledge-card.occiplex-accent-info {
    border-color: #0b5bd3;
}

.occiplex-knowledge-card.occiplex-accent-primary:hover {
    border-color: #0b5bd3;
}

.occiplex-knowledge-card.occiplex-accent-warning:hover {
    border-color: #0b5bd3;
}

.occiplex-knowledge-card.occiplex-accent-danger:hover {
    border-color: #0b5bd3;
}

.occiplex-knowledge-card.occiplex-accent-info:hover {
    border-color: #0b5bd3;
}

.occiplex-difference-section {
    position: relative;
    background: #f7f8fa;
}

.occiplex-difference-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: linear-gradient(225deg, var(--occiplex-difference-bg, rgba(255, 255, 255, 0.96)) 5%, rgba(255, 255, 255, 0.985) 72%);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
}

.occiplex-difference-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(315deg, color-mix(in srgb, var(--occiplex-difference-bg, rgba(255, 255, 255, 0.96)) 86%, transparent) 0%, rgba(255, 255, 255, 0.01) 82%);
    opacity: 0;
    transition: opacity 240ms ease;
}

.occiplex-difference-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
    opacity: 0;
}

.occiplex-difference-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 23, 42, 0.10);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.06);
}

.occiplex-difference-card:hover::before {
    opacity: 1;
}

.occiplex-difference-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 186px;
    padding: 1.6rem;
}

.occiplex-difference-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(23, 79, 162, 0.10), rgba(229, 84, 36, 0.10));
    color: #0b5bd3;
    font-size: 1.25rem;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--occiplex-difference-accent, #0b5bd3) 12%, transparent);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.occiplex-difference-card:hover .occiplex-difference-badge {
    transform: translateY(-2px) scale(1.04);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--occiplex-difference-accent, #0b5bd3) 18%, transparent);
}

.occiplex-difference-title {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 550;
    color: #111827;
}

.occiplex-difference-text {
    margin-bottom: 0;
    color: rgba(17, 24, 39, 0.76);
    line-height: 1.55;
    font-size: 0.98rem;
}

.occiplex-difference-accent {
    --occiplex-difference-accent: #bec8d7;
    --occiplex-difference-bg: rgba(23, 79, 162, 0.043);
}

.occiplex-path-section {
    position: relative;
}

.occiplex-path-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.035);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.occiplex-path-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(315deg, rgba(23, 79, 162, 0.02) 0%, rgba(229, 84, 36, 0.02) 100%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.occiplex-path-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 23, 42, 0.11);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.occiplex-path-card:hover::before {
    opacity: 1;
}

.occiplex-path-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    /* min-height: 158px; */
    padding: 0.8rem;
}

.occiplex-path-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.06);
    color: var(--occiplex-path-accent, #0b5bd3);
    font-size: 1.2rem;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--occiplex-path-accent, #0b5bd3) 10%, transparent);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.occiplex-path-card:hover .occiplex-path-icon {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--occiplex-path-accent, #0b5bd3) 16%, transparent);
}

.occiplex-path-title {
    margin-bottom: 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.occiplex-path-text {
    color: rgba(17, 24, 39, 0.74);
    line-height: 1.5;
    font-size: 0.94rem;
}

.occiplex-path-accent-primary {
    --occiplex-path-accent: #0b5bd3;
}

.occiplex-path-accent-warning {
    --occiplex-path-accent: #f59e0b;
}

.occiplex-path-accent-danger {
    --occiplex-path-accent: #dc3545;
}

.occiplex-path-accent-info {
    --occiplex-path-accent: #0dcaf0;
}

.occiplex-layer-section {
    position: relative;
}

.occiplex-layer-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.035);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.occiplex-layer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 84, 36, 0.18);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.occiplex-layer-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem;
}

.occiplex-layer-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 84, 36, 0.12);
    color: #e55424;
    font-size: 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(229, 84, 36, 0.12);
    margin-top: 0.1rem;
}

.occiplex-layer-title {
    margin-bottom: 0.35rem;
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
}

.occiplex-layer-text {
    color: rgba(17, 24, 39, 0.74);
    line-height: 1.5;
    font-size: 0.94rem;
}

.occiplex-layer-card-inner > div:last-child {
    min-width: 0;
}

.occiplex-environments-section {
    background: #fff;
}

.occiplex-environments-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.occiplex-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.occiplex-industry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 170px;
    padding: 1.25rem;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(23, 79, 162, 0.05) 0%, rgba(229, 84, 36, 0.02) 100%);
    color: #262626;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.5s ease;
}

.occiplex-industry-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 2px solid #0b5bd3;
    border-radius: inherit;
    pointer-events: none;
    /* Reveal the border diagonally, keeping the card's shape fixed. */
    clip-path: polygon(0 0, 0 0, 0 0);
    transition: clip-path 0.5s ease-out;
}

.occiplex-industry-content {
    display: grid;
    align-items: start;
}

.occiplex-industry-title {
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 400;
}

.occiplex-industry-detail {
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
}

.occiplex-industry-subtitle {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
}

.occiplex-industry-description {
    font-size: 1.1rem;
}

.occiplex-environments-section.is-interactive .occiplex-industry-title,
.occiplex-environments-section.is-interactive .occiplex-industry-detail {
    grid-area: 1 / 1;
    transition: opacity 180ms ease;
}

.occiplex-environments-section.is-interactive .occiplex-industry-card[aria-expanded="false"] .occiplex-industry-detail {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
}

.occiplex-environments-section.is-interactive .occiplex-industry-detail {
    transform: translateY(0);
    transition: opacity 250ms ease, transform 350ms ease-out;
}

.occiplex-environments-section.is-interactive .occiplex-industry-card[aria-expanded="true"]::after {
    clip-path: polygon(0 0, 200% 0, 0 200%);
    transition-duration: 1.2s;
}

.occiplex-environments-section.is-interactive .occiplex-industry-card[aria-expanded="true"] .occiplex-industry-title {
    opacity: 0;
}

.occiplex-industry-card:focus-visible {
    outline: 2px solid #0b5bd3;
    outline-offset: 3px;
}

.occiplex-industry-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.occiplex-industry-icon {
    width: 44px;
    height: 44px;
}

.occiplex-industry-arrow {
    width: 24px;
    height: 24px;
    color: #0b5bd3;
}

@media (max-width: 767.98px) {
    .occiplex-knowledge-card-inner,
    .occiplex-difference-card-inner,
    .occiplex-path-card-inner,
    .occiplex-layer-card-inner {
        min-height: auto;
        padding: 1.35rem;
    }

    .occiplex-layer-card-inner {
        align-items: flex-start;
    }
}

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

    .occiplex-industry-card {
        min-height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .occiplex-industry-card,
    .occiplex-industry-card::after,
    .occiplex-environments-section.is-interactive .occiplex-industry-card[aria-expanded="true"]::after,
    .occiplex-environments-section.is-interactive .occiplex-industry-title,
    .occiplex-environments-section.is-interactive .occiplex-industry-detail {
        transition: none;
    }
}
