/* Homepage specific styles */
:root {
    --bg-primary: #f7f7fb;
    --accent-primary: #3b82f6;
    --text-heading: #111827;
    --text-body: #374151;
    --text-muted: #6b7280;
}

.bg-primary-light { 
    background-color: var(--bg-primary); 
}

.text-heading { 
    color: var(--text-heading); 
}

.text-body { 
    color: var(--text-body); 
}

.btn-primary-custom { 
    background-color: var(--accent-primary); 
    border-color: var(--accent-primary); 
    color: white;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-primary-custom:hover { 
    background-color: #2563eb; 
    border-color: #2563eb; 
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline-primary-custom { 
    color: var(--accent-primary); 
    border-color: var(--accent-primary); 
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-outline-primary-custom:hover { 
    background-color: var(--accent-primary); 
    border-color: var(--accent-primary); 
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Section spacing */
.hero-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #ccc 100%);
    /*min-height: 80vh;*/
    display: flex;
    align-items: center;
}

.section-divider {
    margin: 5rem 0;
}

/* Feature cards */
.feature-card .card {
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.feature-card .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Icon containers */
.icon-container {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    color: var(--accent-primary);
    font-size: 1.75rem;
}

/* Step numbers */
.step-number {
    font-size: 1.25rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

/* KPI stats */
.kpi-stat {
    padding: 2rem 1rem;
}

.kpi-value {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Budget pill styling */
.budget-pill {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 6px 12px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* FAQ styling */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease-in-out;
}

.faq-item:hover {
    background-color: #f9fafb;
}

.faq-item button {
    font-size: 1.1rem;
    padding: 1.5rem 0;
}

.faq-item button:focus {
    outline: 3px solid rgba(59, 130, 246, 0.3);
    outline-offset: 2px;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-section {
        /*min-height: 70vh;*/
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .kpi-value {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .icon-container {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .feature-card .card,
    .btn-primary-custom,
    .btn-outline-primary-custom {
        transition: none;
    }
    
    .feature-card .card:hover,
    .btn-primary-custom:hover,
    .btn-outline-primary-custom:hover {
        transform: none;
    }
}

/* Focus states for better accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-body {
        color: #000000;
    }
    
    .text-muted {
        color: #333333;
    }
    
    .btn-outline-primary-custom {
        border-width: 2px;
    }
}