/* ========================================
   HOME HERO - REDESIGNED
   Cleaner, more emotional, better hierarchy
   ======================================== */

.home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    color: #fff;
    padding: 5rem 2rem;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Subtle animated background texture */
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* ========================================
   STAGE CONTAINER
   ======================================== */

.home-hero__stages {
    position: relative;
    min-height: 280px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.home-stage {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: 
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.home-stage.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-stage__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.home-kicker {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.home-stage__content h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

.gold-text {
    color: #fbbf24;
}

.stage-stat {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin: 0.5rem 0;
}

.stage-subtext {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 560px;
    margin: 0;
}

/* ========================================
   STAGE 2: IMPACT LIST
   ======================================== */

.impact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
}

.impact-item {
    background: rgba(239, 68, 68, 0.15);
    border-left: 3px solid #ef4444;
    padding: 0.9rem 1.25rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #fecaca;
    border-radius: 0 8px 8px 0;
    transform: translateX(-10px);
    opacity: 0;
    animation: slideInImpact 0.5s ease forwards;
}

.home-stage.active .impact-item:nth-child(1) { animation-delay: 0.1s; }
.home-stage.active .impact-item:nth-child(2) { animation-delay: 0.25s; }
.home-stage.active .impact-item:nth-child(3) { animation-delay: 0.4s; }
.home-stage.active .impact-item:nth-child(4) { animation-delay: 0.55s; }

@keyframes slideInImpact {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========================================
   STAGE 4: BENEFIT GRID
   ======================================== */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 500px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    font-size: 1.75rem;
}

.benefit-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ========================================
   STAGE 5: COUNTY SHOWCASE
   ======================================== */

.county-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.county-badge {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
    border: 2px solid rgba(251, 191, 36, 0.4);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.county-badge:hover {
    background: rgba(251, 191, 36, 0.3);
    border-color: rgba(251, 191, 36, 0.7);
    transform: scale(1.05);
}

.county-tagline {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ========================================
   STAGE 6: PROOF STATS
   ======================================== */

.proof-grid {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.proof-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1;
}

.proof-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: lowercase;
}

/* ========================================
   FINAL FRAME
   ======================================== */

.home-final {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.home-final.show {
    display: block;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FINAL HERO CONTENT (Compact Version)
   ======================================== */

.final-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: center;
}

.final-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.final-hero__headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
    color: #fff;
}

.final-hero__highlight {
    color: #fbbf24;
}

.final-hero__subtext {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0;
    max-width: 420px;
    line-height: 1.5;
}

.final-hero__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.final-hero__cta {
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.final-hero__cta--primary {
    background: #fbbf24;
    color: #0f172a;
}

.final-hero__cta--primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.final-hero__cta--secondary {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(203, 213, 225, 0.3);
}

.final-hero__cta--secondary:hover {
    border-color: rgba(203, 213, 225, 0.6);
    color: #fff;
}

.final-hero__stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.final-stat__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24;
}

.final-stat__label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 480px) {
    .final-hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 240px;
    }
    
    .final-hero__stats {
        gap: 1.25rem;
    }
    
    .final-stat__value {
        font-size: 1.1rem;
    }
}

/* ========================================
   CONTROLS
   ======================================== */

.home-hero__controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.home-hero__btn {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.home-hero__btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.home-hero__btn--primary {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

.home-hero__btn--primary:hover {
    background: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.7);
}

.btn-icon {
    font-size: 1rem;
}

/* ========================================
   PROGRESS BAR
   ======================================== */

.home-hero__progress {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 85%);
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.home-hero__progress-bar {
    height: 100%;
    width: var(--home-hero-progress, 0%);
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 640px) {
    .home-hero {
        padding: 3.5rem 1.25rem;
        min-height: 420px;
    }

    .home-hero__stages {
        min-height: 320px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .proof-grid {
        gap: 1.5rem;
    }

    .proof-number {
        font-size: 2rem;
    }

    .county-showcase {
        gap: 0.5rem;
    }

    .county-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .home-stage__content h1 {
        font-size: 1.75rem;
    }

    .stage-subtext {
        font-size: 1rem;
    }
}