/**
 * Home Page / Landing Page Styles
 * File: assets/css/pages/home.css
 */

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 1.5rem;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Force text wrapping and prevent overflow */
.hero-section * {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    min-width: 0; /* Critical for grid overflow fix */
}

.hero-content {
    min-width: 0; /* Prevent grid overflow */
    overflow-wrap: break-word;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.4;
}

.highlight-stat {
    background: rgba(251, 191, 36, 0.2);
    padding: 1rem;
    border-radius: 8px;
}

.highlight-stat .stat-number {
    color: #fbbf24;
}

.stat-divider {
    font-size: 2rem;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-note {
    opacity: 0.9;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

/* Legacy placeholder - can be removed after hero image is confirmed */
.hero-placeholder {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.placeholder-icon {
    font-size: 8rem;
    margin-bottom: 1rem;
}

/* ========== PROBLEM SECTION ========== */
.problem-section {
    padding: 4rem 1.5rem;
    background: #fff5f5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.problem-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #e53e3e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.problem-card p {
    color: #4a5568;
    line-height: 1.7;
}

/* ========== SOLUTION SECTION ========== */
.solution-section {
    padding: 5rem 1.5rem;
    background: white;
}

.solution-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.solution-main h3 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.impact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
}

.impact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.impact-text strong {
    display: block;
    color: #1a202c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.impact-text p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.pricing-comparison {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.pricing-comparison h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.comparison-item {
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.comparison-item.corporate {
    background: #fed7d7;
    border: 2px solid #fc8181;
}

.comparison-item.local {
    background: #c6f6d5;
    border: 2px solid #48bb78;
}

.comparison-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.comparison-amount {
    font-size: 2rem;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.comparison-details {
    color: #718096;
    margin-bottom: 0.5rem;
}

.comparison-destination {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.comparison-divider {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #718096;
    padding: 1rem 0;
}

.community-impact-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
}

.community-impact-box h4 {
    margin-bottom: 1.5rem;
}

.impact-calc {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.calc-row.highlight {
    border-bottom: none;
    padding-top: 1rem;
    border-top: 2px solid rgba(255,255,255,0.3);
    font-size: 1.1rem;
}

.calc-row strong {
    font-size: 1.3rem;
}

/* ========== HOW IT WORKS ========== */
.how-it-works-section {
    padding: 5rem 1.5rem;
    background: #f7fafc;
}

.audience-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.tab-btn:hover {
    border-color: var(--primary, #6b46c1);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary, #6b46c1) 0%, var(--primary-hover, #805ad5) 100%);
    color: white;
    border-color: transparent;
}

.steps-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    color: #4a5568;
    line-height: 1.6;
}

.contractor-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========== WHY DIFFERENT ========== */
.why-different-section {
    padding: 5rem 1.5rem;
    background: white;
}

.different-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.different-card {
    padding: 2rem;
    border-radius: 12px;
    background: #f7fafc;
    border-top: 4px solid #667eea;
}

.different-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.different-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.different-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* ========== EMERGENCY PROGRAM ========== */
.emergency-program-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.program-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.program-text h2 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.program-text p {
    color: #2d3748;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.program-features {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #f59e0b;
}

.program-features h4 {
    color: #1a202c;
    margin-bottom: 1rem;
}

.program-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.program-features li:before {
    content: "";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: 700;
}

.program-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.program-visual {
    text-align: center;
}

.program-icon {
    font-size: 8rem;
    margin-bottom: 2rem;
}

.program-stat {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.program-stat .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.program-stat .stat-label {
    color: #4a5568;
    font-weight: 600;
}

/* ========== FEATURED CONTRACTORS ========== */
.featured-contractors-section {
    padding: 5rem 1.5rem;
    background: white;
}

.featured-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.featured-card:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.15);
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.featured-header h3 {
    color: #1a202c;
    font-size: 1.2rem;
    margin: 0;
}

.featured-rating {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.review-count {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 400;
}

.featured-category {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-location {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.featured-tier {
    display: inline-block;
    background: #f7fafc;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #4a5568;
}

.browse-all {
    text-align: center;
}

.no-featured {
    text-align: center;
    color: #718096;
    padding: 3rem;
}

/* ========== COMMUNITY IMPACT ========== */
.community-impact-section {
    padding: 5rem 1.5rem;
    background: #f7fafc;
}

.impact-stats-grid {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid #48bb78;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.impact-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.impact-stat-label {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.impact-stat-detail {
    color: #718096;
    font-size: 0.9rem;
}

.financial-transparency {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.financial-transparency h3 {
    color: #1a202c;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.financial-transparency p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.financial-transparency ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #4a5568;
}

.financial-transparency li {
    padding: 0.5rem 0;
}

/* ========== FINAL CTA ========== */
.final-cta-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.final-cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta-content > p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.final-cta-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.cta-option {
    flex: 1;
    max-width: 350px;
}

.cta-option h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-divider {
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
/* Tablet landscape to desktop - catch the gap */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1; /* Show image above text on mobile */
        margin-bottom: 1rem;
    }
    
    .hero-img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-divider {
        transform: rotate(90deg);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .solution-content,
    .program-content {
        grid-template-columns: 1fr;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cta-divider {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .problem-grid,
    .different-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-img {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .impact-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .program-cta {
        flex-direction: column;
    }
}

/* ========== NEW VALUE SECTION ========== */
.value-section {
    padding: 4rem 1.5rem;
    background: white;
}

.value-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
}

.value-card.value-primary {
    background: linear-gradient(135deg, #e9d8fd 0%, #faf5ff 100%);
    border-left-color: #6b46c1;
    border-left-width: 6px;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #1a202c;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

/* ========== PRICING COMPARISON LARGE ========== */
.pricing-section {
    padding: 5rem 1.5rem;
    background: #f7fafc;
}

.pricing-comparison-large {
    max-width: 1000px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.pricing-col {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pricing-header {
    background: #e2e8f0;
    padding: 1.5rem;
    text-align: center;
}

.pricing-header.highlight {
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
    color: white;
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.pricing-body {
    padding: 2rem;
    text-align: center;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.price-amount span {
    font-size: 1.25rem;
    font-weight: 600;
}

.price-amount.bad {
    color: #e53e3e;
}

.price-amount.good {
    color: #48bb78;
}

.price-detail {
    color: #718096;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.price-plus {
    font-size: 2rem;
    color: #cbd5e0;
    margin: 1rem 0;
}

.price-plus.invisible {
    opacity: 0;
}

.price-total {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.total-label {
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.total-amount {
    font-size: 2.5rem;
    font-weight: 900;
}

.total-amount.bad {
    color: #c53030;
}

.total-amount.good {
    color: #38a169;
}

.price-destination {
    margin-top: 1rem;
    font-weight: 600;
    color: #718096;
}

.pricing-divider {
    font-size: 3rem;
    font-weight: 900;
    color: #cbd5e0;
    display: flex;
    align-items: center;
}

.savings-callout {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border-left: 4px solid #f59e0b;
}

.savings-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.savings-text strong {
    color: #1a202c;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

.savings-text p {
    color: #78350f;
    margin: 0;
    line-height: 1.6;
}

/* ========== COMMUNITY IMPACT GRID ========== */
.community-impact-section {
    padding: 5rem 1.5rem;
    background: white;
}

.impact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.impact-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid #667eea;
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.impact-card h3 {
    color: #1a202c;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.impact-card p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* ========== CTA ROW ========== */
.cta-row {
    text-align: center;
    margin-top: 3rem;
}

.cta-subtitle {
    margin-top: 1rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-comparison-large {
        grid-template-columns: 1fr;
    }
    
    .pricing-divider {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .savings-callout {
        flex-direction: column;
        text-align: center;
    }
}




/* ========== IMPROVED BUTTON CONTRAST ========== */

/* Hero buttons with better contrast and shadows */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary, #6b46c1) 0%, var(--primary-hover, #805ad5) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(107, 70, 193, 0.3);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, var(--ott-accent, #f6ad55) 0%, var(--ott-accent-hover, #ed8936) 100%);
    color: var(--ott-accent-btn-text, white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(var(--ott-accent-rgb, 237, 137, 54), 0.4);
    text-decoration: none;
}

.btn-hero-secondary {
    background: white;
    color: var(--primary, #6b46c1);
    border: 3px solid var(--primary, #6b46c1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary:hover {
    background: var(--primary, #6b46c1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(107, 70, 193, 0.3);
    text-decoration: none;
}

/* Large CTA button */
.btn-cta-large {
    background: linear-gradient(135deg, var(--ott-accent, #f6ad55) 0%, var(--ott-accent-hover, #ed8936) 100%);
    color: var(--ott-accent-btn-text, white);
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 12px rgba(var(--ott-accent-rgb, 246, 173, 85), 0.4);
    font-weight: 700;
}

.btn-cta-large:hover {
    background: linear-gradient(135deg, var(--ott-accent-hover, #ed8936) 0%, var(--ott-accent-dark, #dd6b20) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(var(--ott-accent-rgb, 246, 173, 85), 0.5);
    color: var(--ott-accent-btn-text, white);
    text-decoration: none;
}

/* Mobile touch targets - minimum 44x44px */
@media (max-width: 768px) {
    .btn, .button {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    .btn-large, .button-large {
        min-height: 52px;
        padding: 1.125rem 2rem;
    }
}

/* Hero stats with icons */
.hero-stats .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* ========== EMERGENCY FUND SECTION ========== */
.emergency-fund-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    overflow: hidden;
}

.emergency-fund-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(237, 137, 54, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.emergency-fund-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.emergency-fund-icon {
    font-size: 8rem;
    flex-shrink: 0;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.emergency-fund-text h2 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.emergency-fund-text .lead {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.emergency-fund-text > p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.emergency-fund-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.detail-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-item strong {
    display: block;
    color: #1a202c;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.detail-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.emergency-fund-cta {
    text-align: center;
}

.btn-emergency {
    background: linear-gradient(135deg, var(--ott-accent-hover, #ed8936) 0%, var(--ott-accent-dark, #dd6b20) 100%);
    color: var(--ott-accent-btn-text, white);
    border: none;
    box-shadow: 0 6px 12px rgba(var(--ott-accent-rgb, 237, 137, 54), 0.4);
    font-weight: 700;
}

.btn-emergency:hover {
    background: linear-gradient(135deg, var(--ott-accent-dark, #dd6b20) 0%, var(--ott-accent-dark, #c05621) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(var(--ott-accent-rgb, 237, 137, 54), 0.5);
    color: var(--ott-accent-btn-text, white);
}

/* ========== MOBILE OPTIMIZATIONS ========== */
@media (max-width: 1024px) {
    .emergency-fund-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-fund-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Larger text for mobile readability */
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    body {
        font-size: 16px; /* Base font size increase */
    }
    
    /* Hero note - readable size on mobile */
    .hero-note {
        font-size: 0.95rem;
        opacity: 0.95;
    }
    
    /* Stat labels - larger for mobile */
    .stat-label {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* All paragraph text minimum 16px */
    p, .lead {
        font-size: 1rem;
        line-height: 1.65;
    }
    
    /* Section subtitles */
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* FAQ questions larger on mobile */
    .faq-accordion-button {
        font-size: 1.15rem !important;
        padding: 1.5rem 1.25rem !important;
    }
    
    /* FAQ content larger */
    .faq-accordion-content > div {
        font-size: 1.05rem !important;
        line-height: 1.7 !important;
    }
    
    /* FAQ subtitle */
    .faq-section p {
        font-size: 1.05rem !important;
    }
    
    /* CTA subtitle */
    .cta-subtitle {
        font-size: 1rem;
    }
    
    /* Larger tap targets for mobile (minimum 44x44px) */
    .btn, .button {
        min-height: 48px;
        min-width: 48px;
        padding: 1rem 1.75rem;
        font-size: 1.05rem;
    }
    
    .btn-large, .button-large {
        min-height: 56px;
        padding: 1.25rem 2.25rem;
        font-size: 1.15rem;
    }
    
    /* Tab buttons larger on mobile */
    .tab-btn {
        min-height: 48px;
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
    }
    
    /* Increase spacing between buttons */
    .hero-cta {
        gap: 1.25rem;
    }
    
    /* Emergency fund mobile */
    .emergency-fund-icon {
        font-size: 6rem;
    }
    
    .emergency-fund-text h2 {
        font-size: 2rem;
    }
    
    .emergency-fund-text .lead {
        font-size: 1.15rem;
    }
    
    .emergency-fund-text > p {
        font-size: 1.05rem;
    }
    
    .detail-item {
        font-size: 1.05rem;
    }
    
    .detail-item strong {
        font-size: 1.15rem;
    }
    
    /* Section titles larger on mobile */
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Cards more readable */
    .value-card h3,
    .problem-card h3,
    .step-card h3,
    .impact-card h3 {
        font-size: 1.4rem;
    }
    
    .value-card p,
    .problem-card p,
    .step-card p,
    .impact-card p {
        font-size: 1.05rem;
        line-height: 1.65;
    }
    
    /* Hero stats more readable */
    .stat-number {
        font-size: 2.2rem;
    }
    
    /* Comparison amounts */
    .comparison-amount {
        font-size: 1.8rem;
    }
    
    .comparison-details,
    .comparison-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .emergency-fund-icon {
        font-size: 5rem;
    }
    
    .btn, .button {
        width: 100%; /* Full-width buttons on small screens */
    }
}

/* ========== ADDITIONAL HOME PAGE SECTIONS ========== */

.featured-section {
    padding: 4rem 1.5rem;
    background: var(--bg-gray-50, #f8fafc);
}

.local-flow-section {
    padding: 4rem 1.5rem;
    background: white;
}

/* Rotate arrow on mobile to point down */
@media (max-width: 768px) {
    .local-flow-section .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

.reviews-trust-section {
    padding: 4rem 1.5rem;
    background: var(--bg-gray-50, #f8fafc);
}

.reviews-trust-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-accordion-item {
    background: white;
    border: 1px solid var(--border-gray, #e2e8f0);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.faq-accordion-item.active .faq-icon {
    transform: rotate(180deg);
}
