/* =====================================================
   Hero Section with Background Animation
   ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

/* Hero Background Image + Animation */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: subtle-zoom 20s ease-in-out infinite;
}

/* 배경 이미지 확대/축소 애니메이션 */
@keyframes subtle-zoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 140px 40px 100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease both;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-intro {
    font-size: clamp(1.3rem, 2.8vw, 1.7rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease both;
}

.hero-intro:nth-child(2) { animation-delay: 0.1s; }
.hero-intro:nth-child(3) { animation-delay: 0.2s; }
.hero-intro:nth-child(4) { animation-delay: 0.3s; }

/* 강조 텍스트 */
.text-accent {
    color: #FF6B6B;
    font-weight: 600;
}

.text-white {
    color: #FFFFFF;
    font-weight: 600;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease 0.4s both;
    word-break: keep-all;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight-yellow {
    color: #FBBF24;
    font-weight: 800;
}

.hero-subtitle {
    color: rgba(251, 191, 36, 0.7);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 50px;
    background: var(--gradient-primary);
    border-radius: 60px;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 212, 170, 0.3);
    animation: fadeInUp 0.8s ease 0.6s both;
    margin: 0 auto;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-primary-hover);
}

.hero-cta svg {
    transition: transform var(--transition-normal);
}

.hero-cta:hover svg {
    transform: translateX(5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--gray-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollBounce 2s infinite;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

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

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

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content {
        padding: 120px 20px 80px;
    }

    .hero-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-intro {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: 2rem;
        margin-top: 30px;
        margin-bottom: 15px;
        line-height: 1.4;
        word-break: keep-all;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-cta {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator span {
        font-size: 0.65rem;
    }

    .scroll-line {
        height: 30px;
    }
}
