/* ==========================================================================
   OpenHaft — Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 500px;
    max-height: 85vh;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #FFFFFF;
}

/* Animated gradient mesh background */
.hero__gradient-mesh {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F5 50%, #FFFFFF 100%);
    background-size: 200% 200%;
    animation: heroMesh 12s ease-in-out infinite;
    z-index: 0;
}
@keyframes heroMesh {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Subtle radial glow bottom-right */
.hero__radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 80%, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    margin: 0 auto;
}

/* Badge */
.hero__badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 168, 67, 0.25);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: var(--gold-400);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
}

/* Title */
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero__title-line {
    display: block;
}
.hero__highlight {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.8;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Actions */
.hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

/* Shimmer effect on btn-gold */
.btn-gold--shimmer {
    position: relative;
    overflow: hidden;
}
.btn-gold--shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transition: none;
    pointer-events: none;
}
.btn-gold--shimmer:hover::after {
    animation: btnShimmer 0.6s ease forwards;
}
@keyframes btnShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Trust line */
.hero__trust {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2.5rem;
    letter-spacing: 0.02em;
}
.hero__trust-dot {
    color: var(--gold-400);
    margin: 0 0.5rem;
}

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--gold-400);
    animation: heroBounce 2s ease-in-out infinite;
    transition: opacity 0.4s ease;
}
.hero.is-scrolled-past .hero__scroll-indicator {
    opacity: 0;
}
@keyframes heroBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Hero entrance animations */
.hero-entrance {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.7s ease forwards;
}
.hero-entrance--1 { animation-delay: 0.3s; }
.hero-entrance--2 { animation-delay: 0.45s; }
.hero-entrance--3 { animation-delay: 0.6s; }
.hero-entrance--4 { animation-delay: 0.8s; }
.hero-entrance--5 { animation-delay: 1.0s; }
.hero-entrance--6 { animation-delay: 1.2s; }

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
