/* Features section styling */
.features-section {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.feature-card {
    background: var(--card-bg, white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--light-blue-bg, rgba(164, 200, 234, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--brand-blue, #0078d4);
    font-size: 1.25rem;
}

.feature-card h3 {
    color: var(--text-color, #2d3748);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted, #718096);
    line-height: 1.4;
    margin: 0;
    font-size: 0.9rem;
}

/* Dark mode support for features section */
[data-theme="dark"] .feature-card {
    background: var(--card-bg, #1e293b);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .feature-icon {
    background: rgba(164, 200, 234, 0.05);
}

[data-theme="dark"] .feature-card h3 {
    color: var(--text-color, #e2e8f0);
}

[data-theme="dark"] .feature-card p {
    color: var(--text-muted, #a0aec0);
}

/* Responsive adjustments for features section */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-section {
        padding: 0.75rem 0.75rem;
        margin: 0.75rem 0;
    }
}

/* Stats section styles */
.stats-section {
    background: var(--light-blue-bg, rgba(164, 200, 234, 0.1));
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    border-radius: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    color: var(--brand-blue, #0078d4);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-color, #4a5568);
    font-size: 1.1rem;
    margin: 0;
}

/* Dark mode support for stats section */
[data-theme="dark"] .stats-section {
    background: rgba(164, 200, 234, 0.05);
}

[data-theme="dark"] .stat-item h4 {
    color: var(--brand-blue, #0078d4);
}

[data-theme="dark"] .stat-item p {
    color: var(--text-color, #e2e8f0);
}

/* Responsive adjustments for stats section */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-section {
        padding: 1rem 1rem;
        margin: 1rem 0;
    }
}

/* Additional responsive adjustments for hero section */
@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-section {
        padding: 1.5rem 1rem;
        padding-top: 3.5rem; /* Add extra padding at the top for the controls */
    }
    
    .hero-main h1 {
        font-size: 1.75rem;
        margin-top: 1rem; /* Add margin to separate from controls */
    }
    
    /* Fix for overlapping user menu and theme toggle on mobile */
    .hero-controls {
        position: absolute;
        top: 0.75rem;
        left: auto;
        right: 0.75rem;
        margin-bottom: 0;
        padding: 0;
    }
    
    .hero-content-wrapper {
        margin-top: 0;
    }
    
    /* Adjust auth buttons on mobile */
    .auth-buttons .btn {
        padding: 4px 10px;
        font-size: 0.85rem;
    }
    
    /* Adjust user menu on mobile */
    .user-menu-button {
        padding: 4px;
    }
    
    .user-menu-button span {
        display: none; /* Hide username text on mobile */
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    /* Adjust theme toggle on mobile */
    .theme-toggle {
        font-size: 1rem;
        padding: 4px 8px;
        margin-left: 4px;
    }
}

/* Additional responsive styles for the hero section on medium screens */
@media (max-width: 992px) {
    .hero-main {
        text-align: center;
        align-items: center;
    }
    
    .hero-main h1 {
        text-align: center;
    }
    
    .hero-main .lead {
        text-align: center;
    }
} 