/* ==============================================
   PUBLIC HERO SECTION
   Hero section with animations for public pages
   ============================================== */

/* Hero Section - Enhanced with Animations and Modern Design */
.hero {
    padding: var(--space-16) 0 var(--space-12);
    background:
        radial-gradient(circle at 20% 80%, rgba(var(--primary-color), 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(var(--accent-color), 0.02) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 24% 25%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 76% 75%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease-out 0.2s forwards;
}

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

.hero-title {
    font-size: var(--text-display);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
    letter-spacing: -0.025em;
    opacity: 0;
    transform: translateY(20px);
    animation: heroTitleSlide 0.8s ease-out 0.4s forwards;
}

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

.hero-subtitle {
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 var(--space-8);
    opacity: 0;
    transform: translateY(20px);
    animation: heroSubtitleSlide 0.8s ease-out 0.6s forwards;
}

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

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: heroCtaSlide 0.8s ease-out 0.8s forwards;
}

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

.hero-cta .btn {
    margin-bottom: var(--space-2);
    position: relative;
    overflow: hidden;
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.hero-cta .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-cta .btn:active {
    transform: translateY(0);
}

.btn-large {
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-body);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        position: static;
    }

    .hero {
        padding: var(--space-12) 0 var(--space-8);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-container {
        padding: 0 var(--space-4);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}
