/* ============================================
   사이루트 (PsyRoute) - 프리미엄 엔터프라이즈 디자인
   대기업 공식 홈페이지 수준의 하이엔드 UI/UX
   ============================================ */

/* Paperlogy 프리미엄 폰트 */
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../assets/fonts/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

/* ============================================
   CSS 변수 - 프리미엄 컬러 시스템
   ============================================ */
:root {
    /* Primary Colors */
    --color-primary: #0a0a0a;
    --color-secondary: #4a4a4a;
    --color-muted: #8a8a8a;
    --color-bg: #ffffff;
    --color-bg-warm: #fafafa;
    
    /* Accent - 프리미엄 골드/샴페인 */
    --color-accent: #c9a96e;
    --color-accent-hover: #b8985d;
    
    /* Overlay Colors */
    --overlay-deep-navy: rgba(10, 15, 30, 0.45);
    --overlay-gradient: linear-gradient(135deg, rgba(10, 15, 30, 0.5) 0%, rgba(20, 25, 45, 0.4) 100%);
    
    /* Typography */
    --font-family: 'Paperlogy', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Pretendard', sans-serif;
    --container-max: 1600px;
    --container-padding: 5%;
    
    /* Transitions - 프리미엄 이징 */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-primary);
    background: var(--color-bg);
    overflow-x: hidden;
}

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

/* ============================================
   프리미엄 애니메이션 키프레임
   ============================================ */

/* Fade In Up - 애플 스타일 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Up Delayed */
@keyframes fadeInUpDelayed {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    30% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In From Bottom */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   헤더 - 프리미엄 글래스모피즘
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
    background: var(--color-accent);
    transform: rotate(-5deg);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    font-weight: 400;
    color: var(--color-secondary);
    margin-left: 10px;
    font-size: 18px;
}

/* 네비게이션 */
.main-nav {
    display: flex;
    gap: 56px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

/* ============================================
   히어로 섹션 - 프리미엄 풀스크린
   ============================================ */
.hero-section {
    width: 100% !important;
    min-height: 700px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
    
    /* 프리미엄 배경 이미지 설정 */
    background-image: 
        var(--overlay-gradient),
        url('/assets/images/hero-bg-psyroute.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* 메인 페이지 히어로 - 전체 화면 */
.hero-section {
    height: 100vh !important;
}

/* 카테고리 페이지 히어로 - inline style 우선 적용 */
.hero-section[style*="min-height: 50vh"] {
    height: auto !important;
    min-height: 50vh !important;
}

/* 모바일에서는 fixed attachment 제거 (성능) */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* 딥 네이비 오버레이 추가 레이어 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 35, 0.3) 0%,
        rgba(10, 15, 35, 0.5) 50%,
        rgba(10, 15, 35, 0.6) 100%
    );
    z-index: 1;
}

/* 그라데이션 오버레이 - 상단에서 하단으로 */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
        to top,
        rgba(10, 15, 35, 0.8) 0%,
        transparent 100%
    );
    z-index: 1;
}

/* 히어로 컨텐츠 */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 1000px;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box;
}

/* 프리미엄 타이틀 - 5rem+ 과감한 사이즈 */
.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 auto 32px auto !important;
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    text-align: center !important;
    width: 100% !important;
    display: block;
    
    /* 애플 스타일 fade-in-up 애니메이션 */
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* 서브타이틀 */
.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    text-align: center !important;
    width: 100% !important;
    display: block;
    
    /* 딜레이된 애니메이션 */
    animation: fadeInUpDelayed 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center !important;
    animation: fadeInUpDelayed 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
}

.scroll-indicator span {
    display: block;
    text-align: center;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
    display: block;
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   메인 컨텐츠 - 프리미엄 레이아웃
   ============================================ */
.main-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 140px var(--container-padding) 120px;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--color-secondary);
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   카드 그리드 - 프리미엄 3컬럼 + 호버 인터랙션
   ============================================ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.article-content {
    padding: 0 20px 24px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-premium);
    position: relative;
}

/* 카드 링크 - 전체 클릭 가능 */
.article-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* 카드 호버 효과 */
.article-card:hover {
    transform: translateY(-8px);
}

/* 이미지 컨테이너 - 프리미엄 설정 */
.article-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-premium);
}

.article-card:hover .article-image-wrapper {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

/* 이미지 - 호버 시 1.05배 확대 */
.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-image-wrapper img {
    transform: scale(1.05);
}

/* 이미지 오버레이 - 호버 시 나타나는 그라데이션 */
.article-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.4) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.article-card:hover .article-image-wrapper::after {
    opacity: 1;
}

/* 카테고리 태그 */
.article-category {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
    display: block;
}

/* 타이틀 */
.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-primary);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.3px;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card:hover .article-title a {
    color: var(--color-accent);
}

/* 요약 */
.article-excerpt {
    font-size: 15px;
    color: var(--color-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

/* 메타 정보 */
.article-meta {
    font-size: 13px;
    color: var(--color-muted);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.article-meta time {
    min-width: 70px;
    white-space: nowrap;
}

.article-meta time,
.article-meta span {
    color: var(--color-muted);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Paperlogy', sans-serif;
    letter-spacing: 0;
}

/* ============================================
   작성자 섹션 - 프리미엄 프로필
   ============================================ */
.author-section {
    background: var(--color-bg-warm);
    padding: 100px var(--container-padding);
    margin-top: 80px;
}

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

/* 원형 프로필 이미지 */
.author-profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    position: relative;
}

.author-profile-image::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, transparent 50%);
    z-index: -1;
    opacity: 0.5;
}

.author-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.author-profile-image:hover img {
    transform: scale(1.05);
}

.author-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.author-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.author-bio {
    font-size: 1.1rem;
    color: var(--color-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   본문 페이지 - 와이드 히어로 배너 (img 태그)
   ============================================ */

/* 와이드 히어로 배너 - img 태그 사용 */
.article-hero-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    margin-top: 88px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* 이미지 래퍼 */
.article-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 실제 이미지 - object-fit: cover */
.article-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 오버레이 그라데이션 */
.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(10, 15, 35, 0.9) 0%,
        rgba(10, 15, 35, 0.5) 40%,
        rgba(10, 15, 35, 0.2) 70%,
        rgba(10, 15, 35, 0.4) 100%
    );
    z-index: 1;
}

/* 히어로 컨텐츠 */
.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 60px 24px 80px;
    text-align: center;
    color: white;
}

/* 카테고리 뱃지 */
.category-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.category-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 본문 H1 타이틀 */
.article-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 24px 0;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* 히어로 메타 정보 */
.article-hero-meta {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.article-hero-meta .author {
    font-weight: 600;
    color: white;
}

.article-hero-meta .separator {
    opacity: 0.5;
}

/* 본문 컨테이너 */
.article-body-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px var(--container-padding) 100px;
}

/* 브레드크럼 */
.article-breadcrumb {
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--color-muted);
}

.article-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

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

.article-breadcrumb li[aria-current="page"] {
    color: var(--color-primary);
    font-weight: 500;
}

/* 본문 콘텐츠 래퍼 */
.article-content-wrapper {
    max-width: 100%;
}

/* 리드 문단 */
.article-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

/* 본문 스타일 */
.article-body {
    font-size: 18px;
    line-height: 1.9;
    color: var(--color-secondary);
}

.article-body h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 64px 0 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0,0,0,0.06);
    letter-spacing: -0.5px;
}

.article-body h3 {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 48px 0 20px;
    letter-spacing: -0.3px;
}

.article-body p {
    margin-bottom: 28px;
}

.article-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 32px;
    margin: 48px 0;
    font-style: italic;
    color: var(--color-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* 본문 내 작성자 박스 */
.author-box {
    display: flex;
    gap: 32px;
    padding: 48px;
    background: var(--color-bg-warm);
    border-radius: 24px;
    margin-top: 80px;
    align-items: center;
}

.author-box-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.author-box-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box-info {
    flex: 1;
}

.author-box-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.author-box-role {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.author-box-bio {
    font-size: 15px;
    color: var(--color-secondary);
    line-height: 1.7;
}

/* ============================================
   푸터 - 프리미엄 다크 테마
   ============================================ */
.site-footer {
    background: var(--color-primary);
    color: white;
    padding: 100px var(--container-padding) 50px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 100px;
    margin-bottom: 72px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand span {
    font-weight: 400;
    opacity: 0.6;
    margin-left: 10px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.6;
    line-height: 1.8;
    max-width: 320px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    font-size: 15px;
    font-weight: 400;
    color: #BBBBBB;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888888;
}

.footer-social {
    display: none !important;
}

.footer-social a {
    color: #888888;
    transition: color 0.3s ease;
}

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

/* ============================================
   모바일 반응형 - 프리미엄 대응
   ============================================ */
@media (max-width: 1200px) {
    .article-grid {
        gap: 36px;
    }
    
    .footer-top {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
    
    .main-content {
        padding: 100px var(--container-padding) 80px;
    }
    
    /* 태블릿 본문 히어로 */
    .article-hero-banner {
        height: 60vh;
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 5%;
    }
    
    .header-inner {
        height: 72px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-text span {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-btn:active {
        background: rgba(0, 0, 0, 0.05);
        transform: scale(0.95);
    }
    
    /* 햄버거 버튼 애니메이션 */
    .mobile-menu-btn svg {
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-btn[aria-expanded="true"] svg {
        transform: rotate(90deg);
    }
    
    .mobile-menu-btn line {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }
    
    .mobile-menu-btn[aria-expanded="true"] line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-menu-btn[aria-expanded="true"] line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .mobile-menu-btn[aria-expanded="true"] line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    /* 오버레이 딤드 */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 30, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* 모바일 메뉴 활성화 상태 - 슬라이드 인 */
    .main-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        padding: 100px 32px 40px;
        gap: 0;
        box-shadow: -10px 0 60px rgba(0, 0, 0, 0.15);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 999;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav .nav-link {
        padding: 20px 0;
        font-size: 18px;
        font-weight: 600;
        color: var(--color-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .main-nav.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* 순차 등장 애니메이션 */
    .main-nav.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active .nav-link:nth-child(2) { transition-delay: 0.18s; }
    .main-nav.active .nav-link:nth-child(3) { transition-delay: 0.26s; }
    
    .main-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .main-nav .nav-link::after {
        display: none;
    }
    
    .main-nav .nav-link:hover {
        color: var(--color-accent);
        padding-left: 8px;
    }
    
    /* 모바일 히어로 */
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 120px 24px 80px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        line-height: 1.2;
        letter-spacing: -1px;
        margin-bottom: 24px;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
    
    /* 모바일 메인 */
    .main-content {
        padding: 80px var(--container-padding);
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title::after {
        width: 40px;
        height: 2px;
        bottom: -12px;
    }
    
    /* 모바일 그리드 - 1컬럼 */
    .article-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .article-image-wrapper {
        border-radius: 12px;
        margin-bottom: 24px;
    }
    
    .article-title {
        font-size: 1.2rem;
    }
    
    .article-category {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    /* 모바일 작성자 */
    .author-section {
        padding: 72px var(--container-padding);
    }
    
    .author-profile-image {
        width: 120px;
        height: 120px;
    }
    
    .author-name {
        font-size: 1.5rem;
    }
    
    /* 모바일 본문 히어로 */
    .article-hero-banner {
        height: 50vh;
        min-height: 400px;
        margin-top: 72px;
    }
    
    .article-hero-content {
        padding: 40px 20px 60px;
    }
    
    .article-hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.3;
    }
    
    .category-badge {
        font-size: 11px;
        padding: 8px 16px;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }
    
    .article-hero-meta {
        font-size: 13px;
        gap: 12px;
    }
    
    /* 모바일 본문 */
    .article-body-container {
        padding: 40px var(--container-padding) 80px;
    }
    
    .article-breadcrumb {
        font-size: 13px;
        margin-bottom: 32px;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin: 48px 0 24px;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }
    
    .author-box-avatar {
        margin: 0 auto;
    }
    
    /* 모바일 푸터 */
    .site-footer {
        padding: 72px var(--container-padding) 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-bottom: 56px;
    }
    
    .footer-brand {
        font-size: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* 태블릿 중간 사이즈 */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: clamp(3.5rem, 7vw, 5rem);
    }
    
    .article-title {
        font-size: 1.2rem;
    }
}

/* 큰 화면 최적화 */
@media (min-width: 1920px) {
    :root {
        --container-padding: 8%;
    }
    
    .hero-title {
        font-size: 7rem;
    }
}

/* ============================================
   접근성 & 유틸리티
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: white;
}/* ============================================
   추가된 하이엔드 본문 스타일
   ============================================ */

/* 풀스크린 히어로 - 60vh */
.article-hero-full {
    position: relative;
    width: 100vw;
    height: 60vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-hero-full .article-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.article-hero-full .article-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-hero-full .article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 30, 0.4) 0%,
        rgba(10, 15, 30, 0.6) 50%,
        rgba(10, 15, 30, 0.85) 100%
    );
    z-index: 1;
}

.article-hero-full .article-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 24px;
    color: white;
}

.article-hero-full .article-hero-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.article-hero-full .article-hero-category:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.article-hero-full .article-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    letter-spacing: -2px;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.article-hero-full .article-hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.article-hero-full .article-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
}

.article-hero-full .article-hero-meta .meta-author {
    font-weight: 600;
    color: white;
}

.article-hero-full .article-hero-meta .meta-separator {
    opacity: 0.5;
}

/* 본문 콘텐츠 */
.article-content-full {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 5%;
}

.article-body-wrapper {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-secondary);
}

.article-body-wrapper .article-lead {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--color-primary);
    font-weight: 400;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-body-wrapper p {
    margin-bottom: 32px;
    letter-spacing: -0.2px;
}

/* H2 - 좌측 포인트 바 */
.article-body-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 64px 0 32px;
    padding-left: 24px;
    border-left: 4px solid var(--color-accent);
    line-height: 1.3;
    letter-spacing: -1px;
}

.article-body-wrapper h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 40px 0 20px;
    letter-spacing: -0.5px;
}

/* 인용구 */
.article-body-wrapper blockquote {
    margin: 48px 0;
    padding: 40px 48px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-secondary);
    position: relative;
}

.article-body-wrapper blockquote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.article-body-wrapper strong {
    font-weight: 700;
    color: var(--color-primary);
}

/* 작성자 박스 */
.article-author-box {
    margin-top: 100px;
    padding: 48px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.article-author-box .author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-author-box .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-author-box .author-details {
    flex: 1;
}

.article-author-box .author-details h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.article-author-box .author-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.article-author-box .author-bio {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-muted);
}

/* 모바일 */
@media (max-width: 768px) {
    .article-hero-full {
        height: 70vh;
        min-height: 500px;
    }
    
    .article-hero-full .article-hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    
    .article-hero-full .article-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .article-hero-full .article-hero-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
    }
    
    .article-content-full {
        padding: 60px 5%;
    }
    
    .article-body-wrapper {
        font-size: 16px;
    }
    
    .article-body-wrapper .article-lead {
        font-size: 1.15rem;
    }
    
    .article-body-wrapper h2 {
        font-size: 1.5rem;
        margin: 48px 0 24px;
        padding-left: 16px;
    }
    
    .article-body-wrapper h3 {
        font-size: 1.15rem;
    }
    
    .article-body-wrapper blockquote {
        padding: 32px 24px;
        font-size: 1.1rem;
    }
    
    .article-body-wrapper blockquote::before {
        font-size: 3rem;
        top: 10px;
        left: 16px;
    }
    
    .article-author-box {
        flex-direction: column;
        text-align: center;
        padding: 32px;
        margin-top: 60px;
    }
    
    .article-author-box .author-image {
        margin: 0 auto;
    }
}

/* ============================================
   강제 중앙 정렬 오버라이드 - 최우선 적용
   ============================================ */

/* Hero Section 강제 중앙 */
.hero-section,
section.hero-section,
main .hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    position: relative !important;
}

/* Hero Content 강제 중앙 */
.hero-content,
.hero-section .hero-content,
section.hero-section .hero-content {
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 5% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

/* Hero Title 강제 중앙 */
.hero-title,
.hero-content .hero-title,
.hero-section .hero-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 32px !important;
    width: 100% !important;
    display: block !important;
}

/* Hero Subtitle 강제 중앙 */
.hero-subtitle,
.hero-content .hero-subtitle,
.hero-section .hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 640px !important;
    display: block !important;
}

/* Scroll Indicator 강제 중앙 */
.scroll-indicator,
.hero-section .scroll-indicator,
section.hero-section .scroll-indicator {
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.scroll-indicator span,
.scroll-indicator svg {
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
}
