﻿/* Index 페이지 전용 스타일 */

/* 메인 비주얼 슬라이드 */
.main-visual {
    height: 100vh;
    position: relative;
    display: flex;
    color: var(--bg-white);
    align-items: flex-start;

    overflow: hidden;
}
.mv-left-cards {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 5;
    pointer-events: none;
}
.mv-feature-card {
    --card-bg: rgba(3,21,70,0.55);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: linear-gradient(145deg, rgba(3,21,70,1), rgba(3,21,70,1));
    border: 1px solid rgba(255,255,255,0.15);
    padding: 14px 18px 14px 54px;
    min-width: 260px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(.96);
    transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94), box-shadow .5s ease;
}
.mv-feature-card::before, .mv-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.mv-feature-card::before {
    background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18), transparent 60%);
    mix-blend-mode: screen;
    opacity: .9;
}
.mv-feature-card::after {
    background: linear-gradient(110deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 55%);
    opacity: .25;
}
.mv-feature-card.show { opacity: 1; transform: translateY(0) scale(1); }
.mv-feature-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.32), inset 0 0 0 1px rgba(255,255,255,0.08); }
.mv-feature-card .mv-index {
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #EC6627;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 2px 4px rgba(0,0,0,0.3);
}
.mv-feature-card .mv-text {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    color: #fff;
    letter-spacing: .5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.mv-feature-card .mv-small {
    font-size: 11px;
    opacity: .7;
    font-weight: 400;
    letter-spacing: 0;
}
/* 스크롤 인디케이터 */
.mv-scroll-indicator { position:relative; margin-top:28px; padding-left:6px; display:flex; flex-direction:column; align-items:center;
    justify-content: center;
    gap:10px; transform:translateX(-6px); }
.mv-scroll-text { font-size:20px; font-weight:500; letter-spacing:4px; text-transform:uppercase; color:#AD9F90; writing-mode:vertical-lr; transform:rotate(0deg); opacity:0; animation: mvScrollFade 1.6s ease forwards 1s; }
.mv-scroll-arrow { width:2px; height:100px; background:linear-gradient(to bottom, rgba(173,159,144,0.15), #AD9F90 65%, rgba(173,159,144,0)); position:relative; overflow:hidden; border-radius:2px; }
.mv-scroll-arrow::after { content:''; position:absolute; top:0; left:50%; width:8px; height:8px; transform:translate(-50%, -50%) rotate(45deg); border-left:2px solid #AD9F90; border-bottom:2px solid #AD9F90; animation: mvArrowDown 2.2s cubic-bezier(.25,.46,.45,.94) infinite; }
@keyframes mvArrowDown { 0%{ top:0; opacity:0; } 20%{ opacity:1; } 55%{ opacity:1; } 100%{ top:100%; opacity:0; } }
@keyframes mvScrollFade { to { opacity:.85; } }
@media (max-width: 1200px){
  .mv-left-cards { left: 20px; }
  .mv-feature-card { min-width: 230px; padding: 12px 16px 12px 50px; }
  .mv-feature-card .mv-text { font-size: 14px; }
}
@media (max-width: 980px){
  .mv-left-cards { display: none; }
}
.main-visual img {
    width: 100%;
    height: 100%;

}

/* 슬라이드별 색상 테마 */
.main-visual.theme-1 {
    color: #ffffff;
}

.main-visual.theme-1 .main-title {
    color: #ffffff;
}

.main-visual.theme-1 .main-subtitle {
    color: #ffffff;
}

.main-visual.theme-1 .visual-content::after {
    background: #ffffff;
}



.main-visual.theme-2 {
    color: #ffffff;
}

.main-visual.theme-2 .main-title {
    color: #ffffff;
}

.main-visual.theme-2 .main-subtitle {
    color: #ffffff;
}

.main-visual.theme-2 .visual-content::after {
    background: #ffffff;
}




.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: kenburnsZoom 18s ease-in-out both;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    z-index: 1;
}

.slide.slide1 {
    background-image: url('../images/main-bg.jpg');
}

/* 슬라이드1: 이중 이미지 레이어 (배경 축소, 전경 확대) */
.slide.slide1 {
        background: none; /* 기본 배경 제거, 내부 레이어 사용 */
}
.slide.slide1.active { animation: none; } /* 기본 Ken Burns 비활성화 */
.slide1-layer { position:absolute; inset:0; display:block; overflow:hidden; }
.slide1-layer img { width:100%; height:100%; object-fit:cover; transform-origin:center center; }

/* 배경 레이어: 서서히 축소 */
.slide1-bg img { animation: slide1ZoomOut 18s ease-in-out both; }
/* 전경 레이어: 서서히 확대 */
.slide1-fg { mix-blend-mode: normal; }
.slide1-fg img { 
    animation: slide1ZoomIn 18s ease-in-out both; 
    opacity: .98; 
    object-position: center; 
    transform-origin: center;
}

@keyframes slide1ZoomOut {
    0% { transform: scale(1.1) translate3d(0,0,0); }
    100% { transform: scale(1) translate3d(0,0,0); }
}
@keyframes slide1ZoomIn {
    0% { transform: scale(1) translate3d(0,0,0); }
    100% { transform: scale(1.1) translate3d(0,0,0); }
}


.visual-content {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    
}
.mv-hero-wrapper { position: relative; white-space: nowrap; width: 100%;     align-items: center; display: flex; justify-content: center;}
.mv-hero-text { position: relative; pointer-events: none; }
.mv-hero-text:not(.is-active){ opacity:0; transform:translateY(25px) scale(.97); transition:opacity .6s ease, transform .7s cubic-bezier(.25,.46,.45,.94); position:absolute; top:0; left:0; }
.mv-hero-text.is-active{ opacity:1; transform:translateY(0) scale(1); transition:opacity .8s ease, transform .9s cubic-bezier(.25,.46,.45,.94); }
.mv-hero-text.is-leaving{ opacity:0; transform:translateY(-20px) scale(.98); }

.mv-line { 
    margin:0; 
    line-height:1.15; 
    font-weight:300; 
    font-size: clamp(60px,3vw,80px); 
    display:flex; 
    flex-wrap:wrap; gap:14px; 
}

.mv-line span.accent {
    font-weight:600; 
}

.mv-line-2 { 
    margin-top:30px; 
    font-weight:600; 
    justify-content: center;
    font-size: clamp(50px,2vw,70px); 
    
}

.mv-word {
    color: #fff;
    display:inline-block;
    will-change: transform, filter, opacity;
}

/* 히어로 로고: 초기 비가시 상태, 아래 방향 슬라이드 인 */
.mv-logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 32px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .7s ease, transform .8s cubic-bezier(.25,.46,.45,.94);
    pointer-events: none; /* 마우스 이벤트는 안쪽에서 처리 */
}
.mv-logo-wrap.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.mv-logo-inner {
    position: relative;
    display: inline-block;
    will-change: transform;
    pointer-events: auto;
}
.mv-logo-inner img {
    width: clamp(120px, 16vw, 240px);
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
}

.mv-small-block { 
    font-size: clamp(30px,1.2vw,70px); 
    font-weight:600; line-height:1.35; 
    letter-spacing:.5px; 
    margin-bottom:24px; 
    display:flex; 
    flex-wrap:wrap; 
    gap:10px; 
}

.mv-big-line { font-size: clamp(60px,5vw,90px); line-height:1.1; font-weight:700; letter-spacing:-1.5px; margin:0; display:flex; flex-wrap:wrap; gap:18px; }
.mv-big-line .mv-word { font-weight:600; }
@keyframes mvAccent { to { width:100%; } }
.mv-tagline { margin-top:24px; font-size: clamp(16px,1.4vw,24px); font-weight:400; letter-spacing:.5px; color:#fff; background:linear-gradient(90deg,rgba(255,255,255,0.08),rgba(255,255,255,0)); padding:8px 18px; display:inline-block; border-radius:40px; position:relative; overflow:hidden; }
.mv-tagline strong{ color:#EC6627; font-weight:700; }
.mv-tagline::before { content:''; position:absolute; inset:0; background:linear-gradient(110deg,rgba(255,255,255,0.15),rgba(255,255,255,0) 55%); opacity:.35; mix-blend-mode:screen; }
.mv-floating-emblem { position:absolute; top:-80px; left:-140px; right:auto; width:180px; height:180px; opacity:.0; animation: emblemIn 1.2s ease 1s forwards; filter:drop-shadow(0 8px 24px rgba(0,0,0,0.35)); }
.mv-floating-emblem img { display:none; }
/* 원형 회전 텍스트 엠블럼 (좌측 고정 + 순수 회전) */
.mv-floating-emblem .mv-circular-text { width:100%; height:100%; animation: mvRotate 18s linear infinite 2.2s; transform-origin:50% 50%; }
.mv-circular-text-content { font: 600 13px/1 'Pretendard', sans-serif; letter-spacing:3px; fill:#ffffff; text-transform:uppercase; }
@media (max-width: 1200px){ .mv-circular-text-content{ font-size:11px; letter-spacing:2px; } }
/* 동적 톤 적용 (밝은 배경 -> primary-color, 어두운 배경 -> white) */
.mv-floating-emblem.is-light .mv-circular-text-content { fill: var(--primary-color) !important; }
.mv-floating-emblem.is-dark .mv-circular-text-content { fill: #ffffff !important; }
@keyframes emblemIn { 0%{ transform:scale(.4) rotate(-25deg); opacity:0;} 60%{opacity:1;} 100%{ transform:scale(1) rotate(0deg); opacity:1;} }
@keyframes emblemFloat { 0%,100% { transform:translateY(0);} 50%{ transform:translateY(-18px);} }
@keyframes mvRotate { to { transform: rotate(360deg); } }
.mv-hero-indicators { position:absolute; left:4px; bottom:-46px; display:flex; gap:10px; }
.mv-hero-indicators .dot { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.4); border:none; cursor:pointer; transition:background .35s ease, transform .4s cubic-bezier(.25,.46,.45,.94); position:relative; }
.mv-hero-indicators .dot.active { background:#EC6627; transform:scale(1.35); }
.mv-hero-indicators .dot::after { content:''; position:absolute; inset:-6px; border-radius:50%; background:rgba(236,102,39,0.18); opacity:0; transform:scale(.4); transition:opacity .55s ease, transform .6s cubic-bezier(.25,.46,.45,.94); }
.mv-hero-indicators .dot.active::after { opacity:1; transform:scale(1); }
@media (max-width: 1200px){ .mv-floating-emblem { top:-60px; right:-60px; width:140px; height:140px; } }
@media (max-width: 980px){ .mv-floating-emblem { display:none; } .mv-hero-indicators{ bottom:-38px; } }



/* 이미지 컨테이너 (실선 우측) */
.visual-image {
    position: absolute;
    left: 150%;
    right: -150%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 스크롤 트리거 애니메이션 */
.main-visual.animate .visual-image {
    animation: imageFadeIn 1s ease-out 1.5s forwards;
}


.main-visual.title-animate .main-subtitle {
    animation: subtitleFadeIn 0.8s ease-out forwards;
}

.main-title {
    font-size: var(--font-size-4xl);
    font-weight: 300;
    letter-spacing: -2px;
    opacity: 1;
    line-height: 1.2;
    transition: color 0.8s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
}

.main-title.animate-ready .char {
    animation: charFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.main-subtitle {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    margin-top: var(--spacing-md);
    color: var(--bg-white);
    opacity: 0;
    transform: translateY(30px);
    transition: color 0.8s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ABOUT US 섹션 */
.about-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-white);
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-content {
    opacity: 0;
    transform: translateX(-50px);
}

.about-content.animate {
    animation: slideInLeft 0.8s ease-out forwards;
}

.about-image {
    opacity: 0;
    transform: translateX(50px);
}

.about-image.animate {
    animation: slideInRight 0.8s ease-out forwards;
}

.section-title {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
}

.about-title {
    font-size: var(--font-size-3xl);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
    line-height: 1.4;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.about-text p {
    margin-bottom: var(--spacing-sm);
}

.about-highlight {
    color: var(--text-primary);
}

.about-highlight strong {
    color: var(--primary-color);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* INVESTMENT 섹션 */
.investment-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-light);
    text-align: center;
}

.investment-title {
    font-size: var(--font-size-2xl);
    font-weight: 400;
    margin-bottom: var(--spacing-3xl);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(30px);
}

.investment-title.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.investment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.card {
    background: var(--bg-white);
    padding: var(--spacing-2xl) var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
    opacity: 0;
    transform: translateY(50px);
}

.card.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

.card:hover {
    transform: translateY(-var(--spacing-sm));
}

.card-icon {
    margin-bottom: var(--spacing-lg);
}

.card-icon img {
    width: var(--spacing-3xl);
    height: var(--spacing-3xl);
}

.card h5 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.card-number {
    color: var(--primary-color);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

/* PREMIUM 섹션 */
.premium-section {
    display: flex;
    height: 100vh;
    background: var(--bg-white);
}

.premium-left {
    width: 40%;
    background: var(--primary-color);
    
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--spacing-4xl);
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.premium-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.premium-left::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('../images/premium-bg.png') no-repeat bottom left;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.premium-title {
    font-size: var(--font-size-7xl);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-lg);
    color: var(--bg-white);
    font-family: "gmarket-sans-bold";
    line-height: 1.5;
}

.premium-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-3xl);
    line-height: 1.5;
    opacity: 0.9;
}

.premium-nav {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.premium-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--bg-white);
    background: transparent;
    color: var(--bg-white);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-btn:hover {
    background: var(--bg-white);
    color: #1a4a4a;
}

.premium-right {
    width: 60%;
    position: relative;
    overflow: hidden;
}

.premium-slider {
    height: 100%;
    position: relative;
}

.premium-slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.premium-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.premium-slide.clone {
    pointer-events: none;
}

.premium-content {
    display: grid;
    gap: var(--spacing-xl);
    padding: var(--spacing-3xl);
    width: 1000px;
    align-items: center;
    z-index: 0;
}

.premium-info {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
}

.premium-info h4 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 0.9;
    font-family: 'GmarketSansBold';
}

.premium-info p {
    color: var(--text-secondary);
    font-size: var(--font-size-3xl);
}

.premium-image {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;

}

.premium-image img {
    max-width: 60%;
    height: auto;
}

/* 수직 슬라이드 이미지 */
.premium-vertical-slides {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh; /* 전체 높이 사용 */
    overflow: hidden;
    z-index: 10;
    background: var(--bg-white);
    display: flex;
    align-items: flex-start; /* 최상단 정렬 */
    border-left: 3px solid var(--primary-color);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.3s;
}

.premium-right.animate .premium-vertical-slides {
    opacity: 1;
    transform: translateX(0);
}

.premium-vertical-slides::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 5;
}

.premium-vertical-slides::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 5;
}

.premium-vertical-wrapper {
    display: flex;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 100px var(--spacing-sm) var(--spacing-lg) 0; /* 상단 패딩을 그라데이션 영역만큼 추가 */
}

.premium-vertical-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
        
    width: 300px;
    height: 200px; 
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 3px solid transparent;
    opacity: 0.5;
    flex-shrink: 0;
    background: var(--bg-white);
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md); /* 아이템 간 간격 추가 */
}
.premium-vertical-label {
    color: var(--text-secondary);
    text-align: center;
    font-family: 'GmarketSansBold';
    font-size: var(--font-size-2xl);
    font-weight: 500;
}

.premium-vertical-item.active .premium-vertical-label {
    color: var(--primary-color);
}

.premium-vertical-item.active {
    opacity: 1;
    z-index: 5;
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.premium-vertical-item:not(.active):hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.premium-vertical-item img {
    max-width: 120px;
    max-height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.premium-vertical-item.clone {
    pointer-events: auto;
}

/* 패럴렉스 스크롤 섹션 */
.parallax-section {
    height: 400vh; /* 스크롤 길이 설정 */
    position: relative;
    background: var(--bg-light);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.parallax-section.animate {
    opacity: 1;
}

.parallax-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-content {
    width: 100%;
    height: 100%;
    position: relative;
    /* display: flex 제거 */
    /* transition 제거 - JavaScript에서 제어 */
}

.parallax-item {
    width: 100%;
    height: 100%;
    position: absolute; /* 절대 위치로 변경 */
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-8xl);
    opacity: 1; /* 기본 opacity 1로 설정 */
    transform: translateX(100%); /* 초기 위치를 오른쪽 밖에 */
    transition: none; /* 트랜지션 제거 - JavaScript에서 제어 */
    z-index: 1; /* 기본 z-index */
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3); /* 그림자 추가 */
}

.parallax-item:first-child {
    transform: translateX(0); /* 첫 번째 아이템은 보이는 위치에 */
    z-index: 2; /* 첫 번째 아이템의 z-index를 높게 */
}

.parallax-item.active {
    /* opacity: 1 제거 */
    /* transform: translateX(0) 제거 */
    z-index: 10; /* 활성 아이템의 z-index를 가장 높게 */
}

.parallax-item:nth-child(1) {
        background:  var(--primary-color);
        color:#3C3C3C;
}




.parallax-item:nth-child(2) {
    background:var(--sub-color);
    color:  #3C3C3C;
}

.parallax-item:nth-child(3) {
    background:var(--sub-color);
    color:  #3C3C3C;
}

.parallax-item:nth-child(4) {
    background:var(--sub-color);
    color:  #3C3C3C;
}
.parallax-item:nth-child(5) {
    background:var(--sub-color);
    color: #3C3C3C;
}
.parallax-item:nth-child(6) {
    background:var(--sub-color);
    color:  #3C3C3C;
}
.parallax-item:nth-child(7) {
    background:var(--sub-color);
    color:  #3C3C3C;
}
/* PC: 모든 패럴렉스 아이템 배경을 공통 이미지로 지정 */
@media (min-width: 769px){
    .parallax-item:nth-child(1),
    .parallax-item:nth-child(2),
    .parallax-item:nth-child(3),
    .parallax-item:nth-child(4),
    .parallax-item:nth-child(5),
    .parallax-item:nth-child(6),
    .parallax-item:nth-child(7){
        background-image: url('../images/sec02_bg.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    /* 흰색 오버레이 (배경 이미지 위, 콘텐츠 아래) */
    .parallax-item::before{
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.532);
        pointer-events: none;
        z-index: 0;
    }
    .parallax-item > *{ position: relative; z-index: 1; }
}


.parallax-text {
    flex: 1.6; /* 텍스트 영역을 더 넓게 */
    max-width: 1000px;
    white-space: nowrap;
}

.parallax-text h3 {
    font-size: 15px;
    font-family: serif;
    font-weight: 400;
    color: rgba(119, 119, 119, 0.529);
    margin-top: var(--spacing-4xl);
    letter-spacing: 2px;
}

.parallax-text h4 {
    font-size: calc(30px + 5vw);
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    line-height: 1.2;
    
}
.parallax-text h4 strong{
    font-weight: 600;
}

.parallax-text p {
    font-size: 25px;
    line-height: 1.6;
    opacity: 0.9;
}


.parallax-image {
    flex: 0.4; /* 이미지 영역을 상대적으로 좁게 */
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(30px);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-item.active .parallax-image {
    transform: translateX(0);
}

.parallax-item video {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

}

.parallax-image img {
    min-height: 500px;
    max-height: 700px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 비디오 호버 효과 */
.parallax-item.active .parallax-image video {
    transform: scale(1.02);
}

/* 비디오가 로드되지 않았을 때 fallback 이미지 스타일 */
.parallax-image video + img {
    display: none;
}

.parallax-image video[poster] + img {
    display: block;
}

/* 프로그레스 바 */
.parallax-progress {
    position: fixed;
    bottom: var(--spacing-4xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: none; /* 기본적으로 숨김 */
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

/* 패럴렉스 섹션이 활성화될 때만 표시 */
.parallax-section.active .parallax-progress {
    display: flex;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: white;
    width: 25%;
    transition: width 0.2s ease;
    border-radius: 2px;
}

.progress-dots {
    display: flex;
    gap: var(--spacing-sm);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid white;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* 액션 버튼 섹션 */
.action-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.8s ease;
    height: 70vh; 
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    
}

.action-section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 기본 배경 이미지 */
.action-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/basic-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: all 0.8s ease;
    z-index: 0;
}

/* 기본 검정 오버레이 */
.action-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: all 0.8s ease;
    z-index: 1;
}

/* 사업개요 버튼 호버 시 배경 */
.action-section.business-bg::before {
    background-image: url('../images/overview-1.jpg');
}

.action-section.business-bg::after {
    background: rgba(0, 0, 0, 0.6);
}

/* 관심고객등록 버튼 호버 시 배경 */
.action-section.customer-bg::before {
    background-image: url('../images/registration-1.jpg');
}

.action-section.customer-bg::after {
    background: rgba(0, 0, 0, 0.6);
}

.action-container {
    width: 100%;
    height: 100%;
    padding: 0 var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.action-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
        width: 100%;
    height: 100%;
}
.action-button-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.action-btn {
    flex: 1;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;

}

.action-btn:hover {
    transform: translateY(-8px);
}

.btn-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    color: white;
    transition: all 0.4s ease;
    opacity: 0.5;
}

.btn-content:hover {
    opacity: 1;
}

.btn-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    transition: all 0.4s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    
}

.btn-content p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    transition: all 0.4s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-content i {
    font-size: var(--font-size-lg);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    color: white;
}


.business-overview:hover .btn-bg {
    opacity: 1;
}

.business-overview:hover .btn-content i {
    opacity: 1;
    transform: translateX(0);
}


.customer-register:hover .btn-bg {
    opacity: 1;
}

.customer-register:hover .btn-content i {
    opacity: 1;
    transform: translateX(0);
}

/* 버튼 호버시 화살표 표시 */
.action-btn:hover .btn-content i {
    opacity: 1;
    transform: translateX(0);
}

.customer-register:hover .btn-content i {
    opacity: 1;
    transform: translateX(0);
}



/* 버튼 클릭 효과 */
.action-btn:active {
    transform: translateY(-4px) scale(0.98);
}

/* 리플 효과 */
.action-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 3;
    pointer-events: none;
    border-radius: 50%;
}

.action-btn:active::after {
    width: 300px;
    height: 300px;
}

/* 동그라미 네비게이션 */
.premium-circle-nav {
    position: absolute;
    right: -60px;
    top: 10%;
    transform: translateY(-50%);
    z-index: 20;
    opacity: 0;
    transition: all 0.6s ease;
}

.premium-circle-nav.animate {
    opacity: 1;
    animation: bounceIn 0.8s ease-out forwards;
}

/* 회전하는 배경 요소 
.circle-bg-rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotateCircle 20s linear infinite;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

/* SVG 회전 텍스트 컨테이너 */
.circle-text-svg {
    width: 170px;
    height: 170px;
    animation: rotateCircleText 15s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 회전하는 텍스트 스타일 */
.circle-rotating-text {
    fill: var( --text-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    font-family: 'Pretendard', sans-serif;
    text-transform: uppercase;
}

/* 동그라미 버튼 */
.circle-nav-btn {
    position: relative;
    width: 120px;
    height: 120px;
    background: var(--primary-dark);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.circle-nav-btn:hover {
    border-color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* 회전 애니메이션 */
@keyframes rotateCircle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateCircleText {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

/* ==============================
     Parallax: GradientText 효과 (PC Only)
     - React GradientText 컴포넌트와 동일한 시각 효과를 CSS로 구현
     - 배경 그라디언트를 텍스트에 클립하여 애니메이션
     ============================== */
@media (min-width: 769px){
    /* 공용 키프레임 (배경 이동) */
    @keyframes gt-gradient-shift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* 모든 패럴렉스 아이템 타이틀에 적용 */
    .parallax-item .parallax-text h4 {
            /* 기본 애니메이션/클립 설정 (색상은 nth-child별로 오버라이드) */
            background-image: linear-gradient(to right, #003E82, #2976AE, #003E82, #2976AE, #003E82); /* 1번 기본값 */
        background-size: 300% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: gt-gradient-shift linear infinite;
        animation-duration: 8s; /* animationSpeed=8 과 동일 */
    }

    /* 필요 시 nth-child 별로 팔레트 변주 (동일 효과 유지, 색만 살짝 변주)
         원하지 않으면 아래 블록들은 무해합니다. */
        .parallax-item:nth-child(1) .parallax-text h4 { /* 1번 */
            background-image: linear-gradient(to right, #003E82, #2976AE, #003E82, #2976AE, #003E82);
        }
        .parallax-item:nth-child(2) .parallax-text h4 { /* 2번 */
            background-image: linear-gradient(to right, #A7CBF0, #E1E4F1, #A7CBF0, #E1E4F1, #A7CBF0);
        }
        .parallax-item:nth-child(3) .parallax-text h4 { /* 3번 */
            background-image: linear-gradient(to right, #312833, #70586C, #312833, #70586C, #312833);
        }
        .parallax-item:nth-child(4) .parallax-text h4 { /* 4번 */
            background-image: linear-gradient(to right, #D56248, #EFB7AC, #D56248, #EFB7AC, #D56248);
        }
        .parallax-item:nth-child(5) .parallax-text h4 { /* 5번 */
            background-image: linear-gradient(to right, #234A1B, #577F4D, #234A1B, #577F4D, #234A1B);
        }
        .parallax-item:nth-child(6) .parallax-text h4 { /* 6번 */
            background-image: linear-gradient(to right, #290D05, #5F3A2E, #290D05, #5F3A2E, #290D05);
        }
        .parallax-item:nth-child(7) .parallax-text h4 { /* 7번 */
            background-image: linear-gradient(to right, #80572E, #EACE99, #80572E, #EACE99, #80572E);
        }
}

/* 애니메이션 키프레임 */
/* 메인 비주얼: 느린 확대(ken burns) */
@keyframes kenburnsZoom {
    0% {
        transform: scale(1) translate3d(0,0,0);
    }
    100% {
        transform: scale(1.08) translate3d(0,0,0);
    }
}
@keyframes charFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 200px;
    }
}

@keyframes imageFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUpScale {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================================================
   Index 페이지 모바일 반응형 디자인 (360px 기준)
   ================================================================= */

/* 모바일 메인 비주얼 */
@media screen and (max-width: 768px) {

    .plan-gallery-section{ 
        display:none; 
    }
    .premium-circle-nav {
        
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: 0;
    }
    .premium-vertical-slides {
        display: none;
    }
    .premium-content {
        margin-top: 10px;
        width: 100%;
        height: auto;
        justify-content: center;
        padding: 0;
    }
    .premium-image {
        max-width: 150px;
        max-height: 150px;
    }
    .premium-image img {
        width: 100%;
        height: auto;
    }
    
    .premium-info h4 {
        font-size: 50px;
        line-height: 1.2;
    }
    .premium-info p {
        font-size: 20px;
    }
    .main-visual {
        display: none;
    }

    .visual-content {
        top: 20%;
        padding: 0 15px;
    }

    .main-title {
        font-size: 28px;
        letter-spacing: -1px;
        line-height: 1.3;
    }

    .main-subtitle {
        font-size: 18px;
        margin-top: 15px;
    }

    .visual-content::after {
        top: 80px;
        height: 0px;
        width: 1px;
    }



    /* ABOUT US 섹션 */
    .about-section {
        padding: 40px 0;
    }

    .about-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .section-title {
        font-size: 12px;
    }

    .about-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-text p {
        margin-bottom: 15px;
    }

    .about-highlight {
        font-size: 16px;
        margin: 20px 0;
        padding: 15px;
    }

    .about-image img {
        width: 100%;
        height: auto;
        max-width: 400px;
    }

    /* INVESTMENT 섹션 */
    .investment-section {
        padding: 40px 0;
    }

    .investment-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .investment-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 25px 20px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .card h5 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .card-number {
        font-size: 20px;
    }

    /* PREMIUM 섹션 */
    .premium-section {
        display: grid;
        
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .premium-left {
        text-align: center;
        padding: 0 15px;
        width: 100%;
    }

    .premium-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .premium-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .premium-nav {
        gap: 10px;
        margin: 0 auto;
    }

    .premium-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .premium-right {
        order: -1;
        width: 100%;

    }
    .premium-slide {
        height: 300px;
    }

    .premium-slider {
        height: 300px;
    }

    .premium-vertical-slides {
        height: 300px;
    }

    .premium-vertical-item {
        height: 100px;
    }

    .premium-vertical-label {
        font-size: 12px;
        padding: 5px 10px;
    }

    /* 패럴렉스 섹션 - 모바일에서는 간단한 슬라이더로 변경 */
    .parallax-section {
        padding: 20px 0;
        height: auto; /* 고정 높이 제거 */
        background: var(--bg-light);
    }

    .parallax-container {
        position: relative; /* sticky 제거 */
        height: auto; /* 고정 높이 제거 */
        display: block; /* flex 제거 */
        overflow: visible; /* 오버플로우 표시 */
    }

    .parallax-content {
        padding: 0 15px;
        height: auto;
        position: relative;
        overflow: hidden;
    }

    .parallax-text {
        padding-right: 0;
        max-width: 100%;
        white-space: normal; /* 줄바꿈 허용 */
        
    }

    .parallax-item {
        display: block; /* flex 제거 */
        position: relative; /* 절대 위치 제거 */
        transform: none; /* 변형 제거 */
        opacity: 1; /* 투명도 초기화 */
        margin-bottom: 40px; /* 아이템 간 간격 */
        padding: 50px 20px;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        background: white;
        z-index: auto; /* z-index 초기화 */
        
        
    }
    

    .parallax-item:last-child {
        margin-bottom: 0;
    }

    /* 배경색 유지 */
    .parallax-item:nth-child(1) {
        background:  var(--primary-color);
        color:#FFFFFF;
    }

    .parallax-item:nth-child(2) {
        background: #F7F7F7;
        color: var(--primary-color);
    }

    .parallax-item:nth-child(3) {
        background: #D3CBC6;
        color: var(--primary-color);
    }

    .parallax-item:nth-child(4) {
        background: #E3E5E5;
        color: var(--primary-color);
    }

    .parallax-text h3 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .parallax-text h4 {
        font-size: 20px;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .parallax-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .parallax-image {
        margin-top: 20px;
        transform: none; /* 변형 제거 */
    }

    .parallax-image video,
    .parallax-image img {
        max-width: 100%;
        max-height: 250px;
        border-radius: 10px;
    }

    /* 프로그레스 바 숨김 */
    .parallax-progress {
        display: none !important;
    }
}

/* 360px 기준 초소형 모바일 */
@media screen and (max-width: 390px) {
    
    .main-visual {
        
        min-height: 350px;
    }
    .visual-image {
        width: 80%;
        height: auto;
    }

    .visual-content {
        top: 20%;
        padding: 0 10px;
    }

    .main-title {
        font-size: 20px;
    }

    .main-subtitle {
        font-size: 20px;
        margin-top: 10px;
    }

    .visual-content::after {
        top: 80px;
        height: 50px;
    }

    .about-section {
        padding: 30px 0;
    }

    .about-title {
        font-size: 20px;
    }

    .about-text {
        font-size: 13px;
    }

    .about-highlight {
        font-size: 14px;
        margin: 15px 0;
        padding: 12px;
    }

    .investment-section {
        padding: 30px 0;
    }

    .investment-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .card {
        padding: 20px 15px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .card h5 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .card-number {
        font-size: 18px;
    }

    .premium-title {
        font-size: 20px;
    }

    .premium-subtitle {
        font-size: 13px;
    }

    .premium-btn {
        font-size: 13px;
    }

    .premium-slider {
        height: 250px;
    }

    .premium-vertical-slides {
        height: 250px;
    }

    .premium-vertical-item {
        height: 80px;
    }

    .premium-vertical-label {
        font-size: 11px;
        padding: 4px 8px;
    }

    /* 패럴렉스 섹션 - 더 작은 화면에 맞게 조정 */
    .parallax-section {
        padding: 15px 0;
    }

    .parallax-content {
        padding: 0 10px;
    }

    .parallax-item {
        margin-bottom: 30px;
        padding: 50px 15px;
        border-radius: 10px;
    }

    .parallax-text h3 {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .parallax-text h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .parallax-text p {
        font-size: 12px;
    }

    .parallax-image video,
    .parallax-image img {
        max-height: 200px;
    }

    /* 액션 버튼 섹션 모바일 최적화 */
    .action-section {
        height: auto;
        min-height: 60vh;
        padding: 40px 0;
    }

    .action-button-wrapper {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .action-button-wrapper::after {
        display: none; /* 구분선 제거 */
    }

    .action-btn {
        height: 150px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }

    .btn-content {
        padding: 20px;
        opacity: 1; /* 모바일에서는 항상 보이도록 */
    }

    .btn-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .btn-content p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .btn-content i {
        opacity: 1;
        transform: none;
        font-size: 16px;
    }
    
}

/* =============================================================
    Hero Indicators 숨김 (요청: .mv-hero-indicators .dot 안보이게 & 클릭 불가)
    ============================================================= */
.mv-hero-indicators { display: none !important; }
.mv-hero-indicators .dot { pointer-events: none !important; }

/* =========================
     평면도 + 곡면 갤러리 섹션
     ========================= */
.plan-gallery-section { 
    background:#0f2b2b; 
    color:#fff;
    overflow: hidden;
}
.plan-gallery-container { margin:0 auto; display:grid; grid-template-columns: 500px 1fr; gap:0px; align-items: stretch; }
.plan-left {
    margin: 80px 0 80px 50px;
    padding: 30px;
    border-radius: 30px;
    display:flex; 
    flex-direction:column; 
    gap:18px; 
    background:#D6D6D6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    color: #111111;
    word-wrap: none;
    z-index: 2;
    justify-content: center;
    text-align: center;
    transform: all 0.3s ease, box-shadow 0.3s ease;

}
.plan-left span { 
    font-weight:400; 
    font-size: 30px; 
    color: var(--primary-color);
}
.plan-left strong { 
    font-weight:700; 
    font-size: 37px; 
    line-height:1.2; 
    margin-bottom:6px; 
}

.plan-title { 
    font-size:18px; 
    color: var(--primary-color);
    font-weight:700; 
    letter-spacing:.5px; 
    text-align: left;
    
}


.plan-image-wrap {
    overflow:hidden; 
    position:relative; 
}
.plan-image-wrap::after{ content:''; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); pointer-events:none; border-radius:16px; }
.plan-image-wrap img { width:100%; height:auto; display:block; }
.plan-copy { margin-top:10px; }
.plan-copy-main { 
    font-size:70px; 
    font-weight:800; 
    letter-spacing:.5px; 
    margin-bottom:6px; 
    line-height:1;
}
.plan-copy-sub { 
    font-size:18px; 
    line-height:1.2; 
    opacity:.9; 
    font-weight:300;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.1);
}
.plan-buttons { display:flex; gap:10px; margin-top:6px; }
.plan-btn { 
    flex:1; 
    padding:12px 14px;
    border-radius:999px; 
    border:1px solid rgba(255,255,255,0.22); 
    background:rgba(255,255,255,0.06); 
    color:var(--text-primary); 
    font-weight:600; 
    letter-spacing:.5px; 
    cursor:pointer; 
    transition: all .3s ease, transform .25s ease, border-color .3s ease; 
    min-width: 120px;
    font-size: 20px;
    
}
.plan-btn:hover { 
    transform: translateY(-2px); 
    background: #0151526b; 
    color: var(--bg-white); 
}
.plan-btn.is-active { 
    background: var(--primary-color) ;
    color: var(--bg-white); 
}

.plan-right { position:relative; min-height: 520px; display:flex; align-items:center; justify-content:center; }
.plan-right, .plan-right * { -webkit-user-select:none; -ms-user-select:none; user-select:none; }
.plan-right img { -webkit-user-drag:none; -khtml-user-drag:none; }
.curved-gallery { 
    position:relative; 
    width:100%; height: 
    700px; 
    cursor:grab; 
    z-index: 1;
}
.curved-gallery:active { cursor:grabbing; }
.curved-gallery .cg-canvas { position:absolute; inset:0; width:100%; height:100%; }
.curved-gallery .cg-item-title { position:absolute; left:50%; bottom:12px; transform:translateX(-50%); font-weight:700; font-size:18px; letter-spacing:.4px; background: rgba(0,0,0,0.35); padding:6px 12px; border-radius:10px; backdrop-filter: blur(6px); }






/* =========================
         COMMUNITY CENTER 섹션
     ========================= */
.community-section { 
    height: 100vh;
    background:#fff; 
    color:#111; 
    padding: 80px 0; 
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
}
.community-container{ 
    width:min(1400px);
     margin:0 auto; 
     display:grid; 
    grid-template-columns: 1fr 2fr;
    gap: 60px; 
    align-items:center; }
.community-left{ padding: 10px 10px 10px 0; }
.cm-eyebrow{ font-size:18px; font-weight:600; color:#777; letter-spacing:2px; margin-bottom:14px; }
.cm-title{ 
    font-family:'GmarketSansBold', Pretendard, sans-serif; 
    font-size: clamp(54px, 7vw, 96px); line-height: .5; letter-spacing:-1.2px; margin:0 0 24px 0; }
.cm-title span{ display:block; }
.cm-desc{ font-size:18px; line-height:1.8; color:#333; margin: 0 0 28px 0; }
.cm-meta{ display:flex; align-items:flex-start; gap:14px; margin-top: 16px; }
.cm-badge{ display:inline-flex; align-items:center; justify-content:center; background: #0f2b2b; color:#fff; border-radius: 999px; padding: 8px 16px; font-weight:700; letter-spacing:.5px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.cm-meta-text strong{ display:block; font-size:22px; margin-bottom:6px; }
.cm-meta-text p{ margin:0; color:#555; }
.cm-dots{ display:flex; gap:10px; margin-top: 26px; }
.cm-dot{ width:10px; height:10px; border-radius:50%; background:#d0d0d0; border:none; cursor:pointer; transition:transform .25s ease, background .25s ease; }
.cm-dot:hover{ transform: scale(1.15); }
.cm-dot.is-active{ background:#0f2b2b; transform: scale(1.3); }

.community-right{ position:relative; }
.cm-slider{ 
    position:relative; 
    width:100%; 
    height: 560px;  
 }
.cm-slider{ cursor: grab; }
.cm-slider.is-dragging{ cursor: grabbing; }
.community-section, .community-section *{ -webkit-user-select: none; -ms-user-select: none; user-select: none; }
.cm-slides{ position:absolute; inset:0; }
.cm-slide{ position:absolute; inset:0; background-size: contain; background-position: center; background-repeat: no-repeat; opacity:0; transform: scale(1.02); transition: opacity .8s ease, transform 1.2s ease; }
.cm-slide.is-active{ opacity:1; transform: scale(1); }

/* 중앙 포인트 핀 */
.cm-pin{ position:absolute; left:50%; top:50%; transform: translate(-50%, -50%); width:90px; height:90px; pointer-events:none; }
.cm-pin-inner{ position:absolute; inset:0; border-radius:50%; background: radial-gradient(circle at 50% 50%, #0f2b2b 0 60%, transparent 61%); display:block; }
.cm-pin::after{ content:''; position:absolute; inset:-16px; border-radius:50%; border: 10px solid rgba(15,43,43,.18); animation: cmPulse 2.2s ease-out infinite; }
@keyframes cmPulse{ 0%{ transform: scale(.6); opacity:.9;} 80%{ transform:scale(1.25); opacity:0;} 100%{ transform:scale(1.4); opacity:0;} }

/* 반응형 */
@media (max-width: 1200px){
    .community-container{ grid-template-columns: 1fr 1fr; }
    .cm-slider{ height: 520px; }
}
@media (max-width: 980px){
    .community-container{ grid-template-columns: 1fr; gap:30px; }
    .community-right{ order:-1; }
    .cm-slider{ height: 360px; }
}
@media (max-width: 768px){
    .community-section{ display:none; }
}







