.features-section {
    padding: 6rem var(--spacing-xl);
    padding-bottom: 12rem;
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 130px !important;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, var(--neon-green) 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, var(--neon-yellow) 0%, transparent 60%);
    opacity: 0.05;
    filter: blur(120px);
    z-index: 0;
}

.features-section::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 180px;
    background: var(--background-light);          /* couleur de la FAQ */
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 180" preserveAspectRatio="none"><path d="M0 110 C360 150 720 70 1080 110 C1260 126 1350 140 1440 150 L1440 180 L0 180 Z" fill="black"/></svg>') bottom / 100% 100% no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 180" preserveAspectRatio="none"><path d="M0 110 C360 150 720 70 1080 110 C1260 126 1350 140 1440 150 L1440 180 L0 180 Z" fill="black"/></svg>') bottom / 100% 100% no-repeat;
    z-index: 1;
    pointer-events: none;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.features-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.features-header p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-box:hover::before {
    opacity: 0.05;
}

.feature-icon-large {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(65, 233, 109, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.feature-icon-large svg {
    width: 32px;
    height: 32px;
    stroke: var(--neon-green);
    transition: all var(--transition-normal);
}

.feature-box:hover .feature-icon-large {
    transform: scale(1.1);
    background: rgba(65, 233, 109, 0.15);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature-box p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.feature-list li::before {
    content: '→';
    color: var(--neon-green);
    font-weight: bold;
}

.feature-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .features-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    .features-section::after {
        content: none;
    }

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

@media (max-width: 480px) {
    .features-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .feature-box {
        padding: var(--spacing-lg);
    }

    .feature-icon-large {
        width: 48px;
        height: 48px;
    }

    .feature-icon-large svg {
        width: 24px;
        height: 24px;
    }
}
