/* 네비게이션 */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    z-index: 100;
    mix-blend-mode: difference;
}

/* 플로팅 버튼 */
.floating-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.floating-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.floating-top.visible {
    opacity: 1;
    visibility: visible;
}

body.dark-section .floating-top {
    background: #fff;
    color: var(--bg-dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 22px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.logo-light {
    font-weight: 400;
    color: #fff;
}

.logo-bold {
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.scroll-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* 다크 섹션일 때 스크롤 인디케이터 */
body.dark-section .scroll-dot {
    background: rgba(255, 255, 255, 0.3);
}

body.dark-section .scroll-dot.active {
    background: var(--primary);
}

/* 풀페이지 컨테이너 */
.fullpage-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scroll-behavior: smooth;
}

.section {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: background-color 0.5s ease;
}

.section-content {
    max-width: 1200px;
    padding: 0 48px;
    width: 100%;
}

/* 섹션 애니메이션 (Hero, Why, Role 제외) */
.section:not(.section-hero):not(.section-hero-dark):not(.section-role) .section-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section:not(.section-hero):not(.section-hero-dark):not(.section-role).active .section-content > * {
    opacity: 1;
    transform: translateY(0);
}

.section.active .section-content > *:nth-child(1) { transition-delay: 0.1s; }
.section.active .section-content > *:nth-child(2) { transition-delay: 0.2s; }
.section.active .section-content > *:nth-child(3) { transition-delay: 0.3s; }
.section.active .section-content > *:nth-child(4) { transition-delay: 0.4s; }
