/* Features Page Specific Styles */

/* Hero Section */
.features-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

.features-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.features-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.features-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Feature Categories */
.feature-categories {
    padding: 4rem 0;
    background-color: white;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 0.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-color);
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    width: 80%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

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

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--grey-color);
    margin-bottom: 0;
}

/* Feature Highlight */
.feature-highlight {
    padding: 5rem 0;
    background-color: var(--grey-light-color);
}

.feature-highlight .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.highlight-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
}

.highlight-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--grey-color);
}

.highlight-features {
    list-style: none;
    margin-bottom: 2rem;
}

.highlight-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.highlight-features li i {
    color: var(--success-color);
    margin-right: 1rem;
    font-size: 1.25rem;
}

.highlight-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* Comparison Table */
.comparison {
    padding: 5rem 0;
    background-color: white;
    text-align: center;
}

.comparison h2 {
    margin-bottom: 1rem;
}

.comparison p {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--grey-color);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 900px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th, 
.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(233, 236, 239, 0.3);
}

.comparison-table i.fa-check-circle {
    color: var(--success-color);
    font-size: 1.25rem;
}

.comparison-table i.fa-times-circle {
    color: var(--danger-color);
    font-size: 1.25rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .feature-highlight .container {
        grid-template-columns: 1fr;
    }
    
    .highlight-content {
        order: 1;
    }
    
    .highlight-image {
        order: 0;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2.25rem;
    }
    
    .features-hero p {
        font-size: 1.1rem;
    }
    
    .category-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--grey-light-color);
    }
    
    .tab-btn::after {
        display: none;
    }
    
    .tab-btn.active {
        background-color: var(--primary-color);
        color: white;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 1rem 0.75rem;
    }
} 