.features-cards-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 128px;
}

.features-cards-wrapper {
    overflow: hidden;
}

.features-cards-container {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
}

.hero-media-icon {
    width: 80px;
    /* Reduced size */
    height: auto;
    display: block;
}

/* Bento Grid System */
.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

/* Remove old column wrappers if any remain */
.features-bento-col {
    display: contents;
}

/* Bento Cards */
.bento-card {
    width: 100%;
    background: var(--color-bg-second);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding: 42px 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    height: 100%;
    /* Stretch to match tallest card in the row */
    justify-content: flex-start;
    /* Ensure content starts at top */

    /* Grid Logic */
    margin-bottom: 0;
    /* Handled by grid gap */

    transition: border-color 0.4s ease;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    margin-bottom: 0;
}

.bento-card-icon i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-card h3 {
    margin: 0;
}

.bento-card p {
    margin: 0;
}

/* Specific Card Layouts */


.card-integration {
    gap: 16px;
}

.card-communication {
    gap: 16px;
}

/* Internal Components */
/* Image wrapper removed as images are no longer displayed */

/* Responsive */
@media (max-width: 1024px) {
    .features-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .bento-card {
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .features-bento-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bento-card {
        height: auto;
        /* Allow height to be dynamic on mobile for better readability */
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .bento-card {
        padding: 32px 24px;
    }
}