/* ============================================
   COMPACT SECTIONS - BENEFITS, FEATURES & MODULES
   ============================================ */

/* Benefits Compact Section */
.benefits-compact-section {
    padding: 6rem 0;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

.benefits-compact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.benefits-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.benefit-compact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefit-compact-card:hover {
    will-change: transform;
}

.benefit-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-compact-card:hover {
    transform: translate3d(0, -8px, 0);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(99, 102, 241, 0.1);
}

.benefit-compact-card:hover::before {
    opacity: 1;
}

.benefit-compact-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.benefit-compact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: inherit;
    filter: blur(20px);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.benefit-compact-card:hover .benefit-compact-icon {
    transform: translate3d(0, 0, 0) scale(1.1) rotateZ(-5deg);
}

.benefit-compact-card:hover .benefit-compact-icon::before {
    width: 120%;
    height: 120%;
    opacity: 0.7;
}

.benefit-compact-icon span {
    position: relative;
    z-index: 2;
}

.benefit-compact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.benefit-compact-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Quick Stats Row */
.benefits-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.benefits-stats-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.quick-stat {
    text-align: center;
}

.quick-stat-value {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.quick-stat-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 600;
}

.quick-stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, #e5e7eb, transparent);
}

/* Features Compact Section */
.features-compact-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.features-compact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.features-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.feature-compact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-compact-card:hover {
    will-change: transform;
}

.feature-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-compact-card:hover {
    transform: translate3d(0, -8px, 0);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(99, 102, 241, 0.2);
}

.feature-compact-card:hover::before {
    opacity: 1;
}

.feature-compact-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.feature-compact-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2.5;
    fill: none;
    position: relative;
    z-index: 2;
}

.feature-compact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: inherit;
    filter: blur(15px);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.feature-compact-card:hover .feature-compact-icon {
    transform: scale(1.1) rotateZ(5deg);
}

.feature-compact-card:hover .feature-compact-icon::before {
    width: 120%;
    height: 120%;
    opacity: 0.8;
}

/* Individual gradients for feature icons */
.feature-compact-card:nth-child(1) .feature-compact-icon {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.feature-compact-card:nth-child(2) .feature-compact-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-compact-card:nth-child(3) .feature-compact-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.feature-compact-card:nth-child(4) .feature-compact-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.feature-compact-card:nth-child(5) .feature-compact-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.feature-compact-card:nth-child(6) .feature-compact-icon {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.feature-compact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-compact-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}


/* ============================================
   MODULES COMPACT SECTION
   ============================================ */

.modules-compact-section {
    padding: 6rem 0;
    background: #f9fafb;
    position: relative;
}

.modules-compact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.modules-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.module-compact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.module-compact-card:hover {
    will-change: transform;
}

.module-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.module-compact-card:hover {
    transform: translate3d(0, -5px, 0) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(99, 102, 241, 0.15);
}

.module-compact-card:hover::before {
    opacity: 1;
}

.module-compact-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    transition: all 0.4s ease;
}

.module-compact-card:hover .module-compact-number {
    opacity: 0.25;
    transform: scale(1.1);
}

.module-compact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.4s ease;
}

.module-compact-card:hover .module-compact-icon {
    transform: scale(1.15) rotateZ(-5deg);
}

.module-compact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.module-compact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-compact-list li {
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.4;
}

.module-compact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
}

/* More Modules Badge */
.modules-more-badge {
    margin-top: 3rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.modules-more-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.modules-more-badge:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.more-badge-icon {
    font-size: 3rem;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.more-badge-text {
    flex: 1;
}

.more-badge-text strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.more-badge-text span {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}


/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    .features-compact-section,
    .modules-compact-section,
    .benefits-compact-section {
        padding: 4rem 0;
    }

    .benefits-compact-grid,
    .features-compact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modules-compact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .benefit-compact-card,
    .feature-compact-card,
    .module-compact-card {
        padding: 1.5rem;
    }

    .benefit-compact-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .feature-compact-icon {
        width: 60px;
        height: 60px;
    }

    .feature-compact-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-compact-card h3 {
        font-size: 1.25rem;
    }

    .module-compact-icon {
        font-size: 2rem;
    }

    .module-compact-title {
        font-size: 1.125rem;
    }

    /* Stats Row Mobile */
    .benefits-stats-row {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .quick-stat-divider {
        display: none;
    }

    .quick-stat-value {
        font-size: 2.5rem;
    }

    .modules-more-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .more-badge-icon {
        font-size: 2.5rem;
    }

    .more-badge-text strong {
        font-size: 1.25rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .benefits-compact-grid,
    .features-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 1025px) {
    .benefits-compact-grid,
    .features-compact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modules-compact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
