/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff; /* 흰색 배경 */
    padding: 0 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Apple-style Glass Section Styling */
.glass-section {
    position: relative;
    margin: 30px 0;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.25); /* More subtle transparency */
    backdrop-filter: blur(30px) saturate(180%); /* Apple-style blur */
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18); /* Very subtle border */
    border-radius: 20px; /* Apple-style rounded corners */
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.15),
        0 2px 8px rgba(31, 38, 135, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5); /* Inner highlight */
    overflow: hidden;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.25) 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* body의 40px + 추가 20px = 60px로 조정 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 40px; /* 명시적 높이 설정 */
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-nav {
    background: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px; /* nav-link와 동일한 높이 */
    box-sizing: border-box;
}

.cta-nav:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* === NEW HERO SECTION === */
.hero-new-section {
    position: relative;
    width: 100%;
    height: 10277px; /* 스크롤 시간 추가에 따른 높이 증가 */
    margin-top: 70px;
    background: transparent; /* 투명하게 만들어 body 배경과 자연스럽게 어울림 */
    z-index: 1;
}

.hero-scroll-container {
    position: sticky;
    top: 70px;
    width: 100%;
    height: calc(100vh - 70px);
    overflow: hidden;
    /* 
    display: flex;
    align-items: center;
    justify-content: center; 
    */
}

.hero-stage {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-5vh); /* 중앙에서 5% 위로 */
    transition: opacity 0.3s ease-out; /* Quick fade only */
    padding: 0 20px;
    pointer-events: none; /* 버튼 클릭을 가로채지 않도록 */
}

.hero-stage.active {
    opacity: 1;
    pointer-events: auto; /* 활성 스테이지의 클릭 이벤트를 허용 */
}

.hero-stage.exiting {
    opacity: 0;
}

/* Stage 1: Main Copy */
.stage-1 {
    justify-content: center;
    transform: translateY(-13vh); /* 중앙에서 13% 위로 */
}

.stage-1 .main-copy {
    text-align: center;
    margin-bottom: 0;
}

.stage-1 .scroll-indicator {
    position: absolute;
    bottom: 5vh; /* 하단에서 10% 위 -> 5% 위로 수정 */
    left: 50%;
    transform: translateX(-50%);
}

.main-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.4;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.02em;
}

.main-title .line-wrap {
    display: block;
    overflow: hidden;
}

.main-title .line-wrap > span {
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
}

.hero-stage.active .main-title .line-wrap > span {
    transform: translateY(0);
    opacity: 1;
}

.hero-stage.active .main-title .line-wrap:nth-of-type(2) > span {
    transition-delay: 0.15s;
}

.text-highlight {
    display: inline-block;
    font-weight: 900;
    background: linear-gradient(45deg, #2563eb, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: scale(1);
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-stage.active .text-highlight {
    opacity: 1;
    transform: scale(1.03);
    transition-delay: 1s; /* 라인 애니메이션이 끝난 후 실행 */
}

/* 큰 모니터에서 더 잘 보이도록 텍스트 크기 조정 */
@media (min-width: 1440px) {
    .main-title {
        font-size: 3.2rem;
        max-width: 1200px;
        line-height: 1.5;
    }
    
    .sub-title {
        font-size: 2.6rem;
        max-width: 1100px;
        line-height: 1.5;
    }
}

@media (min-width: 1920px) {
    .main-title {
        font-size: 3.8rem;
        max-width: 1400px;
        line-height: 1.5;
    }
    
    .sub-title {
        font-size: 3rem;
        max-width: 1300px;
        line-height: 1.5;
    }
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #6b7280;
    border-radius: 12px;
    position: relative;
    animation: mouse-float 2s ease-in-out infinite;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: #6b7280;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes mouse-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Stage 2: Sub Copy */
.stage-2 .sub-copy {
    text-align: center;
    max-width: 900px;
}

.sub-title {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.5;
    color: #4b5563;
    text-align: center;
    letter-spacing: -0.02em;
}

.sub-title .highlight {
    color: #2563eb;
    font-weight: 700;
}

/* Stage 3: Simple Problems */
.simple-problems-container {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.simple-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 2.5rem;
}

.simple-section-title.solution-title {
    color: #16a34a;
}

.simple-problem-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.simple-problem-item {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #dc2626;
    width: 100%;
    max-width: 450px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.simple-problem-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 기존 스타일 유지 (하위 호환성) */
.problems-only-container {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
    border: none;
    background: transparent;
}

.problems-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #dc2626;
}

.problem-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
}

.problem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: 20px;
    background: transparent;
    border: none;
    color: #dc2626;
    font-weight: 500;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-150px) translateY(-30px) scale(0.7) rotate(-15deg);
    opacity: 0;
    position: relative;
    z-index: 5;
    will-change: transform, opacity;
}

.problem-item.animated {
    animation: problem-shake 3s ease-in-out infinite;
    opacity: 1;
    transform: translateY(0);
}

.problem-item.vacuuming {
    animation: vacuum-suck 1.5s ease-in-out forwards;
    z-index: 15;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

@keyframes problem-shake {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(0) translateX(-3px); }
    75% { transform: translateY(0) translateX(3px); }
}

@keyframes vacuum-suck {
    0% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    70% {
        transform: translateY(0) scale(0.8);
        opacity: 0.7;
    }
    100% { 
        transform: translateY(-50vh) translateX(0) scale(0.1);
        opacity: 0;
    }
}

/* Stage 4: Simple Transition */
.simple-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

.transition-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}





/* Stage 5: Solutions Only */
/* Stage 5: Simple Solutions */
.simple-solutions-container {
    text-align: center;
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.simple-solution-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.simple-solution-item {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #059669;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.simple-solution-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 간단하고 깔끔한 텍스트 스타일 */
.solution-text-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-text-item {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.6;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    padding: 0 20px;
}

.solution-text-item.animated {
    transform: translateY(0);
    opacity: 1;
}

/* 기존 스타일 유지 (하위 호환성) */
.solutions-only-container {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
    border: none;
    background: transparent;
}

.solutions-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #059669;
}

.solution-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-item {
    position: relative; 
    top: auto; 
    max-width: 100%;
    opacity: 1;
    transition: none;
    transform: none;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 20px; /* 좌우 컬럼 간격 수정 */
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    max-width: 50%;
}

.visual-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 50%;
}

.stage-7 .visual-content {
    gap: 20px; /* 미션-이미지 간격 추가 */
}

.revenue-image {
    text-align: center;
}

.revenue-up-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* 업무 자동화 섹션 스타일 */
.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.automation-image {
    width: 100%;
    max-width: 100%;
}

.automation-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.result-message {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.result-message p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.result-message strong {
    color: #2563eb;
    font-weight: 700;
}

/* 단계별 콘텐츠 전환 */
.solution-description-container {
    position: relative;
    min-height: 300px;
}

.solution-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    pointer-events: none;
}

.solution-step.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-hint {
    margin-top: 2.5rem;  /* 2rem → 2.5rem으로 여백 확대 */
    text-align: center;
    opacity: 0.8;  /* 0.7 → 0.8로 더 선명하게 */
}

.scroll-hint p {
    font-size: 1.1rem;  /* 0.9rem → 1.1rem으로 크기 증가 */
    color: #4b5563;  /* #6b7280 → #4b5563로 더 진한 색상 */
    font-style: italic;
    font-weight: 500;  /* font-weight 추가 */
    animation: bounce-hint 2s infinite;
}

@keyframes bounce-hint {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0); 
    }
    40% { 
        transform: translateY(-5px); 
    }
    60% { 
        transform: translateY(-3px); 
    }
}

.revenue-chart {
    width: 100%;
    max-width: 260px;
}

.chart-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 120px;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bar {
    width: 40px;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar.before {
    height: 40px;
    background: linear-gradient(180deg, #94a3b8, #64748b);
    animation: barGrowBefore 1.5s ease-out forwards;
}

.bar.after {
    height: 100px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    animation: barGrowAfter 1.5s ease-out 0.3s forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}

@keyframes barGrowBefore {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes barGrowAfter {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.bar-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.growth-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.growth-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #059669;
}

.arrow-up {
    font-size: 1.2rem;
    color: #059669;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

.solution-item.emerging {
    animation: solution-emerge 1.2s ease-out forwards;
}

.solution-item.animated {
    /* animation: solution-glow 3s ease-in-out infinite; */
    opacity: 1;
    transform: translateY(0) scale(1);
}

.solution-item.exiting {
    opacity: 0;
    transform: translateX(-50%);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

@keyframes solution-emerge {
    0% { 
        transform: translateY(-50vh) scale(0.3);
        opacity: 0;
        filter: brightness(2);
    }
    60% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
        filter: brightness(1.2);
    }
    100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: brightness(1);
    }
}

@keyframes solution-glow {
    0%, 100% { 
        box-shadow: 0 0 0 rgba(16, 185, 129, 0);
        transform: translateY(0) scale(1);
    }
    50% { 
        box-shadow: 0 0 0 rgba(16, 185, 129, 0);
        transform: translateY(-2px) scale(1.02);
    }
}

/* Updated CTA styles for new stage structure */
.stage-10 .hero-cta-title {
    text-align: center;
}

.stage-11 .hero-cta-button {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 55%; /* Stage 10 텍스트 아래 위치 (더 위로) */
    left: 50%;
    transform: translateX(-50%);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn-primary-new,
.btn-secondary-new {
    padding: 1rem 2rem;
    /* border-radius: 50px; */ /*  분리 */
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.btn-primary-new {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border-radius: 12px;
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary-new {
    background: transparent;
    color: #2563eb;
    border: 2px solid #e0e7ff; /* 연한 파란색 테두리 */
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.btn-secondary-new:hover {
    background: #eef2ff; /* 매우 연한 파란색 배경 */
    border-color: #c7d2fe; /* 조금 더 진한 테두리 */
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .sub-title {
        font-size: 1.5rem;
        line-height: 1.5;
    }
    
    .problem-items,
    .solution-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problem-item,
    .solution-item {
        padding: 1.5rem;
    }
    
        .trash-can {
        width: 60px;
        height: 80px;
    }
    
    @keyframes vacuum-suck {
        0% { 
            transform: translateY(0) scale(1);
            opacity: 1;
        }
        70% {
            transform: translateY(0) scale(0.8);
            opacity: 0.7;
        }
        100% { 
            transform: translateY(-40vh) translateX(0) scale(0.1);
            opacity: 0;
        }
    }
    
    @keyframes solution-emerge {
        0% { 
            transform: translateY(-40vh) scale(0.3);
            opacity: 0;
            filter: brightness(2);
        }
        60% {
            transform: translateY(-10px) scale(1.1);
            opacity: 0.8;
            filter: brightness(1.2);
        }
        100% { 
            transform: translateY(0) scale(1);
            opacity: 1;
            filter: brightness(1);
        }
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary-new,
    .btn-secondary-new {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .sub-title {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    
    .problem-item,
    .solution-item {
        padding: 1rem;
    }
}

/* === REVAMPED HERO SECTION === */
#hero-revamp {
    position: relative;
    /* margin: 0 -40px; */ /* Let's remove this for now to avoid side-effects */
    width: 100%;
    /* The height will be controlled by the content and sticky container */
}

.hero-revamp-section {
    position: relative;
    width: 100%;
    height: 200vh; /* Provides scrollable space for the animation */
    margin-top: 70px; /* Offset for the fixed navbar */
}

.hero-sticky-container {
    position: sticky;
    top: 70px; /* Stick below the navbar */
    width: 100%;
    height: calc(100vh - 70px); /* Full viewport height minus navbar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content-revamp {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin-bottom: 2rem; /* Add some space between text and visuals */
    opacity: 1; /* Initially visible */
}

.hero-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-sub-title {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-sub-title span {
    font-weight: 700;
    color: #2563eb;
}

.hero-cta-revamp {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary-revamp, .btn-secondary-revamp {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary-revamp {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary-revamp:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary-revamp {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary-revamp:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.before-after-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.desk {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.after-desk {
    opacity: 0;
}

.desk-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translate(-50%, -50%); /* Center the item on its coordinates */
    transition: all 0.5s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
}

.di-icon {
    font-size: 2rem;
    line-height: 1;
}

.di-label {
    text-align: center;
}

/* Positioning for Before state */
.item-paperwork { top: 25%; left: 18%; }
.item-calculator { top: 35%; right: 15%; }
.item-phone { bottom: 30%; left: 25%; }
.item-chart-down { bottom: 20%; right: 28%; }

/* Positioning for After state */
.item-automation { top: 25%; left: 22%; }
.item-cost-down { top: 35%; right: 20%; }
.item-crm { bottom: 30%; left: 28%; }
.item-chart-up { bottom: 20%; right: 30%; }

.glow-line {
    position: absolute;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, transparent, #2563eb, transparent);
    box-shadow: 0 0 10px #2563eb;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.scroll-prompt {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #6b7280;
    font-weight: 500;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroll-prompt span {
    display: inline-block;
    width: 16px;
    height: 26px;
    border: 2px solid #6b7280;
    border-radius: 13px;
    position: relative;
}

.scroll-prompt span::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #6b7280;
    border-radius: 50%;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-mouse 2s infinite ease-in-out;
}

@keyframes scroll-mouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 8px); opacity: 0.5; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* Hero Section - Clean Minimal Design (OLD - TO BE REMOVED) */
/* Let's keep these for now to avoid breaking anything else, but they should be removed. */
.hero-dark {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.hero-dark::before {
    display: none;
}

/* Clean Background */
.hero-bg-elements {
    display: none;
}

.hero {
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #000000;
    max-width: 660px; /* 10% 증가: 600px → 660px */
}

/* New Clean Hero Styles */
.hero-title-new {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #000000;
}

.hero-subtitle-new {
    font-size: 1.3rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: 3rem;
}

.hero-cta-new {
    margin-top: 2rem;
}

.btn-primary-new {
    background: #2563eb;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary-new .typing-text {
    color: white;
}

.btn-primary-new:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* Typing Effect */
.typing-text {
    display: inline-block;
    opacity: 0;
}

.typing-text.typing {
    opacity: 1;
}

.typing-text::after {
    content: '|';
    opacity: 0;
    animation: blink 1s infinite;
    transition: opacity 1.5s ease-out;
}

.typing-text.typing::after {
    opacity: 1;
}

.typing-text.completed::after {
    opacity: 0 !important;
    animation: none; /* 깜빡임 애니메이션 중지 */
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff; /* 흰색 배경 */
    padding: 0 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Apple-style Glass Section Styling */
.glass-section {
    position: relative;
    margin: 30px 0;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.25); /* More subtle transparency */
    backdrop-filter: blur(30px) saturate(180%); /* Apple-style blur */
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18); /* Very subtle border */
    border-radius: 20px; /* Apple-style rounded corners */
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.15),
        0 2px 8px rgba(31, 38, 135, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5); /* Inner highlight */
    overflow: hidden;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.25) 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* body의 40px + 추가 20px = 60px로 조정 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 40px; /* 명시적 높이 설정 */
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-nav {
    background: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px; /* nav-link와 동일한 높이 */
    box-sizing: border-box;
}

.cta-nav:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* === NEW HERO SECTION === */
.hero-new-section {
    position: relative;
    width: 100%;
    height: 10277px; /* 스크롤 시간 추가에 따른 높이 증가 */
    margin-top: 70px;
    background: transparent; /* 투명하게 만들어 body 배경과 자연스럽게 어울림 */
    z-index: 1;
}

.hero-scroll-container {
    position: sticky;
    top: 70px;
    width: 100%;
    height: calc(100vh - 70px);
    overflow: hidden;
    /* 
    display: flex;
    align-items: center;
    justify-content: center; 
    */
}

.hero-stage {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-5vh); /* 중앙에서 5% 위로 */
    transition: opacity 0.3s ease-out; /* Quick fade only */
    padding: 0 20px;
    pointer-events: none; /* 버튼 클릭을 가로채지 않도록 */
}

.hero-stage.active {
    opacity: 1;
    pointer-events: auto; /* 활성 스테이지의 클릭 이벤트를 허용 */
}

.hero-stage.exiting {
    opacity: 0;
}

/* Stage 1: Main Copy */
.stage-1 {
    justify-content: center;
    transform: translateY(-13vh); /* 중앙에서 13% 위로 */
}

.stage-1 .main-copy {
    text-align: center;
    margin-bottom: 0;
}

.stage-1 .scroll-indicator {
    position: absolute;
    bottom: 5vh; /* 하단에서 10% 위 -> 5% 위로 수정 */
    left: 50%;
    transform: translateX(-50%);
}

.main-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.4;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.02em;
}

.main-title .line-wrap {
    display: block;
    overflow: hidden;
}

.main-title .line-wrap > span {
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
}

.hero-stage.active .main-title .line-wrap > span {
    transform: translateY(0);
    opacity: 1;
}

.hero-stage.active .main-title .line-wrap:nth-of-type(2) > span {
    transition-delay: 0.15s;
}

.text-highlight {
    display: inline-block;
    font-weight: 900;
    background: linear-gradient(45deg, #2563eb, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: scale(1);
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-stage.active .text-highlight {
    opacity: 1;
    transform: scale(1.03);
    transition-delay: 1s; /* 라인 애니메이션이 끝난 후 실행 */
}

/* 큰 모니터에서 더 잘 보이도록 텍스트 크기 조정 */
@media (min-width: 1440px) {
    .main-title {
        font-size: 3.2rem;
        max-width: 1200px;
        line-height: 1.5;
    }
    
    .sub-title {
        font-size: 2.6rem;
        max-width: 1100px;
        line-height: 1.5;
    }
}

@media (min-width: 1920px) {
    .main-title {
        font-size: 3.8rem;
        max-width: 1400px;
        line-height: 1.5;
    }
    
    .sub-title {
        font-size: 3rem;
        max-width: 1300px;
        line-height: 1.5;
    }
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #6b7280;
    border-radius: 12px;
    position: relative;
    animation: mouse-float 2s ease-in-out infinite;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: #6b7280;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes mouse-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Stage 2: Sub Copy */
.stage-2 .sub-copy {
    text-align: center;
    max-width: 900px;
}

.sub-title {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.5;
    color: #4b5563;
    text-align: center;
    letter-spacing: -0.02em;
}

.sub-title .highlight {
    color: #2563eb;
    font-weight: 700;
}

/* Stage 3: Simple Problems */
.simple-problems-container {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.simple-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 2.5rem;
}

.simple-section-title.solution-title {
    color: #16a34a;
}

.simple-problem-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.simple-problem-item {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #dc2626;
    width: 100%;
    max-width: 450px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.simple-problem-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 기존 스타일 유지 (하위 호환성) */
.problems-only-container {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
    border: none;
    background: transparent;
}

.problems-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #dc2626;
}

.problem-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
}

.problem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: 20px;
    background: transparent;
    border: none;
    color: #dc2626;
    font-weight: 500;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-150px) translateY(-30px) scale(0.7) rotate(-15deg);
    opacity: 0;
    position: relative;
    z-index: 5;
    will-change: transform, opacity;
}

.problem-item.animated {
    animation: problem-shake 3s ease-in-out infinite;
    opacity: 1;
    transform: translateY(0);
}

.problem-item.vacuuming {
    animation: vacuum-suck 1.5s ease-in-out forwards;
    z-index: 15;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

@keyframes problem-shake {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(0) translateX(-3px); }
    75% { transform: translateY(0) translateX(3px); }
}

@keyframes vacuum-suck {
    0% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    70% {
        transform: translateY(0) scale(0.8);
        opacity: 0.7;
    }
    100% { 
        transform: translateY(-50vh) translateX(0) scale(0.1);
        opacity: 0;
    }
}

/* Stage 4: Simple Transition */
.simple-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

.transition-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}





/* Stage 5: Solutions Only */
/* Stage 5: Simple Solutions */
.simple-solutions-container {
    text-align: center;
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.simple-solution-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.simple-solution-item {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #059669;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.simple-solution-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 간단하고 깔끔한 텍스트 스타일 */
.solution-text-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-text-item {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.6;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    padding: 0 20px;
}

.solution-text-item.animated {
    transform: translateY(0);
    opacity: 1;
}

/* 기존 스타일 유지 (하위 호환성) */
.solutions-only-container {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
    border: none;
    background: transparent;
}

.solutions-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #059669;
}

.solution-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-item {
    position: relative; 
    top: auto; 
    max-width: 100%;
    opacity: 1;
    transition: none;
    transform: none;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 20px; /* 좌우 컬럼 간격 수정 */
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    max-width: 50%;
}

.visual-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 50%;
}

.stage-7 .visual-content {
    gap: 20px; /* 미션-이미지 간격 추가 */
}

.revenue-image {
    text-align: center;
}

.revenue-up-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* 업무 자동화 섹션 스타일 */
.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.automation-image {
    width: 100%;
    max-width: 100%;
}

.automation-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.result-message {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.result-message p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.result-message strong {
    color: #2563eb;
    font-weight: 700;
}

/* 단계별 콘텐츠 전환 */
.solution-description-container {
    position: relative;
    min-height: 300px;
}

.solution-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    pointer-events: none;
}

.solution-step.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-hint {
    margin-top: 2.5rem;  /* 2rem → 2.5rem으로 여백 확대 */
    text-align: center;
    opacity: 0.8;  /* 0.7 → 0.8로 더 선명하게 */
}

.scroll-hint p {
    font-size: 1.1rem;  /* 0.9rem → 1.1rem으로 크기 증가 */
    color: #4b5563;  /* #6b7280 → #4b5563로 더 진한 색상 */
    font-style: italic;
    font-weight: 500;  /* font-weight 추가 */
    animation: bounce-hint 2s infinite;
}

@keyframes bounce-hint {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0); 
    }
    40% { 
        transform: translateY(-5px); 
    }
    60% { 
        transform: translateY(-3px); 
    }
}

.revenue-chart {
    width: 100%;
    max-width: 260px;
}

.chart-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 120px;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bar {
    width: 40px;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar.before {
    height: 40px;
    background: linear-gradient(180deg, #94a3b8, #64748b);
    animation: barGrowBefore 1.5s ease-out forwards;
}

.bar.after {
    height: 100px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    animation: barGrowAfter 1.5s ease-out 0.3s forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}

@keyframes barGrowBefore {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes barGrowAfter {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.bar-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.growth-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.growth-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #059669;
}

.arrow-up {
    font-size: 1.2rem;
    color: #059669;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

.solution-item.emerging {
    animation: solution-emerge 1.2s ease-out forwards;
}

.solution-item.animated {
    /* animation: solution-glow 3s ease-in-out infinite; */
    opacity: 1;
    transform: translateY(0) scale(1);
}

.solution-item.exiting {
    opacity: 0;
    transform: translateX(-50%);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

@keyframes solution-emerge {
    0% { 
        transform: translateY(-50vh) scale(0.3);
        opacity: 0;
        filter: brightness(2);
    }
    60% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
        filter: brightness(1.2);
    }
    100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: brightness(1);
    }
}

@keyframes solution-glow {
    0%, 100% { 
        box-shadow: 0 0 0 rgba(16, 185, 129, 0);
        transform: translateY(0) scale(1);
    }
    50% { 
        box-shadow: 0 0 0 rgba(16, 185, 129, 0);
        transform: translateY(-2px) scale(1.02);
    }
}

/* Stage 6: Final CTA */
.stage-10 .hero-cta-title {
    text-align: center;
}

.stage-11 .hero-cta-button {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 55%; /* Stage 10 텍스트 아래 위치 (더 위로) */
    left: 50%;
    transform: translateX(-50%);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn-primary-new,
.btn-secondary-new {
    padding: 1rem 2rem;
    /* border-radius: 50px; */ /*  분리 */
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.btn-primary-new {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border-radius: 12px;
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary-new {
    background: transparent;
    color: #2563eb;
    border: 2px solid #e0e7ff; /* 연한 파란색 테두리 */
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.btn-secondary-new:hover {
    background: #eef2ff; /* 매우 연한 파란색 배경 */
    border-color: #c7d2fe; /* 조금 더 진한 테두리 */
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .sub-title {
        font-size: 1.5rem;
        line-height: 1.5;
    }
    
    .problem-items,
    .solution-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problem-item,
    .solution-item {
        padding: 1.5rem;
    }
    
        .trash-can {
        width: 60px;
        height: 80px;
    }
    
    @keyframes vacuum-suck {
        0% { 
            transform: translateY(0) scale(1);
            opacity: 1;
        }
        70% {
            transform: translateY(0) scale(0.8);
            opacity: 0.7;
        }
        100% { 
            transform: translateY(-40vh) translateX(0) scale(0.1);
            opacity: 0;
        }
    }
    
    @keyframes solution-emerge {
        0% { 
            transform: translateY(-40vh) scale(0.3);
            opacity: 0;
            filter: brightness(2);
        }
        60% {
            transform: translateY(-10px) scale(1.1);
            opacity: 0.8;
            filter: brightness(1.2);
        }
        100% { 
            transform: translateY(0) scale(1);
            opacity: 1;
            filter: brightness(1);
        }
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary-new,
    .btn-secondary-new {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .sub-title {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    
    .problem-item,
    .solution-item {
        padding: 1rem;
    }
}

/* === REVAMPED HERO SECTION === */
#hero-revamp {
    position: relative;
    /* margin: 0 -40px; */ /* Let's remove this for now to avoid side-effects */
    width: 100%;
    /* The height will be controlled by the content and sticky container */
}

.hero-revamp-section {
    position: relative;
    width: 100%;
    height: 200vh; /* Provides scrollable space for the animation */
    margin-top: 70px; /* Offset for the fixed navbar */
}

.hero-sticky-container {
    position: sticky;
    top: 70px; /* Stick below the navbar */
    width: 100%;
    height: calc(100vh - 70px); /* Full viewport height minus navbar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content-revamp {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin-bottom: 2rem; /* Add some space between text and visuals */
    opacity: 1; /* Initially visible */
}

.hero-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-sub-title {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-sub-title span {
    font-weight: 700;
    color: #2563eb;
}

.hero-cta-revamp {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary-revamp, .btn-secondary-revamp {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary-revamp {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary-revamp:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary-revamp {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary-revamp:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.before-after-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.desk {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.after-desk {
    opacity: 0;
}

.desk-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translate(-50%, -50%); /* Center the item on its coordinates */
    transition: all 0.5s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
}

.di-icon {
    font-size: 2rem;
    line-height: 1;
}

.di-label {
    text-align: center;
}

/* Positioning for Before state */
.item-paperwork { top: 25%; left: 18%; }
.item-calculator { top: 35%; right: 15%; }
.item-phone { bottom: 30%; left: 25%; }
.item-chart-down { bottom: 20%; right: 28%; }

/* Positioning for After state */
.item-automation { top: 25%; left: 22%; }
.item-cost-down { top: 35%; right: 20%; }
.item-crm { bottom: 30%; left: 28%; }
.item-chart-up { bottom: 20%; right: 30%; }

.glow-line {
    position: absolute;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, transparent, #2563eb, transparent);
    box-shadow: 0 0 10px #2563eb;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.scroll-prompt {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #6b7280;
    font-weight: 500;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroll-prompt span {
    display: inline-block;
    width: 16px;
    height: 26px;
    border: 2px solid #6b7280;
    border-radius: 13px;
    position: relative;
}

.scroll-prompt span::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #6b7280;
    border-radius: 50%;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-mouse 2s infinite ease-in-out;
}

@keyframes scroll-mouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 8px); opacity: 0.5; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* Hero Section - Clean Minimal Design (OLD - TO BE REMOVED) */
/* Let's keep these for now to avoid breaking anything else, but they should be removed. */
.hero-dark {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.hero-dark::before {
    display: none;
}

/* Clean Background */
.hero-bg-elements {
    display: none;
}

.hero {
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #000000;
    max-width: 660px; /* 10% 증가: 600px → 660px */
}

/* New Clean Hero Styles */
.hero-title-new {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #000000;
}

.hero-subtitle-new {
    font-size: 1.3rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: 3rem;
}

.hero-cta-new {
    margin-top: 2rem;
}

.btn-primary-new {
    background: #2563eb;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary-new .typing-text {
    color: white;
}

.btn-primary-new:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* Typing Effect */
.typing-text {
    display: inline-block;
    opacity: 0;
}

.typing-text.typing {
    opacity: 1;
}

.typing-text::after {
    content: '|';
    opacity: 0;
    animation: blink 1s infinite;
    transition: opacity 1.5s ease-out;
}

.typing-text.typing::after {
    opacity: 1;
}

.typing-text.completed::after {
    opacity: 0 !important;
    animation: none; /* 깜빡임 애니메이션 중지 */
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Impact Numbers */
.hero-visual-new {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.impact-number {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.impact-number.show {
    opacity: 1;
    transform: translateY(0);
}

.number-highlight {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.number-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
}

.break-text {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shatter 2s ease-out forwards;
    display: inline-block;
}

@keyframes shatter {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05) rotate(1deg);
        filter: blur(1px);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

.highlight {
    background: linear-gradient(45deg, #2563eb, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700; /* Add font-weight to make it stand out */
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-dark .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.hero-dark .hero-subtitle strong {
    color: #3b82f6;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.hero-dark .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
        transform: scale(1.05);
    }
}

.hero-dark .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-3px);
}

/* Glass Card - Main Feature */
.glass-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: hover-float 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes hover-float {
    0%, 100% { transform: translate(-50%, -50%) rotateY(0deg); }
    50% { transform: translate(-50%, -50%) rotateY(5deg) translateZ(20px); }
}

.card-content {
    text-align: center;
    color: white;
}

.glass-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.glass-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #3b82f6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Floating Cards Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.card {
    position: absolute;
    width: 160px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    color: white;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 5%;
    right: 20%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    right: 35%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Remove typing effect and add dramatic entrance */
.hero-title {
    animation: dramatic-entrance 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes dramatic-entrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    animation: subtitle-entrance 1.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.hero-stats {
    animation: stats-entrance 2s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.hero-cta {
    animation: cta-entrance 2.2s ease-out 0.9s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title-new {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle-new {
        font-size: 1.1rem;
    }
    
    .hero-visual-new {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .impact-number {
        padding: 1.5rem;
        min-width: 120px;
    }
    
    .number-highlight {
        font-size: 2rem;
    }
    
    .number-label {
        font-size: 0.9rem;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px; /* 기존 50px에서 80px으로 늘려 여백 확보 */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937; /* Dark text */
}

.section-header p {
    font-size: 1.2rem; /* 1.1rem에서 1.2rem으로 상향 조정 */
    color: #6b7280; /* Gray text */
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Analysis Section */
/* GSAP의 autoAlpha가 visibility와 opacity를 제어하므로 관련 스타일 제거 */
.problem-analysis {
    position: relative;
    z-index: 5;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.problem-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937; /* Dark text */
}

.problem-item p {
    color: #6b7280; /* Gray text */
    line-height: 1.6;
}

/* Solution Process Section */
.solution-process {
    background: transparent;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 50px;
    background: rgba(37, 99, 235, 0.3);
    transform: translateX(-50%);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.step-content {
    flex: 1;
    padding: 0 2rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937; /* Dark text */
}

.step-content p {
    color: #6b7280; /* Gray text */
    line-height: 1.6;
}

/* Services Section */
.services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937; /* Dark text */
}

.service-benefit {
    display: inline-block;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: #6b7280; /* Gray text */
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #374151; /* Dark gray text */
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    background: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    row-gap: 20px;
    column-gap: 30px;
}

.portfolio-video {
    height: 200px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-placeholder {
    text-align: center;
    color: #6b7280;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.play-button:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937; /* Dark text */
}

.portfolio-result {
    color: #10b981;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-content p:last-child {
    color: #6b7280; /* Gray text */
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(55, 65, 81, 0.9) 100%);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-option h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-option p {
    opacity: 0.8;
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Form */
.cta-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.cta-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
    margin-top: 1rem;
    align-self: center;
    min-width: 200px;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: #111827;
    color: white;
    margin: 0 -40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 0 20px;
    }

    .glass-section {
        margin: 20px 0;
        padding: 60px 20px;
    }

    .hero {
        margin-top: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .process-step {
        flex-direction: column !important;
        text-align: center;
    }
    
    .process-step::after {
        left: 50%;
        width: 2px;
        height: 30px;
    }
    
    .step-content {
        padding: 1rem 0 0 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 5rem; /* 모바일에서도 동일한 간격 적용 (세로 간격만 적용됨) */
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        padding: 1rem;
        margin: 0 5px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* === REVAMPED HERO SECTION === */
#hero-revamp {
    position: relative;
    /* margin: 0 -40px; */ /* Let's remove this for now to avoid side-effects */
    width: 100%;
    /* The height will be controlled by the content and sticky container */
}

.hero-revamp-section {
    position: relative;
    width: 100%;
    height: 200vh; /* Provides scrollable space for the animation */
    margin-top: 70px; /* Offset for the fixed navbar */
}

.hero-sticky-container {
    position: sticky;
    top: 70px; /* Stick below the navbar */
    width: 100%;
    height: calc(100vh - 70px); /* Full viewport height minus navbar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content-revamp {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin-bottom: 2rem; /* Add some space between text and visuals */
    opacity: 1; /* Initially visible */
}

.hero-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-sub-title {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-sub-title span {
    font-weight: 700;
    color: #2563eb;
}

.hero-cta-revamp {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary-revamp, .btn-secondary-revamp {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary-revamp {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary-revamp:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary-revamp {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary-revamp:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.before-after-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.desk {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.after-desk {
    opacity: 0;
}

.desk-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translate(-50%, -50%); /* Center the item on its coordinates */
    transition: all 0.5s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
}

.di-icon {
    font-size: 2rem;
    line-height: 1;
}

.di-label {
    text-align: center;
}

/* Positioning for Before state */
.item-paperwork { top: 25%; left: 18%; }
.item-calculator { top: 35%; right: 15%; }
.item-phone { bottom: 30%; left: 25%; }
.item-chart-down { bottom: 20%; right: 28%; }

/* Positioning for After state */
.item-automation { top: 25%; left: 22%; }
.item-cost-down { top: 35%; right: 20%; }
.item-crm { bottom: 30%; left: 28%; }
.item-chart-up { bottom: 20%; right: 30%; }

.glow-line {
    position: absolute;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, transparent, #2563eb, transparent);
    box-shadow: 0 0 10px #2563eb;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.scroll-prompt {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #6b7280;
    font-weight: 500;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroll-prompt span {
    display: inline-block;
    width: 16px;
    height: 26px;
    border: 2px solid #6b7280;
    border-radius: 13px;
    position: relative;
}

.scroll-prompt span::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #6b7280;
    border-radius: 50%;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-mouse 2s infinite ease-in-out;
}

@keyframes scroll-mouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 8px); opacity: 0.5; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* Hero Section - Clean Minimal Design (OLD - TO BE REMOVED) */
/* Let's keep these for now to avoid breaking anything else, but they should be removed. */
.hero-dark {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.hero-dark::before {
    display: none;
}

/* Clean Background */
.hero-bg-elements {
    display: none;
}

.hero {
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #000000;
    max-width: 660px; /* 10% 증가: 600px → 660px */
}

/* New Clean Hero Styles */
.hero-title-new {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #000000;
}

.hero-subtitle-new {
    font-size: 1.3rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: 3rem;
}

.hero-cta-new {
    margin-top: 2rem;
}

.btn-primary-new {
    background: #2563eb;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary-new .typing-text {
    color: white;
}

.btn-primary-new:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* Typing Effect */
.typing-text {
    display: inline-block;
    opacity: 0;
}

.typing-text.typing {
    opacity: 1;
}

.typing-text::after {
    content: '|';
    opacity: 0;
    animation: blink 1s infinite;
    transition: opacity 1.5s ease-out;
}

.typing-text.typing::after {
    opacity: 1;
}

.typing-text.completed::after {
    opacity: 0 !important;
    animation: none; /* 깜빡임 애니메이션 중지 */
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Impact Numbers */
.hero-visual-new {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.impact-number {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.impact-number.show {
    opacity: 1;
    transform: translateY(0);
}

.number-highlight {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.number-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
}

.break-text {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shatter 2s ease-out forwards;
    display: inline-block;
}

@keyframes shatter {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05) rotate(1deg);
        filter: blur(1px);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

.highlight {
    background: linear-gradient(45deg, #2563eb, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700; /* Add font-weight to make it stand out */
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-dark .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.hero-dark .hero-subtitle strong {
    color: #3b82f6;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.hero-dark .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
        transform: scale(1.05);
    }
}

.hero-dark .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-3px);
}

/* Glass Card - Main Feature */
.glass-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: hover-float 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes hover-float {
    0%, 100% { transform: translate(-50%, -50%) rotateY(0deg); }
    50% { transform: translate(-50%, -50%) rotateY(5deg) translateZ(20px); }
}

.card-content {
    text-align: center;
    color: white;
}

.glass-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.glass-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #3b82f6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Floating Cards Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.card {
    position: absolute;
    width: 160px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    color: white;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 5%;
    right: 20%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    right: 35%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Remove typing effect and add dramatic entrance */
.hero-title {
    animation: dramatic-entrance 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes dramatic-entrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    animation: subtitle-entrance 1.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.hero-stats {
    animation: stats-entrance 2s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.hero-cta {
    animation: cta-entrance 2.2s ease-out 0.9s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title-new {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle-new {
        font-size: 1.1rem;
    }
    
    .hero-visual-new {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .impact-number {
        padding: 1.5rem;
        min-width: 120px;
    }
    
    .number-highlight {
        font-size: 2rem;
    }
    
    .number-label {
        font-size: 0.9rem;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px; /* 기존 50px에서 80px으로 늘려 여백 확보 */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937; /* Dark text */
}

.section-header p {
    font-size: 1.2rem; /* 1.1rem에서 1.2rem으로 상향 조정 */
    color: #6b7280; /* Gray text */
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Analysis Section */
/* GSAP의 autoAlpha가 visibility와 opacity를 제어하므로 관련 스타일 제거 */
.problem-analysis {
    position: relative;
    z-index: 5;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.problem-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937; /* Dark text */
}

.problem-item p {
    color: #6b7280; /* Gray text */
    line-height: 1.6;
}

/* Solution Process Section */
.solution-process {
    background: transparent;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 50px;
    background: rgba(37, 99, 235, 0.3);
    transform: translateX(-50%);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.step-content {
    flex: 1;
    padding: 0 2rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937; /* Dark text */
}

.step-content p {
    color: #6b7280; /* Gray text */
    line-height: 1.6;
}

/* Services Section */
.services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937; /* Dark text */
}

.service-benefit {
    display: inline-block;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: #6b7280; /* Gray text */
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #374151; /* Dark gray text */
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    background: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    row-gap: 20px;
    column-gap: 30px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-video {
    height: 200px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-placeholder {
    text-align: center;
    color: #6b7280;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.play-button:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937; /* Dark text */
}

.portfolio-result {
    color: #10b981;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-content p:last-child {
    color: #6b7280; /* Gray text */
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(55, 65, 81, 0.9) 100%);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-option h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-option p {
    opacity: 0.8;
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Form */
.cta-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.cta-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
    margin-top: 1rem;
    align-self: center;
    min-width: 200px;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: #111827;
    color: white;
    margin: 0 -40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 0 20px;
    }

    .glass-section {
        margin: 20px 0;
        padding: 60px 20px;
    }

    .hero {
        margin-top: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .process-step {
        flex-direction: column !important;
        text-align: center;
    }
    
    .process-step::after {
        left: 50%;
        width: 2px;
        height: 30px;
    }
    
    .step-content {
        padding: 1rem 0 0 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 5rem; /* 모바일에서도 동일한 간격 적용 (세로 간격만 적용됨) */
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        padding: 1rem;
        margin: 0 5px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* 애니메이션 스토리 컨테이너 */
.animation-story {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    display: none; /* 애니메이션 숨김 */
}

/* 귀여운 캐릭터 */
.character {
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    z-index: 10;
}

.character-body {
    font-size: 60px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.character-tool {
    font-size: 30px;
    position: absolute;
    top: -10px;
    right: -20px;
    transform: rotate(-45deg);
}

/* 낡은 홈페이지 */
.old-website {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 8;
}

.old-screen {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #8B5A3C, #6B4226);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 3px solid #5A3018;
}

.old-header {
    color: #D4A574;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.old-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.old-text {
    color: #F5E6D3;
    font-size: 14px;
    opacity: 0.8;
    padding: 5px 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 5px;
}

/* 페인트 효과 */
.paint-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.paint-splash {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
}

.paint-1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #FF6B6B, #FF8E8E);
    top: -40px;
    left: -40px;
}

.paint-2 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #4ECDC4, #6EDBD3);
    top: 20px;
    left: 30px;
}

.paint-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #45B7D1, #6BC5E0);
    top: -20px;
    left: -60px;
}

/* 새로운 홈페이지 */
.new-website {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 11;
}

.new-screen {
    width: 350px;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.new-header {
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
}

.new-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.new-feature {
    color: white;
    font-size: 16px;
    padding: 8px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* 성공 이펙트 */
.success-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
}

.sparkle {
    position: absolute;
    font-size: 24px;
    opacity: 0;
}

.sparkle-1 {
    top: 20%;
    left: 20%;
}

.sparkle-2 {
    top: 30%;
    right: 25%;
}

.sparkle-3 {
    bottom: 30%;
    left: 30%;
}

.sparkle-4 {
    bottom: 20%;
    right: 20%;
}

/* 스토리 보기 버튼 */
.btn-animation {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-animation:hover {
    background: linear-gradient(135deg, #FF5252, #FF7575);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    transform: translateY(-2px);
}

/* 애니메이션 중 UI 숨기기 */
.story-playing .hero-content,
.story-playing .hero-visual,
.story-playing .hero-bg-elements {
    opacity: 0.2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.story-playing .animation-story {
    pointer-events: all;
}

/* 애니메이션 요소 모바일 반응형 */
@media (max-width: 768px) {
    .animation-story {
        padding: 20px;
    }
    
    .character {
        left: -80px;
    }
    
    .character-body {
        font-size: 40px;
    }
    
    .character-tool {
        font-size: 20px;
    }
    
    .old-screen {
        width: 250px;
        height: 160px;
        padding: 15px;
    }
    
    .old-header {
        font-size: 14px;
    }
    
    .old-text {
        font-size: 12px;
    }
    
    .new-screen {
        width: 280px;
        height: 180px;
        padding: 20px;
    }
    
    .new-header {
        font-size: 16px;
    }
    
    .new-feature {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .paint-splash {
        transform: scale(0.8);
    }
    
    .sparkle {
        font-size: 20px;
    }
    
    .btn-animation {
        padding: 10px 20px;
        font-size: 14px;
        margin-left: 10px;
        margin-top: 10px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}

/* 새로운 프로세스 섹션 스타일 - glass-section 적용 */
.solution-process-new {
    position: relative;
    margin: 30px 0;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.15),
        0 2px 8px rgba(31, 38, 135, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.solution-process-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.25) 100%
    );
    pointer-events: none;
    z-index: -1;
}

.solution-process-new .section-header h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.solution-process-new .section-header p {
    color: #666;
    font-size: 1.2rem;
}

/* 프로세스 섹션 스타일 */
#process {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* 전역 진행률 컨테이너 - 프로세스 섹션에서만 나타남 */
.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: 80px; /* 네비게이션 바 아래 고정 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 프로세스 단계 컨테이너 - 상단 여백 제거 */
.process-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 150px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.progress-text {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 0.8));
    padding: 15px 25px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.progress-track {
    width: 300px;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

/* 프로세스 카드 - 투명도 개선 */
.process-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 40px;
    position: relative;
    opacity: 0.8;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    min-height: 280px;
}

.process-card.active {
    opacity: 1;
    transform: translateY(0);
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.process-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
}

/* 카드 헤더 */
.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
}

.step-icon {
    font-size: 32px;
    transition: transform 0.5s ease;
}

.process-card.active .step-icon {
    animation: bounce 2s infinite;
}

/* 카드 콘텐츠 */
.step-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333; /* 텍스트 색상 변경 */
}

.step-content p {
    color: #666; /* 텍스트 색상 변경 */
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 메트릭 스타일 */
.step-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-size: 28px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 14px;
    color: #666;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .progress-container {
        top: 70px;
        padding: 15px;
        max-width: 350px;
        width: 95%;
    }
    
    .progress-text {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    .progress-track {
        width: 250px;
        height: 8px;
    }
    
    .process-steps-grid {
        gap: 100px;
    }
}

/* 애니메이션 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Hide old hero sections */
#hero-revamp,
.hero-dark,
.hero-revamp-section {
    display: none !important;
}

/* Smooth transition after hero completion */
body.hero-completing {
    transition: all 0.5s ease;
}

/* Enhanced scroll performance */
.hero-new-section * {
    will-change: transform, opacity;
}

/* Better scrolling experience */
html {
    scroll-behavior: smooth;
}

/* Ensure proper layering */
.hero-new-section {
    z-index: 1;
}

.navbar {
    z-index: 1000;
}

/* === NEW HERO SECTION === */ 

/* 새로운 문제 상태 클래스들 */
.problem-item.problem-weighted {
    animation: problem-weighted 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(239, 68, 68, 0.3));
}

.problem-item.problem-chaotic {
    animation: problem-chaotic 0.5s ease-in-out infinite;
    filter: brightness(1.5) saturate(2) drop-shadow(0 0 20px rgba(239, 68, 68, 0.8));
}

@keyframes problem-weighted {
    0%, 100% { 
        transform: translateY(0) scale(1);
        filter: brightness(1) drop-shadow(0 5px 15px rgba(239, 68, 68, 0.3));
    }
    50% { 
        transform: translateY(3px) scale(1.02);
        filter: brightness(1.1) drop-shadow(0 8px 20px rgba(239, 68, 68, 0.4));
    }
}

@keyframes problem-chaotic {
    0%, 100% { 
        filter: brightness(1.5) saturate(2) drop-shadow(0 0 20px rgba(239, 68, 68, 0.8));
    }
    50% { 
        filter: brightness(2) saturate(3) drop-shadow(0 0 30px rgba(239, 68, 68, 1));
    }
}

/* 새로운 해결책 상태 클래스들 */
.solution-item.solution-blessed {
    /* animation: solution-blessed 3s ease-in-out infinite; */
}

@keyframes solution-blessed {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1.3) drop-shadow(0 0 15px rgba(34, 197, 94, 0));
    }
    50% { 
        transform: scale(1.03);
        filter: brightness(1.5) drop-shadow(0 0 25px rgba(34, 197, 94, 0));
    }
}

/* 폭발적 파티클 효과 */
.light-particles.explosive {
    animation: explosive-particles 2s ease-out;
}

@keyframes explosive-particles {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(3);
        opacity: 0;
    }
}

/* 텍스트 스타일 모바일 반응형 */
@media (max-width: 768px) {
    .solution-text-item {
    font-size: 1.3rem;
        padding: 0 15px;
    }
    
    .solution-text-list {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .solution-text-item {
    font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .solution-text-list {
        gap: 1.5rem;
    }
}

/* Toss 스타일 솔루션 */
.toss-style-solutions {
    position: relative;
    width: 100%;
    height: 100%;
}

.solution-item {
    position: absolute;
    top: 15%;  /* 2% → 15%로 아래로 이동 */
    left: 50%;
    transform: translateX(-50%);
    width: 75vw;
    max-width: none;
    max-height: 70vh;  /* 80vh → 70vh로 줄여서 여백 확보 */
    overflow-y: auto;
    opacity: 1;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.9);  /* 0.8 → 0.9로 더 선명하게 */
    backdrop-filter: blur(10px);
    border-radius: 20px;  /* 16px → 20px로 더 부드럽게 */
    padding: 3rem;  /* 2rem → 3rem으로 여백 확대 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);  /* 그림자 강화 */
    border: none;  /* 불필요한 border 제거 */
}

.solution-item.align-left {
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
}

.solution-item.align-right {
    left: 50%;
    transform: translateX(-50%);
    text-align: right;
}

.solution-item.animated {
    opacity: 1;
    transform: translateX(-50%);
}

.solution-item.exiting {
    opacity: 0;
    transform: translateX(-50%);
}

.solution-title {
    font-size: 2.2rem;  /* 1.6rem → 2.2rem으로 크기 증가 */
    font-weight: 800;
    color: #1a1d21;
    margin-bottom: 2rem;  /* 1.5rem → 2rem으로 여백 확대 */
    line-height: 1.3;  /* 1.2 → 1.3으로 가독성 향상 */
}

.solution-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 0.8rem;
}

.main-insight {
    font-size: 1.6rem;  /* 1.3rem → 1.6rem으로 크기 증가 */
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;  /* 1rem → 1.5rem으로 여백 확대 */
    line-height: 1.6;  /* 1.5 → 1.6으로 가독성 향상 */
}

.main-insight strong {
    color: #2563eb;
    font-weight: 700;
}

.sub-insight {
    font-size: 1.2rem;  /* 1.4rem → 1.2rem으로 크기 축소 */
    color: #4b5563;  /* #6b7280 → #4b5563로 더 진한 색상 */
    line-height: 1.5;  /* 1.7 → 1.5로 줄간격 축소 */
    margin-bottom: 0.8rem;  /* 1rem → 0.8rem으로 여백 축소 */
}

.highlight-text {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.detailed-list {
    margin-top: 0.5rem;
    padding-top: 0;
}

.detailed-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;  /* 1.5rem → 1rem으로 간격 축소 */
    padding: 0.8rem 0;  /* 1.5rem → 0.8rem으로 여백 대폭 축소 */
    border-bottom: none;  /* border 제거 */
}

.detailed-list-item:last-child {
    border-bottom: none;
}

.list-item-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
}

.list-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.list-item-label {
    font-weight: 700;
    color: #374151;
    font-size: 1.1rem;  /* 1.2rem → 1.1rem으로 크기 축소 */
}

.list-item-value {
    color: #4b5563;  /* #6b7280 → #4b5563로 더 진한 색상 */
    font-size: 1rem;  /* 1.1rem → 1rem으로 크기 축소 */
    line-height: 1.4;  /* 1.6 → 1.4로 줄간격 축소 */
}

/* Stage 7 미션 섹션 스타일 */
.mission-section {
    margin-top: 1.5rem;  /* 2.5rem → 1.5rem으로 상단 여백 축소 */
    padding: 1.5rem;  /* 2rem → 1.5rem으로 패딩 축소 */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.mission-title {
    font-size: 1.2rem;  /* 1.4rem → 1.2rem으로 크기 축소 */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.7rem;  /* 1rem → 0.7rem으로 하단 여백 축소 */
    line-height: 1.2;  /* 1.3 → 1.2로 줄간격 축소 */
}

.mission-text {
    font-size: 1.1rem;  /* 1.2rem → 1.1rem으로 크기 축소 */
    color: #374151;
    line-height: 1.5;  /* 1.7 → 1.5로 줄간격 축소 */
    margin: 0;
}

.mission-text strong {
    color: #2563eb;
    font-weight: 700;
}

.bottom-message {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.bottom-message p {
    font-size: 1rem;
    color: #4b5563;
    margin: 0;
}

.bottom-message strong {
    color: #2563eb;
    font-weight: 700;
}

/* 반응형 조정 */
@media (max-width: 1200px) {
    .content-wrapper,
    .content-wrapper.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .visual-content {
        flex: none;
        align-self: center;
    }
    
    .solution-item {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .solution-item {
        max-width: 98%;
        padding: 1.5rem;
    }
    
    .content-wrapper {
        gap: 1.5rem;
    }
    
    .chart-container {
        padding: 1rem;
    }
    
    .chart-bars {
        height: 100px;
    }
    
    .bar.after {
        height: 80px;
    }
}

/* Remove old stage-6 styles - now used for individual solution stages */

/* 솔루션 카드 모바일 반응형 */
@media (max-width: 1024px) {
    .toss-style-solutions {
        padding-left: 10vw;
    }
    .solution-title {
        font-size: 3.5rem;
    }
    .solution-description {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .toss-style-solutions {
        padding-left: 8vw;
        padding-right: 8vw;
    }
    .solution-title {
        font-size: 2.8rem;
    }
    .solution-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .solution-title {
        font-size: 2.2rem;
    }
    .solution-description {
        font-size: 1.1rem;
    }
}

/* Stage styles for new structure */
.stage-6, .stage-7, .stage-8, .stage-9 {
    justify-content: center;
    align-items: center;
}

/* Stage 6~9 특별 스타일 - 여백 줄이기 + 이미지 3D 효과 */
.stage-6 .solution-item,
.stage-7 .solution-item,
.stage-8 .solution-item,
.stage-9 .solution-item {
    background: transparent !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    width: 90vw !important; /* 75vw → 90vw로 넓히기 */
    max-height: 80vh !important; /* 70vh → 80vh로 높이기 */
    top: 10% !important; /* 15% → 10%로 상단으로 이동 */
    padding: 2rem !important; /* 3rem → 2rem으로 패딩 줄이기 */
}

/* Stage 6~9 컬럼 간격 조정 */
.stage-6 .content-wrapper,
.stage-7 .content-wrapper,
.stage-8 .content-wrapper,
.stage-9 .content-wrapper {
    gap: 40px !important;  /* 80px → 40px로 컬럼 간격 50% 축소 */
}

/* Stage 7, 9 이미지 컬럼을 훨씬 더 왼쪽으로 */
.stage-7 .visual-content,
.stage-9 .visual-content {
    flex: 0 0 280px !important;  /* 350px → 280px로 대폭 축소 */
    max-width: 30% !important;   /* 35% → 30%로 축소 */
    margin-left: 0 !important;   /* 왼쪽 마진 제거 */
    padding-left: 0 !important;  /* 왼쪽 패딩 제거 */
}

.stage-7 .text-content,
.stage-9 .text-content {
    flex: 1 !important;
    max-width: 65% !important;   /* 60% → 65%로 확대 */
    margin-left: 1rem !important; /* 텍스트와 이미지 사이 간격 조정 */
}

/* Stage 6~9 미션과 이미지 사이 간격 */
.stage-6 .visual-content,
.stage-7 .visual-content,
.stage-8 .visual-content,
.stage-9 .visual-content {
    gap: 2rem !important;  /* 0 → 2rem으로 미션과 이미지 사이 간격 추가 */
}

/* Stage 6, 8 이미지 숨기기 + 텍스트 중앙 배치 */
.stage-6 .revenue-image,
.stage-8 .automation-image {
    display: none !important;
}

/* Stage 6, 8 텍스트 완전 중앙 배치 */
.stage-6 .content-wrapper,
.stage-8 .content-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
}

.stage-6 .visual-content,
.stage-8 .visual-content {
    display: none !important; /* 왼쪽 공간 완전 제거 */
}

.stage-6 .text-content,
.stage-8 .text-content {
    max-width: 80% !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    flex: none !important; /* flex 속성 제거 */
}

.stage-6 .solution-title,
.stage-8 .solution-title {
    font-size: 3.5rem !important; /* 크기 대폭 확대 */
    line-height: 1.2 !important;
    margin-bottom: 2.5rem !important;
    text-align: center !important;
}

.stage-6 .main-insight,
.stage-8 .main-insight {
    font-size: 1.6rem !important; /* 1.3rem → 1.6rem */
    text-align: center !important;
    margin-bottom: 1.5rem !important;
}

.stage-6 .sub-insight,
.stage-8 .sub-insight {
    font-size: 1.4rem !important; /* 1.2rem → 1.4rem */
    text-align: center !important;
    opacity: 0.9 !important;
}

/* Stage 7, 9 이미지 크기 줄이기 + 3D 둥근 테두리 효과 */
.stage-7 .revenue-image,
.stage-9 .automation-image {
    width: 70% !important; /* 100% → 70%로 크기 줄이기 */
    max-width: 300px !important;
    margin: 0 auto !important;
}

.stage-7 .revenue-up-img,
.stage-9 .automation-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 20px !important; /* 3D 둥근 테두리 */
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important; /* 3D 효과 */
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) !important; /* 3D 회전 효과 */
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important; /* 밝은 테두리 */
}



.stage-6.active .solution-item,
.stage-7.active .solution-item,
.stage-8.active .solution-item,
.stage-9.active .solution-item {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.stage-10 {
    justify-content: center;
    align-items: center;
}

/* New style for Stage 11 to move button down */
.stage-11 {
    justify-content: flex-end;
    padding-bottom: 30vh; /* 35vh -> 30vh, 버튼을 아래로 이동 */
}

/* Stage 3 - New Layout */
.stage-3-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem; /* Spacing between lines */
    text-align: center;
    max-width: 1000px;
}

.s3-line-1, .s3-line-2, .s3-line-3 {
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-stage.active .s3-line-1 { transition-delay: 0.2s; }
.hero-stage.active .s3-line-2 { transition-delay: 0.4s; }
.hero-stage.active .s3-line-3 { transition-delay: 0.6s; }

.hero-stage.active .s3-line-1,
.hero-stage.active .s3-line-2,
.hero-stage.active .s3-line-3 {
    opacity: 1;
    transform: translateY(0);
}

.s3-line-1 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #6b7280; /* Grayish text */
}

.s3-line-2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1f2937; /* Darker, more important text */
    line-height: 1.4;
}

.s3-line-2 .text-highlight {
    transition-delay: 1.2s;
}

.s3-line-3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.5;
}

.s3-line-3 .highlight {
    transition-delay: 1.4s;
}

/* === Process Section Refactor === */
.process-section {
    padding: 80px 0;
    background-color: #f8fafc; /* Light gray background for a clean look */
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2.5rem;
    position: relative;
    margin-top: 5rem;
}

/* Connecting Lines */
.process-grid::before, .process-grid::after {
    content: '';
    position: absolute;
    background-color: #d1d5db; /* Light gray for the lines */
    z-index: 0;
}

/* Horizontal Line */
.process-grid::before {
    top: 25%; /* Positioned vertically in the middle of the first row */
    left: 25%;
    width: 50%;
    height: 2px;
    transform: translateY(-50%);
}

/* Vertical Line */
.process-grid::after {
    top: 25%;
    left: 50%;
    width: 2px;
    height: 50%;
    transform: translateX(-50%);
}

.process-step-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.process-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-card-number {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
    background-color: #f3f4f6;
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1.25rem;
}

.step-card-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.step-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.step-card-content p {
    color: #4b5563;
    line-height: 1.6;
}

/* Mobile Responsiveness for Process Section */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Hide grid lines and adjust for vertical flow */
    .process-grid::before, .process-grid::after {
        display: none;
    }
    
    .process-step-card {
        padding: 2rem;
    }
}


/* New style for Stage 8 to move button down */
/* Remove old stage-8 style - now handled by stage-11 */

/* Hide old process section styles to prevent conflicts */
.solution-process-new, 
.progress-container,
.process-interactive,
.process-steps-grid,
.process-card,
.progress-text,
.progress-track,
.floating-particles {
    display: none !important;
}

/* Responsive adjustments for Section Header */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
}

.funnel-visual-wrapper { transform: scale(0.6); margin-top: 15vh; }


/* =================================== */
/* == NEW PORTFOLIO & MODAL STYLES == */
/* =================================== */

/* Body scroll lock */
body.modal-open {
    overflow: hidden;
}

/* Updated Portfolio Item Styles */
.portfolio-item {
    cursor: pointer;
    background: rgba(249, 250, 251, 0.8); /* 부드러운 미색 배경 */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.07); /* 보일듯 말듯한 테두리 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05); /* 부드러운 그림자 */
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
}

.portfolio-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3; /* 썸네일 비율 4:3으로 고정 */
    background-color: #f0f0f0; /* 이미지가 로드되기 전의 배경색 */
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%; /* 컨테이너를 꽉 채우도록 설정 */
    display: block;
    object-fit: cover; /* 이미지가 비율을 유지한 채 컨테이너를 꽉 채우도록 설정 (잘리는 부분 발생 가능) */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-thumbnail img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #333;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    pointer-events: none;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.portfolio-item:hover .thumbnail-overlay {
    opacity: 1;
}

.view-details-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.3s ease 0.1s, opacity 0.3s ease 0.1s;
}

.portfolio-item:hover .view-details-text {
    transform: translateY(0);
    opacity: 1;
}


.portfolio-summary {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 0 0 15px 15px;
    text-align: left;
}

.portfolio-summary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.portfolio-performance {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 20px;
}

.portfolio-performance h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-performance .perf-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 4px;
}

.portfolio-performance .perf-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.portfolio-summary p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}


/* Modal Styles - 크롬/사파리 통합 호환성 */
.portfolio-modal-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2000 !important;
    display: none; /* Hidden by default - !important 제거로 JavaScript 제어 가능 */
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.5) !important; /* Semi-transparent background */
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    animation: fadeIn 0.3s ease !important;
    box-sizing: border-box !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 900px !important;
    max-height: calc(100vh - 140px) !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

@keyframes slideInUp {
    from { transform: translateY(30px); opacity: 0.5; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content-inner {
    overflow-y: auto;
    padding: 2.5rem;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: #333;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, transform 0.3s;
}

.modal-close-btn:hover {
    background: #f3f4f6;
    transform: rotate(90deg);
}

.modal-image-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.modal-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 2rem;
}

.detail-section {
    margin-bottom: 1.8rem;
}

.detail-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.detail-section p,
.detail-section blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

#modal-performance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.performance-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.performance-value {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
}

.performance-label {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

#modal-quote {
    font-style: italic;
    border-left: 4px solid #d1d5db;
    padding-left: 1.5rem;
    margin: 0;
    background: #f9fafb;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0 8px 8px 0;
}

.modal-cta {
    margin-top: 2rem;
    text-align: center;
}

.modal-contact-btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 24px;
    font-size: 1rem;
}


@media (max-width: 768px) {
    .modal-content-inner {
        padding: 2rem 1.5rem;
    }
    .modal-title {
        font-size: 1.5rem;
    }
}

/* 통합된 포트폴리오 그리드 스타일 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 60px;
}

/* 768px 이하 태블릿 사이즈 */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* 480px 이하 모바일 사이즈 */
@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Stage 6, 8 (텍스트만) --- */
.stage-6 .content-wrapper,
.stage-8 .content-wrapper {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 900px !important;
    padding-top: 15vh !important; /* 텍스트를 아래로 내리기 위해 상단 패딩 추가 */
}

.stage-7 .revenue-up-img,
.stage-9 .automation-img {
    width: 100% !important;
    max-width: 70% !important; /* 이미지 크기 70%로 축소 */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

/* --- Stage 6, 8 (텍스트만) --- */
.stage-6 .content-wrapper,
.stage-8 .content-wrapper {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 900px !important;
    padding-top: 15vh !important; /* 텍스트를 아래로 내리기 위해 상단 패딩 추가 */
}

.stage-6 .text-content,
.stage-8 .text-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 80%;
    margin: 0 auto;
}

.solution-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(20px);
    /* background-color: rgba(249, 250, 251, 0.8); */
    /* box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); */
    /* border-radius: 20px; */
    border: 1px solid transparent;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 20px; /* 기존 40px에서 20px로 수정 */
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    max-width: 50%;
}

.visual-content {
    flex: 1;
    display: flex;
    flex-direction: column; /* 자식 요소들을 세로로 정렬 */
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 50%;
}

.stage-7 .visual-content {
    gap: 20px; /* 미션 박스와 이미지 사이의 간격 추가 */
}

.revenue-image {
    text-align: center;
}

/* Stage 3 Highlight Fix */
.s3-text-highlight {
    display: inline-block;
    font-weight: 900;
    color: #1e3a8a;
    background: linear-gradient(180deg, transparent 65%, #dbeafe 65%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 1;
    transform: translateY(0);
}

/* 
  모바일 크롬에서 position:fixed 요소가 스크롤 시 사라지는 렌더링 버그 해결.
  will-change 속성은 브라우저에게 해당 요소의 transform이 변경될 것임을 알려,
  독립된 그래픽 레이어로 분리하도록 유도합니다. 
  이를 통해 복잡한 sticky/fixed 요소 간의 렌더링 충돌을 방지합니다.
*/
@media (max-width: 768px) {
    .navbar {
        will-change: transform;
    }
    .hero-new-section {
        will-change: transform;
    }
}

@media (max-width: 480px) {
    .modal-content-inner {
        padding: 15px;
    }
    .modal-title {
        font-size: 1.2rem;
    }
}

/* 
  모바일 크롬에서 position:fixed 요소가 스크롤 시 사라지는 렌더링 버그 최종 해결.
  원인은 내비게이션 바의 backdrop-filter 효과와 
  아래따르는 섹션의 복잡한 스크롤 애니메이션 간의 렌더링 충돌입니다.
  성능이 상대적으로 낮은 모바일 기기에서 이 충돌이 두드러지므로,
  모바일 뷰에서는 블러 효과를 제거하여 렌더링 안정성을 확보합니다.
*/
/* 크롬 렌더링 버그 최종 해결 - 10차 검수 완료 */
@media (max-width: 768px) {
    .navbar {
        /* 렌더링 격리 */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        
        /* 백드롭 완전 제거 */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        
        /* 크롬 컴포지팅 강제 제어 */
        will-change: transform !important;
        transform: translate3d(0, 0, 0) !important;
        transform-style: preserve-3d !important;
        
        /* 레이어 격리 */
        z-index: 999999 !important;
        isolation: isolate !important;
        contain: layout style paint !important;
        
        /* 크롬 렌더링 최적화 */
        -webkit-transform: translate3d(0, 0, 0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        
        /* 레이아웃 스래싱 방지 */
        pointer-events: auto !important;
        touch-action: none !important;
    }
    
    /* 하위 애니메이션 완전 차단 */
    .hero-new-section {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Mobile Hero Section Refactoring */
.hero-mobile-section {
    display: none; /* Hide by default on desktop */
}

@media (max-width: 768px) {
    /* Center the logo and hide navigation menu on mobile */
    .nav-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important; /* padding 추가 */
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .nav-logo {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
        transform: none !important; /* translateX 제거로 가로 overflow 방지 */
    }
    
    .nav-logo h2 {
        margin: 0 !important;
        margin-left: -2px !important;
    }
    
    .nav-menu {
        display: none; /* Hide entire navigation menu */
    }

    /* Hide the complex desktop hero section on mobile */
    .hero-new-section {
        display: none !important;
    }

    /* Show and style the new mobile hero section */
    .hero-mobile-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-height: 100vh; /* Full viewport height for perfect centering */
        padding: 70px 20px 40px; /* Top padding for navbar, bottom padding for spacing */
        background-color: #ffffff;
        position: relative;
    }

    .hero-mobile-content {
        max-width: 100%;
        animation: fadeIn 0.8s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .hero-mobile-title {
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1.4;
        color: #1f2937;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .hero-mobile-title span {
        display: block;
    }

    .hero-mobile-title strong {
        color: #2563eb;
    }

    .hero-mobile-subtitle {
        font-size: 1.1rem;
        color: #4b5563;
        line-height: 1.6;
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .hero-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        align-items: center;
    }

    .hero-mobile-cta .btn-primary-new,
    .hero-mobile-cta .btn-secondary-new {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
        text-align: center;
    }

    /* Mobile Portfolio Modal - 크롬 호환성 개선 */
    .portfolio-modal-container {
        padding: 15px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .modal-content-wrapper {
        max-width: calc(100vw - 40px) !important;
        max-height: 80vh !important;
        width: 100% !important;
        height: auto !important;
        min-height: 50vh !important;
    }

    .modal-content-inner {
        padding: 20px !important;
    }

    .modal-close-btn {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .modal-image-container {
        margin-bottom: 20px;
    }

    .modal-image-container img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .modal-title {
        font-size: 1.4rem !important;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .detail-section {
        margin-bottom: 20px;
    }

    .detail-section h4 {
        font-size: 1rem;
        margin-bottom: 8px;
        color: #333;
        font-weight: 600;
    }

    .detail-section p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #555;
    }

    .performance-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    .performance-value {
        font-size: 1.1rem !important;
        font-weight: 700;
        color: #667eea;
    }

    .performance-label {
        font-size: 0.85rem !important;
        color: #666;
        text-align: right;
        flex: 1;
        margin-left: 12px;
    }

    #modal-quote {
        font-style: italic;
        background: #f0f7ff;
        padding: 16px;
        border-radius: 8px;
        border-left: 4px solid #667eea;
        font-size: 0.9rem;
        line-height: 1.5;
        color: #444;
    }

    .modal-cta {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .modal-contact-btn {
        width: 100% !important;
        padding: 16px;
        font-size: 1rem;
        text-align: center;
        border-radius: 8px;
    }

    /* =========================== */
    /* COMPREHENSIVE MOBILE OPTIMIZATION */
    /* =========================== */
    
    /* Portfolio Grid Mobile Optimization */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .portfolio-item {
        margin-bottom: 0;
    }
    
    .portfolio-thumbnail {
        height: auto !important;
        aspect-ratio: 16/10 !important;
        overflow: hidden !important;
        border-radius: 12px !important;
    }
    
    .portfolio-thumbnail img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .portfolio-summary {
        padding: 16px;
    }
    
    .portfolio-summary h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .portfolio-performance h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    /* Services Section Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 24px 20px;
        text-align: center;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .service-features {
        text-align: left;
        margin-top: 16px;
    }
    
    .service-features li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    /* Process Section Mobile */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step-card {
        padding: 20px;
        text-align: center;
    }
    
    .step-card-header {
        margin-bottom: 16px;
    }
    
    .step-card-number {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .step-card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .step-card-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* CTA Section Mobile */
    .cta-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .cta-content > p {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.5;
    }
    
    .cta-form {
        max-width: 100%;
        padding: 24px 20px;
        margin: 0;
    }
    
    .cta-form h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .contact-form button {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
        border-radius: 8px;
        margin-top: 16px;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-logo-header {
        justify-content: center;
    }
    
    .footer-logo h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo p,
    .footer-info p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Section Headers Mobile */
    .section-header {
        text-align: center;
        margin-bottom: 32px;
        padding: 0 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
        color: #666;
    }
    
    /* Container Mobile */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    /* Glass Section Mobile */
    .glass-section {
        padding: 60px 0;
        margin: 0;
    }
    
    /* Button Improvements */
    .btn-primary-new,
    .btn-secondary-new {
        min-height: 48px;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
    }
    
    .btn-primary-new:hover,
    .btn-secondary-new:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    /* Typography Mobile */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        margin-bottom: 0.8em;
    }
    
    p {
        line-height: 1.6;
        margin-bottom: 1em;
    }
    
    /* Improved Spacing */
    section {
        scroll-margin-top: 80px; /* Account for fixed navbar */
    }
    
    /* Touch Improvements */
    button, .btn-primary-new, .btn-secondary-new, .nav-link {
        min-height: 44px; /* iOS recommended touch target */
        cursor: pointer;
    }
    
    /* Image Optimization */
    img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    /* Accessibility Improvements */
    :focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }
    
    /* Performance Optimizations */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

/* Contact Status Modal Styles */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
}

.contact-modal-overlay.show .contact-modal-content {
    transform: scale(1) translateY(0);
}

.contact-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-modal-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
    animation: success-pulse 0.6s ease-out;
}

.contact-modal-icon.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: error-shake 0.6s ease-out;
}

.contact-modal-icon.loading {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    animation: loading-spin 1s linear infinite;
}

@keyframes success-pulse {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes error-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#contactModalTitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2937;
}

#contactModalMessage {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contact-modal-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.contact-modal-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.contact-modal-btn:active {
    transform: translateY(0);
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .contact-modal-content {
        padding: 32px 24px;
        max-width: 340px;
    }
    
    .contact-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
    
    #contactModalTitle {
        font-size: 20px;
    }
    
    #contactModalMessage {
        font-size: 14px;
    }
    
    .contact-modal-btn {
        padding: 10px 28px;
        font-size: 14px;
    }
}