/* V2 (AI)celerate Framework Block Styles */

/* ========================
   Base Section
   ======================== */
.v2-ai-feature-framework {
    padding: 60px 0;
    background-color: #f8fafc;
}

.v2-ai-feature-framework .container {
    background: #fff;
    padding: 40px 40px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ========================
   Section Title
   ======================== */
.v2-ai-feature-framework .fw-section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 20px 0;
    color: #002e5b;
    line-height: 1.3;
    font-family: var(--heading-font, inherit);
}

/* ========================
   Cards Grid
   ======================== */
.v2-ai-feature-framework .fw-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-bottom: 30px;
}

.v2-ai-feature-framework .fw-card {
    padding: 20px 15px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========================
   Card Icon
   ======================== */
.v2-ai-feature-framework .fw-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.v2-ai-feature-framework .fw-card-icon i {
    font-size: 20px;
    color: #fff;
}

/* Icon Colors */
.v2-ai-feature-framework .fw-icon-blue   { background-color: #3B5BDB; }
.v2-ai-feature-framework .fw-icon-purple { background-color: #7C3AED; }
.v2-ai-feature-framework .fw-icon-orange { background-color: #F97316; }
.v2-ai-feature-framework .fw-icon-green  { background-color: #008E3A; }
.v2-ai-feature-framework .fw-icon-teal   { background-color: #0D9488; }

/* ========================
   Card Content
   ======================== */
.v2-ai-feature-framework .fw-card-title {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 7px;
    color: #1a1a2e;
    line-height: 1.4;
    font-family: var(--heading-font, inherit);
}

.v2-ai-feature-framework .fw-card-desc {
    font-size: 16px;
    color: #1c1a1a;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* ========================
   Timeline Badge
   ======================== */
.v2-ai-feature-framework .fw-card-timeline {
    margin: 12px 0 0;
}

.v2-ai-feature-framework .fw-timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgb(119, 119, 119);
    font-weight: 500;
}

.v2-ai-feature-framework .fw-timeline-badge::before {
    content: "\f017";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 13px;
    color: rgb(119, 119, 119);
}

/* ========================
   Card Button
   ======================== */
.v2-ai-feature-framework .fw-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid currentColor;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    margin-top: 20px;
    width: 100%;
    cursor: default;
    transition: opacity 0.3s ease;
}

.v2-ai-feature-framework .fw-card-btn i {
    font-size: 14px;
}

/* Button colors based on selected theme */
.v2-ai-feature-framework .fw-btn-blue   { color: #3B5BDB; }
.v2-ai-feature-framework .fw-btn-purple { color: #7C3AED; }
.v2-ai-feature-framework .fw-btn-orange { color: #F97316; }
.v2-ai-feature-framework .fw-btn-green  { color: #008E3A; }
.v2-ai-feature-framework .fw-btn-teal   { color: #0D9488; }

/* Remove bottom margin when cards are last element */
.v2-ai-feature-framework .fw-cards-wrapper:last-child {
    margin-bottom: 0;
}

/* ========================
   Divider
   ======================== */
.v2-ai-feature-framework .fw-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #D1D5DB 20%, #D1D5DB 80%, transparent);
    margin: 0 0 20px;
}

/* ========================
   Stats Section
   ======================== */
.v2-ai-feature-framework .fw-stats-section {
    text-align: center;
    margin-bottom: 30px;
}

.v2-ai-feature-framework .fw-stats-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 15px;
    color: #002e5b;
    font-family: var(--heading-font, inherit);
}

.v2-ai-feature-framework .fw-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.v2-ai-feature-framework .fw-stat-item {
    text-align: center;
}

.v2-ai-feature-framework .fw-stat-number {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.2;
}

.v2-ai-feature-framework .fw-stat-label {
    font-size: 16px;
    color: #1c1a1a;
    line-height: 1.5;
}

/* Stat Colors */
.v2-ai-feature-framework .fw-color-blue   .fw-stat-number { color: #3B5BDB; }
.v2-ai-feature-framework .fw-color-purple .fw-stat-number { color: #7C3AED; }
.v2-ai-feature-framework .fw-color-orange .fw-stat-number { color: #F97316; }
.v2-ai-feature-framework .fw-color-green  .fw-stat-number { color: #008E3A; }
.v2-ai-feature-framework .fw-color-teal   .fw-stat-number { color: #0D9488; }
.v2-ai-feature-framework .fw-color-red    .fw-stat-number { color: #DC2626; }

/* ========================
   Bottom Section
   ======================== */
.v2-ai-feature-framework .fw-bottom-section {
    text-align: center;
    padding: 0 20px 20px;
}

.v2-ai-feature-framework .fw-bottom-text {
    font-size: 18px;
    color: #475569;
    margin: 0 auto 28px;
    line-height: 1.6;
    /* max-width: 900px; */
}

.v2-ai-feature-framework .fw-bottom-cta {
    display: inline-block;
    padding: 16px 40px;
    background-color: #FF6B35;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.v2-ai-feature-framework .fw-bottom-cta:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ========================
   Responsive - Tablet
   ======================== */
@media (max-width: 1024px) {
    .v2-ai-feature-framework {
        padding: 50px 0;
    }

    .v2-ai-feature-framework .container {
        padding: 40px 30px;
    }

    .v2-ai-feature-framework .fw-section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .v2-ai-feature-framework .fw-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 40px;
    }

    .v2-ai-feature-framework .fw-card-icon {
        width: 64px;
        height: 64px;
    }

    .v2-ai-feature-framework .fw-card-icon i {
        font-size: 28px;
    }

    .v2-ai-feature-framework .fw-card-title {
        font-size: 18px;
    }

    .v2-ai-feature-framework .fw-card-desc {
        font-size: 14px;
    }

    .v2-ai-feature-framework .fw-stats-title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .v2-ai-feature-framework .fw-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .v2-ai-feature-framework .fw-stat-number {
        font-size: 36px;
    }

    .v2-ai-feature-framework .fw-divider {
        margin-bottom: 40px;
    }
}

/* ========================
   Responsive - Mobile
   ======================== */
@media (max-width: 767px) {
    .v2-ai-feature-framework {
        padding: 40px 0;
    }

    .v2-ai-feature-framework .container {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .v2-ai-feature-framework .fw-section-title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .v2-ai-feature-framework .fw-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 32px;
    }

    .v2-ai-feature-framework .fw-card-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }

    .v2-ai-feature-framework .fw-card-icon i {
        font-size: 26px;
    }

    .v2-ai-feature-framework .fw-card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .v2-ai-feature-framework .fw-card-desc {
        font-size: 14px;
        margin-bottom: 0px;
    }

    .v2-ai-feature-framework .fw-card-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .v2-ai-feature-framework .fw-timeline-badge {
        font-size: 13px;
    }

    .v2-ai-feature-framework .fw-divider {
        margin-bottom: 32px;
    }

    .v2-ai-feature-framework .fw-stats-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .v2-ai-feature-framework .fw-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .v2-ai-feature-framework .fw-stat-number {
        font-size: 32px;
    }

    .v2-ai-feature-framework .fw-stat-label {
        font-size: 14px;
    }

    .v2-ai-feature-framework .fw-bottom-section {
        padding: 30px 0 0;
    }

    .v2-ai-feature-framework .fw-bottom-text {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .v2-ai-feature-framework .fw-bottom-cta {
        padding: 14px 32px;
        font-size: 15px;
        width: 100%;
        max-width: 320px;
    }
}

/* ========================
   Responsive - Small Mobile
   ======================== */
@media (max-width: 480px) {
    .v2-ai-feature-framework .container {
        padding: 24px 16px;
    }

    .v2-ai-feature-framework .fw-section-title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .v2-ai-feature-framework .fw-card-icon {
        width: 56px;
        height: 56px;
    }

    .v2-ai-feature-framework .fw-card-icon i {
        font-size: 24px;
    }

    .v2-ai-feature-framework .fw-stat-number {
        font-size: 28px;
    }

    .v2-ai-feature-framework .fw-stat-label {
        font-size: 13px;
    }
}
