/* ===== 기본 스타일 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Stripe-inspired Colors */
    --primary: #635BFF;
    --primary-dark: #0A2540;
    --primary-light: #F6F9FC;
    --accent: #00D4FF;
    --success: #00D924;
    --warning: #FFB800;
    --danger: #FF4242;
    --text-primary: #0A2540;
    --text-secondary: #425466;
    --text-muted: #6B7C93;
    --border: #E3E8EF;
    --background: #FFFFFF;
    --background-alt: #F6F9FC;
    --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 8px 24px rgba(10, 37, 64, 0.12);
    --shadow-xl: 0 16px 48px rgba(10, 37, 64, 0.16);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--background);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* ===== Large Screen Optimizations ===== */
@media (min-width: 1440px) {
    .container {
        max-width: 1100px;
    }

    .hero-content {
        max-width: 800px;
    }

    .main-purpose-buttons {
        max-width: 1000px;
    }

    .quick-links-grid {
        max-width: 900px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1100px;
    }

    body {
        font-size: 16px;
    }

    .hero-brand {
        font-size: 60px;
    }

    .hero-title {
        font-size: 52px;
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    transition: all 0.3s ease;
}

.logo {
    text-decoration: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
}

.logo span {
    background: linear-gradient(135deg, #5548d9 0%, #6a3d8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links > a,
.nav-links > .nav-dropdown,
.nav-links > .nav-language-selector {
    min-width: 80px;
    text-align: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 12px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Navigation Dropdown ===== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.2s ease;
    width: 100%;
}

.nav-dropdown-btn:hover {
    color: var(--primary);
}

.nav-dropdown-btn i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-dropdown.active .nav-dropdown-btn i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    margin-top: 8px;
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ===== Navigation Language Selector ===== */
.nav-language-selector {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.nav-language-btn {
    background: transparent;
    border: 1.5px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1001;
}

.nav-language-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.nav-language-btn i {
    font-size: 14px;
}

.nav-language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1002;
}

.nav-language-dropdown.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-lang-option {
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.nav-lang-option:hover {
    background: var(--background-alt);
}

.nav-lang-option.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.nav-lang-option .flag {
    font-size: 18px;
}

/* ===== Mobile Navigation Actions ===== */
.mobile-nav-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile Language Selector */
.mobile-language-selector {
    position: relative;
    display: none;
}

.mobile-language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1.5px solid var(--primary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-language-btn:hover {
    background: var(--primary);
    color: white;
}

.mobile-language-btn i {
    font-size: 14px;
}

.mobile-language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1002;
}

.mobile-language-dropdown.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-lang-option {
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.mobile-lang-option:hover {
    background: var(--background-alt);
}

.mobile-lang-option.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.mobile-lang-option .flag {
    font-size: 18px;
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
}

.btn-primary:hover {
    background: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 91, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Hero 섹션의 버튼 특별 스타일 */
.hero .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.4);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 140px 0 40px;
    background: white;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-brand {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    color: #1a1a1a;
    text-shadow: none;
    letter-spacing: -0.03em;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    text-shadow: none;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
    text-shadow: none;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.90);
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-gradient {
    display: none;
}

/* ===== Section Styles ===== */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Language Selector ===== */
.language-selector {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.language-btn {
    background: white;
    border: 2px solid var(--border);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.language-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.language-btn i:first-child {
    color: var(--primary);
    font-size: 18px;
}

.language-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector.show .language-btn i:last-child {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
}

.lang-option {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.lang-option:hover {
    background: var(--background-alt);
}

.lang-option.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.lang-option .flag {
    font-size: 20px;
}

/* ===== Main Purpose Buttons ===== */
.main-purpose-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.purpose-btn {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.purpose-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(99, 91, 255, 0.15);
    border-color: var(--primary);
}

.purpose-btn:active {
    transform: translateY(-2px);
}

.purpose-btn-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.purpose-btn:hover .purpose-btn-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.purpose-btn h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.purpose-btn:hover h3 {
    color: var(--primary);
}

.purpose-btn p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* 버튼임을 나타내는 화살표 */
.purpose-btn::after {
    content: '→';
    display: block;
    font-size: 20px;
    color: var(--primary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.purpose-btn:hover::after {
    opacity: 1;
    transform: translateX(4px);
}

/* 모바일 버튼 패딩 축소 */
@media (max-width: 768px) {
    .purpose-btn {
        padding: 32px 24px;  /* 48px → 32px (상하 패딩 축소) */
    }
    
    .purpose-btn-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
        margin: 0 auto 16px;
    }
}

/* ===== Purpose Detail Section ===== */
.purpose-detail-section {
    padding: 40px 0 60px;
    background: var(--background-alt);
    min-height: 100vh;
}

.purpose-detail-header {
    margin-bottom: 32px;
    text-align: center;
}

.purpose-detail-header h2 {
    margin-top: 12px;
    font-size: 32px;
}

.back-button {
    background: white;
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.back-button:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.back-button i {
    font-size: 13px;
}

/* ===== Visa Filter Section ===== */
.visa-filter-section {
    background: var(--background-alt);
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

/* ===== Visa Guide Steps ===== */
.visa-guide-section {
    background: var(--background);
    padding: 80px 0;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.step-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-card ul {
    padding-left: 0;
    list-style: none;
}

.step-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-align: left;
}

/* ===== Important Links Section ===== */
.important-links-section {
    background: var(--background-alt);
    padding: 80px 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.link-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.link-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.link-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.link-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Notice Section ===== */
.notice-section {
    background: var(--background);
    padding: 80px 0;
}

.notice-box {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 66, 66, 0.1) 100%);
    border: 2px solid var(--warning);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 24px;
    align-items: start;
}

.notice-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--warning);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.notice-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.notice-content ul {
    list-style: none;
    padding-left: 0;
}

.notice-content ul li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.notice-content ul li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--warning);
    font-weight: 700;
}

.notice-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ===== Quick Links Section ===== */
.quick-links-section {
    padding: 80px 0;
    background: var(--background);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.quick-link-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.quick-link-card:hover::before {
    opacity: 1;
}

.quick-link-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.quick-link-card > * {
    position: relative;
    z-index: 1;
}

.quick-link-card i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
    transition: all 0.4s ease;
}

.quick-link-card:hover i {
    color: white;
    transform: scale(1.15);
}

.quick-link-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    transition: color 0.4s ease;
}

.quick-link-card:hover h3 {
    color: white;
}

.quick-link-card p {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.4s ease;
}

.quick-link-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Visa Section ===== */
.visa-section {
    background: var(--background-alt);
}

.visa-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.visa-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.visa-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.visa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.visa-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}

.visa-id {
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.visa-badge {
    background: var(--background-alt);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.visa-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.visa-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.visa-meta {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.visa-meta i {
    margin-right: 4px;
    color: var(--primary);
}

/* ===== Guide Section ===== */
.guide-section {
    background: var(--background);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.guide-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.guide-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary);
}

.guide-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.guide-list {
    list-style: none;
}

.guide-list li {
    margin-bottom: 12px;
}

.guide-list a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.guide-list a:hover {
    color: var(--primary);
}

.guide-list a::before {
    content: '→';
    margin-right: 8px;
    color: var(--primary);
}

/* ===== Emergency Section ===== */
.emergency-section {
    background: var(--background-alt);
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.emergency-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.emergency-card.urgent {
    background: linear-gradient(135deg, rgba(255, 66, 66, 0.05) 0%, rgba(255, 184, 0, 0.05) 100%);
    border: 2px solid var(--danger);
}

.emergency-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.emergency-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--primary);
}

.emergency-card.urgent .emergency-icon {
    background: linear-gradient(135deg, rgba(255, 66, 66, 0.1) 0%, rgba(255, 184, 0, 0.1) 100%);
    color: var(--danger);
}

.emergency-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.emergency-numbers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.emergency-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.emergency-number:last-child {
    border-bottom: none;
}

.emergency-number .label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.emergency-number .number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.emergency-number .number:hover {
    color: var(--primary-dark);
}

.emergency-number .number.website {
    font-size: 14px;
    text-decoration: underline;
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--background);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: var(--background-alt);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
}

.faq-question i {
    font-size: 16px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    padding: 0 32px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 56px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.faq-answer h4 {
    padding: 12px 32px 8px;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--background-alt);
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 28px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-company {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.8);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 80px auto;
    padding: 48px;
    border-radius: 16px;
    max-width: 900px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.close-modal {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.modal-section {
    margin-bottom: 32px;
}

.modal-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section h3 i {
    color: var(--primary);
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section ul li {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}

.modal-section ul li:last-child {
    border-bottom: none;
}

.modal-section ul li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    margin-right: 12px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    background: var(--background-alt);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.tag.primary {
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary);
}

/* ===== Guide Detail Modal ===== */
.guide-detail-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.guide-detail-content ul,
.guide-detail-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.guide-detail-content li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.guide-detail-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero {
        padding: 110px 0 30px;
    }
    
    .hero-brand {
        font-size: 44px;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 48px;
    }
}

/* ===================================
   Partner Services Section
   =================================== */
.partner-services-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.partner-intro {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.partner-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.partner-service-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 37, 64, 0.04);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.partner-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.partner-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.partner-icon i {
    font-size: 28px;
    color: white;
}

.partner-service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.partner-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.partner-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.partner-features li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-features li i {
    color: var(--primary);
    font-size: 12px;
}

.partner-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.partner-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.partner-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.partner-btn:hover i {
    transform: translateX(4px);
}

.partner-notice {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.partner-notice i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
}

.partner-notice p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .page-header {
        padding: 90px 0 32px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .important-notice {
        flex-direction: column;
        padding: 24px;
    }
    
    .mobile-nav-actions {
        display: flex;
    }

    .mobile-language-selector {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-brand {
        font-size: 48px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .main-purpose-buttons,
    .visa-cards,
    .guide-grid,
    .emergency-grid {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .guide-steps,
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-box {
        flex-direction: column;
        padding: 32px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .modal-content {
        margin: 40px 16px;
        padding: 32px 24px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .purpose-detail-section {
        padding: 100px 0 40px;
    }
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .purpose-detail-section {
        padding: 90px 0 30px;
    }
    
    .purpose-detail-header h2 {
        font-size: 24px;
    }
    
    .purpose-card,
    .visa-card,
    .guide-card,
    .emergency-card {
        padding: 24px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* ===== Page Header ===== */
.page-header {
    padding: 100px 0 40px;
    background: var(--background-alt);
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    font-size: 10px;
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Important Notice ===== */
.important-notice {
    display: flex;
    gap: 24px;
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 32px;
    margin-top: 48px;
}

.notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.notice-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.notice-content ul {
    list-style: none;
    padding-left: 0;
}

.notice-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.notice-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.notice-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ===== About Page Styles ===== */

/* Section Header - 중앙 정렬 */
.content-card .section-header {
    text-align: center;
}

/* About Badge Wrapper - COPILOT 텍스트 스타일 */
.about-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.about-badge-wrapper .hero-badge {
    background: linear-gradient(135deg, #635BFF 0%, #764BA2 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    text-decoration: none;
    border: none;
}

/* About Intro - 텍스트 중앙 정렬 */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Services List - 균형 있는 2열 그리드 */
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-item > i {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #635BFF 0%, #764BA2 100%);
    border-radius: 12px;
    color: white;
    font-size: 20px;
    line-height: 48px;
    text-align: center;
}

.service-item > div {
    flex: 1;
    min-width: 0;
}

.service-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 4px 0;
}

.service-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Section - About Page */
.content-section .cta-section {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    margin-top: 48px;
}

.content-section .cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.content-section .cta-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

/* CTA Buttons - 밑줄 제거, 스타일 수정 */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: #111827;
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
