/* Home Page Styles */

.features-section {
    padding: clamp(40px, 8vh, 60px) 0 clamp(60px, 10vh, 80px);
    background: #f8fafc;
    min-height: 100vh;
    position: relative;
}

.container {
    position: relative;
    z-index: 1;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: clamp(40px, 8vh, 60px);
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(15px, 3vw, 20px);
}

.features-list {
    width: 100%;
    padding: 0;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (hover: hover) {
    .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }
}

.stat-card i {
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

.stat-card h3 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #1f2937;
    margin: clamp(8px, 2vh, 10px) 0;
    font-weight: 700;
    line-height: 1.2;
}

.stat-card p {
    color: #6b7280;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(25px, 4vw, 35px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: clamp(35px, 6vw, 45px);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .feature-card:hover .feature-icon {
        transform: scale(1.05);
    }
}

.feature-icon i {
    font-size: 2.8rem;
    color: #6366f1;
}

.feature-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: #64748b;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
}

.stats-grid .stat-card:nth-child(1) i { color: #667eea; }
.stats-grid .stat-card:nth-child(2) i { color: #f5576c; }
.stats-grid .stat-card:nth-child(3) i { color: #fbbf24; }
.stats-grid .stat-card:nth-child(4) i { color: #10b981; }

.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #e0e7ff, #ddd6fe); }
.feature-card:nth-child(1) .feature-icon i { color: #6366f1; }

.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.feature-card:nth-child(2) .feature-icon i { color: #f59e0b; }

.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.feature-card:nth-child(3) .feature-icon i { color: #ec4899; }

.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.feature-card:nth-child(4) .feature-icon i { color: #10b981; }

.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, #fee2e2, #fecaca); }
.feature-card:nth-child(5) .feature-icon i { color: #ef4444; }

.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.feature-card:nth-child(6) .feature-icon i { color: #8b5cf6; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .features-section {
        padding: clamp(30px, 6vh, 40px) 0 clamp(60px, 10vh, 80px);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .feature-icon {
        width: 75px;
        height: 75px;
    }

    .feature-icon i {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}


