/* Hero 섹션 스타일 - 애니메이션 최적화 버전 */
.main-visual {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body {
    margin: 0;
    padding: 0;
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.visual-text {
    max-width: 1000px;
    margin: 0 auto;
}

.visual-title {
    margin-bottom: 2rem;
}

/* 타이틀 라인 - 네온 효과 제거 (모바일 성능 최적화) */
.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 0.5rem;
    /* 애니메이션 제거 - JS에서 처리 */
    opacity: 1;
    transform: translateY(0);
}

/* 모바일에서는 글로우 효과 최소화 */
@media (min-width: 769px) {
    .title-line {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 51, 51, 0.3);
    }
}

/* 서브 타이틀 */
.title-sub {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-top: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 설명 텍스트 */
.visual-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #ffffff;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 버튼 그룹 */
.visual-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 프라이머리 버튼 */
.btn-primary {
    display: inline-block;
    background: #ff3333;
    color: #ffffff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.3);
}

.btn-primary:hover {
    background: #e62e2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 51, 51, 0.4);
}

/* 세컨더리 버튼 */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    opacity: 0.6;
    cursor: pointer;
}

.scroll-indicator span {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #ffffff;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(50px);
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .visual-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 200px;
        text-align: center;
    }
    
    /* 모바일에서 글로우 효과 완전 제거 */
    .title-line {
        text-shadow: none;
    }
}

/* 성능 최적화를 위한 GPU 가속 */
.title-line,
.title-sub,
.visual-desc,
.visual-buttons a {
    will-change: opacity, transform;
}

/* 애니메이션 완료 후 will-change 제거 */
.title-line.animated,
.title-sub.animated,
.visual-desc.animated,
.visual-buttons a.animated {
    will-change: auto;
}
