/* ===== FEATURES SECTION STYLES - PREMIUM DESIGN ===== */

.features-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #B08B5B, #D9B382, #B08B5B);
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-section .section-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.features-section .section-subtitle {
    color: #B08B5B;
    font-size: 16px;
    margin: 0;
}

/* Features Grid - 4 columns */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Feature Card - Premium */
.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(176, 139, 91, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(176, 139, 91, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(176, 139, 91, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(176, 139, 91, 0.2);
}

/* Feature Icon */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #B08B5B 0%, #D9B382 100%);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(176, 139, 91, 0.3);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #B08B5B, #D9B382, #B08B5B);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
}

.feature-icon img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

/* Feature Emoji */
.feature-emoji {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 15px;
}

/* Feature Title */
.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

/* Feature Description */
.feature-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* Badge for special features */
.feature-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #B08B5B, #D9B382);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .features-section {
        padding: 40px 0;
    }

    .features-section .section-title {
        font-size: 26px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
    }

    .feature-title {
        font-size: 15px;
    }

    .feature-description {
        font-size: 13px;
    }
}

/* Alternative Light Theme - Premium Luxury */
.features-section.light-theme {
    background: linear-gradient(180deg, #F5F2EC 0%, #EDE3DB 100%);
}

.features-section.light-theme::before {
    display: none;
}

.features-section.light-theme .section-title {
    color: #4D4D4D;
    /* Dark Gray for better contrast */
}

.features-section.light-theme .section-subtitle {
    color: #B08B5B;
    /* Primary Earthy Brown */
    font-weight: 600;
    letter-spacing: 1px;
}

.features-section.light-theme .feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #fcfbf9 100%);
    border: 1px solid rgba(176, 139, 91, 0.15);
    box-shadow: 0 10px 30px rgba(176, 139, 91, 0.05);
}

.features-section.light-theme .feature-card::before {
    background: radial-gradient(circle, rgba(176, 139, 91, 0.05) 0%, transparent 70%);
}

.features-section.light-theme .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(176, 139, 91, 0.4);
    box-shadow: 0 20px 40px rgba(176, 139, 91, 0.15);
}

.features-section.light-theme .feature-title {
    color: #5C473A;
    /* Dark Brown */
}

.features-section.light-theme .feature-description {
    color: #8B7355;
    /* Muted Earthy Brown */
}

.features-section.light-theme .feature-icon {
    background: linear-gradient(135deg, #B08B5B 0%, #D9B382 100%);
    box-shadow: 0 8px 20px rgba(176, 139, 91, 0.25);
}

.features-section.light-theme .feature-icon svg {
    color: #fff;
}