/* Features Page Specific Styles */

/* Features Hero */
.features-hero {
    padding: 4rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.features-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.features-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Category Navigation */
.feature-categories {
    background: var(--bg-light);
    padding: 2rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* Feature Sections */
.feature-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.feature-section:nth-child(even) {
    background: var(--bg-light);
}

.feature-group {
    margin-bottom: 2rem;
}

.feature-group h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.feature-group h2 i {
    color: var(--primary-color);
    font-size: 2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

/* Detailed Feature Cards */
.detailed-feature {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-section:nth-child(even) .detailed-feature {
    background: var(--bg-white);
}

.detailed-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.feature-details {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.feature-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-details li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 0.1rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Filter Animation */
.feature-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.feature-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features-hero {
        padding: 3rem 0;
    }
    
    .feature-categories {
        position: static;
        padding: 1.5rem 0;
    }
    
    .category-nav {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .detailed-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon-wrapper {
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 500px) {
    .feature-grid {
        gap: 1rem;
    }
    
    .detailed-feature {
        padding: 1.5rem;
    }
}