/* Features Page Styles */

/* Hero Section */
.features-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.features-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.features-hero .highlight {
    color: #fbbf24;
}

.features-hero .hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #10b981;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: white;
    color: #10b981;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Feature Navigation */
.feature-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: var(--header-sticky-offset);
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-nav .container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.feature-nav-link {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
}

.feature-nav-link:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Feature Categories */
.feature-category {
    padding: 5rem 0;
}

.feature-category:nth-child(even) {
    background: #f9fafb;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.category-header h2 {
    font-size: 2.5rem;
    color: #111827;
    font-weight: 700;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 600;
}

.feature-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-learn-more {
    display: inline-block;
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.feature-learn-more:hover {
    color: #059669;
    transform: translateX(4px);
}

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

.feature-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #374151;
    font-size: 0.875rem;
}

.feature-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1rem;
}

/* Category Colors */
.category-blue .category-icon { filter: hue-rotate(200deg); }
.category-purple .category-icon { filter: hue-rotate(270deg); }
.category-green .category-icon { filter: hue-rotate(100deg); }
.category-indigo .category-icon { filter: hue-rotate(230deg); }
.category-amber .category-icon { filter: hue-rotate(40deg); }
.category-cyan .category-icon { filter: hue-rotate(180deg); }
.category-pink .category-icon { filter: hue-rotate(320deg); }
.category-slate .category-icon { filter: grayscale(1); }
.category-rose .category-icon { filter: hue-rotate(340deg); }

/* Comparison Table */
.comparison-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.comparison-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #111827;
}

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

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background: #10b981;
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f9fafb;
}

.comparison-table .check {
    color: #10b981;
    font-weight: 700;
    font-size: 1.25rem;
}

.comparison-table .cross {
    color: #ef4444;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2rem;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .category-header h2,
    .final-cta h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-nav .container {
        padding: 0.75rem 1rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
}
