/* ====================================
   글로벌 리셋 및 기본 스타일
   ==================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}

img {
    max-width: 100%;
    height: auto;
}

/* 회원가입 카드 스타일(로그인과 유사) */
.register-card {
    max-width: 370px;
    width: 90vw;
    margin: 3.5rem auto 2.5rem auto;
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 32px rgba(33,150,243,0.10), 0 1.5px 8px rgba(255,152,0,0.08);
    padding: 2.2rem 1.2rem 1.7rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.register-title {
    font-size: 1.7rem;
    color: #2196f3;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.register-form {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-sizing: border-box;
}
.register-input {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 0.7rem;
    font-size: 1.05rem;
    background: #fafafa;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
.register-input:focus {
    border: 1.5px solid #2196f3;
    box-shadow: 0 2px 8px rgba(33,150,243,0.10);
}
.register-btn {
    width: 100%;
    padding: 0.95rem 0;
    background: linear-gradient(90deg, #2196f3 60%, #64b5f6 100%);
    color: #fff;
    border: none;
    border-radius: 0.7rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(33,150,243,0.10);
    transition: background 0.2s, transform 0.15s;
}
.register-btn:hover, .register-btn:focus {
    background: linear-gradient(90deg, #64b5f6 60%, #2196f3 100%);
    transform: translateY(-2px) scale(1.03);
}
.register-link-box {
    margin-top: 1.2rem;
    text-align: center;
}
.register-link {
    color: #0891b2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}
.register-link:hover, .register-link:focus {
    color: #0d47a1;
    text-decoration: underline;
}
.register-msg {
    width: 100%;
    background: #e3f2fd;
    color: #2196f3;
    border-radius: 0.5rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(33,150,243,0.07);
}
@media (max-width: 480px) {
  .register-card {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .register-form {
    max-width: 100%;
  }
}
/* 로그??카드 ?��???*/
.login-card {
    max-width: 370px;
    width: 90vw;
    margin: 3.5rem auto 2.5rem auto;
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 32px rgba(33,150,243,0.10), 0 1.5px 8px rgba(255,152,0,0.08);
    padding: 2.2rem 1.2rem 1.7rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.login-title {
    font-size: 1.7rem;
    color: #0d47a1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.login-form {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-sizing: border-box;
}
.login-input {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 0.7rem;
    font-size: 1.05rem;
    background: #fafafa;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
@media (max-width: 480px) {
    .login-card {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    }
    .login-form {
        max-width: 100%;
    }
}
.login-input:focus {
    border: 1.5px solid #0891b2;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.12);
}
.login-btn {
    width: 100%;
    padding: 0.95rem 0;
    background: linear-gradient(90deg, #0d47a1 60%, #1976d2 100%);
    color: #fff;
    border: none;
    border-radius: 0.7rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.15);
    transition: background 0.2s, transform 0.15s;
}
.login-btn.alt-btn,
.login-btn.admin-btn {
    width: 100%;
    margin-top: 0.7rem;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0.7rem;
    box-sizing: border-box;
}
.login-btn.alt-btn {
    background: linear-gradient(90deg, #2196f3 60%, #64b5f6 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(33,150,243,0.10);
    transition: background 0.2s, transform 0.15s;
}
.login-btn.alt-btn:hover, .login-btn.alt-btn:focus {
    background: linear-gradient(90deg, #64b5f6 60%, #2196f3 100%);
    transform: translateY(-2px) scale(1.03);
}
.login-btn.admin-btn {
    background: linear-gradient(90deg, #333 60%, #757575 100%);
    color: #fff;
    border: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.15s;
}
.login-btn.admin-btn:hover, .login-btn.admin-btn:focus {
    background: linear-gradient(90deg, #757575 60%, #333 100%);
    transform: translateY(-2px) scale(1.03);
}
.login-btn:hover, .login-btn:focus {
    background: linear-gradient(90deg, #1976d2 60%, #0d47a1 100%);
    transform: translateY(-2px) scale(1.02);
}
.login-link-box {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.login-link {
    color: #2196f3;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}
.login-link:hover, .login-link:focus {
    color: #0891b2;
    text-decoration: underline;
}
.login-msg {
    width: 100%;
    background: #e0f7fa;
    color: #0891b2;
    border-radius: 0.5rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(8, 145, 178, 0.08);
}
/* ?�플??Footer ?��???�??�단 고정 */
.footer {
    width: 100%;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1rem;
    box-shadow: 0 -4px 20px rgba(26, 35, 126, 0.15);
}

body {
    margin: 0;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #e3e9f0 50%, #dce3ed 100%);
    min-height: 100vh;
    color: #1e293b;
    overflow-x: hidden;
}

/* ====================================
   세련된 스포츠센터 네비게이션
   ==================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #1e293b;
    padding: 0 3rem;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0d47a1;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: auto;
    width: max-content;
    max-width: 300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    z-index: 100;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
    padding: 0.5rem;
    padding-top: calc(0.5rem + 8px);
    margin-top: 0;
    list-style: none !important;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

/* ?�버 ?�역 ?�장???�한 ?�명 브릿지 */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-content li {
    padding: 0;
    margin: 0;
    list-style: none !important;
}

.dropdown-content li a {
    color: #64748b;
    padding: 0.7rem 1.25rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.dropdown-content li a:hover,
.dropdown-content li a:focus {
    background: #e0f2fe;
    color: #0d47a1;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-links > li > a,
.nav-links > li > .dropbtn {
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: transparent;
    border: none;
}

/* ?�롭?�운 ?�살???�이�?*/
.nav-links > li > .dropbtn::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.nav-links > li:hover > .dropbtn::after {
    transform: rotate(180deg);
}

.nav-links > li > a:hover,
.nav-links > li > .dropbtn:hover,
.nav-links > li:hover > a,
.nav-links > li:hover > .dropbtn {
    color: #0d47a1;
    background: #f1f5f9;
}

.nav-links > li > a.active {
    color: #0d47a1;
    background: #e0f2fe;
    font-weight: 600;
}

/* 로그??버튼 ?��???*/
.nav-links > li > a.login-btn {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links > li > a.login-btn:hover {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

/* ?�용??메뉴 ?��???*/
.nav-links > li.user-menu > .user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff !important;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-links > li.user-menu > .user-btn:hover {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
}

.nav-links > li.user-menu > .user-btn .user-icon {
    font-size: 1rem;
}

.nav-links > li.user-menu > .user-btn .user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    width: 42px;
    height: 42px;
}

.menu-toggle:hover {
    background-color: #f1f5f9;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #475569;
    border-radius: 1px;
    display: block;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

main {
    max-width: 980px;
    margin: 3rem auto;
    padding: 2rem 2.5rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.home-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: #0d47a1;
    text-shadow: 0 2px 8px rgba(13, 71, 161, 0.15);
    font-weight: 700;
}

/* ?�션�?카드 ?�태 ?��??�링 */
.home-section,
.business-intro-section,
.notice-section,
.program-section,
.gallery-section,
.staff-section,
.location-section,
.inquiry-section {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 1rem;
    padding: 2.5rem 3rem;
    margin: 2.5rem auto;
    max-width: 880px;
    box-shadow: 0 4px 24px rgba(13, 71, 161, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(13, 71, 161, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-section:hover,
.business-intro-section:hover,
.notice-section:hover,
.program-section:hover,
.gallery-section:hover,
.staff-section:hover,
.location-section:hover,
.inquiry-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(13, 71, 161, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* ?�업???�개 ?�션 ?��???*/
.business-intro-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0284c7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.business-intro-content {
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.business-intro-text {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #424242;
    margin-bottom: 2.5rem;
    padding: 2rem 2.5rem;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.business-intro-image {
    text-align: center;
    margin-top: 2rem;
}

.business-intro-image img {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 60%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.business-intro-image img:hover {
    transform: scale(1.02);
}

/* ?�업???�치 ?�보 ?��???*/
.business-location-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #28a745;
}

.business-location-text {
    line-height: 1.7;
    color: #495057;
    margin-bottom: 1rem;
}

.business-location-image {
    text-align: center;
}

.business-location-image img {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.highlight-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f7fa 100%);
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    margin: 3rem auto;
    max-width: 880px;
    box-shadow: 0 6px 25px rgba(13, 71, 161, 0.1);
    border-left: 4px solid #0891b2;
}
    box-shadow: 0 6px 25px rgba(13, 71, 161, 0.1);
    border-left: 4px solid #0891b2;
}
.info-aside {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 1.1rem 1.7rem;
    margin: 1.2rem 0;
    border-radius: 0.7rem;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
}
/* notice-section ?��??��? ?�에???�체?�으�?처리??*/
.notice-section h2 a {
    color: #0369a1;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}
.notice-section h2 a:hover {
    color: #0891b2;
}
.program-section ul,
.gallery-section ul,
.staff-section ul {
    list-style: disc inside;
    padding-left: 1.2rem;
}
.program-section li,
.gallery-section li,
.staff-section li {
    margin-bottom: 0.6rem;
}
.gallery-section img,
.home-section img,
.location-section img {
    border-radius: 0.7rem;
    box-shadow: 0 2px 12px rgba(13, 71, 161, 0.12);
}
.location-section .contact-info {
    background: #f8fafc;
    border-radius: 0.7rem;
    padding: 1.1rem;
    margin-top: 1.2rem;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.06);
    border: 1px solid rgba(13, 71, 161, 0.08);
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1.25rem;
        height: 60px;
    }
    
    .nav-links {
        position: absolute;
        top: 60px;
        right: 1rem;
        left: auto;
        background: #fff;
        flex-direction: column;
        width: 280px;
        max-width: calc(100vw - 2rem);
        gap: 0;
        display: none;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        z-index: 999;
        animation: mobileMenuSlide 0.25s ease-out;
        border: 1px solid #e2e8f0;
        max-height: calc(100vh - 80px);
        overflow-x: hidden;
        overflow-y: auto;
        text-align: left !important;
        align-items: stretch !important;
    }
    
    @keyframes mobileMenuSlide {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links > li {
        border-bottom: 1px solid #f1f5f9;
        padding: 0;
        margin: 0;
        text-align: left !important;
    }
    
    .nav-links > li:first-child {
        border-radius: 12px 12px 0 0;
        overflow: hidden;
    }
    
    .nav-links > li:last-child {
        border-bottom: none;
        border-radius: 0 0 12px 12px;
        overflow: hidden;
    }
    
    .nav-links > li > a,
    .nav-links > li > .dropbtn {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.9rem 1.25rem;
        color: #1e293b;
        text-decoration: none;
        border-radius: 0;
        transition: background-color 0.15s ease, color 0.15s ease;
        font-size: 0.9rem;
        font-weight: 600;
        text-align: left !important;
        transform: none !important;
        justify-content: flex-start !important;
    }
    
    .nav-links > li > .dropbtn::after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid currentColor;
        margin-left: auto;
        transition: transform 0.2s ease;
    }
    
    .nav-links > li.dropdown-open > .dropbtn::after {
        transform: rotate(180deg);
    }
    
    .nav-links > li > a:hover,
    .nav-links > li > .dropbtn:hover {
        background: #f8fafc;
        color: #0d47a1;
        transform: none !important;
    }
    
    .nav-links .dropdown {
        position: relative;
    }
    
    .nav-links .dropdown-content {
        position: static;
        display: none;
        background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
        box-shadow: inset 3px 0 0 #0d47a1;
        border-radius: 0;
        padding: 0.5rem 0;
        margin: 0;
        min-width: auto;
        max-width: none;
        width: 100%;
        transform: none !important;
        border: none;
        animation: none !important;
        text-align: left !important;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        animation: none !important;
    }
    
    .nav-links .dropdown-content::before {
        display: none;
    }
    
    .nav-links .dropdown-content li {
        border-bottom: none;
        list-style: none;
        text-align: left !important;
    }
    
    .nav-links .dropdown-content li:last-child {
        border-bottom: none;
    }
    
    .nav-links .dropdown-content li a {
        padding: 0.6rem 1.25rem 0.6rem 2rem;
        font-size: 0.85rem;
        color: #64748b;
        background: transparent;
        border-radius: 0;
        transition: background-color 0.15s ease, color 0.15s ease;
        transform: none !important;
        text-align: left !important;
        display: flex;
        align-items: center;
        width: 100%;
        font-weight: 500;
    }
    
    .nav-links .dropdown-content li a::before {
        content: '';
        display: inline-block;
        width: 5px;
        height: 5px;
        background: #94a3b8;
        border-radius: 50%;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }
    
    .nav-links .dropdown-content li a:hover {
        background: #e0f2fe;
        color: #0d47a1;
        transform: none !important;
    }
    
    .nav-links .dropdown-content li a:hover::before {
        background: #0d47a1;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* 모바??로그??버튼 */
    .nav-links > li.login-menu {
        padding: 0.5rem 1rem;
        border-bottom: none !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-links > li > a.login-btn {
        display: block;
        background: linear-gradient(135deg, #0d47a1, #1976d2);
        color: #fff !important;
        margin: 0;
        padding: 0.75rem 1.25rem;
        border-radius: 8px;
        text-align: center !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* 모바???�용??메뉴 */
    .nav-links > li.user-menu {
        border-bottom: none !important;
        padding: 0.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-links > li.user-menu > .user-btn {
        background: linear-gradient(135deg, #0d47a1, #1976d2);
        color: #fff !important;
        margin: 0;
        padding: 0.75rem 1.25rem;
        border-radius: 8px;
        justify-content: center !important;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .nav-links > li.user-menu .dropdown-content {
        position: static !important;
        background: #f1f5f9;
        margin: 0.5rem 0 0;
        border-radius: 8px;
        box-shadow: none;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .nav-links > li.user-menu .dropdown-content li a {
        padding: 0.75rem 1rem;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-links > li.user-menu .dropdown-content li a::before {
        display: none;
    }
}

/* ================================================= */
/* 문의?�기 ?�션 ?��???*/
/* ================================================= */

.inquiry-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #0891b2 100%);
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
    color: white;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(13, 71, 161, 0.2);
}

.inquiry-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.inquiry-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* 반응???�자??개선 */
@media (max-width: 768px) {
    main {
        margin: 1.5rem auto;
        padding: 1rem;
    }
    
    .home-section,
    .business-intro-section,
    .notice-section,
    .program-section,
    .gallery-section,
    .staff-section,
    .location-section,
    .inquiry-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .business-intro-section {
        max-width: 100%;
    }
    
    .business-intro-text {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .business-intro-image img {
        max-width: 80%;
    }
    
    .home-section h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .highlight-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .business-location-content {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* ?�스??가?�성 개선 */
.home-section p,
.notice-section p,
.program-section p,
.gallery-section p,
.staff-section p,
.location-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #424242;
}

.home-section h1 {
    line-height: 1.3;
    margin-bottom: 2rem;
}

/* 링크 리스???��???개선 */
.program-section ul,
.gallery-section ul,
.staff-section ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.program-section li,
.gallery-section li,
.staff-section li {
    background: #f8f9fa;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0;
}

.program-section li:hover,
.gallery-section li:hover,
.staff-section li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 12px rgba(33,150,243,0.15);
    background: #e3f2fd;
}

.program-section li a,
.gallery-section li a,
.staff-section li a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.program-section li a:hover,
.gallery-section li a:hover,
.staff-section li a:hover {
    color: #0d47a1;
}

/* ?�락�??�보 ?��???개선 */
.contact-info {
    background: #f1f8e9;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    border-left: 5px solid #4caf50;
}

.contact-info h3 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #424242;
}

/* ?�터?�개/?�치 ?�이지???��???*/
.no-content {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 2rem 0;
}

.no-content p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.default-location-info {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #28a745;
}

.default-location-info h2 a {
    color: #28a745;
    text-decoration: none;
    font-size: 1.3rem;
}

.default-location-info h2 a:hover {
    color: #1e7e34;
}

.inquiry-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.inquiry-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.inquiry-btn.primary {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
}

.inquiry-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.inquiry-btn.secondary {
    background: rgba(255,255,255,0.9);
    color: #333;
    border: 2px solid rgba(255,255,255,0.3);
}

.inquiry-btn.secondary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.inquiry-icon {
    font-size: 20px;
}

.inquiry-text {
    font-weight: 600;
}

/* 모바??반응??*/
@media (max-width: 768px) {
    .inquiry-section {
        padding: 40px 15px;
    }
    
    .inquiry-section h2 {
        font-size: 1.8rem;
    }
    
    .inquiry-section p {
        font-size: 1rem;
    }
    
    .inquiry-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .inquiry-btn {
        width: 100%;
        max-width: 280px;
        padding: 18px 25px;
    }
}

/* PC ?�경?�서 ???�넉???�백 */
@media (min-width: 1024px) {
    main {
        max-width: 950px;
        margin: 3.5rem auto;
        padding: 2.5rem 3rem;
    }
    
    .home-section,
    .business-intro-section,
    .notice-section,
    .program-section,
    .gallery-section,
    .staff-section,
    .location-section,
    .inquiry-section {
        margin: 3rem auto;
        padding: 3rem 3.5rem;
        max-width: 800px;
    }
    
    .highlight-section {
        margin: 3.5rem auto;
        padding: 3.5rem 3.5rem;
        max-width: 800px;
    }
    
    .business-intro-section {
        max-width: 750px;
    }
    
    .business-intro-content {
        max-width: 650px;
    }
    
    .business-intro-image img {
        max-width: 55%;
        margin-top: 1.5rem;
    }
    
    .business-intro-text {
        padding: 2rem 2.5rem;
    }
}

/* ===== 공통 ?�이?�웃 �?컴포?�트 ?��???===== */

/* 공통 메인 컨테?�너 ?��???*/
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    text-align: center;
}

/* ?�이지 ?�목 ?��???*/
.page-title {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.page-title-divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, #0d47a1, #0891b2);
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(13, 71, 161, 0.15);
}

/* 글?�스 모피�?카드 ?��???*/
.glass-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.5);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.glass-card-welcome {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08), 0 6px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.4);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* 카드 ?��? ?�식 ?�소 */
.glass-card::before,
.glass-card-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(33,150,243,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.glass-card::after,
.glass-card-welcome::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* 카드 ?�용 ?�역 */
.glass-card-content {
    position: relative;
    z-index: 1;
}

/* ?��?지 ?��???*/
.center-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    object-fit: cover;
    aspect-ratio: 16/10;
    display: block;
}

.center-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18), 0 12px 30px rgba(0,0,0,0.12);
}

.center-intro-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    object-fit: cover;
    display: block;
}

.center-intro-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18), 0 12px 30px rgba(0,0,0,0.12);
}

/* ?��?지 컨테?�너 */
.image-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container-intro {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 준비중 ?�태 ?��???*/
.no-content {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.5);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    text-align: center;
}

.no-content-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* ?�식 ???��???*/
.decorative-line {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, #0d47a1, #0891b2);
    margin: 1rem auto;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(13, 71, 161, 0.12);
}

.decorative-separator {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.7;
}

.decorative-separator-intro {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}

.decorative-line-small {
    width: 25px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2196F3, transparent);
    border-radius: 1px;
}

.decorative-line-small-orange {
    width: 25px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0891b2, transparent);
    border-radius: 1px;
}

.decorative-line-medium {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0d47a1, transparent);
    border-radius: 1px;
}

.decorative-line-medium-orange {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0891b2, transparent);
    border-radius: 1px;
}

/* ?�니메이??*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successSlide {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.95); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    } 
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes checkScale {
    from { 
        opacity: 0; 
        transform: scale(0.3); 
    } 
    to { 
        opacity: 1; 
        transform: scale(1); 
    } 
}

@keyframes drawCheck {
    from { stroke-dashoffset: 12; }
    to { stroke-dashoffset: 0; }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.1; 
        transform: scale(1.05); 
    }
}

/* ?�니메이???�래??*/
.animate-fade-up {
    animation: fadeInUp 0.8s ease both;
}

.animate-fade-up-delay-1 {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.animate-fade-up-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.animate-fade-up-delay-3 {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.animate-success-slide {
    animation: successSlide 0.5s ease both;
}

.animate-error-shake {
    animation: errorShake 0.6s ease both;
}

.animate-check-scale {
    animation: checkScale 0.4s ease both;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ?�스???��???*/
.welcome-title {
    margin: 0 0 0.8rem 0;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.content-text {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.8;
    color: #444;
    font-weight: 400;
    white-space: pre-line;
}

.intro-text {
    margin: 0.3rem 0;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    line-height: 1.5;
    color: #333;
    font-weight: 400;
}

.detail-text {
    margin: 0.5rem 0;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    line-height: 1.6;
    color: #444;
}

.no-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
}

.no-content p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* 반응???�자??*/
@media (max-width: 768px) {
    .center-image,
    .center-intro-image {
        max-width: 85% !important;
        margin: 0 auto;
        border-radius: 16px !important;
    }
    
    .glass-card {
        padding: 1.5rem 1.2rem;
    }
    
    .main-container {
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .center-image,
    .center-intro-image {
        max-width: 95% !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05) !important;
    }
    
    .glass-card,
    .glass-card-welcome {
        padding: 1.2rem 1rem;
        border-radius: 16px;
    }
    
    .no-content {
        padding: 2rem 1.5rem;
    }
}

/* ====================================
   ?�련???�포츠센??메인 ?�자??
   ==================================== */

/* ?�어�??�션 */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(13, 71, 161, 0.85) 0%,
        rgba(8, 145, 178, 0.75) 50%,
        rgba(25, 118, 210, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 2rem;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4fc3f7, #81d4fa);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-btn-primary {
    background: #fff;
    color: #0d47a1;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.hero-btn-primary:hover {
    background: #4fc3f7;
    color: #fff;
    box-shadow: 0 6px 25px rgba(79,195,247,0.4);
}

.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.8);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* ?�징 ?�션 */
.features-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(13, 71, 161, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.1);
}

.feature-card:hover {
    box-shadow: 0 20px 60px rgba(13, 71, 161, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

/* ?�로그램 미리보기 ?�션 */
.programs-preview {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
}

.programs-preview .section-title {
    color: #fff;
}

.programs-preview .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.program-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.program-card-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

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

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.program-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.program-age {
    font-size: 0.9rem;
    color: #4fc3f7;
    margin-bottom: 1rem;
    font-weight: 600;
}

.program-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

/* CTA ?�션 */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #fff 0%, #f0f9ff 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.cta-btn {
    background: linear-gradient(135deg, #0891b2 0%, #0d47a1 100%);
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.3);
}

.cta-btn:hover {
    box-shadow: 0 12px 40px rgba(13, 71, 161, 0.4);
}

/* 반응??- ?�어�?�?메인 ?�션 */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .features-section,
    .programs-preview,
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 55vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description br {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .features-section,
    .programs-preview,
    .cta-section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
}

/* ====================================
   ?�브 ?�이지 공통 ?��???
   ==================================== */

/* ?�이지 ?�어�??�션 */
.page-hero {
    position: relative;
    width: 100%;
    height: 100px;
    margin-top: var(--header-height, 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 40px 40px;
    opacity: 0.4;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 1rem 2rem;
}

.page-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 400;
}

/* ?�이지 메인 컨테?�너 */
.page-main {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #f8fafc;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* 콘텐�??�션 */
.content-section {
    margin-bottom: 2rem;
}

/* 콘텐�??��?지 */
.content-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(13, 71, 161, 0.1);
}

.content-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 콘텐�?카드 */
.content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.content-card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f7fa 100%);
    border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.content-card-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0d47a1;
}

.content-card-body {
    padding: 2rem;
    line-height: 1.8;
    color: #475569;
    font-size: 1rem;
}

.content-card-body p {
    margin-bottom: 1rem;
}

.content-card-body p:last-child {
    margin-bottom: 0;
}

/* ?�이?�이???�징 ?�션 */
.highlight-features {
    margin: 3rem 0;
    padding: 2.5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.highlight-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* �??�태 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.empty-state-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* ?�치 ?�이지 카드 */
.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.location-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.location-card:hover {
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.12);
}

.location-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.location-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.location-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* 지??링크 카드 */
.map-link-card {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.25);
}

.map-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.map-link-btn:hover {
    background: rgba(255,255,255,0.2);
}

.map-link-icon {
    font-size: 1.5rem;
}

.map-link-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.map-link-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.map-link-btn:hover .map-link-arrow {
    transform: translateX(5px);
}

/* ?�락�?카드 */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.25rem 0;
}

.contact-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d47a1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-number:hover {
    color: #0891b2;
}

/* ?�브 ?�이지 반응??*/
@media (max-width: 768px) {
    .page-hero {
        height: 80px;
    }
    
    .page-hero-title {
        font-size: 1.25rem;
    }
    
    .page-hero-subtitle {
        font-size: 0.8rem;
    }
    
    .page-container {
        padding: 2rem 1.25rem;
    }
    
    .content-card-header {
        padding: 1.25rem 1.5rem;
    }
    
    .content-card-body {
        padding: 1.5rem;
    }
    
    .highlight-grid {
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .location-cards {
        gap: 1rem;
    }
    
    .location-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-number {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 100px;
    }
    
    .page-hero-title {
        font-size: 1.25rem;
    }
    
    .page-container {
        padding: 1.5rem 1rem;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
    }
    
    .location-cards {
        grid-template-columns: 1fr;
    }
    
    .map-link-btn {
        padding: 1rem 1.5rem;
    }
    
    .map-link-text {
        font-size: 1rem;
    }
}

/* ====================================
   문의 목록/?�세 ?�이지 ?��???
   ==================================== */

/* 검????*/
.inquiry-search-form {
    margin-bottom: 1.5rem;
}

.search-input-wrap {
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
}

.search-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease;
    outline: none;
    min-width: 120px;
}

.search-select:focus {
    border-color: #0d47a1;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    outline: none;
}

.search-input:focus {
    border-color: #0d47a1;
}

.search-btn {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

/* 문의 목록 카드 */
.inquiry-list-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.inquiry-list {
    display: flex;
    flex-direction: column;
}

.inquiry-list-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
    gap: 12px;
}

.header-no {
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.inquiry-no {
    width: 60px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    flex-shrink: 0;
}

.inquiry-header-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.header-status {
    width: 80px;
    text-align: center;
}

.header-subject {
    flex: 1;
    text-align: center;
}

.inquiry-header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-name {
    width: 100px;
    text-align: center;
}

.header-date {
    width: 100px;
    text-align: center;
}

.inquiry-list-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: background-color 0.2s ease;
    gap: 12px;
}

.inquiry-list-item:last-child {
    border-bottom: none;
}

.inquiry-list-item:hover {
    background: #f8fafc;
}

.inquiry-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.inquiry-status {
    width: 80px;
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.status-waiting {
    background: #fef3c7;
    color: #d97706;
}

.status-processing {
    background: #dbeafe;
    color: #2563eb;
}

.status-completed {
    background: #d1fae5;
    color: #059669;
}

.inquiry-subject {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inquiry-item-meta {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.inquiry-name {
    width: 100px;
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
}

.inquiry-date {
    width: 100px;
    font-size: 0.9rem;
    color: #94a3b8;
    text-align: center;
}

/* ?�이�?*/
.inquiry-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-link {
    padding: 0.6rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.page-link.active {
    background: #0d47a1;
    border-color: #0d47a1;
    color: #fff;
}

/* 문의?�기 버튼 */
.inquiry-write-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.25);
}

.inquiry-write-btn:hover {
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.35);
}

/* 문의 ?�세 카드 */
.inquiry-detail-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.inquiry-detail-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f7fa 100%);
    border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.inquiry-detail-title {
    margin: 0.75rem 0 0 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
}

.inquiry-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.meta-value {
    font-size: 0.95rem;
    color: #1e293b;
}

.inquiry-detail-content {
    padding: 2rem;
}

.content-label {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0d47a1;
}

.content-body {
    line-height: 1.8;
    color: #475569;
    font-size: 0.95rem;
}

/* ?��? 카드 */
.inquiry-reply-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #0d47a1;
    overflow: hidden;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border-bottom: 1px solid rgba(13, 71, 161, 0.1);
}

.reply-icon {
    font-size: 1.25rem;
}

.reply-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d47a1;
    flex: 1;
}

.reply-date {
    font-size: 0.85rem;
    color: #64748b;
}

.reply-body {
    padding: 1.5rem;
    line-height: 1.8;
    color: #475569;
    font-size: 0.95rem;
}

.reply-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.reply-admin {
    font-size: 0.85rem;
    color: #64748b;
}

/* ?��? ?��?카드 */
.inquiry-pending-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 3rem 2rem;
    text-align: center;
}

.pending-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pending-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.pending-desc {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

/* 목록?�로 버튼 */
.inquiry-back-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #fff;
    color: #475569;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.inquiry-back-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* ?�정 버튼 */
.inquiry-edit-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inquiry-edit-btn:hover {
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
    transform: translateY(-2px);
}

/* 비�?글 ?�이�?*/
.private-icon {
    font-size: 0.85rem;
    margin-right: 4px;
}

/* 문의 목록/?�세 반응??*/
@media (max-width: 768px) {
    .inquiry-list-header {
        display: none;
    }
    
    .inquiry-no {
        display: none;
    }
    
    .inquiry-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }
    
    .inquiry-item-main {
        width: 100%;
    }
    
    .inquiry-item-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    .inquiry-detail-meta {
        grid-template-columns: 1fr 1fr;
        padding: 1.25rem 1.5rem;
    }
    
    .inquiry-detail-header,
    .inquiry-detail-content {
        padding: 1.25rem 1.5rem;
    }
    
    .reply-body {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .search-input-wrap {
        flex-direction: column;
    }
    
    .search-select {
        width: 100%;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .inquiry-detail-meta {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   게시???��???(Board Styles)
   ============================================================ */

/* 게시???�바 */
.board-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
}

.board-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.stats-item strong {
    color: #0d47a1;
    font-weight: 700;
}

.stats-divider {
    color: #e2e8f0;
}

.board-search-form {
    flex: 1;
    max-width: 400px;
}

/* ?�림 메시지 */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

/* �??�태 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.empty-state-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.empty-state-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.empty-state-desc {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

/* 게시??리스??카드 */
.board-list-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* 게시??리스???�더 */
.board-list-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
}

.board-header-num {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.board-header-title {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.board-header-meta {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.board-header-meta span {
    min-width: 70px;
    text-align: center;
}

@media (max-width: 768px) {
    .board-list-header {
        display: none;
    }
}

.board-list {
    display: flex;
    flex-direction: column;
}

.board-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.board-list-item:last-child {
    border-bottom: none;
}

.board-list-item:hover {
    background: #f8fafc;
}

.board-list-item.is-notice {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.board-list-item.is-notice:hover {
    background: linear-gradient(135deg, #fef9c3, #fde68a);
}

/* 게시글 번호 */
.board-item-num {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

.notice-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
}

/* 게시글 메인 ?�역 */
.board-item-main {
    flex: 1;
    min-width: 0;
}

.board-item-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.board-list-item:hover .board-item-title {
    color: #0891b2;
}

.comment-count {
    color: #0891b2;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* 게시글 메�? ?�보 */
.board-item-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.meta-author,
.meta-date,
.meta-views {
    font-size: 0.85rem;
    color: #94a3b8;
    min-width: 70px;
    text-align: center;
}

.meta-author {
    font-weight: 500;
    color: #64748b;
}

/* ?�이지?�이??*/
.board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.board-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.board-pagination .page-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0d47a1;
}

.board-pagination .page-link.active {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    border-color: #0d47a1;
    color: #fff;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.25);
}

/* 글?�기 버튼 */
.board-write-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.25);
}

.board-write-btn:hover {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.35);
}

/* 갤러�?그리??*/
.board-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gallery-item.is-notice {
    border: 2px solid #fbbf24;
}

.gallery-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumb img {
    transform: scale(1.05);
}

.gallery-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    color: #cbd5e1;
}

.gallery-notice-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
}

.gallery-info {
    padding: 1.25rem;
}

.gallery-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* 게시??반응??*/
@media (max-width: 768px) {
    .board-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .board-stats {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .board-search-area {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .board-search-area .year-select {
        width: 100%;
    }
    
    .board-search-area .board-search-form {
        width: 100%;
        max-width: 100%;
    }
    
    .board-search-area .search-input-wrap {
        width: 100%;
    }
    
    .view-mode-toggle {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 0.25rem;
    }
    
    .view-mode-btn {
        flex: 1;
        max-width: 60px;
    }
    
    .board-search-form {
        max-width: 100%;
    }
    
    .board-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 1.25rem;
    }
    
    .board-item-num {
        width: auto;
        text-align: left;
    }
    
    .board-item-meta {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    
    .board-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .board-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-info {
        padding: 1rem;
    }
    
    .gallery-title {
        font-size: 0.95rem;
    }
    
    .gallery-meta {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.8rem;
    }
}

/* ============================================================
   검???�역 (Board Search Area)
   ============================================================ */
.board-search-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.year-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.year-select:hover {
    border-color: #cbd5e1;
}

.year-select:focus {
    outline: none;
    border-color: #0d47a1;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

/* ============================================================
   보기 모드 ?�환 버튼 (View Mode Toggle)
   ============================================================ */
.view-mode-toggle {
    display: flex;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.view-mode-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.view-mode-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.view-mode-btn.active {
    background: #0d47a1;
    border-color: #0d47a1;
    color: #fff;
}

.view-mode-btn.active:hover {
    background: #1565c0;
}

/* ============================================================
   ?�??목록 �?(Contest List View)
   ============================================================ */
.board-list-view {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.contest-list-table {
    width: 100%;
}

.contest-list-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 150px 80px;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    text-align: center;
}

.contest-list-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 150px 80px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    align-items: center;
}

.contest-list-row:hover {
    background: #f8fafc;
}

.contest-list-row:last-child {
    border-bottom: none;
}

.contest-list-row .col-num {
    color: #94a3b8;
    font-size: 0.9rem;
}

.contest-list-row .col-title {
    font-weight: 500;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contest-list-row .col-title:hover {
    color: #0d47a1;
}

.has-image-badge {
    font-size: 0.85rem;
}

.contest-list-row .col-date,
.contest-list-row .col-location {
    color: #64748b;
    font-size: 0.9rem;
}

.contest-list-row .col-poster {
    text-align: center;
}

.poster-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.poster-view-btn:hover {
    background: #0d47a1;
    border-color: #0d47a1;
    transform: scale(1.1);
}

.no-poster {
    color: #cbd5e1;
}

/* ?�스???��?지 모달 */
.poster-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.poster-modal.active {
    display: flex;
}

.poster-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.poster-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.poster-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.poster-modal-title {
    color: #fff;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .board-search-area {
        flex-wrap: wrap;
        width: 100%;
    }
    
    .year-select {
        flex-shrink: 0;
    }
    
    .board-search-area .board-search-form {
        flex: 1;
        min-width: 150px;
    }
    
    .view-mode-toggle {
        margin-left: auto;
    }
    
    .contest-list-header {
        display: none;
    }
    
    .contest-list-row {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        padding: 1rem;
    }
    
    .contest-list-row .col-num {
        display: none;
    }
    
    .contest-list-row .col-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .contest-list-row .col-date,
    .contest-list-row .col-location {
        font-size: 0.85rem;
    }
    
    .contest-list-row .col-date::before {
        content: "?�� ";
    }
    
    .contest-list-row .col-location::before {
        content: "?�� ";
    }
    
    .contest-list-row .col-poster {
        margin-top: 0.5rem;
    }
    
    .poster-view-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* ============================================================
   게시글 ?�세 보기 ?��???(Post View Styles)
   ============================================================ */

/* 게시글 ?�세 카드 */
.post-view-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* 게시글 ?�더 */
.post-view-header {
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.post-notice-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.post-view-title {
    margin: 0 0 1.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

/* 게시글 메�? ?�보 */
.post-view-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.post-meta-left,
.post-meta-right {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

/* 게시글 본문 */
.post-view-content {
    padding: 2rem;
    min-height: 200px;
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 게시글 본문 ???��?지 반응??처리 */
.post-view-content img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-radius: 4px;
}

.post-view-content img:hover {
    opacity: 0.9;
    transform: scale(1.01);
}

/* 첨�? ?��?지 ?�션 */
.post-view-attachments {
    padding: 1.5rem 2rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.attachments-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.attachments-icon {
    font-size: 1.25rem;
}

.attachments-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.post-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* 갤러�?게시???��?지 ?��???*/
.post-images-grid.gallery-view {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
}

.gallery-view .post-image-item img {
    height: 240px;
}

/* 갤러�??�직 ?�열 ?��???*/
.gallery-vertical {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
}

.gallery-images-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-image-full {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-image-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image-full img {
    width: 100%;
    max-height: 500px;
    display: block;
    object-fit: contain;
}

.post-image-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-image-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.post-image-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.post-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 2rem 1rem 1rem;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-image-item:hover .post-image-overlay {
    opacity: 1;
}

.image-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-size {
    color: rgba(255, 255, 255, 0.8);
}

/* ?��?지 모달 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
}

.image-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.image-modal-close:hover {
    opacity: 1;
}

/* ?�전/?�음 ?�비게이??*/
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.post-nav-item {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-item:hover:not(.disabled) {
    border-color: #0d47a1;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.1);
    transform: translateY(-2px);
}

.post-nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-nav-title {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 버튼 ?�역 */
.post-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.action-left,
.action-right {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.post-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-btn-primary {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.25);
}

.post-btn-primary:hover {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.35);
}

.post-btn-secondary {
    background: #fff;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.post-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.post-btn-edit {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: #fff;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.25);
}

.post-btn-edit:hover {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    transform: translateY(-2px);
}

.post-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

.post-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    transform: translateY(-2px);
}

/* 게시글 ?�세 반응??*/
@media (max-width: 768px) {
    .post-view-header {
        padding: 1.5rem;
    }
    
    .post-view-title {
        font-size: 1.25rem;
    }
    
    .post-view-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-meta-left,
    .post-meta-right {
        gap: 1rem;
    }
    
    .post-view-content {
        padding: 1.5rem;
    }
    
    .post-view-attachments {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .post-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-images-grid.gallery-view {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .gallery-view .post-image-item img {
        height: 180px;
    }
    
    .post-image-item img {
        height: 140px;
    }
    
    .post-action-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-left,
    .action-right {
        width: 100%;
        justify-content: center;
    }
    
    /* ?�전/?�음 ?�비게이??반응??*/
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .post-nav-item {
        padding: 1rem;
    }
    
    .post-nav-next {
        text-align: left;
    }
    
    .post-nav-title {
        font-size: 0.9rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

@media (max-width: 480px) {
    .post-images-grid {
        grid-template-columns: 1fr;
    }
    
    .post-images-grid.gallery-view {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .gallery-view .post-image-item img {
        height: 220px;
    }
    
    .post-image-item img {
        height: 200px;
    }
    
    .post-btn {
        flex: 1;
        min-width: 100px;
    }
}

/* ============================================================
   게시글 ?�성/?�정 ???��???(Post Write Form Styles)
   ============================================================ */

/* ??카드 */
.post-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-sizing: border-box;
}

.post-form-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.post-form-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.post-form-body {
    padding: 2rem;
    box-sizing: border-box;
}

/* ??그룹 */
.form-group {
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.form-label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 0.25rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-textarea {
    min-height: 300px;
    resize: vertical;
    line-height: 1.6;
}

.form-hint {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* 체크박스 그룹 */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0891b2;
}

/* ?�일 ?�로??*/
.form-file-area {
    position: relative;
    padding: 2rem;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.2s ease;
    cursor: pointer;
}

.form-file-area:hover {
    border-color: #0891b2;
    background: #f0fdfa;
}

.form-file-area.dragover {
    border-color: #0891b2;
    background: #e0f7fa;
}

.form-file-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.file-upload-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.25rem;
}

.file-upload-hint {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* 미리보기 ?��?지 */
.preview-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    cursor: grab;
    transition: all 0.2s ease;
}

.preview-item:active {
    cursor: grabbing;
}

.preview-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.preview-item.drag-over {
    border: 2px dashed #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.preview-order {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.9);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* 첨�??�일 리스??*/
.file-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.file-icon {
    font-size: 1.25rem;
}

.file-name {
    flex: 1;
    font-size: 0.9rem;
    color: #1e293b;
    word-break: break-all;
}

.file-size {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
}

.file-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-remove:hover {
    background: #dc2626;
    color: #fff;
}

/* 첨�??�일 ?�운로드 목록 (게시글 보기) */
.file-download-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-download-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.file-download-item:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.file-download-icon {
    font-size: 1.25rem;
}

.file-download-name {
    flex: 1;
    font-size: 0.9rem;
    color: #1e293b;
    word-break: break-all;
}

.file-download-size {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
}

.file-download-btn {
    padding: 0.35rem 0.75rem;
    background: var(--primary-color, #3b82f6);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
}

.file-download-item:hover .file-download-btn {
    background: var(--primary-hover, #2563eb);
}

/* 기존 ?�일 목록 (?�정 모드) */
.existing-files {
    margin-top: 1rem;
    padding: 1rem;
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 8px;
}

.existing-label {
    font-size: 0.85rem;
    color: #854d0e;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.existing-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.existing-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: move;
    transition: transform 0.2s, box-shadow 0.2s;
    user-select: none;
}

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

.existing-image-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    border: 2px solid #0891b2;
}

.existing-image-item.drag-over {
    border: 2px dashed #0891b2;
    background: #f0fdfa;
    transform: scale(1.02);
}

.existing-image-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    pointer-events: none;
}

.existing-image-name {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    padding: 0.5rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #f9fafb;
}

.image-delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border: none;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.image-delete-btn:hover {
    background: #dc2626;
}

.drag-handle {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    cursor: grab;
    z-index: 10;
}

.drag-handle:active {
    cursor: grabbing;
}

.existing-file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.existing-file-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.existing-file-item .file-icon {
    font-size: 1rem;
}

.existing-file-item .file-name {
    flex: 1;
    font-size: 0.85rem;
    color: #374151;
}

.existing-file-item .file-size {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ???�터 */
.post-form-footer {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* ??반응??*/
@media (max-width: 768px) {
    .post-form-header,
    .post-form-body,
    .post-form-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .form-textarea {
        min-height: 200px;
    }
    
    .preview-images {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====================================
   ??& ??개발 ?�사 메인 ?�이지 ?��???v2
   ==================================== */

/* 공통 ?�션 ?��???*/
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dev-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    color: #818cf8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.dev-section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.dev-section-desc {
    font-size: 1.15rem;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

/* ?�어�??�션 */
.dev-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 6rem 4rem;
    overflow: hidden;
}

.dev-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.dev-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 30%, #16213e 60%, #0f172a 100%);
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(129, 140, 248, 0.6);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 2s; }
.particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 6s; }
.particle:nth-child(5) { left: 90%; top: 40%; animation-delay: 8s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
    25% { transform: translateY(-30px) translateX(10px); opacity: 1; }
    50% { transform: translateY(-60px) translateX(-10px); opacity: 0.6; }
    75% { transform: translateY(-30px) translateX(10px); opacity: 1; }
}

.dev-hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(129, 140, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 70%, transparent 100%);
}

.dev-hero-content {
    position: relative;
    z-index: 1;
}

.dev-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}

.badge-pulse::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.badge-text {
    color: #a5b4fc;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.dev-hero-title {
    margin: 0 0 1.5rem 0;
}

.title-line {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.title-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dev-hero-desc {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.8;
    margin: 0 0 2.5rem 0;
}

.dev-hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.dev-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.dev-btn-glow {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 
        0 4px 15px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.dev-btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.dev-btn-glow:hover::before {
    transform: translateX(100%);
}

.dev-btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.dev-btn-glow.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.dev-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.dev-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.dev-btn-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.dev-btn-outline:hover {
    background: #6366f1;
    color: #fff;
    transform: translateY(-2px);
}

/* ?�어�?메트�?*/
.dev-hero-metrics {
    display: flex;
    gap: 1.5rem;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 12px;
}

.metric-icon svg {
    stroke: #a5b4fc;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.metric-suffix {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.metric-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* ?�어�?비주??*/
.dev-hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    animation: float-card 6s ease-in-out infinite;
}

.float-card .card-icon {
    font-size: 1.25rem;
}

.card-1 { top: 10%; left: 0; animation-delay: 0s; }
.card-2 { top: 25%; right: 5%; animation-delay: 1s; }
.card-3 { bottom: 25%; left: 5%; animation-delay: 2s; }
.card-4 { bottom: 10%; right: 10%; animation-delay: 3s; }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 코드 ?�도??*/
.code-window {
    width: 100%;
    max-width: 480px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255,255,255,0.05) inset;
    backdrop-filter: blur(20px);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dots .code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #374151;
}

.code-dots .code-dot:nth-child(1) { background: #ef4444; }
.code-dots .code-dot:nth-child(2) { background: #eab308; }
.code-dots .code-dot:nth-child(3) { background: #22c55e; }

.code-title {
    color: #64748b;
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
}

.code-body {
    padding: 1.5rem;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-line {
    display: flex;
    gap: 1rem;
    color: #e2e8f0;
}

.line-num {
    color: #475569;
    width: 24px;
    text-align: right;
    user-select: none;
}

.code-keyword { color: #c084fc; }
.code-class { color: #67e8f9; }
.code-method { color: #fbbf24; }
.code-prop { color: #34d399; }
.code-string { color: #fbbf24; }
.code-bool { color: #f472b6; }
.code-param { color: #fb923c; }

.typing-line .cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #a855f7;
    bottom: -50px;
    left: -50px;
}

/* 브랜???�션 */
.dev-brands {
    padding: 3rem 2rem;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brands-title {
    text-align: center;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 2rem 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.brands-slider {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.brands-track {
    display: flex;
    gap: 4rem;
    animation: slide 20s linear infinite;
}

.brand-item {
    flex-shrink: 0;
    color: #475569;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.brand-item:hover {
    opacity: 1;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ?�비???�션 */
.dev-services {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.dev-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dev-service-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.dev-service-card .service-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.dev-service-card:hover .service-glow {
    opacity: 1;
}

.dev-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.dev-service-card.featured {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
}

.dev-service-card.featured .service-glow {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

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

.dev-service-card.featured .service-icon-wrap svg {
    stroke: #fff;
}

.dev-service-card.featured .service-title,
.dev-service-card.featured .service-desc {
    color: #fff;
}

.dev-service-card.featured .service-tags span {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dev-service-card.featured .service-link {
    color: #fff;
}

.featured-label {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.1em;
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.service-icon-wrap svg {
    stroke: #6366f1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
}

.service-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-tags span {
    padding: 0.4rem 0.8rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6366f1;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ?�로?�스 ?�션 */
.dev-process {
    padding: 8rem 2rem;
    background: #fff;
}

.process-cards {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-card {
    flex: 0 0 200px;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.process-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.process-icon svg {
    stroke: #fff;
}

.process-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.process-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.process-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.process-connector {
    display: flex;
    align-items: center;
    padding-top: 2.5rem;
    color: #cbd5e1;
}

/* 기술 ?�택 ?�션 */
.dev-tech {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.tech-orbit {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.4);
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(99, 102, 241, 0.2);
}

.ring-1 {
    width: 280px;
    height: 280px;
    animation: rotate 30s linear infinite;
}

.ring-2 {
    width: 420px;
    height: 420px;
    animation: rotate 45s linear infinite reverse;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.tech-bubble {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle)));
    padding: 0.6rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.ring-2 .tech-bubble {
    transform: rotate(var(--angle)) translateX(210px) rotate(calc(-1 * var(--angle)));
}

.tech-bubble.small {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
}

.tech-list-mobile {
    display: none;
}

.tech-group {
    margin-bottom: 2rem;
}

.tech-group h4 {
    color: #6366f1;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-pills span {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
}

/* ?�트?�리???�션 */
.dev-portfolio {
    padding: 8rem 2rem;
    background: #fff;
}

.portfolio-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 280px;
    cursor: pointer;
}

.portfolio-item.large {
    grid-row: span 2;
}

.portfolio-bg {
    position: absolute;
    inset: 0;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
    transition: background 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 1;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.3s;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.portfolio-content h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
}

.portfolio-tech span {
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 4px;
}

.portfolio-cta {
    text-align: center;
}

/* 고객 ?�기 ?�션 */
.dev-testimonials {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    text-align: center;
}

.testimonial-quote {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-quote svg {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #6366f1;
}

.testimonial-quote p {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.8;
    margin: 0;
    padding-top: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-info strong {
    font-size: 1.1rem;
    color: #0f172a;
}

.author-info span {
    font-size: 0.9rem;
    color: #64748b;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* CTA ?�션 */
.dev-cta {
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
}

.cta-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: #8b5cf6;
    top: -200px;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    bottom: -150px;
    right: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #c084fc;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.cta-content {
    flex: 1;
}

.cta-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #c7d2fe;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.cta-desc {
    font-size: 1.15rem;
    color: #c7d2fe;
    line-height: 1.8;
    margin: 0 0 2rem 0;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #a5b4fc;
}

.cta-phone a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.cta-phone a:hover {
    text-decoration: underline;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.cta-feature svg {
    stroke: #22c55e;
}

/* 반응???�자??*/
@media (max-width: 1200px) {
    .dev-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 2rem;
    }
    
    .dev-hero-content {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .dev-hero-buttons {
        justify-content: center;
    }
    
    .dev-hero-metrics {
        justify-content: center;
    }
    
    .dev-hero-visual {
        display: none;
    }
    
    .dev-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-cards {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .process-connector {
        display: none;
    }
    
    .process-card {
        flex: 0 0 calc(50% - 0.5rem);
    }
    
    .tech-orbit {
        display: none;
    }
    
    .tech-list-mobile {
        display: block;
    }
    
    .portfolio-showcase {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .portfolio-item.large {
        grid-row: span 1;
    }
    
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .title-line {
        font-size: 3rem;
    }
    
    .dev-section-title {
        font-size: 2.25rem;
    }
    
    .dev-hero-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .metric-card {
        width: 100%;
        max-width: 280px;
    }
    
    .dev-services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-card {
        flex: 0 0 100%;
    }
    
    .portfolio-showcase {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2.25rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-features {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dev-hero {
        padding: 4rem 1rem;
    }
    
    .title-line {
        font-size: 2.25rem;
    }
    
    .dev-hero-desc {
        font-size: 1rem;
    }
    
    .dev-hero-buttons {
        flex-direction: column;
    }
    
    .dev-btn {
        width: 100%;
        justify-content: center;
    }
    
    .dev-services,
    .dev-process,
    .dev-tech,
    .dev-portfolio,
    .dev-testimonials,
    .dev-cta {
        padding: 4rem 1rem;
    }
    
    .testimonial-quote p {
        font-size: 1.15rem;
    }
    
    .dev-section-title {
        font-size: 1.75rem;
    }
}

/* ====================================
   전체 페이지 통합 스타일 v2
   ==================================== */

/* 글로벌 변수 - 밝고 활기찬 색상 팔레트 */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #06b6d4;
    --accent-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

/* 글로벌 body 스타일 */
body {
    margin: 0;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ====================================
   모던 네비게이션 v2 - 밝고 활기찬 디자인
   ==================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 3rem;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
}

.logo a {
    color: inherit;
    text-decoration: none;
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a,
.nav-links > li > .dropbtn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.nav-links > li > a::before,
.nav-links > li > .dropbtn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links > li > a:hover,
.nav-links > li > .dropbtn:hover,
.nav-links > li:hover > a,
.nav-links > li:hover > .dropbtn {
    color: var(--primary-color);
}

.nav-links > li > a:hover::before,
.nav-links > li > .dropbtn:hover::before {
    opacity: 0.08;
}

/* 네비게이션 활성 인디케이터 */
.nav-links > li.active > a {
    color: var(--primary-color);
}

.nav-links > li.active > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* 네비게이션 로그인 버튼 */
.nav-links > li > a.login-btn,
.nav-links > li.login-menu > a {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
    border: none;
}

.nav-links > li > a.login-btn::before,
.nav-links > li.login-menu > a::before {
    display: none;
}

.nav-links > li > a.login-btn:hover,
.nav-links > li.login-menu > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
    color: #fff !important;
}

/* 드롭다운 메뉴 */
.dropdown {
    position: relative;
}

.dropdown > .dropbtn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
}

.dropdown:hover > .dropbtn::after {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 0.5rem;
    margin-top: 0.75rem;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(59, 130, 246, 0.08);
    list-style: none;
    z-index: 100;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--bg-primary);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
    animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown-content li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-content li a:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary-color);
    transform: translateX(4px);
}

/* 사용자 메뉴 */
.nav-links > li.user-menu > .user-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.5rem 1.25rem 0.5rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
    transition: var(--transition);
}

.nav-links > li.user-menu > .user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
}

.nav-links > li.user-menu > .user-btn .user-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.nav-links > li.user-menu > .user-btn::before {
    display: none;
}

/* 모던 푸터 - 밝은 디자인 */
.footer {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: #fff;
    padding: 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.25rem 0;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #60a5fa;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #60a5fa;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 0;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

/* 페이지 히어로 섹션 - 밝은 그라데이션 */
.page-hero {
    position: relative;
    padding: 2.5rem 2rem;
    padding-top: calc(2.5rem + var(--header-height, 72px));
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 페이지 메인 */
.page-main {
    padding: 4rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

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

/* 컨텐츠 섹션 */
.content-section {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.content-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.content-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* 컨텐츠 카드 */
.content-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.content-card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.content-card-body {
    padding: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.content-card-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* 컨텐츠 이미지 */
.content-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 게시판 스타일 */
.board-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.board-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stats-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.stats-divider {
    color: var(--border-color);
}

/* 게시판 검색 */
.board-search-form,
.inquiry-search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input-wrap {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-input {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    min-width: 250px;
    background: var(--bg-primary);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-select {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    background: var(--bg-primary);
    cursor: pointer;
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* 게시판 테이블 */
.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th,
.board-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.board-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.board-table tbody tr {
    transition: var(--transition);
}

.board-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.04);
}

.board-table .post-title {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.board-table .post-title:hover {
    color: var(--primary-color);
}

/* 게시판 갤러리 */
.board-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-thumb {
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-thumb img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.25rem;
}

.gallery-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 게시글 뷰어 */
.post-view {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.post-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.post-title-main {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.post-content {
    padding: 2.5rem 2rem;
    line-height: 1.9;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.post-footer {
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* 폼 스타일 */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    transition: var(--transition);
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* 회원 페이지 모던 스타일 */
.auth-container {
    max-width: 440px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.auth-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: #fff;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-form .form-input {
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* 마이페이지 스타일 */
.mypage-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.mypage-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.mypage-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.mypage-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.mypage-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.mypage-email {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mypage-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.mypage-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.mypage-tab:hover {
    color: var(--text-primary);
}

.mypage-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* 문의 상태 배지 */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.waiting {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.status-badge.processing {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

/* 문의 목록 */
.inquiry-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inquiry-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

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

.inquiry-info {
    flex: 1;
}

.inquiry-subject {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.inquiry-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 알림/메시지 */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.empty-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* 모달 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border-color);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* 플로팅 버튼 */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    z-index: 100;
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

/* 공지사항 배지 */
.notice-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 0.5rem;
}

/* 새글 배지 */
.new-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    margin-left: 0.5rem;
}

/* 반응형 */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 2rem;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .page-hero {
        padding: 2rem 1.5rem;
        padding-top: calc(2rem + var(--header-height, 72px));
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-main {
        padding: 2rem 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    
    .board-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input-wrap {
        flex-direction: column;
    }
    
    .search-input {
        min-width: auto;
        width: 100%;
    }
    
    .board-table th:nth-child(3),
    .board-table td:nth-child(3),
    .board-table th:nth-child(4),
    .board-table td:nth-child(4) {
        display: none;
    }
    
    .post-header {
        padding: 1.5rem;
    }
    
    .post-title-main {
        font-size: 1.35rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .mypage-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 1.75rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .board-gallery {
        grid-template-columns: 1fr;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* 로그인/회원가입 카드 오버라이드 */
.login-card,
.register-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.login-title,
.register-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-btn:not(.alt-btn):not(.admin-btn),
.register-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.login-btn:not(.alt-btn):not(.admin-btn):hover,
.register-btn:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.login-input:focus,
.register-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ====================================
   센터/비즈니스 페이지 스타일
   ==================================== */

/* 하이라이트 기능 그리드 */
.highlight-features {
    padding: 2rem 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.highlight-item {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.highlight-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* 빈 상태 스타일 개선 */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0 0 0.75rem 0;
}

.empty-state-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* 지도 컨테이너 */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
}

/* 위치 정보 그리드 */
.location-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.location-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.location-info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.location-info-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 0.35rem 0;
}

.location-info-content p {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

/* ====================================
   대회/공모전 카드 스타일
   ==================================== */

.contest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.contest-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

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

.contest-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    overflow: hidden;
    position: relative;
}

.contest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.contest-card:hover .contest-thumb img {
    transform: scale(1.05);
}

.contest-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contest-status.ongoing {
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
}

.contest-status.upcoming {
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
}

.contest-status.ended {
    background: rgba(107, 114, 128, 0.9);
    color: #fff;
}

.contest-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contest-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contest-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.contest-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ====================================
   문의 관련 스타일
   ==================================== */

.inquiry-form-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.inquiry-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.inquiry-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.inquiry-form-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.inquiry-form .form-group {
    margin-bottom: 1.5rem;
}

.inquiry-form .form-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.inquiry-form .form-label .required {
    color: #ef4444;
}

/* 문의 상세 */
.inquiry-detail-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.inquiry-detail-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.inquiry-detail-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.inquiry-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.inquiry-detail-body {
    padding: 2rem;
}

.inquiry-detail-content {
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

/* 답변 섹션 */
.inquiry-reply {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.inquiry-reply-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.inquiry-reply-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.inquiry-reply-label {
    font-weight: 700;
    color: var(--primary-color);
}

.inquiry-reply-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: auto;
}

.inquiry-reply-content {
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

/* ====================================
   모바일 메뉴 토글 - 새로운 디자인
   ==================================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: var(--transition);
}

.menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active {
    background: var(--danger-color);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 모바일 네비게이션 - 슬라이드 오버레이 */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
        height: 64px;
    }
    
    .logo {
        font-size: 1.35rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links > li {
        width: 100%;
        border-bottom: none;
    }
    
    .nav-links > li > a,
    .nav-links > li > .dropbtn {
        padding: 1rem 1.25rem;
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
        font-size: 1rem;
        background: transparent;
    }
    
    .nav-links > li > a::before,
    .nav-links > li > .dropbtn::before {
        border-radius: 12px;
    }
    
    .nav-links > li > a:hover,
    .nav-links > li > .dropbtn:hover {
        background: rgba(59, 130, 246, 0.1);
    }
    
    .nav-links > li > a.login-btn,
    .nav-links > li.login-menu > a {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .nav-links > li.user-menu {
        margin-top: 1rem;
    }
    
    .nav-links > li.user-menu > .user-btn {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown > .dropbtn::after {
        margin-left: auto;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
        margin: 0;
        display: none;
        background: transparent;
        border-radius: 0;
        border-left: 3px solid var(--primary-color);
    }
    
    .dropdown-content::before {
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
        animation: mobileDropdown 0.3s ease;
    }
    
    @keyframes mobileDropdown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .dropdown-content li a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .dropdown-content li a:hover {
        transform: none;
        background: rgba(59, 130, 246, 0.08);
    }
    
    /* 모바일 메뉴 오버레이 */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* 페이지 히어로 모바일 */
    .page-hero {
        padding: 1.5rem 1.5rem;
        padding-top: calc(1.5rem + var(--header-height, 72px));
    }
    
    .page-hero-title {
        font-size: 1.5rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .nav-links {
        width: 100%;
        max-width: none;
    }
    
    .page-hero-title {
        font-size: 1.75rem;
    }
}

/* ====================================
   추가 유틸리티 클래스
   ==================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #c1c9d4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a9b4;
}

/* 선택 스타일 */
::selection {
    background: rgba(99, 102, 241, 0.2);
    color: inherit;
}

/* 링크 기본 스타일 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* 이미지 기본 스타일 */
img {
    max-width: 100%;
    height: auto;
}

/* 테이블 반응형 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 로딩 스피너 */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 페이드 인 애니메이션 */
.fade-in {
    animation: fadeIn 0.5s ease;
}

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

/* 슬라이드 인 애니메이션 */
.slide-in {
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   Header Styles (from main/header.php)
   ============================================ */

/* Header CSS Variables */
:root {
    --header-height: 72px;
    --header-bg: rgba(255, 255, 255, 0.85);
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);
    --header-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    --header-shadow-scrolled: 0 4px 20px rgba(0, 0, 0, 0.08);
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--header-shadow);
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.site-header.scrolled {
    background: var(--header-bg-scrolled);
    box-shadow: var(--header-shadow-scrolled);
}

/* 데스크탑에서 모바일 전용 요소 숨기기 */
.mobile-nav-header {
    display: none;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.header-logo:hover {
    transform: translateY(-1px);
}

.logo-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
    transition: filter var(--transition-fast);
}

.header-logo:hover .logo-symbol {
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.08);
}

.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    list-style: none;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-login-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.header-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(99, 102, 241, 0.1);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-btn:hover {
    background: rgba(99, 102, 241, 0.15);
}

.user-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-fast);
}

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

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.user-dropdown-menu a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    z-index: 998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header Responsive - 1024px */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 4px;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Header Responsive - 768px */
@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .logo-symbol svg {
        width: 28px;
        height: 28px;
    }
    
    .logo-text {
        font-size: 15px;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        width: 40px;
        height: 40px;
        padding: 10px;
        z-index: 1002;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    /* 슬라이드 사이드바 메뉴 */
    .header-nav {
        position: fixed;
        top: var(--header-height, 56px);
        right: -300px;
        width: 280px;
        height: auto;
        max-height: calc(100vh - var(--header-height, 56px));
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: -8px 0 32px rgba(99, 102, 241, 0.15);
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 0;
        border-radius: 0 0 0 24px;
        border-left: 1px solid rgba(99, 102, 241, 0.1);
    }
    
    .header-nav.active {
        right: 0;
    }
    
    /* 모바일 사이드바 헤더 - 숨김 */
    .mobile-nav-header {
        display: none;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 12px;
    }
    
    .nav-item {
        margin: 0;
        border-radius: 14px;
        overflow: visible;
    }
    
    .nav-link {
        position: relative;
        padding: 14px 18px;
        font-size: 15px;
        font-weight: 600;
        justify-content: space-between;
        color: #334155;
        border-radius: 14px;
        transition: all 0.25s ease;
        background: transparent;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleY(0);
        width: 4px;
        height: 24px;
        background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
        border-radius: 0 4px 4px 0;
        transition: transform 0.25s ease;
    }
    
    .nav-link:hover,
    .nav-item.active > .nav-link {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
        color: #6366f1;
    }
    
    .nav-link:hover::before,
    .nav-item.active > .nav-link::before {
        transform: translateY(-50%) scaleY(1);
    }
    
    .dropdown-arrow {
        width: 20px;
        height: 20px;
        padding: 2px;
        background: rgba(99, 102, 241, 0.1);
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .nav-item.has-dropdown.active .dropdown-arrow {
        background: #6366f1;
        color: white;
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        overflow: hidden;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 8px 8px 8px;
        background: transparent;
        border-radius: 0;
        margin: 0;
        display: none;
        min-width: auto;
    }
    
    .nav-item.has-dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .nav-item.has-dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .dropdown-menu li a {
        padding: 12px 16px 12px 20px;
        font-size: 14px;
        font-weight: 500;
        color: #64748b;
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 10px;
        margin: 4px 0;
        transition: all 0.2s ease;
        background: rgba(255, 255, 255, 0.6);
    }
    
    .dropdown-menu li a::before {
        content: '';
        width: 8px;
        height: 8px;
        background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
        border-radius: 50%;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }
    
    .dropdown-menu li a:hover {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
        color: #6366f1;
        padding-left: 24px;
    }
    
    .dropdown-menu li a:hover::before {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        transform: scale(1.2);
    }
    
    .user-name {
        display: none;
    }
    
    .header-login-btn {
        padding: 10px 18px;
        font-size: 13px;
        font-weight: 600;
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: white;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    }
    
    .header-login-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    }
    
    .header-actions {
        gap: 10px;
    }
    
    /* 오버레이 */
    .mobile-overlay {
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

/* Header Responsive - 480px */
@media (max-width: 480px) {
    .logo-text {
        font-size: 14px;
    }
    
    .logo-symbol svg {
        width: 24px;
        height: 24px;
    }
    
    .header-login-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .header-nav {
        width: 260px;
        right: -260px;
    }
    
    .nav-link {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .dropdown-menu li a {
        padding: 10px 14px 10px 36px;
        font-size: 13px;
    }
}

/* ============================================
   Footer Styles (from main/footer.php)
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
    padding-top: 80px;
}

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

/* Footer Top */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* Footer Brand */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo .logo-symbol {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
    transition: filter 0.3s ease;
}

.footer-logo:hover .logo-symbol {
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.5));
}

.footer-logo .logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.footer-logo .logo-tagline-small {
    font-size: 11px;
    font-weight: 500;
    color: #818cf8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 24px;
}

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

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #6366f1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #6366f1;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-copyright p {
    font-size: 13px;
    color: #475569;
    margin: 0;
}

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

.footer-legal a {
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #94a3b8;
}

/* Footer Responsive - 1024px */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-tagline {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

/* Footer Responsive - 768px */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 60px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* Footer Responsive - 480px */
@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-legal {
        gap: 12px;
    }
    
    .footer-legal a {
        font-size: 12px;
    }
}

/* ============================================
   Main Page Styles (from main/main.php)
   ============================================ */

/* Main CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
.site-main {
    padding-top: 72px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

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

.btn-primary {
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #faf5ff 100%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero-glow-1 {
    top: -200px;
    right: -100px;
    background: rgba(99, 102, 241, 0.3);
}

.hero-glow-2 {
    bottom: -200px;
    left: -100px;
    background: rgba(168, 85, 247, 0.2);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-badge span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-editor {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
}

.editor-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
}

.editor-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.editor-title {
    font-size: 13px;
    color: #94a3b8;
}

.editor-body {
    padding: 20px;
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-line {
    display: flex;
    gap: 16px;
}

.line-num {
    color: #475569;
    min-width: 20px;
    text-align: right;
}

.keyword { color: #c084fc; }
.class-name { color: #fbbf24; }
.method { color: #60a5fa; }
.prop { color: #f472b6; }
.string { color: #4ade80; }
.bool { color: #f59e0b; }
.param { color: #94a3b8; }

.cursor {
    color: #fff;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 4s ease-in-out infinite;
}

.card-icon {
    font-size: 18px;
}

.card-1 { top: 10%; left: -20px; animation-delay: 0s; }
.card-2 { top: 30%; right: -30px; animation-delay: 0.5s; }
.card-3 { bottom: 30%; left: -40px; animation-delay: 1s; }
.card-4 { bottom: 10%; right: -20px; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Services Section ===== */
.services-section {
    padding: 100px 0;
}

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

.service-card {
    position: relative;
    padding: 32px 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.service-card.featured {
    background: var(--gradient-primary);
    border: none;
}

.service-card.featured .service-icon,
.service-card.featured .service-title,
.service-card.featured .service-desc {
    color: white;
}

.service-card.featured .service-tags span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

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

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    padding: 4px 10px;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 12px;
    border-radius: 100px;
}

/* ===== Process Section ===== */
.process-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.process-step {
    flex: 1;
    max-width: 240px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--border-color);
    margin-bottom: 16px;
}

.step-content {
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50%;
    margin-bottom: 16px;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

.process-connector {
    flex-shrink: 0;
    width: 40px;
    height: 2px;
    background: var(--border-color);
    margin-top: 100px;
}

/* ===== Tech Section ===== */
.tech-section {
    padding: 100px 0;
}

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

.tech-category {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

.tech-category h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tech-pill {
    padding: 6px 14px;
    background: white;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.tech-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.portfolio-section .portfolio-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.portfolio-section .portfolio-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.portfolio-thumb {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-gradient {
    position: absolute;
    inset: 0;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-gradient {
    transform: scale(1.1);
}

.portfolio-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    color: white;
    transition: transform 0.3s ease;
}

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

.portfolio-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-body {
    padding: 24px;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

.portfolio-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-techs span {
    padding: 6px 12px;
    background: var(--bg-light);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.portfolio-card:hover .portfolio-techs span {
    background: var(--primary);
    color: white;
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
}

.cta-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.cta-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 24px;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-title .gradient-text {
    background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

/* ===== Main Page Responsive - 1024px ===== */
@media (max-width: 1024px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0;
        align-items: flex-start;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-section {
        padding: 70px 0;
    }
    
    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .portfolio-thumb {
        height: 160px;
    }
    
    .portfolio-body {
        padding: 20px;
    }
    
    .portfolio-title {
        font-size: 16px;
    }
    
    .portfolio-desc {
        font-size: 13px;
    }
}

/* ===== Main Page Responsive - 768px ===== */
@media (max-width: 768px) {
    .site-main {
        padding-top: 56px;
    }
    
    .hero-section {
        padding: 40px 0 60px;
    }
    
    .portfolio-section {
        padding: 50px 0;
    }
    
    .hero-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-desc {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 32px;
        word-break: keep-all;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .code-editor {
        max-width: 320px;
    }
    
    .floating-cards {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-desc {
        font-size: 16px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
}

/* ===== Main Page Responsive - 480px ===== */
@media (max-width: 480px) {
    .section-container {
        padding: 0 16px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 30px 0 50px;
    }
    
    .portfolio-section {
        padding: 40px 0;
    }
    
    .hero-badge {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 16px;
    }
    
    .hero-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .code-editor {
        display: none;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
}

/* Animation delays */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }

.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(3) { transition-delay: 0.15s; }
.process-step:nth-child(5) { transition-delay: 0.3s; }
.process-step:nth-child(7) { transition-delay: 0.45s; }

.portfolio-card:nth-child(1) { transition-delay: 0s; }
.portfolio-card:nth-child(2) { transition-delay: 0.1s; }
.portfolio-card:nth-child(3) { transition-delay: 0.2s; }
.portfolio-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   포트폴리오 페이지 스타일 (통일된 디자인)
   ============================================ */

/* 포트폴리오 툴바 */
.portfolio-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 2px solid var(--primary-color, #6366f1);
    background: transparent;
    color: var(--primary-color, #6366f1);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color, #6366f1);
    color: white;
}

/* 포트폴리오 그리드 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* 포트폴리오 카드 */
.portfolio-card {
    display: block;
    background: var(--bg-primary, #ffffff);
    border-radius: var(--radius-xl, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    border: 1px solid var(--border-color, #e2e8f0);
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color, #6366f1);
}

.portfolio-card-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.portfolio-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-thumb img {
    transform: scale(1.05);
}

.portfolio-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.portfolio-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--primary-color, #6366f1);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.portfolio-card-body {
    padding: 20px;
}

.portfolio-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.portfolio-card-desc {
    font-size: 14px;
    color: var(--text-secondary, #64748b);
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.meta-images {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
}

.meta-arrow {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color, #6366f1);
}

/* 포트폴리오 상세 페이지 */
.portfolio-detail-header {
    text-align: center;
}

.portfolio-detail-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.portfolio-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary, #64748b);
}

.portfolio-detail-meta .meta-item svg {
    color: var(--primary-color, #6366f1);
}

.portfolio-thumbnail-wrapper {
    border-radius: var(--radius-xl, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.portfolio-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* 포트폴리오 갤러리 */
.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.portfolio-gallery-item {
    position: relative;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.portfolio-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* 포트폴리오 네비게이션 */
.portfolio-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.portfolio-nav-item {
    flex: 1;
}

.portfolio-nav-item.prev {
    text-align: left;
}

.portfolio-nav-item.next {
    text-align: right;
}

.portfolio-nav-link {
    display: inline-block;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: var(--radius-md, 12px);
    transition: background 0.2s ease;
}

.portfolio-nav-link:hover {
    background: var(--bg-secondary, #f8fafc);
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 4px;
}

.portfolio-nav-item.next .nav-label {
    justify-content: flex-end;
}

.nav-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
}

.portfolio-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color, #6366f1);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md, 12px);
    font-weight: 600;
    transition: all 0.2s ease;
}

.portfolio-nav-back:hover {
    background: var(--primary-dark, #4f46e5);
    transform: translateY(-2px);
}

/* 이미지 모달 */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.image-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-modal-nav.prev {
    left: 20px;
}

.image-modal-nav.next {
    right: 20px;
}

/* 반응형 - 포트폴리오 */
@media (max-width: 768px) {
    .portfolio-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .portfolio-filter {
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }
    
    .portfolio-card-thumb {
        height: 180px;
    }
    
    .portfolio-detail-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .portfolio-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .portfolio-nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .portfolio-nav-item {
        width: 100%;
        text-align: center;
    }
    
    .portfolio-nav-item .nav-label {
        justify-content: center;
    }
    
    .portfolio-nav-back {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    
    .image-modal-nav {
        width: 44px;
        height: 44px;
    }
    
    .image-modal-nav.prev {
        left: 10px;
    }
    
    .image-modal-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .portfolio-card {
        max-width: none;
        margin: 0;
    }
    
    .portfolio-thumb {
        height: 140px;
    }
    
    .portfolio-body {
        padding: 16px;
    }
    
    .portfolio-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .portfolio-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .portfolio-techs {
        gap: 6px;
    }
    
    .portfolio-techs span {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   정책 페이지 스타일 (이용약관, 개인정보처리방침)
   ==================================== */

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.policy-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #818cf8;
}

.section-title {
    color: #4f46e5;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.subsection-title {
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 20px 0 8px;
}

.section-content {
    color: #374151;
    font-size: 0.95rem;
}

.section-content p {
    margin-bottom: 12px;
}

.policy-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 12px 0;
}

.policy-list.numbered {
    list-style-type: decimal;
}

.policy-list li {
    margin-bottom: 8px;
    color: #374151;
}

.contact-info {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 16px;
}

.contact-info p {
    margin: 4px 0;
}

.policy-footer {
    text-align: center;
    padding: 20px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-top: 30px;
}

.policy-footer p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* 정책 페이지 반응형 스타일 */
@media (max-width: 768px) {
    .policy-content {
        padding: 15px;
    }
    
    .policy-section {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .section-content {
        font-size: 0.9rem;
    }
}