/* ============================
   CSS Variables & Reset
   ============================ */
:root {
    --primary: #1E3A5F;
    --primary-light: #2D5A8E;
    --primary-dark: #0F2440;
    --accent: #4F46E5;
    --accent-light: #6366F1;
    --accent-dark: #3730A3;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #0EA5E9;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 72px;
    --topbar-height: 36px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font);
}

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

/* ============================
   Top Bar
   ============================ */
.top-bar {
    background: var(--primary-dark);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
}

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

.top-bar-links a {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.top-bar-links a:hover {
    color: var(--white);
}

.top-bar-links .divider {
    color: rgba(255,255,255,0.3);
    font-size: 10px;
}

/* ============================
   Header
   ============================ */
.main-header {
    background: var(--white);
    height: var(--header-height);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    aspect-ratio: 18 / 5;
    object-fit: contain;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 28px;
    height: var(--header-height);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu ul li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition);
}

.submenu ul li a:hover {
    color: var(--accent);
    background: var(--gray-50);
    padding-left: 28px;
}

/* Auth Area */
.auth-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-login:hover {
    color: var(--accent);
    background: var(--gray-50);
}

.btn-signup {
    padding: 8px 20px;
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-signup:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79,70,229,0.4);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.user-btn:hover {
    background: var(--gray-50);
}

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

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    z-index: 100;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.user-dropdown a:hover {
    background: var(--gray-50);
    color: var(--accent);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--gray-100);
    margin: 4px 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gray-700);
    border-radius: var(--radius);
}

.mobile-toggle:hover {
    background: var(--gray-50);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-nav.show {
    transform: translateX(0);
}

.mobile-nav-inner {
    padding: 24px;
}

.mobile-nav-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.mobile-user {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.mobile-user i {
    color: var(--accent);
    margin-right: 8px;
}

.mobile-auth {
    display: flex;
    gap: 10px;
}

.btn-login-mobile,
.btn-signup-mobile {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
}

.btn-login-mobile {
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-signup-mobile {
    background: var(--accent);
    color: var(--white);
}

.mobile-menu li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu li a:hover {
    color: var(--accent);
    padding-left: 8px;
}

/* ============================
   Hero Section
   ============================ */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 30%, #1E40AF 60%, #4F46E5 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(79, 70, 229, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: particleFloat 6s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: var(--success);
    font-size: 16px;
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title-line {
    display: block;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -1px;
}

.hero-title-line.highlight {
    font-weight: 900;
    font-size: 56px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Search */
.hero-search {
    max-width: 680px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.search-form {
    width: 100%;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 6px 6px 6px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.search-input-wrap:focus-within {
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 3px rgba(79,70,229,0.3);
}

.search-icon {
    font-size: 22px;
    color: var(--gray-400);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px;
    font-size: 16px;
    font-family: var(--font);
    color: var(--gray-800);
    background: transparent;
}

.search-input::placeholder {
    color: var(--gray-400);
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    transition: var(--transition);
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--accent-dark);
    transform: scale(1.02);
}

.search-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.search-tag-label {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.search-tag {
    padding: 4px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: var(--transition);
}

.search-tag:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

/* ============================
   Services Section
   ============================ */
.services-section {
    padding: 80px 0;
    background: var(--white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    margin-bottom: 20px;
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    transition: var(--transition);
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #4F46E5, #3730A3);
}
.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #0EA5E9, #0369A1);
}
.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}
.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #10B981, #047857);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-100);
    color: var(--gray-500);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================
   Stats Section
   ============================ */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* ============================
   News Section
   ============================ */
.news-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.news-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.news-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-100);
}

.news-block-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-block-header h2 i {
    color: var(--accent);
}

.more-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}

.more-link:hover {
    color: var(--accent);
}

.news-list li a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-50);
    gap: 12px;
    transition: var(--transition);
}

.news-list li:last-child a {
    border-bottom: none;
}

.news-list li a:hover {
    padding-left: 4px;
}

.news-list li a:hover .news-title {
    color: var(--accent);
}

.news-badge {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--gray-500);
}

.news-badge.notice {
    background: #EEF2FF;
    color: var(--accent);
}

.news-badge.press {
    background: #FFF7ED;
    color: #EA580C;
}

.news-title {
    flex: 1;
    font-size: 14px;
    color: var(--gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.news-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--gray-400);
}

/* ============================
   How It Works Section
   ============================ */
.how-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-500);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 240px;
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.step-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

.step-arrow {
    font-size: 24px;
    color: var(--gray-300);
    flex-shrink: 0;
    padding: 0 8px;
}

/* ============================
   Trust / Partners Section
   ============================ */
.trust-section {
    padding: 60px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.partners-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.partner-item {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-400);
    padding: 16px 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.partner-item:hover {
    color: var(--primary);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

/* ============================
   Footer
   ============================ */
.main-footer {
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    aspect-ratio: 18 / 5;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: var(--gray-800);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-400);
    transition: var(--transition);
}

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

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-800);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-500);
}

.contact-info li i {
    color: var(--accent-light);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-600);
}

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

.footer-bottom-links a {
    font-size: 12px;
    color: var(--gray-600);
}

.footer-bottom-links a:hover {
    color: var(--accent-light);
}

/* ============================
   Scroll to Top
   ============================ */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

/* ============================
   Page Header (Sub-pages)
   ============================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    position: relative;
}

.page-breadcrumb a {
    color: rgba(255,255,255,0.6);
}

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

.page-breadcrumb .sep {
    color: rgba(255,255,255,0.3);
}

/* ============================
   Content Sections (Sub-pages)
   ============================ */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: var(--gray-50);
}

.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    margin-bottom: 24px;
}

/* ============================
   Forms
   ============================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--danger);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

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

.form-input::placeholder {
    color: var(--gray-400);
}

.form-help {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 6px;
}

.form-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79,70,229,0.4);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ============================
   Login / Signup Pages
   ============================ */
.auth-section {
    min-height: calc(100vh - var(--header-height) - var(--topbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: var(--gray-50);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.auth-header {
    text-align: center;
    margin-bottom: 36px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--gray-400);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--accent);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ============================
   About Page
   ============================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 80px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================
   Search Result Page
   ============================ */
.search-results-section {
    padding: 40px 0 80px;
    background: var(--gray-50);
}

.search-top-bar {
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.result-card {
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.result-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.result-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.result-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.result-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.result-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================
   Contact Page
   ============================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.contact-info-card {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
}

.contact-info-card i {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 12px;
}

.contact-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.contact-info-card p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================
   Dispute Page
   ============================ */
.dispute-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.dispute-step {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    position: relative;
}

.dispute-step-num {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.dispute-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.dispute-step p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ============================
   Page Layouts
   ============================ */
.mypage-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.sitemap-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
    transition: var(--transition);
}

.news-item:hover {
    background: var(--gray-50);
}

.news-item-num {
    width: 40px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
    flex-shrink: 0;
}

.news-item-title {
    flex: 1;
    font-size: 15px;
    color: var(--gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-date {
    font-size: 13px;
    color: var(--gray-400);
    width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.news-item-views {
    font-size: 13px;
    color: var(--gray-400);
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .steps-grid {
        flex-wrap: wrap;
    }

    .step-arrow {
        display: none;
    }

    .step-card {
        flex: 0 0 calc(50% - 16px);
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .top-bar {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .auth-area {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
        top: var(--header-height);
    }

    .hero {
        min-height: 500px;
        padding: 60px 20px;
    }

    .hero-title-line {
        font-size: 32px;
    }

    .hero-title-line.highlight {
        font-size: 38px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .hero-desc br {
        display: none;
    }

    .search-input-wrap {
        flex-direction: column;
        padding: 12px;
        border-radius: var(--radius-lg);
    }

    .search-icon {
        display: none;
    }

    .search-input {
        width: 100%;
        padding: 12px;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
        border-radius: var(--radius);
    }

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

    .service-card {
        padding: 28px 20px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .service-title {
        font-size: 16px;
    }

    .service-desc {
        font-size: 12px;
    }

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

    .stat-number {
        font-size: 36px;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .mypage-layout {
        grid-template-columns: 1fr;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .grid-3-col {
        grid-template-columns: 1fr;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }

    .sitemap-layout {
        grid-template-columns: 1fr;
    }

    .news-item-date {
        width: 80px;
        font-size: 12px;
    }

    .news-item-views {
        display: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }
}

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

    .hero-title-line {
        font-size: 26px;
    }

    .hero-title-line.highlight {
        font-size: 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .logo-img {
        height: 32px;
    }

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

    .dispute-steps {
        grid-template-columns: 1fr;
    }

    .news-item-date {
        display: none;
    }
}
