/* ========================================
   HERO SECTION COMPONENT
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.6)
    );
    z-index: 1;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/Cover-1920.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-lg);
}

.hero__trust-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero__trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 4px;
    display: block;
    position: relative;
}

.hero__stat-number::after {
    content: '+';
    font-size: 0.8em;
    font-weight: 600;
    opacity: 0.8;
}

.hero__stat-number[data-target="4.9"]::after {
    content: '★';
    font-size: 1em;
    opacity: 1;
}

.hero__stat-label {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
    white-space: nowrap;
}

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

.hero__tag {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
    opacity: 1;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: var(--spacing-2xl);
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
}

.hero__title span {
    font-family: var(--font-display);
    font-style: italic;
    text-transform: none;
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

.hero__description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-3xl);
    font-weight: 300;
    line-height: 1.6;
    opacity: 1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero__review-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 22px;
    background: var(--terracotta);
    color: var(--white);
    font-weight: 700;
    border-radius: 999px;
    text-transform: none;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(160, 82, 45, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    animation: hero-pill 6s ease-in-out infinite;
}

.hero__review-pill:hover,
.hero__review-pill:focus {
    color: var(--white);
    transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
    .hero__review-pill {
        animation: none;
    }
}

@keyframes hero-pill {
    0%,
    100% {
        box-shadow: 0 12px 30px rgba(160, 82, 45, 0.35);
    }

    50% {
        box-shadow: 0 18px 45px rgba(160, 82, 45, 0.4);
    }
}

.hero__cta {
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.hero__cta:hover,
.hero__cta:focus {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    outline: none;
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero__content {
        padding: 0 var(--spacing-md);
    }

    .hero__trust-stats {
        gap: 30px;
        margin-bottom: var(--spacing-lg);
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__stat-label {
        font-size: 0.65rem;
    }

    .hero__title {
        font-size: 3.2rem;
    }

    .hero__description {
        font-size: 1rem;
        padding: 0 var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero__trust-stats {
        gap: 20px;
        margin-bottom: var(--spacing-md);
    }

    .hero__trust-stat {
        min-width: 60px;
    }

    .hero__stat-number {
        font-size: 1.3rem;
    }

    .hero__stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__tag {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .hero__description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-2xl);
    }
}

/* High contrast mode support for Hero */
@media (prefers-contrast: high) {
    .hero::before {
        background: linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.6)
        );
    }

    .hero__title {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    }

    .hero__description {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }
}