/* ====================================================
   COMMON.CSS - 공통 스타일
   모든 페이지에서 공통으로 사용되는 스타일
   ==================================================== */

/* Google Fonts - Noto Sans KR (저작권 걱정 없는 오픈소스 폰트) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* 로컬 폰트 정의 */
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    src: local('Pretendard Light'), local('Malgun Gothic'), local('맑은 고딕');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    src: local('Pretendard'), local('Malgun Gothic'), local('맑은 고딕');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    src: local('Pretendard SemiBold'), local('Malgun Gothic Bold'), local('맑은 고딕');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    src: local('Pretendard Bold'), local('Malgun Gothic Bold'), local('맑은 고딕');
}

/* 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 가로 스크롤 방지 */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: '맑은 고딕', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* 모든 섹션 스크롤 방지 */
section {
    overflow: visible;
    max-width: 100%;
    width: 100%;
    position: relative;
}

/* 컨테이너 스크롤 방지 */
.container {
    max-width: 100%;
    overflow: visible;
}

/* 스크롤바 스타일 - 파란색 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f9ff;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 6px;
    border: 2px solid #f0f9ff;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #f0f9ff;
}

:root {
    /* BRIGHT CORPORATE 3-COLOR SYSTEM */
    /* Primary: Vibrant Blue - Trust, Technology, Clarity */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --primary-950: #172554;

    /* Accent: Modern Purple - Innovation, Premium (Lighter) */
    --accent-50: #faf5ff;
    --accent-100: #f3e8ff;
    --accent-200: #e9d5ff;
    --accent-300: #d8b4fe;
    --accent-400: #c4b5fd;
    --accent-500: #a78bfa;
    --accent-600: #8b5cf6;
    --accent-700: #7c3aed;
    --accent-800: #6d28d9;
    --accent-900: #5b21b6;

    /* Success: Fresh Green - Growth, Success, Positivity */
    --success-50: #f0fdf4;
    --success-100: #dcfce7;
    --success-200: #bbf7d0;
    --success-300: #86efac;
    --success-400: #4ade80;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;
    --success-800: #166534;
    --success-900: #14532d;

    /* Premium Neutral Palette - More sophisticated grays */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --gray-950: #0f172a;

    /* Legacy compatibility - map to new system */
    --blue: var(--primary-600);
    --green: var(--success-600);
    --orange: var(--accent-600);
    --pink: var(--accent-500);
    --indigo: var(--primary-700);
    --cyan: var(--primary-500);
    --teal: var(--success-500);
    --red: var(--accent-700);
    --violet: var(--accent-600);
    --amber: var(--accent-500);

    /* Bright & Light Shadow System - Softer, lighter shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-premium: 0 20px 40px -8px rgba(59, 130, 246, 0.15);

    /* Premium Gradient System - Using 3-color palette */
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-900) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-800) 100%);
    --gradient-success: linear-gradient(135deg, var(--success-600) 0%, var(--success-800) 100%);
    --gradient-premium: linear-gradient(135deg, var(--primary-800) 0%, var(--accent-700) 50%, var(--primary-900) 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', '맑은 고딕', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: var(--gray-950);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

.container {
    max-width: min(1320px, 100vw);
    width: 100%;
    margin: 0 auto;
    padding: 0 min(2.5rem, 5vw);
    box-sizing: border-box;
}

/* Premium Header - 모든 페이지에서 공통 사용 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.header.scrolled {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Noto Serif KR', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-900);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--primary-600);
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 데스크톱 네비게이션 스타일 */
.mobile-nav-header {
    display: none;
}

.mobile-close-btn {
    display: none;
}

.nav-consultation {
    position: relative;
    padding: 0.875rem 1.5rem;
    margin-right: 1.5rem;
    color: var(--gray-700);
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.nav-consultation::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 2.5rem);
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #3b82f6 20%,
        #2563eb 50%,
        #3b82f6 80%,
        transparent 100%
    );
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.nav-consultation:hover {
    color: var(--primary-600);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    transform: translateY(-1px);
}

.nav-consultation:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.nav-cta:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

/* ===================================
   모바일 메뉴 스타일 (768px 이하)
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* 햄버거 버튼 */
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    /* 오버레이 배경 */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 사이드 슬라이드 메뉴 */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 85vw;
        max-width: 380px;
        background: white;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        z-index: 999;
        padding: 0 1.5rem 2rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.mobile-open {
        right: 0;
    }

    /* 모바일 메뉴 상단 헤더 */
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1.5rem;
        margin: 0 -1.5rem 0.75rem;
        border-bottom: 1px solid var(--gray-200);
        background: white;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-nav-logo {
        display: flex;
        align-items: center;
        gap: 0.625rem;
        text-decoration: none;
        font-family: 'Noto Serif KR', serif;
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-900);
        letter-spacing: -0.03em;
        transition: all 0.3s ease;
    }

    .mobile-nav-logo:hover {
        color: var(--primary-600);
    }

    .mobile-nav-logo span {
        white-space: nowrap;
    }

    /* 닫기 버튼 */
    .mobile-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .mobile-close-btn:hover {
        background: rgba(0, 0, 0, 0.1);
        transform: rotate(90deg);
    }

    .mobile-close-btn span {
        position: absolute;
        width: 18px;
        height: 2px;
        background: var(--gray-700);
    }

    .mobile-close-btn span:first-child {
        transform: rotate(45deg);
    }

    .mobile-close-btn span:last-child {
        transform: rotate(-45deg);
    }

    /* 기능 드롭다운 영역 */
    .nav-item-with-dropdown {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--success-700);
        text-decoration: none;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.12) 100%);
        border: 1px solid rgba(16, 185, 129, 0.25);
        border-radius: 10px;
        margin-bottom: 0.5rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
    }

    .nav-link:hover {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.18) 100%);
        border-color: rgba(16, 185, 129, 0.35);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
    }

    .nav-item-with-dropdown.active .nav-link {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.18) 100%);
        color: var(--success-700);
        border-color: rgba(16, 185, 129, 0.35);
        box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
    }

    .nav-link::after {
        content: '▼';
        font-size: 0.75rem;
        color: var(--success-600);
        margin-left: 0.5rem;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-item-with-dropdown.active .nav-link::after {
        transform: rotate(180deg);
    }

    /* 드롭다운 메뉴 */
    .features-dropdown {
        max-height: 0;
        overflow: hidden;
        position: static;
        width: 100%;
        max-width: 100%;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    }

    .nav-item-with-dropdown.active .features-dropdown {
        max-height: 800px;
        padding: 0.75rem 0 0 0;
    }

    .dropdown-grid {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 0.875rem;
        padding: 0.875rem 1rem;
        background: white;
        border: 1px solid var(--gray-200);
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .dropdown-item:hover {
        background: var(--primary-50);
        border-color: var(--primary-300);
        transform: translateX(4px);
        box-shadow: 0 3px 8px rgba(59, 130, 246, 0.15);
    }

    .dropdown-icon {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.18) 100%);
        border-radius: 8px;
        transition: transform 0.2s ease;
    }

    .dropdown-item:hover .dropdown-icon {
        transform: scale(1.1);
        background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    }

    .dropdown-content {
        flex: 1;
        min-width: 0;
    }

    .dropdown-content strong {
        display: block;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--gray-900);
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }

    .dropdown-content span {
        display: block;
        font-size: 0.8125rem;
        color: var(--gray-600);
        line-height: 1.4;
    }

    /* 상담하기 버튼 - 모바일 */
    .nav-consultation {
        display: block;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--success-700);
        text-decoration: none;
        text-align: center;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.12) 100%);
        border: 1px solid rgba(16, 185, 129, 0.25);
        border-radius: 10px;
        margin-bottom: 0.5rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
    }

    .nav-consultation:hover {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.18) 100%);
        border-color: rgba(16, 185, 129, 0.35);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
    }

    /* 로그인 버튼 - 모바일 */
    .nav-cta {
        position: relative;
        display: block;
        width: 100%;
        padding: 1rem 1.25rem;
        text-align: center;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 10px;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
        border: 1px solid var(--primary-700);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .nav-cta:hover {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    }

    /* 사용자 드롭다운 - 모바일 */
    .user-dropdown {
        display: none;
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        background: white;
        border-radius: 10px;
        border: 1px solid var(--gray-200);
        overflow: hidden;
    }

    .user-dropdown.show {
        display: block;
        animation: dropdownSlideDown 0.3s ease-out;
    }

    .user-dropdown a {
        display: block;
        padding: 1rem 1.25rem;
        color: var(--gray-700);
        text-decoration: none;
        text-align: center;
        font-size: 0.9375rem;
        font-weight: 500;
        transition: all 0.2s ease;
        border-bottom: 1px solid var(--gray-100);
    }

    .user-dropdown a:last-child {
        border-bottom: none;
    }

    .user-dropdown a:hover {
        background: var(--primary-50);
        color: var(--primary-600);
    }

    .dropdown-divider {
        height: 1px;
        background: var(--gray-200);
        margin: 0;
    }

    @keyframes dropdownSlideDown {
        from {
            opacity: 0;
            max-height: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            max-height: 200px;
            transform: translateY(0);
        }
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.nav a {
    font-family: 'Noto Sans KR', 'Pretendard', sans-serif;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.01em;
    padding: 0.75rem 0.875rem;
    border-radius: 10px;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--primary-600);
}

.nav a.nav-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    font-weight: 600;
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.nav a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.45);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s ease;
}

/* Premium Button System - 공통 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 3rem;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4),
                0 8px 10px -6px rgba(37, 99, 235, 0.3),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.5),
                0 12px 15px -6px rgba(37, 99, 235, 0.4),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-secondary {
    background: white;
    color: var(--primary-700);
    border: 2px solid var(--primary-600);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.2);
    font-weight: 700;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--primary-700);
    color: white;
    border-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline-primary {
    background: white;
    color: var(--primary-700);
    border: 2px solid var(--primary-600);
    font-weight: 700;
}

.btn-outline-primary:hover {
    background: var(--primary-700);
    color: white;
    border-color: var(--primary-700);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Premium Section Spacing */
section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 2rem;
    border: 1.5px solid rgba(37, 99, 235, 0.25);
}

.section-title {
    font-family: 'Noto Sans KR', 'Pretendard', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.section-title .highlight {
    color: var(--primary-700);
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-family: '맑은 고딕', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--gray-600);
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto;
}

/* Gradient Text - 공통 텍스트 스타일 */
.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* Footer - 공통 푸터 스타일 */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #18181b 100%);
    color: white;
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.5) 50%, transparent 100%);
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social-icons .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    color: var(--primary-400);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-decoration: none;
}

.footer-social-icons .social-icon:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    color: var(--primary-400);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-200);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-400);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-400);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 2rem));
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(calc(-100% - 2rem));
    }
    100% {
        transform: translateX(0);
    }
}

/* 사이드바 툴팁 스타일 - 아래쪽으로 표시 */
.sidebar-tooltip {
    position: absolute;
    left: 50%;
    top: calc(100% + 15px);
    transform: translateX(-50%);
    background: linear-gradient(135deg, #18181b 0%, #0f172a 100%);
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5),
                0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* 툴팁 화살표 - 위쪽 화살표 */
.sidebar-tooltip::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #18181b;
}

/* 호버 시 툴팁 표시 - 즉시 나타남 */
.sidebar-link:hover .sidebar-tooltip {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 20px);
    transition-delay: 0s;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* 모바일에서도 툴팁은 아래쪽으로 표시 (변경 없음) */
    .sidebar-tooltip {
        left: 50%;
        top: calc(100% + 15px);
        transform: translateX(-50%);
    }

    .sidebar-tooltip::before {
        left: 50%;
        bottom: 100%;
        transform: translateX(-50%);
        border-bottom-color: #1e40af;
    }

    .sidebar-link:hover .sidebar-tooltip {
        top: calc(100% + 20px);
    }

    .container {
        padding: 0 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 10003;
        position: relative;
    }

    .mobile-menu-btn.active {
        z-index: 10003;
    }

    /* 햄버거 버튼 활성화 시 완전히 숨김 */
    .mobile-menu-btn.active span {
        opacity: 0;
        transform: scale(0);
    }

    /* 모바일 메뉴 닫기 버튼 */
    .mobile-close-btn {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
        background: var(--gray-100);
        border: none;
        border-radius: 50%;
        font-size: 1.5rem;
        color: var(--gray-700);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        z-index: 10002;
    }

    .mobile-close-btn:hover {
        background: var(--gray-200);
        color: var(--gray-900);
        transform: rotate(90deg);
    }

    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 1.5rem 2rem !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2) !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 10001 !important;
        overflow-y: auto !important;
    }

    .nav.active {
        right: 0 !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* 푸터 텍스트 줄바꿈 방지 */
    .footer-brand h3,
    .footer-brand p,
    .footer-links h4,
    .footer-links a,
    .footer-bottom p {
        word-break: keep-all;
        white-space: nowrap;
    }

    .footer-section {
        min-width: 0;
        overflow-x: auto;
    }

    /* 버튼 텍스트 줄바꿈 방지 */
    .btn-block span {
        white-space: nowrap;
    }

    .btn-block {
        display: inline-flex;
        width: auto;
        min-width: 200px;
        padding: 1rem 2rem;
    }
}