/* Features Page Specific Styles */

/* Features Hero */
.features-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 120px 0 80px;
    text-align: center;
}

.features-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.features-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Features Grid */
.main-features {
    padding: 80px 0;
    background: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--text-light);
    border-radius: 0px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    border: 4px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 4px solid var(--border-color);
    box-shadow: var(--shadow);
}

.feature-icon .icon {
    font-size: 2.5rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-shadow: 2px 2px 0px var(--border-color);
    text-transform: uppercase;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-benefits {
    list-style: none;
    padding: 0;
}

.feature-benefits li {
    padding: 8px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 25px;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Feature Comparison */
.feature-comparison {
    padding: 80px 0;
    background: var(--bg-light);
}

.feature-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.comparison-table {
    background: var(--text-light);
    border-radius: 0px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    border: 4px solid var(--border-color);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:nth-child(even) {
    background: var(--bg-light);
}

.comparison-cell {
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-cell.feature-name {
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    justify-content: flex-start;
}

.comparison-cell.traditional {
    color: var(--text-gray);
    font-style: italic;
}

.comparison-cell.grouping {
    color: var(--primary-color);
    font-weight: 600;
}

/* Special Features */
.special-features {
    padding: 80px 0;
    background: var(--text-light);
}

.special-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.special-feature {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: 0px;
    transition: all 0.2s ease;
    border: 4px solid var(--border-color);
    box-shadow: var(--shadow);
}

.special-feature:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-xl);
}

.special-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.special-feature h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-shadow: 2px 2px 0px var(--border-color);
    text-transform: uppercase;
}

.special-feature p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2.5rem;
    }
    
    .features-hero p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .comparison-cell {
        padding: 15px;
        text-align: left;
        justify-content: flex-start;
    }
    
    .comparison-cell.feature-name {
        background: var(--primary-color);
        color: var(--text-light);
        font-weight: 600;
        margin-bottom: 5px;
    }
    
    .special-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .features-hero {
        padding: 100px 0 60px;
    }
    
    .features-hero h1 {
        font-size: 2rem;
    }
    
    .main-features,
    .feature-comparison,
    .special-features {
        padding: 60px 0;
    }
    
    .feature-comparison h2,
    .special-features h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon .icon {
        font-size: 2rem;
    }
}
