/* WIA PRESS Common CSS v1.0 */

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

:root {
    --primary-blue: #0047AB;
    --cyber-blue: #00B4D8;
    --truth-gold: #FFD700;
    --integrity-silver: #C0C0C0;
    --dark-navy: #0A1628;
    --accent-red: #DC143C;
    --text-white: #FFFFFF;
    --text-gray: #A8A8A8;
    --gradient-truth: linear-gradient(135deg, #0047AB 0%, #00B4D8 50%, #FFD700 100%);
    --gradient-cyber: linear-gradient(135deg, #00B4D8 0%, #0047AB 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --shadow-glow: 0 0 30px rgba(0, 180, 216, 0.5);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 50%, #0A1628 100%);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--cyber-blue);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: var(--gradient-truth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-decoration: none;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}
.nav-item a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.05rem;
}
.nav-item a:hover {
    color: var(--cyber-blue);
    transform: translateY(-2px);
}
.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: width 0.3s ease;
}
.nav-item a:hover::after { width: 100%; }

/* 공통 섹션 */
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-truth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* 푸터 */
.footer {
    background: rgba(10, 22, 40, 0.95);
    padding: 3rem 2rem;
    border-top: 2px solid var(--cyber-blue);
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-truth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}
.footer-section h3 {
    color: var(--cyber-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-section p, .footer-section a {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 2;
    text-decoration: none;
}
.footer-section a:hover { color: var(--cyber-blue); }
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 180, 216, 0.3);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* CTA 버튼 */
.cta-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.cta-primary {
    background: var(--gradient-cyber);
    background-clip: padding-box;
    color: white;
    border: 2px solid transparent;
}
.cta-secondary {
    background: transparent;
    color: var(--truth-gold);
    border: 2px solid var(--truth-gold);
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 180, 216, 0.4);
}

/* 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .section-title { font-size: 1.8rem; }
    .footer-content { grid-template-columns: 1fr; }
    .cta-btn { width: 100%; max-width: 300px; }
}

/* 스킵 내비게이션 (접근성) */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--cyber-blue);
    color: var(--dark-navy);
    padding: 10px 20px;
    z-index: 9999;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 5px 0;
}
.skip-nav:focus {
    top: 0;
}

/* 태블릿 (769px ~ 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu { gap: 1.5rem; }
    .nav-item a { font-size: 0.95rem; }
    .section-title { font-size: 2.2rem; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

/* 작은 모바일 (480px 이하) */
@media (max-width: 480px) {
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 1rem; }
    .logo { font-size: 1.3rem; }
    .footer-logo { font-size: 1.2rem; }
    .cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .footer-section p, .footer-section a { font-size: 0.85rem; }
}

/* 큰 화면 (1400px 이상) */
@media (min-width: 1400px) {
    .container { max-width: 1400px; }
    .nav-container { max-width: 1400px; }
    .section-title { font-size: 3rem; }
}

/* ── 모바일 메뉴 (사이트킷 공통) ── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}
.mobile-nav-overlay.active { display: block; }

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #0A1628;
    z-index: 1000;
    transition: right 0.3s;
    padding: 70px 20px 20px;
    overflow-y: auto;
    border-left: 1px solid rgba(0,180,216,0.2);
}
.mobile-nav-drawer.active { right: 0; }
.mobile-nav-drawer a {
    display: block;
    padding: 14px 16px;
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 15px;
    transition: background 0.2s;
}
.mobile-nav-drawer a:hover { background: rgba(0,180,216,0.12); color: var(--cyber-blue); }
.mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

/* 언어 전환 버튼 */
.lang-btn {
    background: rgba(0,180,216,0.1);
    border: 1px solid var(--cyber-blue);
    border-radius: 4px;
    padding: 2px 8px !important;
    font-size: 0.85rem !important;
}
.lang-btn:hover { background: rgba(0,180,216,0.25) !important; }

/* 디지털 펄스 배경 */
.digital-pulse {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0,180,216,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,215,0,0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0,71,171,0.25) 0%, transparent 50%);
    animation: pulseMove 20s ease-in-out infinite;
    pointer-events: none;
}
@keyframes pulseMove {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 0.8; transform: scale(1.1); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
}
@media (min-width: 769px) {
    .mobile-menu-btn,
    .mobile-nav-overlay,
    .mobile-nav-drawer { display: none !important; }
}
