.matrix-wrapper {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.matrix-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Nav Bar */
.matrix-nav-bar {
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #E2E8F0;
    box-sizing: border-box;
}

.matrix-tab-btn {
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

/* Panels Area */
.matrix-panels {
    position: relative;
    width: 100%;
}

.matrix-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.matrix-panel.active {
    display: block;
    opacity: 1;
}

.matrix-panel-row {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.matrix-left-col {
    flex: 0 0 55%;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.matrix-right-col {
    flex: 0 0 45%;
    max-width: 45%;
}

/* Sub-Badge */
.matrix-badge {
    display: inline-block;
    align-self: flex-start;
    letter-spacing: 1px;
}

/* H3 Headline */
.matrix-headline {
    margin: 0;
    line-height: 1.25;
}

/* Paragraph */
.matrix-desc {
    margin: 0;
}

.matrix-desc p {
    margin: 0 0 12px 0;
}
.matrix-desc p:last-child {
    margin: 0;
}

/* Highlights Checkmarks */
.matrix-highlights {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matrix-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.matrix-check-icon {
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* CTA */
.matrix-cta-wrapper {
    margin-top: 12px;
}

.matrix-cta-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.matrix-cta-btn:hover {
    filter: brightness(1.1);
}

/* Visual Anchor Image */
.matrix-img-card {
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.matrix-img-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .matrix-panel-row {
        flex-direction: column;
        gap: 30px;
    }
    .matrix-left-col,
    .matrix-right-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
