/* ===================================
   청목 법무사 - 공통 스타일시트
   ================================== */

/* 전역 오버플로우 방지 */
html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    max-width: 100vw;
}

/* 기본 설정 */
* {
    font-family: 'NanumSquare', 'Noto Sans KR', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



/* 웹폰트 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css');

/* 기본 타이포그래피 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'NanumSquare', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* 색상 변수 - 진중하고 묵직한 법무 테마 */
:root {
    --primary-color: #1a365d;      /* 깊은 네이비 - 신뢰감과 전문성 */
    --secondary-color: #2d4a6b;    /* 중간 네이비 */
    --accent-color: #b8860b;       /* 골드 - 권위와 품격 */
    --dark-color: #1a202c;         /* 진한 차콜 */
    --light-color: #f7fafc;        /* 연한 그레이 */
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #4a5568;               /* 차분한 그레이 */
    --gray-dark: #2d3748;          /* 진한 그레이 */
    --success: #38a169;            /* 차분한 그린 */
    --warning: #d69e2e;            /* 차분한 오렌지 */
    --danger: #c53030;             /* 차분한 레드 */
    --info: #2c5282;               /* 차분한 블루 */
    
    /* 법무 전용 색상 */
    --law-primary: #1a365d;        /* 법조계 전통 네이비 */
    --law-secondary: #2c5282;      /* 신뢰감 있는 블루 */
    --law-accent: #b8860b;         /* 권위있는 골드 */
    --law-text: #2d3748;           /* 공식적인 텍스트 */
    --law-bg: #f7fafc;             /* 깔끔한 배경 */
    --law-warm: #fefcf7;           /* 따뜻한 화이트 */
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #3d6db7);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e4080, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #e67e22);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #d68910, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 글로우 효과 */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

/* 헤더 스타일 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
}



/* 드롭다운 메뉴 스타일 */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 0.5rem 0;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu > li:hover > a {
    color: var(--accent-color);
}

/* href가 #인 메뉴 항목 커서 스타일 */
.nav-menu a[href="#"] {
    cursor: pointer;
}

/* 드롭다운 서브메뉴 */
.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu > li:hover .submenu,
.nav-menu > li.submenu-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .submenu li {
    list-style: none;
}

.nav-menu .submenu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--gray-dark);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-menu .submenu a:hover {
    background: var(--gray-light);
    color: var(--primary-color);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu > li {
        width: 100%;
        position: relative;
    }
    
    /* 서브메뉴가 있는 메뉴 항목 표시 */
    .nav-menu > li.has-submenu > a::after {
        content: '▼';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.8rem;
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }
    
    .nav-menu > li.submenu-open > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .nav-menu .submenu {
        display: none;
        position: static;
        background: #f8f9fa;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu .submenu.open {
        display: block;
        animation: fadeIn 0.3s;
    }
    
    .nav-menu > li.submenu-open > a {
        background: #e6ecf5;
        color: var(--primary-color);
    }
    
    .nav-menu .submenu li {
        list-style: none;
    }
    
    .nav-menu .submenu li a {
        display: block;
        padding: 14px 24px 14px 40px;
        color: #2a5298;
        font-size: 0.95rem;
        border-bottom: 1px solid #e6ecf5;
        background: #f8f9fa;
        transition: all 0.2s ease;
    }
    
    .nav-menu .submenu li a:hover {
        background: #e6ecf5;
        color: var(--primary-color);
        transform: none;
        padding-left: 45px;
    }
    
    .nav-menu .submenu li:last-child a {
        border-bottom: none;
    }
}

/* 모바일 메뉴 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}



/* 섹션 공통 스타일 */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 300;
}

/* 카드 스타일 */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* 추가 애니메이션 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 새로운 애니메이션 클래스 */
.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease forwards;
}

.animate-slideInUp {
    animation: slideInUp 0.7s ease forwards;
}

/* 스크롤 애니메이션 - 수정된 버전 */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-element.fade-left {
    transform: translateX(-30px);
}

.animate-element.fade-left.animate-in {
    transform: translateX(0);
}

.animate-element.fade-right {
    transform: translateX(30px);
}

.animate-element.fade-right.animate-in {
    transform: translateX(0);
}

.animate-element.scale-in {
    transform: scale(0.9);
}

.animate-element.scale-in.animate-in {
    transform: scale(1);
}

.highlight-next {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.3);
    border-color: var(--accent-color);
    transition: all 0.3s ease;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.pulsing {
    animation: pulse 2s ease-in-out infinite;
}

/* 스크롤 프로그레스 바 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.1s ease;
}

/* 모달 스타일 */
.step-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.step-modal.show {
    opacity: 1;
    visibility: visible;
}

.step-modal.fade-out {
    opacity: 0;
    visibility: hidden;
}

.step-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.step-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.step-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.step-modal-close:hover {
    color: var(--primary-color);
}

.step-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.step-modal-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-modal-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.step-modal-body p {
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.step-modal-duration {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.step-modal-tips h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-modal-tips ul {
    list-style: none;
    padding: 0;
}

.step-modal-tips li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.step-modal-tips li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.step-modal-tips li:last-child {
    border-bottom: none;
}

/* 로딩 애니메이션 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 반응형 모달 및 애니메이션 */
@media (max-width: 768px) {
    .step-modal-content {
        padding: 1.5rem;
        max-width: 95%;
        margin: 1rem;
        max-height: 90vh;
    }
    
    .step-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .step-modal-number {
        margin: 0 auto;
    }
    
    .flow-step {
        padding: 2rem 1.5rem;
    }
    
    .flow-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* 모션 감소 설정 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-progress-bar {
        transition: none;
    }
    
    .floating, .pulsing {
        animation: none;
    }
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* 텍스트 애니메이션 */
.typing-text {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* 그라데이션 텍스트 */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* 관련 서류 사이트 섹션 */
.related-sites-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.related-sites-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(26, 54, 93, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
}

.related-sites-section .container {
    position: relative;
    z-index: 2;
}

.related-sites-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.related-sites-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.related-sites-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.site-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.site-card:hover::before {
    transform: scaleX(1);
}

.site-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.site-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.site-card:hover .site-logo {
    transform: scale(1.1) rotate(5deg);
}

.site-logo::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-card:hover .site-logo::before {
    opacity: 0.3;
}

.site-logo i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.site-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.site-card:hover .site-info h3 {
    color: var(--accent-color);
}

.site-desc {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.site-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.site-link:hover::before {
    left: 100%;
}

.site-link:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.site-link:active {
    transform: translateY(-1px);
}

/* 푸터 CTA 스타일 */
.footer-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-cta .btn {
    padding: 1rem 1.8rem;
    font-size: 1rem;
    border-radius: 8px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-cta .btn:hover {
    transform: translateY(-2px);
}

/* 푸터 */
.footer {
    background: linear-gradient(135deg, var(--dark-color), #34495e);
    color: var(--white);
    padding: 3rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        padding: 15px;
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li > a {
        padding: 18px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 1.1rem;
        font-weight: 500;
        min-height: 48px;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
        position: relative;
        justify-content: space-between;
    }
    
    .nav-menu > li:last-child > a {
        border-bottom: none;
    }
    
    .nav-menu > li > a:hover,
    .nav-menu > li > a:active {
        background-color: rgba(26, 54, 93, 0.1);
        color: var(--primary-color);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .btn {
        width: 100%;
        text-align: center;
        min-height: 48px;
        padding: 12px 24px;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    /* 관련 서류 섹션 모바일 */
    .related-sites-section {
        padding: 80px 0;
    }
    
    .related-sites-section .section-title {
        font-size: 2rem;
    }
    
    .sites-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .site-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .site-logo {
        width: 70px;
        height: 70px;
    }
    
    .site-logo i {
        font-size: 1.8rem;
    }
    
    .site-info h3 {
        font-size: 1.2rem;
    }
    
    .site-link {
        padding: 0.9rem 1.6rem;
        font-size: 0.95rem;
        border-radius: 40px;
    }
    
    .footer-cta {
        flex-direction: column;
        margin-top: 1.5rem;
        gap: 0.8rem;
    }
    
    .footer-cta .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .header-container {
        height: 70px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    /* 관련 서류 섹션 초소형 모바일 */
    .related-sites-section {
        padding: 60px 0;
    }
    
    .related-sites-section .section-title {
        font-size: 1.8rem;
    }
    
    .sites-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .site-card {
        padding: 1.8rem 1.2rem;
        border-radius: 14px;
    }
    
    .site-logo {
        width: 60px;
        height: 60px;
    }
    
    .site-logo i {
        font-size: 1.6rem;
    }
    
    .site-info h3 {
        font-size: 1.1rem;
    }
    
    .site-desc {
        font-size: 0.9rem;
    }
    
    .site-link {
        padding: 0.8rem 1.4rem;
        font-size: 0.9rem;
        border-radius: 30px;
        width: 100%;
        max-width: 200px;
    }
}

/* 로딩 애니메이션 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 유틸리티 클래스 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* ===================================
   새로운 법무 전문 스타일
   ================================== */

/* 히어로 섹션 전체 스타일 */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--law-primary) 0%, var(--law-secondary) 50%, var(--law-primary) 100%);
}

/* 히어로 배경 레이어 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(26, 54, 93, 0.9) 0%, 
        rgba(44, 74, 107, 0.8) 50%, 
        rgba(26, 54, 93, 0.9) 100%);
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
    z-index: 3;
}

/* 파티클 컨테이너 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
}

.particle {
    position: absolute;
    background: rgba(184, 134, 11, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 히어로 콘텐츠 */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

/* 새로운 히어로 배지 스타일 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--law-accent), #d4af37);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-main {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.hero-sub {
    font-size: 3.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    color: var(--law-accent);
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-subtitle strong {
    color: white;
    font-weight: 700;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-stats .stat:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-stats .stat i {
    color: var(--law-accent);
    font-size: 1.1rem;
}

.hero-trust {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 54, 93, 0.2);
}

.hero-cta {
    margin: 3rem 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--law-accent), #d4af37);
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.hero-btn-primary:hover::before {
    left: 100%;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.5);
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-trust {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-text {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.trust-text span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.trust-text span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trust-text i {
    color: var(--law-accent);
    font-size: 1.1rem;
}

/* ===============================================
   Li 기반 플로우차트 시스템 (기존 구조 참고)
   인가는 아래로, 불인가는 오른쪽으로 분기
   =============================================== */

/* 플로우차트 컨테이너 */
.recovery-flowchart, .bankruptcy-flowchart {
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 플로우 리스트 */
.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.flow-list::after {
    display: block;
    clear: both;
    content: "";
}

/* 각 플로우 단계 (li) */
.flow-list > li {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    min-height: 80px;
}

.flow-list > li:last-child {
    margin-bottom: 0;
}

/* 메인 박스 (왼쪽 30%) */
.main-box {
    flex: 0 0 30%;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    text-align: center;
    padding: 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    color: #1e293b;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 하이라이트 박스 */
.main-box.highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-color: #d97706;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
}

/* 성공 박스 */
.main-box.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #047857;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* 호버 효과 */
.main-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.main-box.highlight:hover {
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.main-box.success:hover {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

/* 분기 화살표 (가운데 10%) */
.branch-right {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    border: 2px solid rgba(239, 68, 68, 0.2);
    position: relative;
}

/* 화살표 아이콘 */
.branch-right::after {
    content: "→";
    font-size: 1.2rem;
    margin-left: 0.5rem;
    color: #dc2626;
}

/* 종료 박스 (오른쪽 30%) */
.end-box {
    flex: 0 0 30%;
    text-align: center;
    padding: 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 12px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* 실패 종료 박스 */
.end-box.failure {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 2px solid #b91c1c;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
    position: relative;
}

.end-box.failure:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

/* 실패 박스 X 표시 */
.end-box.failure::before {
    content: "✕";
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid #dc2626;
}

/* 분기가 없는 li의 경우 */
.flow-list > li:not(:has(.branch-right)) .main-box {
    flex: 1;
    margin-right: 0;
}

/* 플로우 연결선 (세로) */
.flow-list > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 15%;
    bottom: -1rem;
    width: 3px;
    height: 1rem;
    background: linear-gradient(to bottom, #94a3b8, #64748b);
    border-radius: 2px;
    z-index: 1;
}

/* 플로우 화살표 (아래) */
.flow-list > li:not(:last-child)::before {
    content: "⬇";
    position: absolute;
    left: 15%;
    bottom: -2.5rem;
    transform: translateX(-50%);
    color: #64748b;
    font-size: 1.2rem;
    z-index: 2;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .recovery-flowchart, .bankruptcy-flowchart {
        padding: 1.5rem 1rem;
        margin: 2rem auto;
    }
    
    .flow-list > li {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .main-box, .end-box {
        flex: none;
        width: 100%;
    }
    
    .branch-right {
        flex: none;
        width: 100%;
        margin: 0;
        justify-content: center;
    }
    
    .branch-right::after {
        content: "⬇";
        margin-left: 0.5rem;
    }
    
    /* 모바일에서 연결선 제거 */
    .flow-list > li::after,
    .flow-list > li::before {
        display: none;
    }
    
    /* 모바일 전용 연결 화살표 */
    .flow-list > li:not(:last-child) .main-box::after {
        content: "⬇";
        position: absolute;
        bottom: -2rem;
        left: 50%;
        transform: translateX(-50%);
        color: #64748b;
        font-size: 1.5rem;
        background: white;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .main-box, .end-box {
        padding: 1rem;
        font-size: 0.85rem;
        min-height: 60px;
    }
    
    .branch-right {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .flow-list > li {
        margin-bottom: 2rem;
    }
}

/* PC 버전 최적화 */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding-left: 24px;
        padding-right: 24px;
        width: 100%;
    }
    
    .section {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 3rem;
    }
    
    /* 그리드 시스템 최적화 */
    .services-grid,
    .credentials-grid,
    .cases-container,
    .disqualification-grid,
    .document-categories,
    .requirements-grid {
        display: grid;
        gap: 30px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .credentials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cases-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .disqualification-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .document-categories {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .requirements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 카드 요소 최적화 */
    .service-card,
    .credential-card,
    .case-card,
    .disqualification-item,
    .document-category,
    .requirement-card {
        height: 100%;
        padding: 2rem;
    }
    
    /* 비교 섹션 최적화 */
    .comparison-container {
        display: flex;
        align-items: stretch;
        gap: 40px;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .comparison-card {
        flex: 1;
        min-width: 0;
    }
    
    .vs-divider {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* 히어로 섹션 최적화 */
    .hero-content {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.2;
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 3rem;
    }
    
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .hero-stats .stat {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-cta {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin: 3rem 0;
    }
    
    .hero-btn-primary,
    .hero-btn-outline {
        min-width: 200px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .hero-trust {
        margin-top: 3rem;
    }
    
    .trust-text {
        display: flex;
        justify-content: center;
        gap: 3rem;
    }
    
    .trust-text span {
        font-size: 1rem;
    }
    
    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding-left: 24px;
        padding-right: 24px;
        width: 100%;
    }
}

.core-values {
    padding-bottom: 3rem;
}

/* 애니메이션 효과 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* 호버 효과 */
.nav-menu > li > a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 카드 호버 효과 */
.service-card:hover,
.expert-card:hover,
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 섹션 애니메이션 */
.section {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* FAQ 아코디언 효과 */
.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* 스크롤 애니메이션 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 모바일 메뉴 애니메이션 */
.mobile-menu {
    animation: slideIn 0.3s ease forwards;
}

/* 퀵 배너 호버 효과 */
.quick-banner:hover {
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* 푸터 링크 호버 효과 */
.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* 섹션 컨테이너 크기 조절 */
.section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    overflow: hidden;
}

/* 섹션 여백 조정 */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* 서비스 섹션 */
.service-section .container {
    max-width: 1000px;
}

/* 비교 섹션 */
.comparison-section .container {
    max-width: 1000px;
}

/* 성공사례 섹션 */
.case-section .container {
    max-width: 1000px;
}

/* 전문가 섹션 */
.expert-section .container {
    max-width: 1000px;
}

/* 상담 섹션 */
.consultation-section .container {
    max-width: 800px;
}

/* 사무소 소개 섹션 */
.about-section .container {
    max-width: 1000px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section .container {
        padding: 0 16px;
    }
}

/* 개인파산 페이지 스타일 */
.bankruptcy-intro,
.bankruptcy-benefits,
.bankruptcy-consultation {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.bankruptcy-process {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .bankruptcy-intro,
    .bankruptcy-benefits,
    .bankruptcy-consultation,
    .bankruptcy-process {
        padding: 0 16px;
    }
} 