/* 기본 스무스 스크롤 및 폰트 세팅 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
}

/* 메인 배너 슬라이더 줌인 효과 (Ken Burns) */
@keyframes zoomInEffect {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.12);
    }
}

.slide-bg-zoom {
    animation: zoomInEffect 8s ease-out forwards;
}

/* 텍스트 페이드인 업 애니메이션 */
.text-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.active .text-fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* 서브페이지 전용 히어로 텍스트 애니메이션 (딜레이 제어 가능) */
@keyframes fadeInUpHero {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.hero-fade-up {
    opacity: 0;
    animation: fadeInUpHero 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 스크롤 감지 애니메이션 기본 스타일 */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.appeared {
    opacity: 1;
    transform: translateY(0);
}

/* 네비게이션 블러 및 띠 효과 */
.nav-frosted {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid rgba(0, 82, 204, 0.12);
}

/* 비주얼 도트 커스텀 */
.dot-active {
    width: 2.5rem !important;
    background-color: #ff3366 !important;
}

/* 헤더 로고 이미지 */
.header-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* 문제 해결 섹션 체크 아이템 */
.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.problem-item:last-child { border-bottom: none; }

/* 프로세스 스텝 라인 */
.process-line::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(100% + 0px);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0052cc, transparent);
}

/* 적용 분야 배지 */
.field-badge {
    background: linear-gradient(135deg, #0a1931 0%, #0052cc 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

/* 고객사 로고 롤링 애니메이션 */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    color: white;
}
.floating-kakao {
    background-color: #FEE500;
    color: #3C1E1E;
}
.floating-kakao:hover {
    color: #3C1E1E;
}
.floating-call {
    background-color: #0052cc;
}
