/* ===== MODERN FEATURES SECTION ===== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card.modern-feature {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.feature-card.modern-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card.modern-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(67, 97, 238, 0.15);
    border-color: #4361ee;
}

.feature-card.modern-feature .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

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

.feature-card.modern-feature .feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card.modern-feature h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card.modern-feature p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0;
}

.feature-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-badge:nth-child(2) {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.feature-badge:nth-child(3) {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

/* Features Background Elements */
.features-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.feature-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(108, 99, 255, 0.02) 100%);
    animation: float 8s ease-in-out infinite;
}

.feature-bg-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.feature-bg-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

.feature-bg-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 10%;
    animation-delay: 4s;
}

/* ===== RESPONSIVE FEATURES ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-card.modern-feature {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .features-header {
        margin-bottom: 40px;
    }

    .feature-card.modern-feature {
        padding: 1.5rem;
    }

    .feature-card.modern-feature .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-card.modern-feature .feature-icon i {
        font-size: 1.8rem;
    }

    .feature-card.modern-feature h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.modern-feature {
        padding: 1.25rem;
    }
}