/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* 기본 스크롤 방식 사용 */
    min-height: 100vh;
    overflow-y: scroll !important; /* 스크롤바 항상 표시 */
    background: #000; /* 전체 배경색을 검정으로 설정 */
}

/* 스크롤바 스타일링 (선택사항) */
body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 전체 페이지 스타일 */
#fullpage {
    position: relative;
}

.section {
    min-height: 100vh; /* height에서 min-height로 변경하여 자연스러운 스크롤 허용 */
    position: relative;
    overflow: visible; /* overflow hidden 제거 */
    align-items: center;
    justify-content: center;
}

/* 푸터는 자연스럽게 배치 */
.footer {
    position: relative;
    margin-top: 0;
}

/* 전체 페이지 스크롤 스냅 설정 */
#fullpage {
    scroll-snap-type: none;
    min-height: 100vh;
    overflow-y: auto;
}

/* 모바일 및 태블릿에서 스크롤 스냅 비활성화 */
@media (max-width: 1024px) {
    #fullpage {
        scroll-snap-type: none;
    }
    
    .section {
        scroll-snap-align: none;
        min-height: auto;
        height: auto;
        padding: 80px 0;
        margin: 0; /* 섹션 간 마진 제거 */
    }
    
    
    /* 각 섹션별 모바일 최적화 */
    #main-banner {
        min-height: 100vh;
        height: 100vh;
        margin: 0;
    }
    
    /* 프로젝트 섹션 태블릿 최적화 */
    #project {
        min-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        margin: 0;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #34495e 75%, #2c3e50 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .mc02_identity {
        padding: 30px;
        width: 100%;
        max-width: 100%;
    }
    
    .top_text_box {
        margin-bottom: 50px; /* 간격 축소 */
    }
    
    .top_text_box h5 {
        font-size: 3rem; /* 태블릿용 글씨 크기 */
        margin-bottom: 30px; /* 간격 축소 */
    }
    
    .top_text_box p {
        font-size: 1.2rem; /* 태블릿용 글씨 크기 */
    }
    
    .identity_ul {
        flex-direction: column;
        gap: 25px; /* 태블릿용 간격 */
    }
    
    .identity_li {
        margin: 0;
    }
    
    .text_box {
        padding: 40px 60px; /* 태블릿용 패딩 */
        border-radius: 40px;
        min-width: auto;
    }
    
    .text_box h5 {
        font-size: 1.8rem; /* 태블릿용 글씨 크기 */
        margin-bottom: 12px;
    }
    
    .text_box p {
        font-size: 0.95rem; /* 태블릿용 글씨 크기 */
    }
    
    .identity_li:hover .text_box {
        transform: translateY(-8px) scale(1.01); /* 호버 효과 축소 */
    }
    
    #premium {
        min-height: auto;
        padding: 100px 0;
        margin: 0;
        background: #000; /* 프리미엄 섹션 배경색 */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    
    .layout-subtitle {
        font-size: 1.6rem;
    }

    /* 유니트 섹션 태블릿 최적화 */
    #unit {
        min-height: 100vh;
        padding: 140px 0 60px 0;
        display: flex;
        align-items: center;
        overflow-y: auto;
        margin: 0;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .unit-section {
        padding: 0 30px;
        width: 100%;
        max-width: 100%;
    }
    
    .unit-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .unit-title {
        font-size: 2.5rem;
        margin-bottom: 6px;
    }
    
    .unit-subtitle {
        font-size: 1rem;
    }
    
    .unit-gallery {
        grid-template-columns: 1fr;
        gap: 25px;
        align-items: flex-start;
    }
    
    .unit-display {
        order: 1; /* 이미지를 위로 */
    }
    
    .unit-selector {
        order: 2; /* 탭을 아래로 */
    }
    
    .unit-image-container {
        padding: 18px 15px;
        border-radius: 15px;
    }
    
    .unit-image-wrapper {
        margin-bottom: 10px;
        max-height: 320px;
    }
    
    .unit-main-image {
        max-height: 320px;
    }
    
    .unit-info-display {
        margin-top: 6px;
    }
    
    .unit-info-display h3 {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }
    
    .unit-info-display p {
        font-size: 0.9rem;
    }
    
    .unit-tabs {
        gap: 8px;
    }
    
    .unit-tab {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .tab-preview {
        width: 55px;
        height: 42px;
        border-radius: 8px;
    }
    
    .tab-info h4 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .tab-info span {
        font-size: 0.8rem;
    }
    
    /* 오버뷰 섹션 태블릿 최적화 */
    #overview {
        min-height: calc(100vh - 140px); /* 헤더 높이 고려 */
        padding: 80px 0 60px 0;
        display: flex;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .overview-section {
        padding: 60px 30px;
        margin: 20px auto;
        border-radius: 25px;
    }
    
    .overview-title {
        margin-bottom: 60px; /* 간격 축소 */
    }
    
    .overview-title h2 {
        font-size: 3.5rem;
    }
    
    .overview-content {
        grid-template-columns: repeat(2, 1fr); /* 2열 유지 */
        gap: 40px; /* 간격 축소 */
        margin-top: 40px; /* 간격 축소 */
    }
    
    .overview-item {
        padding: 50px 25px; /* 패딩 축소 */
        border-radius: 20px;
    }
    
    .overview-item h3 {
        font-size: 1.2rem; /* 태블릿용 글씨 크기 */
        margin-bottom: 25px; /* 간격 축소 */
    }
    
    .overview-item p {
        font-size: 1.3rem; /* 태블릿용 글씨 크기 */
    }
}

/* 섹션 제목 스타일 */
.section-title {
    font-family: "DM Serif Text", serif;
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}


/* 섹션 1: 메인 배너 */
#main-banner {
    background: #666;
    position: relative;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transition: transform 1.5s ease-in-out;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.main-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideInDown 1s ease-out 0.3s both;
}

.main-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.6s both;
}

.banner-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.9s both;
}

.info-item {
    text-align: center;
}

.info-item .label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.info-item .value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}

/* 아르코 검단 스타일 배너 컨트롤 */
.banner-controls {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 10;
}

/* 모바일에서 배너 컨트롤 위치 조정 */
@media (max-width: 768px) {
    .banner-controls {
        bottom: 30px;
        left: 20px;
    }
    
    .slider-control {
        gap: 15px;
        padding: 12px 15px;
    }
    
    .control-circle {
        width: 35px;
        height: 35px;
        cursor: pointer;
    }
    
    .control-circle:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
    
    .nav-arrow {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .banner-controls {
        bottom: 20px;
        left: 15px;
    }
    
    .slider-control {
        gap: 12px;
        padding: 10px 12px;
    }
    
    .control-circle {
        width: 30px;
        height: 30px;
        cursor: pointer;
    }
    
    .control-circle:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
    
    .nav-arrow {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .slide-counter {
        font-size: 9px;
    }
}

.slider-control {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
}

.control-circle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.control-circle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}



.progress-arc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid #3498db;
    animation: progress-rotate 5s linear infinite;
    z-index: 1;
    transform-origin: center;
}

@keyframes progress-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 슬라이드 변경 시 진행 원 애니메이션 재시작 */
.slide.active ~ .banner-controls .progress-arc {
    animation: none;
    animation: progress-rotate 5s linear infinite;
}

.slide-counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: 400;
    text-align: center;
    z-index: 2;
    border-radius: 12px;
    min-width: 50px;
}

.nav-arrows {
    display: flex;
    gap: 10px;
}

.nav-arrow {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* 스크롤 다운 표시 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 18px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}



/* 섹션 2: 프로젝트 - 아르코 검단 스타일 */
#project {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #34495e 75%, #2c3e50 100%);
    color: white;
    text-align: center;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
        linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.02) 60%, transparent 80%);
    pointer-events: none;
    animation: projectBackground 25s ease-in-out infinite;
}

#project::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.008) 3px,
            rgba(255, 255, 255, 0.008) 6px
        );
    pointer-events: none;
}

@keyframes projectBackground {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    33% {
        transform: translateX(-15px) translateY(-8px) rotate(1deg);
        opacity: 1;
    }
    66% {
        transform: translateX(8px) translateY(-15px) rotate(-1deg);
        opacity: 0.9;
    }
}

.mc02_identity {
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px 60px;
    position: relative;
    z-index: 2;
}

.container_fix {
    position: relative;
}

.top_text_box {
    margin-bottom: 80px;
}

.top_text_box h5 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
    line-height: 1.2;
}

.top_text_box p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: white;
    opacity: 0.95;
}

.top_text_box .bold {
    font-weight: 700;
}

.m_br {
    display: none;
}

@media (max-width: 768px) {
    .m_br {
        display: block;
    }
}

.identity_ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
    position: relative;
}

.identity_li {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    margin: 0 -20px;
}

.identity_li:nth-child(1) {
    z-index: 3;
}

.identity_li:nth-child(2) {
    z-index: 2;
}

.identity_li:nth-child(3) {
    z-index: 1;
}

.identity_li a {
    display: block;
    text-decoration: none;
    color: white;
    height: 100%;
}

.text_box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 60px 80px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    min-width: 350px;
    position: relative;
    overflow: hidden;
}

.text_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.text_box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.2), transparent 40%, rgba(201, 165, 91, 0.1));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.identity_li:hover .text_box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(201, 165, 91, 0.6);
}

.identity_li:hover .text_box::before {
    left: 100%;
}

.identity_li:hover .text_box::after {
    opacity: 1;
}

.text_box h5 {
    font-family: "DM Serif Text", serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: white;
    white-space: nowrap;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.text_box p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    word-break: keep-all;
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 768px) {
    /* 프로젝트 섹션 모바일 최적화 - 한 화면에 모두 보이도록 */
    #project {
        min-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        margin: 0;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #34495e 75%, #2c3e50 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .mc02_identity {
        padding: 25px 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .top_text_box {
        margin-bottom: 30px; /* 간격 축소 */
    }
    
    .top_text_box h5 {
        font-size: 2.2rem; /* 모바일용 글씨 크기 */
        margin-bottom: 20px; /* 간격 축소 */
    }
    
    .top_text_box p {
        font-size: 1.1rem; /* 모바일용 글씨 크기 */
    }
    
    .identity_ul {
        flex-direction: column;
        gap: 15px; /* 간격 축소 */
    }
    
    .identity_li {
        margin: 0;
    }
    
    .text_box {
        padding: 25px 40px; /* 패딩 축소 */
        border-radius: 25px;
        min-width: auto;
    }
    
    .text_box h5 {
        font-size: 1.5rem; /* 모바일용 글씨 크기 */
        margin-bottom: 8px;
    }
    
    .text_box p {
        font-size: 0.9rem; /* 모바일용 글씨 크기 */
    }
    
    .identity_li:hover .text_box {
        transform: translateY(-5px) scale(1.01); /* 호버 효과 축소 */
    }
}

.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2rem;
    color: #f39c12;
}

.project-image {
    text-align: center;
}

.project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.project-image img:hover {
    transform: scale(1.05);
}

/* 섹션 3: 프리미엄 (메인 파일과 동일한 디자인) */
.premium-section {
    position: relative;
    background: transparent; /* 배경색 제거 */
    height: 100vh;
    padding: 0;
    overflow: hidden;
    align-items: center;
}

.premium-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.premium-text {
    color: white;
}

.premium-title {
    font-family: "DM Serif Text", serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #ffffff;
}

.premium-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.premium-card-container {
    position: relative;
    z-index: 10;
}

.photo-card {
    background: white;
    border-radius: 0;
    overflow: visible;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
}

.card-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border: 6px solid white;
    border-radius: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.98) translateZ(0);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.slide.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    z-index: 10;
    display: none; /* 슬라이더 닷 제거 */
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slide-counter {
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
}

/* 프리미엄 카운터 스타일 */
.premium-counter {
    position: absolute;
    top: 20px;
    right: -25px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide.active .premium-counter {
    opacity: 1;
}

.card-text {
    padding: 30px;
    text-align: center;
}

.card-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.card-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.card-description {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    transition: all 0.5s ease;
}

.premium-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.premium-background.active {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    /* 프리미엄 섹션 모바일 최적화 - 정중앙 배치 */
    #premium {
        min-height: calc(100vh - 120px); /* 헤더 높이 고려 */
        padding: 60px 0 40px 0;
        display: flex;
        align-items: center; /* 중앙 정렬로 변경 */
        justify-content: center; /* 중앙 정렬 추가 */
        overflow-y: auto;
        margin: 0;
        background: #000; /* 프리미엄 섹션 배경색 */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .premium-section {
        height: auto;
        padding: 0;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .premium-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 500px; /* 최대 너비 제한 */
    }
    
    .premium-text {
        text-align: center;
        width: 100%;
    }
    
    .premium-title {
        font-size: 2.2rem; /* 모바일용 글씨 크기 */
        margin-bottom: 12px;
    }
    
    .premium-subtitle {
        font-size: 1rem; /* 모바일용 글씨 크기 */
    }
    
    .premium-card-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .photo-card {
        width: 100%;
        max-width: 400px; /* 카드 최대 너비 제한 */
    }
    
    .card-slider {
        height: 280px; /* 모바일용 높이 */
    }
    
    .card-text {
        padding: 20px; /* 모바일용 패딩 */
    }
    
    .card-title {
        font-size: 1.4rem; /* 모바일용 글씨 크기 */
        margin-bottom: 6px;
    }
    
    .card-description {
        font-size: 0.9rem; /* 모바일용 글씨 크기 */
    }
}

/* 섹션 5: 단지 안내 스타일 */
#building-layout {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #34495e 75%, #2c3e50 100%);
    color: white;
    padding: 120px 0 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#building-layout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.01) 50%, transparent 70%);
    pointer-events: none;
}








/* 섹션 4: 유니트 */
/* ============================================
   유니트 섹션 - 트렌디한 모던 디자인
   ============================================ */
#unit {
    background: 
        radial-gradient(ellipse at top, rgba(201, 165, 91, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(201, 165, 91, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
    color: white;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

#unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(201, 165, 91, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(201, 165, 91, 0.04) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.01) 100px,
            rgba(255, 255, 255, 0.01) 101px
        );
    pointer-events: none;
    opacity: 0.4;
}

#unit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

.unit-section-modern {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

/* 헤더 모던 스타일 */
.unit-header-modern {
    text-align: center;
    position: relative;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.unit-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #c9a55b;
    background: 
        linear-gradient(135deg, rgba(201, 165, 91, 0.15), rgba(201, 165, 91, 0.08)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(201, 165, 91, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(201, 165, 91, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #c9a55b;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(201, 165, 91, 0.8);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(201, 165, 91, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 20px rgba(201, 165, 91, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(201, 165, 91, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 30px rgba(201, 165, 91, 0.4);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.unit-title-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    font-family: "DM Serif Text", serif;
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 165, 91, 0.4),
        rgba(201, 165, 91, 0.6),
        rgba(201, 165, 91, 0.4),
        transparent
    );
    max-width: 120px;
}

.title-text {
    position: relative;
    padding: 0 20px;
}

.unit-subtitle-modern {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.03em;
    line-height: 1.6;
}

/* 메인 콘텐츠 영역 */
.unit-content-modern {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 100%;
    flex: 1;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .unit-content-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.unit-display {
    position: relative;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.unit-image-container {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.4));
    border: 2px solid rgba(201, 165, 91, 0.25);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(201, 165, 91, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.unit-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 165, 91, 0.6), transparent);
}

.unit-image-container:hover {
    border-color: rgba(201, 165, 91, 0.5);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(201, 165, 91, 0.2),
        0 0 0 1px rgba(201, 165, 91, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.7), rgba(25, 25, 25, 0.5));
}

.unit-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    max-width: 100%;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.unit-image-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(201, 165, 91, 0.4);
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.unit-image-wrapper:hover .unit-image-frame {
    opacity: 1;
}

.unit-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease, opacity 0.3s ease;
    filter: brightness(0.95);
    display: block;
}

.unit-image-wrapper:hover .unit-main-image {
    filter: brightness(1.05);
    transform: scale(1.03);
}

.unit-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.unit-image-wrapper:hover .unit-image-overlay {
    opacity: 1;
}

.unit-zoom-btn {
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.9), rgba(201, 165, 91, 0.8));
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(201, 165, 91, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.unit-zoom-btn i {
    font-size: 1.1rem;
}

.unit-zoom-btn:hover {
    background: linear-gradient(135deg, rgba(201, 165, 91, 1), rgba(201, 165, 91, 0.9));
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(201, 165, 91, 0.5);
}

.unit-info-display {
    text-align: left;
    margin-top: 0;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.unit-type-badge {
    display: inline-block;
    font-family: "DM Serif Text", serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #c9a55b;
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.25), rgba(201, 165, 91, 0.15));
    border: 1px solid rgba(201, 165, 91, 0.5);
    padding: 6px 16px;
    border-radius: 6px;
    margin-bottom: 14px;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 8px rgba(201, 165, 91, 0.2);
}

.unit-specs-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 165, 91, 0.4);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(201, 165, 91, 0.15);
}

.spec-item i {
    font-size: 1.2rem;
    color: #c9a55b;
    margin-top: 2px;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.spec-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.spec-pyeong {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    margin-left: 6px;
}

.unit-selector {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 100%;
}

.unit-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 8px;
}

.unit-tab {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.5), rgba(20, 20, 20, 0.3));
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.unit-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 165, 91, 0.15), transparent);
    transition: left 0.6s ease;
}

.unit-tab::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: linear-gradient(135deg, #c9a55b, rgba(201, 165, 91, 0.6));
    border-radius: 0 3px 3px 0;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px rgba(201, 165, 91, 0.5);
}

.unit-tab:hover::before {
    left: 100%;
}

.unit-tab:hover {
    transform: translateX(8px);
    border-color: rgba(201, 165, 91, 0.3);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.6), rgba(25, 25, 25, 0.4));
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(201, 165, 91, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.unit-tab.active {
    border-color: rgba(201, 165, 91, 0.7);
    background: linear-gradient(145deg, rgba(201, 165, 91, 0.18), rgba(201, 165, 91, 0.1));
    transform: translateX(10px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(201, 165, 91, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.unit-tab.active::after {
    width: 3px;
}

.tab-preview {
    width: 75px;
    height: 58px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tab-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.tab-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.5), rgba(201, 165, 91, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.tab-check {
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.unit-tab.active .tab-overlay {
    opacity: 1;
}

.unit-tab:hover .tab-preview img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.tab-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tab-badge {
    font-family: "DM Serif Text", serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.unit-tab.active .tab-badge {
    color: #c9a55b;
    text-shadow: 0 0 12px rgba(201, 165, 91, 0.4);
}

.tab-area {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.area-sqm {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.area-pyeong {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================
   초트렌디 풀스크린 유니트 디자인
   ============================================ */

/* 울트라 섹션 컨테이너 */
.unit-section-ultra {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

/* 섹션 진입 시 전체 컨테이너 애니메이션 */
.unit-section-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(201, 165, 91, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    z-index: 1;
}

#unit.animated .unit-section-ultra::before {
    opacity: 1;
}

/* 울트라 헤더 - 숨김 처리 */
.unit-header-ultra {
    display: none;
}

.unit-badge-ultra {
    display: none;
}

.badge-pulse {
    display: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.unit-title-ultra {
    display: none;
}

.title-accent {
    display: none;
}

.title-main {
    display: none;
}

/* 울트라 콘텐츠 */
.unit-content-ultra {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 배경 이미지 뷰어 */
.unit-viewer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.unit-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1) saturate(1);
    will-change: opacity, transform;
}

/* 이미지 로딩 인디케이터 */
.image-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-loading.show {
    opacity: 1;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(201, 165, 91, 0.2);
    border-top: 4px solid rgba(201, 165, 91, 0.9);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 
        0 0 30px rgba(201, 165, 91, 0.4),
        inset 0 0 20px rgba(201, 165, 91, 0.2);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

.viewer-gradient {
    display: none;
}

.unit-content-ultra:hover .viewer-gradient {
    display: none;
}

/* 상단 정보 패널 */
.unit-info-panel {
    position: absolute;
    top: 100px;
    left: 60px;
    right: 60px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.info-panel-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08)),
        linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(20px) saturate(180%);
    padding: 24px 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-panel-left:hover {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)),
        linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* 정보 패널 내부 요소 애니메이션 */
.info-panel-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.info-panel-left:hover::after {
    left: 100%;
}

.unit-type-display {
    font-family: "DM Serif Text", serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.8),
        0 4px 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
    animation: titleReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.unit-subtitle-display {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2a2a2a;
    letter-spacing: 0.05em;
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 2px 10px rgba(255, 255, 255, 0.5);
    animation: subtitleReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes subtitleReveal {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-panel-right {
    display: none;
}

.btn-fullscreen {
    display: none;
}

.btn-fullscreen:hover {
    display: none;
}

.btn-fullscreen i {
    display: none;
}

/* 하단 선택 바 - 완전 투명 */
.unit-selector-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 30px 60px 25px;
}

/* 스펙 디스플레이 */
.specs-display {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    backdrop-filter: blur(25px) saturate(180%);
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    will-change: transform, opacity;
}

/* 스펙 디스플레이 호버 효과 */
.specs-display:hover {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08)),
        linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35));
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.spec-item-ultra {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.spec-item-ultra:hover {
    transform: translateY(-2px);
}

.spec-icon-ultra {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75)),
        linear-gradient(135deg, rgba(201, 165, 91, 0.35), rgba(201, 165, 91, 0.25));
    border: 1px solid rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af6a;
    font-size: 1.2rem;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(201, 165, 91, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.spec-item-ultra:hover .spec-icon-ultra {
    background: 
        linear-gradient(135deg, rgba(201, 165, 91, 0.5), rgba(201, 165, 91, 0.4)),
        linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(201, 165, 91, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.spec-content-ultra {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label-ultra {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 2px 10px rgba(255, 255, 255, 0.5);
}

.spec-value-ultra {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.value-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    line-height: 1;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.8),
        0 4px 20px rgba(255, 255, 255, 0.5);
    position: relative;
    display: inline-block;
}

.value-number::before {
    content: attr(data-value);
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(201, 165, 91, 0.3);
    filter: blur(8px);
    z-index: -1;
}

.value-unit {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.7);
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8);
}

.value-pyeong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8b7355;
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8);
}

.value-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.8),
        0 4px 20px rgba(255, 255, 255, 0.5);
}

.spec-divider {
    width: 2px;
    height: 48px;
    background: 
        linear-gradient(180deg, 
            transparent 0%, 
            rgba(0, 0, 0, 0.4) 20%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.4) 80%, 
            transparent 100%);
    box-shadow: 
        -1px 0 0 rgba(255, 255, 255, 0.3),
        1px 0 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

.spec-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(201, 165, 91, 0.6), transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(201, 165, 91, 0.4);
}

/* 카드 슬라이더 */
.unit-cards-slider {
    position: relative;
    width: 100%;
    overflow: visible;
    z-index: 2;
}

/* 슬라이더 스크롤 힌트 */
.unit-cards-slider::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: rgba(201, 165, 91, 0.5);
    text-shadow: 0 0 20px rgba(201, 165, 91, 0.8);
    animation: scrollHint 2s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes scrollHint {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-50%) translateX(10px);
        opacity: 1;
    }
}

.slider-track {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 10px 0;
}

.slider-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, 
            rgba(0, 0, 0, 0.8) 0%, 
            transparent 10%, 
            transparent 90%, 
            rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    border-radius: 12px;
    opacity: 0.5;
}

.unit-card-ultra {
    flex-shrink: 0;
    width: 140px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    will-change: transform;
    outline: none;
}

/* 포커스 스타일 (키보드 네비게이션) */
.unit-card-ultra:focus {
    outline: 2px solid rgba(201, 165, 91, 0.8);
    outline-offset: 4px;
    border-radius: 16px;
}

.unit-card-ultra:focus-visible {
    outline: 2px solid rgba(201, 165, 91, 1);
    outline-offset: 6px;
}

/* 클릭 피드백 애니메이션 */
.unit-card-ultra:active .card-thumbnail {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.unit-card-ultra::after {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(201, 165, 91, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
}

.unit-card-ultra:hover::after {
    opacity: 1;
}

.card-thumbnail {
    position: relative;
    width: 100%;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 0, 0, 0.7);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.card-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.7) grayscale(0.4);
}

.card-active-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    border: 3px solid rgba(201, 165, 91, 1);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 
        0 0 30px rgba(201, 165, 91, 0.9),
        0 0 60px rgba(201, 165, 91, 0.6),
        inset 0 0 40px rgba(201, 165, 91, 0.4);
    z-index: 2;
}

.card-active-indicator::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.3), rgba(201, 165, 91, 0.1));
    z-index: -1;
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.unit-card-ultra:hover .card-thumbnail {
    transform: translateY(-8px);
    border-color: rgba(201, 165, 91, 0.8);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(201, 165, 91, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.unit-card-ultra:hover .card-thumbnail img {
    transform: scale(1.1);
    filter: brightness(0.9) grayscale(0.1);
}

.unit-card-ultra.active {
    z-index: 10;
}

.unit-card-ultra.active .card-thumbnail {
    border-color: rgba(201, 165, 91, 1);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(201, 165, 91, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.4);
    transform: translateY(-8px) scale(1.05);
}

.unit-card-ultra.active .card-thumbnail img {
    filter: brightness(1.05) grayscale(0);
}

.unit-card-ultra.active .card-active-indicator {
    opacity: 1;
}

.card-label {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.label-type {
    font-family: "DM Serif Text", serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.9);
    position: relative;
}

.label-type::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a55b, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.unit-card-ultra:hover .label-type {
    color: #6a5a45;
}

.unit-card-ultra.active .label-type {
    color: #8b7355;
    text-shadow: 
        0 0 15px rgba(201, 165, 91, 0.9),
        0 2px 4px rgba(255, 255, 255, 1);
    font-weight: 700;
}

.unit-card-ultra.active .label-type::after {
    opacity: 1;
}

.label-area {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.6);
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8);
}

/* 반응형 */
@media (max-width: 1400px) {
    .title-main {
        display: none;
    }
    
    .unit-type-display {
        font-size: 2.8rem;
    }
    
    .unit-selector-bar {
        padding: 25px 40px 20px;
    }
    
    .unit-info-panel {
        top: 120px;
    }
    
    .specs-display {
        padding: 18px 24px;
        gap: 24px;
    }
    
    .spec-icon-ultra {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .unit-header-ultra {
        display: none;
    }
    
    .title-main {
        display: none;
    }
    
    .unit-info-panel {
        top: 60px;
        left: 20px;
        right: 20px;
    }
    
    .info-panel-left {
        padding: 16px 20px;
    }
    
    .unit-type-display {
        font-size: 2rem;
    }
    
    .unit-subtitle-display {
        font-size: 0.85rem;
    }
    
    .unit-selector-bar {
        padding: 20px 20px 15px;
    }
    
    .specs-display {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
        padding: 16px 20px;
    }
    
    .spec-item-ultra {
        gap: 10px;
    }
    
    .spec-icon-ultra {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .spec-divider {
        width: 100%;
        height: 1px;
    }
    
    .slider-track {
        gap: 12px;
        overflow-x: auto;
        overflow-y: visible;
        padding: 10px 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .slider-track::-webkit-scrollbar {
        display: none;
    }
    
    .unit-card-ultra {
        width: 110px;
    }
    
    .card-thumbnail {
        height: 70px;
    }
    
    .value-number {
        font-size: 1.5rem;
    }
    
    .value-text {
        font-size: 1.2rem;
    }
    
    .label-type {
        font-size: 0.75rem;
    }
    
    .label-area {
        font-size: 0.7rem;
    }
}

/* 메인 이미지 카드 (기존 스타일 유지 - 다른 디자인용) */
.unit-main-display {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.unit-image-card {
    background: 
        linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(15, 15, 15, 0.6)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(201, 165, 91, 0.2);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(201, 165, 91, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.unit-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 165, 91, 0.5), transparent);
    opacity: 0.6;
}

.image-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.image-card-badge {
    font-family: "DM Serif Text", serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #c9a55b;
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.2), rgba(201, 165, 91, 0.1));
    border: 1px solid rgba(201, 165, 91, 0.4);
    padding: 8px 20px;
    border-radius: 12px;
    letter-spacing: 0.1em;
    box-shadow: 
        0 4px 12px rgba(201, 165, 91, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.image-zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.2), rgba(201, 165, 91, 0.1));
    border: 1px solid rgba(201, 165, 91, 0.3);
    color: #c9a55b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-zoom-btn:hover {
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.4), rgba(201, 165, 91, 0.3));
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(201, 165, 91, 0.4);
}

.image-card-body {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.unit-image-modern-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.unit-main-image-modern {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.98) contrast(1.02);
    position: relative;
    z-index: 2;
}

.image-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(201, 165, 91, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.unit-image-card:hover .image-glow-effect {
    opacity: 1;
}

.unit-image-card:hover .unit-main-image-modern {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.05);
}

.image-card-footer {
    flex-shrink: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.spec-card-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(201, 165, 91, 0.05), transparent);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.spec-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 165, 91, 0.1), transparent);
    transition: left 0.5s ease;
}

.spec-card-modern:hover::before {
    left: 100%;
}

.spec-card-modern:hover {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, rgba(201, 165, 91, 0.1), transparent);
    border-color: rgba(201, 165, 91, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(201, 165, 91, 0.15);
}

.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.2), rgba(201, 165, 91, 0.1));
    border: 1px solid rgba(201, 165, 91, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a55b;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 
        0 2px 8px rgba(201, 165, 91, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.spec-data {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.spec-label-modern {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.spec-value-group {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.spec-value-modern {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.spec-value-modern::after {
    content: '㎡';
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 2px;
}

.spec-unit {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 2px;
}

.spec-pyeong-modern {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(201, 165, 91, 0.9);
    margin-left: 8px;
}

/* 유니트 선택 카드 그리드 */
.unit-selector-modern {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.unit-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    overflow-y: auto;
    padding-right: 8px;
}

.unit-cards-grid::-webkit-scrollbar {
    width: 6px;
}

.unit-cards-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.unit-cards-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.6), rgba(201, 165, 91, 0.4));
    border-radius: 10px;
}

.unit-cards-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.8), rgba(201, 165, 91, 0.6));
}

.unit-card-modern {
    background: 
        linear-gradient(145deg, rgba(25, 25, 25, 0.7), rgba(15, 15, 15, 0.5)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.unit-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 165, 91, 0.15), transparent);
    transition: left 0.6s ease;
}

.unit-card-modern:hover::before {
    left: 100%;
}

.unit-card-modern:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 165, 91, 0.4);
    background: 
        linear-gradient(145deg, rgba(35, 35, 35, 0.8), rgba(20, 20, 20, 0.6)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(201, 165, 91, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.unit-card-modern.active {
    border-color: rgba(201, 165, 91, 0.6);
    background: 
        linear-gradient(145deg, rgba(201, 165, 91, 0.15), rgba(201, 165, 91, 0.08)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(201, 165, 91, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.unit-card-modern:hover .card-image {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.card-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 165, 91, 0.6), rgba(201, 165, 91, 0.4));
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.unit-card-modern.active .card-overlay-modern {
    opacity: 1;
}

.card-check-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.unit-card-modern.active .card-check-icon {
    transform: scale(1);
}

.card-glow-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    border: 2px solid rgba(201, 165, 91, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(201, 165, 91, 0.4);
}

.unit-card-modern.active .card-glow-border {
    opacity: 1;
}

.card-info-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-type-badge {
    font-family: "DM Serif Text", serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.unit-card-modern.active .card-type-badge {
    color: #c9a55b;
    text-shadow: 0 0 12px rgba(201, 165, 91, 0.5);
}

.card-specs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-area-main {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.02em;
}

.card-area-sub {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

/* 반응형 디자인 */
@media (max-width: 1400px) {
    .unit-section-modern {
        padding: 0 40px;
    }
    
    .unit-title-modern {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .unit-content-modern {
        grid-template-columns: 1fr;
    }
    
    .spec-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .unit-title-modern {
        font-size: 2rem;
        gap: 16px;
    }
    
    .title-line {
        max-width: 60px;
    }
    
    .unit-image-modern-wrapper {
        min-height: 300px;
    }
}

/* 섹션 5: 오버뷰 - 그레이 톤 간결한 디자인 */
#overview {
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #2a2a2a 25%, 
        #222222 50%, 
        #2a2a2a 75%, 
        #1a1a1a 100%);
    color: #fff;
    padding: 60px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

#overview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.01) 100px,
            rgba(255, 255, 255, 0.01) 101px
        );
    pointer-events: none;
    opacity: 0.3;
}

.overview-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.overview-section::before {
    display: none;
}

.overview-section::after {
    display: none;
}

.overview-title {
    position: relative;
    margin-bottom: 40px;
}

.overview-title h2 {
    font-family: "DM Serif Text", serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 0;
    color: #e0e0e0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.overview-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #888, transparent);
    border-radius: 1px;
}

.overview-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    align-items: stretch;
}

.overview-item {
    background: rgba(40, 40, 40, 0.6);
    padding: 35px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.overview-item::after {
    display: none;
}

.overview-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(45, 45, 45, 0.7);
}

.overview-item:hover::before {
    left: 100%;
}

.overview-item h3 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #999;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
    position: relative;
    transition: all 0.3s ease;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.overview-item:hover h3 {
    color: #ccc;
}

.overview-item:hover h3::after {
    opacity: 1;
    width: 50px;
}

.overview-item p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0;
    transition: all 0.3s ease;
    line-height: 1.5;
    letter-spacing: 0.02em;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.overview-item:hover p {
    color: #fff;
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    #overview {
        padding: 50px 0;
    }
    
    .overview-section {
        padding: 40px 30px;
    }
    
    .overview-title {
        margin-bottom: 30px;
    }
    
    .overview-title h2 {
        font-size: 2.2rem;
    }
    
    .overview-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .overview-item {
        padding: 30px 20px;
        height: 170px;
    }
    
    .overview-item h3 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .overview-item p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    /* 오버뷰 섹션 모바일 최적화 - 한 화면에 모두 보이도록 */
    #overview {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin: 0;
        background: linear-gradient(135deg, 
            #1a1a1a 0%, 
            #2a2a2a 25%, 
            #222222 50%, 
            #2a2a2a 75%, 
            #1a1a1a 100%);
    }
    
    .overview-section {
        padding: 30px 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .overview-title {
        margin-bottom: 25px;
        text-align: center;
        width: 100%;
    }
    
    .overview-title h2 {
        font-size: 2.2rem;
        margin-bottom: 0;
    }
    
    .overview-title h2::after {
        width: 40px;
        bottom: -10px;
    }
    
    .overview-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 20px;
        width: 100%;
        display: grid;
        justify-items: center;
    }
    
    .overview-item {
        padding: 25px 15px;
        border-radius: 12px;
        width: 100%;
        text-align: center;
        height: 140px;
    }
    
    .overview-item:hover {
        transform: translateY(-5px);
    }
    
    .overview-item h3 {
        font-size: 0.85rem;
        margin-bottom: 12px;
        font-weight: 600;
    }
    
    .overview-item p {
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* 유니트 섹션 반응형 - 한 화면에 모두 보이도록 최적화 */
    #unit {
        min-height: 100vh;
        padding: 120px 0 40px 0;
        display: flex;
        align-items: center;
        overflow-y: auto;
        margin: 0;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .unit-section {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .unit-header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .unit-title {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .unit-subtitle {
        font-size: 0.95rem;
    }
    
    .unit-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        align-items: flex-start;
    }
    
    .unit-display {
        order: 1; /* 이미지를 위로 */
    }
    
    .unit-selector {
        order: 2; /* 탭을 아래로 */
    }
    
    .unit-image-container {
        padding: 15px 12px;
        border-radius: 12px;
    }
    
    .unit-image-wrapper {
        margin-bottom: 8px;
        max-height: 280px;
    }
    
    .unit-main-image {
        max-height: 280px;
    }
    
    .unit-info-display {
        margin-top: 6px;
    }
    
    .unit-info-display h3 {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    
    .unit-info-display p {
        font-size: 0.85rem;
    }
    
    .unit-tabs {
        gap: 6px;
    }
    
    .unit-tab {
        padding: 8px 10px;
        gap: 8px;
        border-radius: 10px;
    }
    
    .tab-preview {
        width: 45px;
        height: 35px;
        border-radius: 6px;
    }
    
    .tab-info h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .tab-info span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .overview-section {
        padding: 25px 15px;
        max-width: 600px;
    }
    
    .overview-title {
        margin-bottom: 20px;
    }
    
    .overview-title h2 {
        font-size: 2.2rem;
        letter-spacing: 0.1em;
    }
    
    .overview-title h2::after {
        width: 35px;
        bottom: -8px;
    }
    
    .overview-content {
        gap: 12px;
        margin-top: 15px;
    }
    
    .overview-item {
        padding: 20px 12px;
        border-radius: 10px;
        height: 130px;
    }
    
    .overview-item h3 {
        font-size: 0.8rem;
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .overview-item p {
        font-size: 0.95rem;
        font-weight: 600;
        word-break: keep-all;
    }
    
    

    /* 유니트 섹션 480px 이하 최적화 */
    #unit {
        min-height: 100vh;
        padding: 100px 0 30px 0;
        margin: 0;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .unit-section {
        padding: 0 15px;
    }
    
    .unit-header {
        margin-bottom: 15px;
    }
    
    .unit-title {
        font-size: 1.8rem;
        margin-bottom: 4px;
    }
    
    .unit-subtitle {
        font-size: 0.85rem;
    }
    
    .unit-gallery {
        gap: 12px;
    }
    
    .unit-image-container {
        padding: 12px 10px;
        border-radius: 10px;
    }
    
    .unit-image-wrapper {
        margin-bottom: 6px;
        max-height: 220px;
    }
    
    .unit-main-image {
        max-height: 220px;
    }
    
    .unit-info-display {
        margin-top: 4px;
    }
    
    .unit-info-display h3 {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .unit-info-display p {
        font-size: 0.8rem;
    }
    
    .unit-tabs {
        gap: 5px;
    }
    
    .unit-tab {
        padding: 7px 9px;
        gap: 7px;
        border-radius: 8px;
    }
    
    .tab-preview {
        width: 40px;
        height: 30px;
        border-radius: 5px;
    }
    
    .tab-info h4 {
        font-size: 0.85rem;
        margin-bottom: 1px;
    }
    
    .tab-info span {
        font-size: 0.7rem;
    }
    
    /* 오버뷰 섹션 480px 이하 최적화 */
    #overview {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: linear-gradient(135deg, 
            #1a1a1a 0%, 
            #2a2a2a 25%, 
            #222222 50%, 
            #2a2a2a 75%, 
            #1a1a1a 100%);
    }
    
    /* 프로젝트 섹션 480px 이하 최적화 */
    #project {
        min-height: 100vh;
        padding: 80px 0 0 0; /* 헤더 높이만큼 상단 여백 추가 */
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #34495e 75%, #2c3e50 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .mc02_identity {
        padding: 20px 15px;
    }
    
    .top_text_box {
        margin-bottom: 20px; /* 간격 더 축소 */
    }
    
    .top_text_box h5 {
        font-size: 1.8rem; /* 글씨 크기 더 축소 */
        margin-bottom: 15px; /* 간격 더 축소 */
    }
    
    .top_text_box p {
        font-size: 1rem; /* 글씨 크기 더 축소 */
    }
    
    .identity_ul {
        gap: 12px; /* 간격 더 축소 */
    }
    
    .text_box {
        padding: 20px 30px; /* 패딩 더 축소 */
        border-radius: 20px;
    }
    
    .text_box h5 {
        font-size: 1.3rem; /* 글씨 크기 더 축소 */
        margin-bottom: 6px;
    }
    
    .text_box p {
        font-size: 0.85rem; /* 글씨 크기 더 축소 */
    }
    
    .identity_li:hover .text_box {
        transform: translateY(-3px) scale(1.01); /* 호버 효과 더 축소 */
    }
    
    /* 프리미엄 섹션 480px 이하 최적화 */
    #premium {
        min-height: calc(100vh - 100px); /* 헤더 높이 고려 */
        padding: 0;
        margin: 0;
        background: #000; /* 프리미엄 섹션 배경색 */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.unit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.unit-image {
    text-align: center;
}

.unit-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
}

.unit-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.unit-type {
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

.unit-type:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.2);
}

.unit-type.active {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.2);
}

.unit-type h3 {
    font-family: "DM Serif Text", serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: white;
}

.unit-desc {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f39c12;
}

.unit-detail {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}


/* 푸터 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo:hover .logo-text {
    color: #f39c12;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    transform: scale(1.05);
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-info p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    opacity: 0.6;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes cardFloat {
    from {
        transform: perspective(1000px) rotateY(0deg) translateY(0);
    }
    to {
        transform: perspective(1000px) rotateY(5deg) translateY(-10px);
    }
}

/* 아이콘 스타일 */
.icon-location::before {
    content: "📍";
}

.icon-quality::before {
    content: "⭐";
}

.icon-security::before {
    content: "🔒";
}

.icon-phone::before {
    content: "📞";
}

.icon-email::before {
    content: "✉️";
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    /* 스크롤 스냅 비활성화 */
    #fullpage {
        scroll-snap-type: none;
    }
    
    .section {
        scroll-snap-align: none;
        min-height: auto;
        height: auto;
        padding: 60px 0;
    }
    
    /* 메인 배너는 전체 화면 유지 */
    #main-banner {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .main-subtitle {
        font-size: 1.2rem;
    }
    
    .banner-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .project-content,
    .unit-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-features {
        grid-template-columns: 1fr;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .nav-btn.prev {
        left: 15px;
    }
    
    .nav-btn.next {
        right: 15px;
    }
    
    .premium-card {
        margin: 0 20px;
    }
    
    .card-content {
        padding: 30px 20px;
    }
    
    .card-content h3 {
        font-size: 2rem;
    }
    
    .unit-type {
        padding: 20px;
    }
    
    .unit-type h3 {
        font-size: 1.5rem;
    }
    
    .consult-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* 스크롤 스냅 완전 비활성화 */
    #fullpage {
        scroll-snap-type: none;
    }
    
    .section {
        scroll-snap-align: none;
        min-height: auto;
        height: auto;
        padding: 40px 0;
    }
    
    /* 메인 배너는 전체 화면 유지 */
    #main-banner {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .main-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .banner-dots {
        bottom: 30px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
}


/* ============================================
   섹션 애니메이션 (모든 섹션)
   ============================================ */

/* 메인 배너 섹션 애니메이션 */
.hero-content-inner {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content-inner.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.hero-right-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.hero-right-image.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-indicator {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.scroll-indicator.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 프로젝트 섹션 애니메이션 */
.top_text_box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.top_text_box.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.identity_li {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.identity_li.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.identity_li.animate-in .text_box {
    animation: cardShine 1.5s ease-in-out;
}

@keyframes cardShine {
    0% {
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(201, 165, 91, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

/* 사업개요 섹션 애니메이션 */
.overview-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.overview-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.overview-title.animate-in h2::after {
    animation: lineExpand 0.8s ease-out 0.3s;
}

@keyframes lineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 60px;
    }
}

.overview-item {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.overview-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: itemGlow 1.2s ease-out;
}

@keyframes itemGlow {
    0% {
        box-shadow: 
            0 8px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.4),
            0 0 20px rgba(201, 165, 91, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 
            0 8px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
}

/* 숫자 카운터 애니메이션 효과 */
.overview-item.animate-in p {
    animation: numberPulse 0.3s ease-out 0.5s;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: #c9a55b;
    }
}

/* 프로젝트 섹션 - 카드 호버 시 추가 효과 */
.identity_li.animate-in:hover .text_box {
    animation: none; /* 호버 시 기본 애니메이션 제거 */
}

/* 사업개요 섹션 - 아이템 호버 시 추가 효과 */
.overview-item.animate-in:hover {
    animation: none; /* 호버 시 기본 애니메이션 제거 */
}

/* 프리미엄 섹션 애니메이션 */
.premium-text {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-text.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.premium-card-container {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card-container.animate-in {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.premium-card-container.animate-in .photo-card {
    animation: cardFloat 1.5s ease-out;
}

@keyframes cardFloat {
    0% {
        transform: translateY(20px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 35px 70px rgba(0,0,0,0.4);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    }
}

/* 유니트 섹션 애니메이션 */
.unit-header {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.unit-image-container {
    opacity: 0;
    transform: translateX(-40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-image-container.animate-in {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.unit-tab {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-tab.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.unit-tab.animate-in:hover {
    transform: translateX(8px); /* 호버 시 기본 효과 유지 */
}

.unit-tab.animate-in.active {
    transform: translateX(10px); /* Active 시 기본 효과 유지 */
}

/* 단지 안내 섹션 애니메이션 */
.complex3d-stage {
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.complex3d-stage.animate-in {
    opacity: 1;
    transform: scale(1);
    animation: stageReveal 1.2s ease-out;
}

@keyframes stageReveal {
    0% {
        filter: blur(10px);
    }
    100% {
        filter: blur(0);
    }
}

.kakao-map-container {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.kakao-map-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.complex3d-notice {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.complex3d-notice.animate-in {
    opacity: 1;
    transform: translateY(0);
}

