/* 기본 스타일 */
:root {
    --primary-navy: #1a2a3a;    /* 더 진한 네이비 */
    --secondary-navy: #2c3e50;  /* 더 진한 보조 네이비 */
    --accent-orange: #e74c3c;   /* 선명한 레드 오렌지 */
    --light-orange: #ff7675;    /* 부드러운 코랄 */
    --white: #FFFFFF;
    --light-gray: #F5F6FA;
    --text-dark: #1a1a1a;       /* 더 진한 텍스트 색상 */
    --text-gray: #4a4a4a;       /* 더 진한 회색 텍스트 */
    --kakao-color: #FEE500;
    --accent-blue: #3498db;      /* 선명한 블루 오렌지 */
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-gray);
    margin: 0;
    padding: 0;
}

/* PC에서만 표시되는 줄바꿈 요소 */
.pc-only {
  display: inline;
}

/* 모바일에서만 표시되는 줄바꿈 요소 */
.mobile-only {
  display: none;
}

/* 히어로 섹션 스타일 개선 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--primary-navy);
}

/* 배경 이미지 레이어 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroImageScale 30s ease-in-out infinite alternate;
    z-index: 1;
    opacity: 0.6;
    will-change: transform;
    transform: translateZ(0);
}

/* 오버레이 레이어 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  background: linear-gradient(
      135deg,
      rgba(26, 42, 58, 0.92) 0%,
      rgba(44, 62, 80, 0.92) 100%
  );
  z-index: -1;
}

/* 기하학적 패턴 레이어 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternFloat 20s linear infinite;
    z-index: 1;
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* 글로우 효과 */
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.01) 0%,
        transparent 90%
    );
    pointer-events: none;
    z-index: -2;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes heroImageScale {
    0% {
        transform: scale(1) translateZ(0);
    }
    100% {
        transform: scale(1.05) translateZ(0);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    animation: contentFadeIn 1s ease-out forwards;
}

/* 텍스트 회전 래퍼 개선 */
.text-rotate-wrapper {
    height: 7rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
    width: 100%;
}

.subtitle-rotate-wrapper {
    height: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: visible;
    width: 100%;
}

/* 텍스트 아이템 스타일 개선 */
.text-rotate .text-item {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(120deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    text-align: center;
}

.subtitle-rotate .text-item {
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    text-align: center;
}

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

/* CTA 버튼 개선 */
.cta-button {
    position: relative;
    z-index: 3;
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, var(--primary-navy), var(--accent-orange));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 스크롤 인디케이터 추가 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.scroll-indicator .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 2px;
    animation: scrollMouse 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

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

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

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

/* 반응형 디자인 개선 */
@media (max-width: 768px) {
    .text-rotate .text-item {
        font-size: 3.2rem;
    }

    .subtitle-rotate .text-item {
        font-size: 1.2rem;
    }

    .text-rotate-wrapper {
        height: 5.5rem;
    }

    .subtitle-rotate-wrapper {
        height: 2.5rem;
    }

    .cta-button {
        padding: 1.1rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .text-rotate .text-item {
        font-size: 2.5rem;
    }

    .subtitle-rotate .text-item {
        font-size: 1rem;
    }

    .text-rotate-wrapper {
        height: 4.5rem;
    }

    .subtitle-rotate-wrapper {
        height: 2rem;
    }
}

/* 타임라인 스타일 */
.process-timeline {
    padding: 60px 0;
    background: #F8F9FA;
}

.timeline-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    padding: 20px 0;
    display: flex; align-items: center; justify-content: center;
}

.timeline-item {
    min-width: 250px;
    margin: 0 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.timeline-item .day {
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

/* 전문성 섹션 스타일 */
.expertise-grid {
    padding: 80px 0;
    background: white;
}

.expertise-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 20px;
}

.expertise-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.card-visual {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 206px;
    overflow: hidden;
    z-index: 1;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.expertise-card:hover .visual-image {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.9) 50%,
        #fff 100%
    );
    z-index: 2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.visual-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    transition: all 0.3s ease;
    pointer-events: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.expertise-card:hover .visual-pattern {
    transform: scale(1.1);
    opacity: 0.2;
}

.research-pattern {
    background:
        radial-gradient(circle at 10% 20%, rgba(0,0,0,0.05) 0%, transparent 20%) 50px 50px,
        radial-gradient(circle at 90% 80%, rgba(0,0,0,0.05) 0%, transparent 20%) 30px 30px,
        linear-gradient(45deg, rgba(0,0,0,0.02) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.02) 75%);
    background-size: 100px 100px, 100px 100px, 60px 60px;
    animation: patternFloat 20s linear infinite;
}

.finance-pattern {
    background:
        linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 25%) -10px 0,
        linear-gradient(-45deg, rgba(0,0,0,0.03) 25%, transparent 25%) -10px 0,
        linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.03) 75%) -10px 0,
        linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.03) 75%) -10px 0;
    background-size: 20px 20px;
    animation: patternFloat 15s linear infinite;
}

.network-pattern {
    background:
        radial-gradient(circle at 30% 50%, rgba(0,0,0,0.03) 0%, transparent 15%) 30px 30px,
        radial-gradient(circle at 70% 50%, rgba(0,0,0,0.03) 0%, transparent 15%) 30px 30px,
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px) 0 0;
    background-size: 60px 60px, 60px 60px, 30px 30px;
    animation: patternFloat 25s linear infinite;
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.card-stats {
    margin-top: auto;
    padding-top: 1.5rem;
    position: relative;
    z-index: 3;
    margin-bottom: 1rem;
}

.stat {
    text-align: center;
    margin-bottom: 0;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-color-light);
    display: block;
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* 상담 폼 스타일 개선 */
.quick-consult {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    padding: 80px 0;
}

.consult-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/*.form-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}*/

.form-field {
    width: 100%;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #1a3a6d;
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #2a5298;
    outline: none;
}

.form-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    font-size: 24px;
    color: var(--accent-orange);
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    color: var(--primary-navy);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-text span {
    color: #666;
    font-size: 0.9rem;
}

.kakao-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    background: var(--kakao-color);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kakao-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254,229,0,0.3);
}

.network-visualization {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 섹션 공통 스타일 개선 */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, var(--primary-navy), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-orange));
    border-radius: 3px;
}

.section-title .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-gray);
    margin-top: 1rem;
    -webkit-text-fill-color: var(--text-gray);
}

/* 타임라인 개선 */
.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-navy);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-10px);
}

.timeline-item .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

/* 전문성 카드 개선 */
.expertise-card {
    position: relative;
    overflow: hidden;
}

.card-icon {
    font-size: 40px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.card-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.expertise-card .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.korea-map {
    margin-top: 20px;
    height: 150px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* 상담 폼 개선 */
.consult-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.form-features {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-navy);
}

.kakao-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
}

.kakao-button img {
    width: 24px;
    height: 24px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .expertise-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-container {
        overflow-x: auto;
        padding: 20px;
    }

    .form-features {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .text-rotate-wrapper {
        height: 4rem;
    }

    .subtitle-rotate-wrapper {
        height: 2.5rem;
    }

    .text-rotate .text-item {
        font-size: 2.5rem;
        line-height: 1.6;
    }

    .subtitle-rotate .text-item {
        font-size: 1.2rem;
        line-height: 2;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .hero::after {
        background-size: 40px 40px;
    }

    .form-group {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .consult-form {
        padding: 25px;
        margin: 0 15px;
    }
}



/* 상담 옵션 카드 스타일 */
.consult-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.consult-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.consult-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 40px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.card-features li {
    margin: 10px 0;
    color: var(--primary-navy);
}

.card-features i {
    color: var(--accent-orange);
    margin-right: 10px;
}

.custom-consult-button {
    background: var(--primary-navy);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.custom-consult-button:hover {
    background: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43,58,103,0.3);
}

/* 모달 스타일 개선 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-navy);
    font-size: 1.5rem;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--accent-orange);
}

.modal-body {
    padding: 30px;
}

/* 단계 표시기 */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    padding: 0 20px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: white;
    border: 2px solid #eee;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
}

.step.completed {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

/* 단계별 폼 */
.step-forms {
    position: relative;
    min-height: 400px;
}

.step-form {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-form.active {
    display: block;
}

/* 업종 선택 카드 */
.industry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.industry-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.industry-card i {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.industry-card h4 {
    margin: 0 0 10px;
    color: var(--primary-navy);
    font-size: 1.2rem;
}

.industry-card p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.industry-card.selected {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: white;
}

.industry-card.selected i,
.industry-card.selected h4 {
    color: white;
}

.industry-card.selected p {
    color: rgba(255,255,255,0.8);
}

/* 상담 분야 카드 */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(44, 62, 80, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-navy);
    transition: all 0.3s ease;
}

.service-content {
    flex-grow: 1;
}

.service-content h4 {
    margin: 0 0 5px;
    color: var(--primary-navy);
    font-size: 1.1rem;
}

.service-desc {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.service-arrow {
    margin-left: 15px;
    color: #ccc;
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-orange);
    transform: translateX(5px);
}

.service-card:hover .service-arrow {
    transform: translateX(5px);
    color: var(--accent-orange);
}

.service-card.selected {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
}

.service-card.selected .service-icon {
    background: rgba(255,255,255,0.2);
}

.service-card.selected .service-icon i,
.service-card.selected h4 {
    color: white;
}

.service-card.selected .service-desc {
    color: rgba(255,255,255,0.8);
}

.service-card.selected .service-arrow {
    color: white;
}

/* 기본 정보 폼 */
.info-form {
    max-width: 600px;
    margin: 0 auto;
}

/*.form-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}*/

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-navy);
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

/* 예약 캘린더 */
.calendar-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.calendar-picker {
    margin-bottom: 30px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.time-slot {
    padding: 12px;
    text-align: center;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
}

/* 네비게이션 버튼 */
.modal-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.prev-button,
.next-button {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-button {
    background: white;
    border: 2px solid #eee;
    color: #666;
}

.next-button {
    background: var(--accent-orange);
    border: none;
    color: white;
}

.prev-button:hover {
    border-color: var(--primary-navy);
    color: var(--primary-navy);
}

.next-button:hover {
    background: var(--primary-navy);
    transform: translateY(-2px);
}

/* 모달 반응형 디자인 */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        width: auto;
    }

    .step-indicator {
        padding: 0 10px;
    }

    .step {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .form-group {
        grid-template-columns: 1fr;
    }

    .industry-cards {
        grid-template-columns: 1fr;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 마이크로 인터랙션 */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(3deg);
}

/* 그리드 시스템 개선 */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}





/* 로딩 애니메이션 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-orange);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 스크롤 프로그레스 바 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--accent-orange);
    width: 0;
    transition: width 0.1s ease;
}

/* 이미지 최적화 */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* 이미지 로딩 플레이스홀더 */
.image-placeholder {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

/* 이미지 페이드인 애니메이션 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-image.loaded {
        opacity: 1;
}

/* 유튜브 섹션 스타일 */
.youtube-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.youtube-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.featured-video {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-orange);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.featured-video h3 {
    padding: 20px;
    margin: 0;
    font-size: 1.4em;
    color: var(--primary-navy);
}

.video-meta {
    position: relative;
    z-index: 1;
    padding: 0 20px 20px;
    color: #666;
    font-size: 0.9em;
    display: flex;
    gap: 20px;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-item {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-3px);
}

.thumbnail {
    position: relative;
    width: 160px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
}

.video-info {
    flex-grow: 1;
}

.video-info h4 {
    margin: 0 0 8px;
    font-size: 1.1em;
    color: var(--primary-navy);
}
.video-info h4 a{
    text-decoration: none;
    color: var(--primary-navy);
}

.youtube-cta {
    text-align: center;
    margin-top: 40px;
}

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF0000;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.youtube-button:hover {
    background: #CC0000;
    transform: translateY(-2px);
}

/* 전문가 칼럼 섹션 스타일 */
.column-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.column-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 62, 100, 0.05) 0%, transparent 100%);
}

.column-grid {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.column-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.column-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.read-time {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-navy);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    z-index: 2;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

.column-content {
    padding: 20px;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.column-content h3 {
    margin: 0 0 10px;
    font-size: 1.3em;
    color: var(--primary-navy);
}

.excerpt {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tags {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    color: #666;
}

.read-more {
    display: block;
    padding: 15px 20px;
    text-align: right;
    color: var(--accent-orange);
    text-decoration: none;
    border-top: 1px solid #eee;
    transition: all 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.column-more {
    text-align: center;
    margin-top: 3rem;
}

.column-more .more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(120deg, var(--primary-navy), var(--accent-orange));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.column-more .more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 업무 사례 섹션 스타일 */
.case-studies {
    padding: 100px 0;
    background: white;
    position: relative;
}

.case-studies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pattern.svg') repeat;
    opacity: 0.1;
}

.case-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-button {
    padding: 12px 25px;
    border: 2px solid var(--primary-navy);
    background: transparent;
    color: var(--primary-navy);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-button.active,
.filter-button:hover {
    background: var(--primary-navy);
    color: white;
}

.case-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-header {
    padding: 25px;
    background: var(--primary-navy);
    border-bottom: none;
}

.case-tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--accent-orange);
    color: white;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 15px;
    font-weight: 500;
}

.case-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4em;
    line-height: 1.4;
}

.case-content {
    padding: 25px;
    color: var(--primary-navy);
}

.case-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
    padding: 25px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.case-stats .stat {
    text-align: center;
}

.case-stats .label {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.case-stats .value {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-navy);
}

.case-detail-button {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1em;
}

.case-detail-button:hover {
    background: var(--primary-navy);
    color: white;
}

.case-more {
    text-align: center;
    margin-top: 50px;
}

.case-more .more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(120deg, var(--primary-navy), var(--accent-orange));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .youtube-grid {
        grid-template-columns: 1fr;
    }

    .column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .column-grid {
        grid-template-columns: 1fr;
    }

    .video-item {
        flex-direction: column;
    }

    .thumbnail {
        width: 100%;
        height: 180px;
    }

    .case-filter {
        overflow-x: auto;
        padding-bottom: 10px;
        margin: 0 -20px 30px;
        padding: 0 20px 10px;
    }

    .filter-button {
        white-space: nowrap;
    }
}

/* 전문가 칼럼 필터 스타일 */
.column-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.column-filter .filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-navy);
    background: transparent;
    color: var(--primary-navy);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.column-filter .filter-btn:hover,
.column-filter .filter-btn.active {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .column-filter {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        margin: 0 -20px 30px;
        padding: 0 20px 10px;
    }

    .column-filter .filter-btn {
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* 마우스 커서 효과 */
.cursor-effect {
    width: 20px;
    height: 20px;
    background: rgba(231, 76, 60, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-effect.active {
    transform: scale(2);
    background: rgba(231, 76, 60, 0.2);
}

/* 섹션 진입 애니메이션 */
.section-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;  /* 성능 최적화 */
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 카드 호버 효과 개선 */
.expertise-card,
.consult-card,
.case-card,
.column-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.expertise-card:hover,
.consult-card:hover,
.case-card:hover,
.column-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 버튼 물결 효과 */
.cta-button,
.contact-button,
.custom-consult-button {
    position: relative;
    overflow: hidden;
}

.cta-button::after,
.contact-button::after,
.custom-consult-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.cta-button:active::after,
.contact-button:active::after,
.custom-consult-button:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* 스크롤 프로그레스 바 개선 */
.scroll-progress {
    height: 5px;
    background: linear-gradient(90deg,
        rgba(231, 76, 60, 0.3),
        rgba(231, 76, 60, 0.1)
    );
}

.scroll-progress-bar {
    background: linear-gradient(90deg,
        var(--accent-orange),
        var(--light-orange)
    );
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

/* 네비게이션 메뉴 호버 효과 개선 */
.nav-item > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-item:hover > a::before {
    width: 100%;
}

/* 숫자 카운터 애니메이션 */
.stat .number {
    display: inline-block;
        opacity: 0;
        transform: translateY(10px);
    }

.stat.animate .number {
    animation: numberCount 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* 타임라인 아이템 호버 효과 */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(231, 76, 60, 0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.timeline-item:hover::after {
    opacity: 1;
}

/* 로딩 스피너 개선 */
.loading-spinner {
    border-top-color: var(--accent-orange);
    filter: drop-shadow(0 0 10px rgba(231, 76, 60, 0.5));
}

@keyframes spin {
    to {
        transform: rotate(360deg) scale(1.1);
    }
}

/* 키워드별 아이콘 설정 */
.keyword[data-icon="company"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
}

.keyword[data-icon="audit"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.keyword[data-icon="research"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z'/%3E%3C/svg%3E");
}

.keyword[data-icon="accounting"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E");
}

.keyword[data-icon="consulting"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z'/%3E%3C/svg%3E");
}

.keyword[data-icon="branch"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z'/%3E%3C/svg%3E");
}

.keyword[data-icon="insurance"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E");
}

.keyword[data-icon="tax"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z'/%3E%3C/svg%3E");
}

.keyword[data-icon="vat"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14h-2V9h-2V7h4v10zm6-3h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2z'/%3E%3C/svg%3E");
}

.keyword[data-icon="income"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
}

/* 키워드 아이콘 기본 스타일 */
.keyword::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: -8px;
    right: -8px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 1;
}

/* 호버 효과 */
.keyword:hover::before {
    transform: rotate(15deg) scale(1.2);
    opacity: 1;
}

/* 모바일에서는 애니메이션 효과 줄이기 */
@media (max-width: 768px) {
    section {
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
}

/* 섹션 기본 스타일 */
section {
    position: relative;
    overflow: hidden;
}

/* 섹션 내부 요소 기본 스타일 */
.section-title,
.expertise-card,
.consult-card,
.case-card,
.column-card,
.timeline-item,
.industry-card,
.stat,
.card-stats,
.card-features,
.tags,
button {
    opacity: 1;
    visibility: visible;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* GSAP 애니메이션을 위한 성능 최적화 */
.gsap-marker-scroller-start,
.gsap-marker-scroller-end {
    display: none;
}

/* 모바일에서 애니메이션 최적화 */
@media (max-width: 768px) {
    .section-title,
    .expertise-card,
    .consult-card,
    .case-card,
    .column-card,
    .timeline-item,
    .industry-card {
        transform: none !important;
        opacity: 1 !important;
        transition: opacity 0.5s ease-out !important;
    }
}

.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 타임라인 커넥터 초기 상태 */
.timeline-connector {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease;
}

.timeline-connector.visible {
    transform: scaleX(1);
}

/* 주요 업무 분야 섹션 */
.main-services {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.main-services h2 {
    font-size: 2.4rem;
    color: #1a3a6d;
    margin-bottom: 60px;
}

.keywords-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.keyword {
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.keyword:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(42,82,152,0.15);
    background: #2a5298;
    color: #fff;
}

.keyword + .keyword {
    margin-top: 15px;
}

.keyword.size-lg {
    font-size: 1.4rem;
    padding: 20px 40px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(42,82,152,0.1);
}

.keyword.size-md {
    font-size: 1.2rem;
    padding: 16px 30px;
    box-shadow: 0 6px 18px rgba(42,82,152,0.08);
}

@media (max-width: 768px) {
    .main-services h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .keywords-wrapper {
        gap: 15px;
    }

    .keyword {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .keyword.size-lg {
        font-size: 1.3rem;
        padding: 15px 30px;
    }

    .keyword.size-md {
        font-size: 1.15rem;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .main-services h2 {
        font-size: 1.8rem;
    }

    .keyword {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .keyword.size-lg {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .keyword.size-md {
        font-size: 1.05rem;
        padding: 11px 22px;
    }
}

