/* Product Features Section Styles */

/* Main Section */
.product-features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.product-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23007bff" fill-opacity="0.02"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    pointer-events: none;
}

/* Section Header */
.product-features .section-header {
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.product-features .section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #da000e, #0056b3);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.2);
}

.product-features .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-features .section-description {
    font-size: 16px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,123,255,0.1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,123,255,0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,123,255,0.15);
    border-color: rgba(0,123,255,0.2);
}

/* Featured Card */
.feature-card.featured {
    background: linear-gradient(135deg, #da000e, #0056b3);
    color: #ffffff;
    transform: scale(1.05);
    border-color: transparent;
}

.feature-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,123,255,0.3);
}

.feature-card.featured .feature-number {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

.feature-card.featured .feature-icon {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

.feature-card.featured h3,
.feature-card.featured p {
    color: #ffffff;
}

.feature-card.featured .feature-benefits li {
    color: rgba(255,255,255,0.9);
}

.feature-card.featured .feature-benefits li::before {
    color: #ffffff;
}

/* Feature Number */
.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0,123,255,0.1);
    color: #da000e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-number {
    background: #da000e;
    color: #ffffff;
    transform: scale(1.1);
}

/* Feature Icon */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #da000e, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
}

.feature-icon i {
    font-size: 32px;
    color: #ffffff;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0,123,255,0.4);
}

/* Feature Content */
.feature-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Feature Benefits */
.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    padding: 5px 0;
    font-size: 13px;
    color: #6c757d;
    position: relative;
    padding-left: 20px;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 5px;
    color: #da000e;
    font-weight: 600;
    font-size: 12px;
}

/* Features CTA */
.features-cta {
    position: relative;
    z-index: 2;
}

.btn-primary-large {
    background: linear-gradient(135deg, #da000e, #0056b3);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,123,255,0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.8s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Hover Effects */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.feature-card.featured {
    animation: fadeInUp 0.8s ease forwards, pulse 3s ease-in-out infinite 1s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .product-features {
        padding: 80px 0;
    }
    
    .product-features .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-card.featured {
        transform: none;
    }
    
    .feature-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .product-features {
        padding: 60px 0;
    }
    
    .product-features .section-title {
        font-size: 28px;
    }
    
    .product-features .section-description {
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .feature-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .feature-content p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .feature-benefits li {
        font-size: 12px;
        padding: 3px 0;
    }
    
    .feature-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
        top: 15px;
        right: 15px;
    }
    
    .btn-primary-large {
        padding: 15px 30px;
        font-size: 14px;
    }
}

/* Loading States */
.feature-card {
    opacity: 0;
    transform: translateY(30px);
}

/* Intersection Observer Animation */
.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Advanced Hover Effects */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(0,86,179,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}