/**
 * Premium Clean Hero Section
 * Inspired by Apple, Stripe, and Dribbble trends 2025
 * - Bold typography, animated gradient, minimal elements
 */

/* Hero Container */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

/* When canvas is active, make background transparent */
.hero.hero-with-canvas {
    background: transparent;
}

/* Animated Gradient Background (Subtle, Not Confusing) */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    animation: gradientMove 20s ease-in-out infinite;
    z-index: 0;
}

/* Hide gradient overlay when 3D canvas is active */
.hero.hero-with-canvas::before {
    display: none;
}

@keyframes gradientMove {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, 2%) rotate(1deg);
    }

    50% {
        transform: translate(-1%, 1%) rotate(-1deg);
    }

    75% {
        transform: translate(1%, -2%) rotate(0.5deg);
    }
}

/* Content Wrapper */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

/* Typography - Bold and Clean */
.hero-headline {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero-headline .highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientText 5s ease infinite;
}

@keyframes gradientText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Subheadline - Enhanced visibility */
.hero-subheadline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 4px 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #ffffff;
    color: #0a0a1a;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Trust Badge / Social Proof */
.hero-trust {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
}

.trust-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Scroll Indicator */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-hint::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        height: 40px;
    }

    50% {
        opacity: 0.8;
        height: 50px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 0 1rem;
    }

    .hero-headline {
        letter-spacing: -1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 1.5rem;
    }
}