/* ===================================
   Hero CSS - 히어로 섹션 스타일
   =================================== */

.hero-section {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

/* Hero Inner */
.hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--header-height) 24px var(--scroll-indicator-height);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(30px);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: var(--primary-light);
}

.hero-badge span {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .line {
    display: block;
    animation: fadeInUp 0.8s ease backwards;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title .line:nth-child(3) {
    animation-delay: 0.6s;
}

/* Hero Subtitle */
.hero-subtitle-wrapper {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    animation: fadeInUp 0.8s ease backwards;
    animation-delay: 0.8s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.static-text {
    display: block;
}

/* Typing Effect */
.typing-wrapper {
    position: relative;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.typing-text {
    color: var(--primary-light);
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Hero Stack */
.hero-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInUp 0.8s ease backwards;
    animation-delay: 1s;
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray-light);
    transition: var(--transition);
}

.stack-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

.stack-item .fa-leaf {
    color: #6db33f;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease backwards;
    animation-delay: 1.4s;
    z-index: 10;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 11px;
    position: relative;
    background: rgba(15, 23, 42, 0.5);
}

.wheel {
    width: 3px;
    height: 7px;
    background: var(--primary-light);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px);
    }
}

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