/* ===================================
   COPY. 메인 스타일시트
   - 전체 사이트 공통 스타일
   - 반응형 포함 (모바일 가독성 개선)
   =================================== */

/* === CSS 변수 === */
:root {
    /* 색상 */
    --primary-color: #a60e16;
    --secondary-color: #a60e16;
    --accent-color: #a60e16;
    --text-color: #1a1a1a;
    --text-light: #555555;
    /* 더 진하게 변경 (기존 #6b6b6b) */
    --text-muted: #777777;
    /* 더 진하게 변경 (기존 #999999) */
    --bg-color: #FFFFFF;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --border-color: #E0E0E0;

    /* 그라데이션 */
    --gradient-primary: linear-gradient(135deg, #a60e16, #d41920);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);

    /* 그림자 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

    /* 간격 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* 폰트 */
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;

    /* 반경 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* 전환 */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* 레이아웃 */
    --container-max: 1200px;
    --navbar-height: 80px;

    /* 추가 변수 (다크 모드용) */
    --card-bg: #ffffff;
    --card-border: #e0e0e0;
    --surface-color: #f8f8f8;
    --input-bg: #ffffff;
    --input-border: #ddd;
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --code-bg: #f5f5f5;
}

/* === 다크 모드 === */
[data-theme="dark"] {
    --primary-color: #e63946;
    --secondary-color: #e63946;
    --accent-color: #ff6b6b;
    --text-color: #e8e8e8;
    --text-light: #b0b0b0;
    --text-muted: #888888;
    --bg-color: #121212;
    --bg-light: #1a1a1a;
    --bg-dark: #0a0a0a;
    --border-color: #2a2a2a;

    --gradient-primary: linear-gradient(135deg, #c41420, #e63946);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);

    --card-bg: #1e1e1e;
    --card-border: #2a2a2a;
    --surface-color: #1a1a1a;
    --input-bg: #252525;
    --input-border: #333;
    --overlay-bg: rgba(0, 0, 0, 0.7);
    --code-bg: #2a2a2a;

    color-scheme: dark;
}

/* 테마 전환 트랜지션 */
body,
body * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* === 테마 토글 버튼 (공통) === */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.3);
}

/* 다크 모드 공통 오버라이드 */
[data-theme="dark"] .navbar {
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid #2a2a2a;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(18, 18, 18, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .nav-menu a {
    color: #ccc;
}

[data-theme="dark"] .nav-menu a:hover,
[data-theme="dark"] .nav-menu a.active {
    color: #ff6b6b;
}

[data-theme="dark"] .lang-btn {
    color: #999;
}

[data-theme="dark"] .lang-btn.active {
    color: #fff;
}

[data-theme="dark"] .lang-divider {
    background: #444;
}

[data-theme="dark"] section {
    background-color: var(--bg-color);
}

[data-theme="dark"] .card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .program-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .portfolio-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .team-member {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-color);
}

[data-theme="dark"] .footer {
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

[data-theme="dark"] .hero-section {
    background: var(--gradient-dark);
}

[data-theme="dark"] .section-header h2,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
    color: var(--text-color);
}

[data-theme="dark"] .badge,
[data-theme="dark"] .tag {
    background: #2a2a2a;
    color: #bbb;
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: #ccc;
}

/* 모바일 메뉴 다크 모드 */
@media (max-width: 768px) {
    [data-theme="dark"] .nav-menu {
        background: rgba(18, 18, 18, 0.98);
    }
}

/* === 리셋 & 기본 === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-break: keep-all;
}

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

ul,
ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* === 반응형 유틸리티 (줄바꿈 등) === */
.only-pc {
    display: inline;
}

.only-mo {
    display: none;
}

@media (max-width: 768px) {
    .only-pc {
        display: none;
    }

    .only-mo {
        display: inline;
    }
}

/* === 컨테이너 === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === 네비게이션 === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar .container,
.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-brand .logo,
.logo {
    height: auto;
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transform: scale(1);
    transform-origin: left center;
}

.brand-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color var(--transition-base);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu .cta-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-menu .cta-btn::after {
    display: none;
}

.nav-menu .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 네비게이션 액션 버튼들 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* 언어 전환 버튼 */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-color);
    transition: all var(--transition-base);
}

.lang-toggle:hover {
    background: var(--secondary-color);
    color: white;
}

.lang-icon {
    font-size: 1.1rem;
}

/* 언어 전환 (구버전 호환) */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-light);
    padding: 4px;
    border-radius: var(--radius-full);
}

.lang-btn {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    transition: all var(--transition-base);
}

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

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.lang-divider {
    width: 1px;
    height: 16px;
    background: var(--border-color);
}

/* 모바일 메뉴 토글 */
.mobile-menu-toggle,
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-toggle span,
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-base);
}

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

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

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

/* === 히어로 섹션 === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #050505, #1a1a2e, #16213e, #0f3460);
    background-size: 400% 400%;
    animation: aurora 15s ease infinite;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: twinkle 60s linear infinite;
    opacity: 0.4;
}

@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes twinkle {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-550px);
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-lg);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: linear-gradient(to right, #00b4d8, #06ffa5, #00b4d8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textFlow 3s linear infinite;
    display: inline-block;
}

@keyframes textFlow {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* === 페이지 헤더 === */
.page-header,
.page-hero {
    background: var(--gradient-dark);
    color: white;
    padding: calc(var(--navbar-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
    text-align: center;
}

.page-header h1,
.page-hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.page-header p,
.page-hero p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
}

/* === 버튼 === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
    min-height: 48px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

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

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

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

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 36px;
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    transition: transform var(--transition-base);
}

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

/* === 섹션 공통 === */
section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* === 콘텐츠 섹션 === */
.content-section {
    padding: var(--spacing-xxl) 0;
}

.about-intro,
.about-meaning,
.company-info {
    margin-bottom: var(--spacing-xl);
}

.about-intro h2,
.about-meaning h3,
.company-info h3 {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.about-intro p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.8;
}

/* === 의미 그리드 === */
.meaning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.meaning-card {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

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

.meaning-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.meaning-card h4 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.meaning-card p {
    color: var(--text-light);
}

/* === CEO 인사말 섹션 === */
.ceo-section {
    background: white;
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.ceo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.ceo-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.ceo-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ceo-image-wrapper:hover .ceo-image {
    transform: scale(1.05);
}

.ceo-content {
    padding: var(--spacing-lg);
}

.ceo-title {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ceo-heading {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.3;
}

.ceo-message {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.ceo-message p {
    margin-bottom: 1.5rem;
}

.ceo-signature {
    margin-top: var(--spacing-lg);
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 2rem;
    color: var(--primary-color);
}

.ceo-name {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 700;
    font-style: normal;
    margin-top: 0.75rem;
}

/* === 모던 회사 정보 === */
.company-info-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.info-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.info-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: #e0e0e0;
}

.info-item:last-child {
    border-bottom: 1px solid transparent;
}

.info-icon-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover .info-icon-circle {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.info-text h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text p {
    font-size: 1.125rem;
    color: var(--text-color);
    font-weight: 600;
}

/* === 반응형 (CEO) === */
@media (max-width: 968px) {
    .ceo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ceo-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .ceo-content {
        padding: 0;
        text-align: center;
    }
}

/* === 특징 섹션 === */
.features-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

/* === 통계 섹션 === */
.stats-section {
    background: var(--gradient-dark);
    color: white;
    padding: var(--spacing-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-xs);
}

/* === CTA 섹션 === */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: var(--spacing-xxl) 0;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* === 그리드 시스템 === */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

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

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

/* === 카드 === */
.card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.card h3 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.card p {
    color: var(--text-light);
}

/* === 문의 섹션 === */
.contact-section {
    padding: var(--spacing-xxl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info {
    background: var(--gradient-dark);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
}

.contact-info h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: var(--font-size-base);
    margin-bottom: 4px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

.contact-form {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form h2 {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

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

/* === 푸터 === */
.footer {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    max-height: 48px;
    width: auto;
    display: inline-block;
    margin-bottom: var(--spacing-md);
    background-color: white;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
}

/* === 유틸리티 === */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* === 토스트 메시지 === */
.toast-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.toast-message.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-message.success {
    background: linear-gradient(135deg, #06FFA5, #00B4D8);
    color: white;
}

.toast-message.error {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

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

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

/* === New About Page Design (Premium) === */
.about-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    margin-bottom: 0;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.about-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.about-mission-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.mission-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(166, 14, 22, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.3;
}

.mission-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.value-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card-premium {
    padding: 3rem 2rem;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    transition: all 0.4s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.value-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
    background: white;
}

.value-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

.value-icon-premium {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(166, 14, 22, 0.05);
    padding: 15px;
    border-radius: 16px;
    color: var(--primary-color);
}

.value-card-premium h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.value-card-premium p {
    color: var(--text-light);
    line-height: 1.6;
}

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

    .about-hero {
        padding: 140px 0 80px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }
}

/* === Service Page Premium Styles === */

/* 상세 서비스 섹션 (Zigzag Layout) */
.service-detail-section {
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-visual {
    flex: 1;
    position: relative;
}

.service-visual-inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: white;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(166, 14, 22, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(13, 71, 161, 0.05) 0%, transparent 50%);
    opacity: 1;
}

.visual-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    z-index: 1;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    box-shadow:
        0 8px 32px 0 rgba(166, 14, 22, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.service-row:hover .visual-icon {
    transform: scale(1.05) rotate(5deg);
}

.service-visual-inner.has-image {
    background: transparent;
    box-shadow: none;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 24px;
}

.service-info {
    flex: 1;
}

.service-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(166, 14, 22, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-info h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.3;
}

.service-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}

.feature-check {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* 작업 프로세스 (Step Flow) */
.process-section {
    background: #fcfcfc;
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

/* 연결선 */
.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-muted);
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.process-step.active .step-number,
.process-step:hover .step-number {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(166, 14, 22, 0.05);
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* 성과 지표 (Stats) */
.stats-section {
    background: var(--gradient-dark);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* FAQ 아코디언 */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

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

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

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

/* 반응형 조정 */
@media (max-width: 992px) {
    .service-row {
        gap: 3rem;
    }

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

    .process-grid::before {
        display: none;
    }
}

/* === 스크롤바 스타일 === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* === 선택 스타일 === */
::selection {
    background: var(--secondary-color);
    color: white;
}

/* === 포커스 스타일 === */
:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* === 프린트 스타일 === */
@media print {

    .navbar,
    .footer,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
    }
}

/* =====================================================
   모바일 최적화 (768px 이하) - 가독성 & UX 대폭 개선
   ===================================================== */
@media (max-width: 768px) {

    /* === 모바일 CSS 변수 재정의 === */
    :root {
        --navbar-height: 64px;
        --spacing-xxl: 3rem;
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
    }

    /* === 기본 타이포그래피 개선 === */
    html {
        font-size: 16px;
    }

    body {
        line-height: 1.75;
        /* 줄간격 확대로 가독성 향상 */
        letter-spacing: -0.01em;
    }

    /* === 컨테이너 여백 === */
    .container {
        padding: 0 20px;
    }

    /* === 섹션 간격 최적화 === */
    section {
        padding: 3rem 0;
    }

    /* === 네비게이션 모바일 최적화 === */
    .navbar {
        height: var(--navbar-height);
    }

    .nav-brand .logo {
        max-height: 36px;
    }

    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        height: calc(100vh - var(--navbar-height));
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1.125rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
        text-align: left;
        font-weight: 600;
        color: var(--text-color);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu .cta-btn {
        margin-top: 1rem;
        text-align: center;
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .mobile-menu-toggle,
    .hamburger {
        display: flex;
    }

    .language-switcher {
        display: flex;
        margin-right: 0.75rem;
    }

    .lang-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    /* === 히어로 섹션 모바일 === */
    .hero-section {
        min-height: auto;
        padding: calc(var(--navbar-height) + 3rem) 0 3rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.35;
        margin-bottom: 1rem;
        word-break: keep-all;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* === 페이지 헤더 모바일 === */
    .page-header,
    .page-hero {
        padding: calc(var(--navbar-height) + 2rem) 0 2rem;
    }

    .page-header h1,
    .page-hero h1 {
        font-size: 1.75rem;
        line-height: 1.35;
        word-break: keep-all;
    }

    .page-header p,
    .page-hero p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    /* === About Hero 모바일 === */
    .about-hero {
        padding: calc(var(--navbar-height) + 2.5rem) 0 2.5rem;
    }

    .about-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.35;
    }

    .about-hero p {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 0.5rem;
    }

    /* === 섹션 헤더 모바일 === */
    .section-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* === 버튼 모바일 최적화 === */
    .btn {
        min-height: 52px;
        /* 터치 타겟 확대 */
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1.05rem;
    }

    .btn-full {
        width: 100%;
    }

    /* === 그리드 모바일 === */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* === 카드 컴포넌트 모바일 === */
    .card,
    .feature-card,
    .meaning-card {
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }

    .feature-card h3,
    .meaning-card h4,
    .card h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p,
    .meaning-card p,
    .card p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .feature-icon,
    .meaning-icon {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    /* === Value Card Premium 모바일 === */
    .value-grid-premium {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card-premium {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        text-align: left;
    }

    .value-icon-premium {
        font-size: 2rem;
        padding: 12px;
        margin-bottom: 1rem;
    }

    .value-card-premium h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .value-card-premium p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* === Mission 섹션 모바일 === */
    .about-mission-section {
        padding: 3rem 0;
    }

    .mission-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 1rem;
    }

    .mission-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }

    .mission-desc {
        font-size: 0.95rem;
        line-height: 1.75;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    /* === CEO 섹션 모바일 === */
    .ceo-section {
        padding: 3rem 0;
    }

    .ceo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ceo-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
        border-radius: 16px;
    }

    .ceo-content {
        padding: 0;
        text-align: center;
    }

    .ceo-title {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .ceo-heading {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        line-height: 1.35;
    }

    .ceo-message {
        font-size: 0.95rem;
        line-height: 1.75;
        margin-bottom: 2rem;
        text-align: left;
    }

    .ceo-message p {
        margin-bottom: 1rem;
    }

    .ceo-signature {
        font-size: 1.5rem;
    }

    .ceo-name {
        font-size: 1rem;
    }

    /* === 회사 정보 섹션 모바일 === */
    .company-info-section {
        padding: 3rem 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-item {
        padding: 1.25rem;
        gap: 1rem;
        border-radius: 16px;
    }

    .info-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        border-radius: 12px;
    }

    .info-text h4 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .info-text p {
        font-size: 1rem;
    }

    /* === 서비스 상세 섹션 모바일 === */
    .service-detail-section {
        padding: 2.5rem 0;
    }

    .service-row,
    .service-row:nth-child(even) {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    /* 비주얼 영역 - 배경 제거, 아이콘만 표시 */
    .service-visual-inner {
        min-height: auto;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 1rem 0;
    }

    .visual-pattern {
        display: none;
    }

    .visual-icon {
        font-size: 3rem;
        /* 아이콘 크기 크게 */
        width: 80px;
        height: 80px;
        background: rgba(166, 14, 22, 0.08);
        /* 연한 배경 */
        box-shadow: none;
        border: none;
        border-radius: 20px;
    }

    .service-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 0.75rem;
    }

    .service-info h3 {
        font-size: 1.375rem;
        margin-bottom: 1rem;
        line-height: 1.35;
    }

    .service-info p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .service-info p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .service-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .service-feature-item {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }

    .feature-check {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }

    /* === 프로세스 섹션 모바일 === */
    .process-section {
        padding: 3rem 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .process-grid::before {
        display: none;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
        background: white;
        padding: 1.25rem;
        border-radius: 16px;
        box-shadow: var(--shadow-sm);
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin: 0;
        flex-shrink: 0;
    }

    .process-step h4 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .process-step p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* === 통계 섹션 모바일 === */
    .stats-section {
        padding: 2.5rem 0;
    }

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

    .stat-item {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
    }

    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    /* === FAQ 섹션 모바일 === */
    .faq-section {
        padding: 3rem 0;
    }

    .faq-container {
        padding: 0;
    }

    .faq-item {
        margin-bottom: 0.5rem;
        background: var(--bg-light);
        border-radius: 12px;
        border-bottom: none;
        overflow: hidden;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
        line-height: 1.4;
        gap: 1rem;
    }

    .faq-toggle {
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.7;
        padding-bottom: 1.25rem;
    }

    /* === CTA 섹션 모바일 === */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    /* === 문의 섹션 모바일 === */
    .contact-section {
        padding: 3rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .contact-info h2 {
        font-size: 1.375rem;
        margin-bottom: 1.25rem;
    }

    .contact-item {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        border-radius: 10px;
    }

    .contact-item h4 {
        font-size: 0.95rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .contact-form h2 {
        font-size: 1.375rem;
        margin-bottom: 1.25rem;
    }

    .contact-form .form-group {
        margin-bottom: 1rem;
    }

    .contact-form label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 14px 16px;
        font-size: 16px;
        /* iOS 줌 방지 */
        border-radius: 10px;
    }

    .contact-form textarea {
        min-height: 100px;
    }

    /* === 푸터 모바일 === */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .footer-logo {
        font-size: 1.375rem;
    }

    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-section ul li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* === 토스트 메시지 모바일 === */
    .toast-message {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        transform: translateY(100px);
        text-align: center;
    }

    .toast-message.show {
        transform: translateY(0);
    }

    /* === 메뉴 열림 시 스크롤 방지 === */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* =====================================================
   초소형 모바일 (480px 이하) - 추가 최적화
   ===================================================== */
@media (max-width: 480px) {

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .page-header h1,
    .page-hero h1,
    .about-hero h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.375rem;
    }

    .mission-title {
        font-size: 1.375rem;
    }

    .ceo-heading {
        font-size: 1.5rem;
    }

    .service-info h3 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .card,
    .feature-card,
    .meaning-card,
    .value-card-premium {
        padding: 1.25rem;
    }

    .info-item {
        padding: 1rem;
    }

    .process-step {
        padding: 1rem;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.25rem;
    }
}

/* =====================================================
   터치 디바이스 최적화
   ===================================================== */
@media (hover: none) and (pointer: coarse) {

    /* 호버 효과 제거 - 터치 디바이스에서 불필요 */
    .card:hover,
    .feature-card:hover,
    .meaning-card:hover,
    .value-card-premium:hover,
    .info-item:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    /* 터치 피드백 추가 */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .card:active,
    .feature-card:active,
    .faq-question:active {
        opacity: 0.9;
    }
}

/* =====================================================
   다크 모드 지원 (시스템 설정 기반)
   ===================================================== */
@media (prefers-color-scheme: dark) {
    /* 다크 모드 원할 시 여기에 스타일 추가 */
}

/* =====================================================
   접근성 개선 - 모션 감소 선호
   ===================================================== */
/* === About Page Premium Styles (High-End) === */

/* 1. 히어로 섹션 강화 */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 160px 0 100px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(166, 14, 22, 0.8) 100%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.about-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

/* 2. 미션 & 비전 섹션 */
.about-mission-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

/* 배경 패턴 추가 */
.about-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.about-mission-section .container {
    position: relative;
    z-index: 1;
}

.mission-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.mission-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 5rem;
    line-height: 1.8;
}

/* 핵심 가치 카드 업그레이드 */
.value-card-premium {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(166, 14, 22, 0.1);
    border-color: rgba(166, 14, 22, 0.2);
}

.value-icon-premium {
    font-size: 3rem;
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    /* 중앙 정렬을 위한 margin-left/right: auto */
    transition: all 0.3s ease;
}

.value-card-premium:hover .value-icon-premium {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg);
}

/* 3. CEO 인사말 섹션 (Magazine Style) */
.ceo-section {
    padding: 120px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.ceo-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.ceo-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ceo-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ceo-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ceo-image-wrapper:hover .ceo-image {
    transform: scale(1.03);
}

.ceo-content {
    padding-left: 2rem;
}

.ceo-heading {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.35;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ceo-message p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.ceo-signature {
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 3rem;
    font-style: italic;
    font-weight: 700;
}

.ceo-name {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. 회사 정보 섹션 (Information) */
.company-info-section {
    padding: 100px 0;
    background: white;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.info-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(166, 14, 22, 0.05);
    color: var(--primary-color);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 700;
}

/* === About Page Mobile Optimization === */
@media (max-width: 992px) {
    .ceo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ceo-content {
        padding-left: 0;
        text-align: center;
    }

    .ceo-message {
        text-align: left;
    }

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

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .mission-title {
        font-size: 1.75rem;
    }

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

    .ceo-heading {
        font-size: 1.75rem;
    }

    .about-mission-section,
    .ceo-section,
    .company-info-section {
        padding: 60px 0;
    }
}

/* === Hero Logo Style === */
.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-logo {
    max-width: 140px;
    width: auto;
    /* 배경 제거 및 강조 효과 (Glow) */
    background: transparent;
    padding: 0;
    border-radius: 12px;
    box-shadow: none;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

@media (min-width: 992px) {
    .hero-title-wrapper {
        flex-direction: row;
        gap: 2rem;
    }

    .hero-title {
        margin-bottom: 0;
        text-align: right;
        /* 타이틀과 로고가 붙어있을 때 정렬 */
    }
}

/* ===================================
   인트로 스플래시 (Intro Splash)
   =================================== */
#intro-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.5s ease, visibility 1.5s ease;
}

#intro-splash.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    max-width: 350px;
    width: 60%;
    height: auto;
    animation: splashPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

@keyframes splashPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* ===================================
   대형 Hero 로고 스타일
   =================================== */
.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2.5rem auto 3rem;
    perspective: 1000px;
}

.hero-logo-large {
    max-width: 450px !important;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 20px;
    box-shadow: none !important;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
    transform-style: preserve-3d;
}

.hero-logo-large:hover {
    filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.7));
}

/* Hero 콘텐츠 중앙 정렬 강화 */
.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    padding: var(--spacing-lg);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero 타이틀 wrapper 수정 */
.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
    margin-bottom: 0;
}

/* 기존 hero-logo 스타일 오버라이드 (대형 로고용) */
.hero-section .hero-logo {
    max-width: 450px;
    width: 100%;
}

/* ===================================
   모바일 반응형 (인트로 & 대형 로고)
   =================================== */
@media (max-width: 768px) {
    .splash-logo {
        max-width: 280px;
        width: 70%;
    }

    .hero-logo-wrapper {
        margin: 2rem auto 2.5rem;
    }

    .hero-logo-large {
        max-width: 80vw !important;
        width: 80vw;
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
    }

    .hero-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .splash-logo {
        max-width: 220px;
        width: 75%;
    }

    .hero-logo-large {
        max-width: 85vw !important;
        width: 85vw;
    }
}

/* 스플래시 동안 스크롤 방지 */
body.splash-active {
    overflow: hidden;
}

/* === 통계 섹션 (Stats Section) === */
.stats-section {
    background: #f8f9fa;
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    /* PC/태블릿에서는 한 줄 유지 */
    text-align: center;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 모바일은 2x2로 깔끔하게 */
        gap: 2rem 1rem;
    }

    .stat-item {
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ============================== */
/* === React 페이지 컴포넌트 CSS === */
/* ============================== */

/* === 페이지 헤더 (공통) === */
.page-header {
    background: var(--gradient-dark);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* === 서비스 페이지 === */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(166, 14, 22, 0.06);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 18px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* === 포트폴리오 페이지 === */
.portfolio-section {
    padding: 80px 0;
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: white;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

.portfolio-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(166, 14, 22, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.portfolio-duration {
    font-size: 0.8rem;
    color: #999;
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.portfolio-client {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.portfolio-result {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.result-label {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.result-value {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

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

.portfolio-tag {
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
}

.portfolio-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === 블로그 페이지 === */
.blog-section {
    padding: 80px 0;
}

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

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-date {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.blog-detail-section {
    padding: 60px 0 80px;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-color);
}

.blog-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* === 프로그램 페이지 === */
.programs-section {
    padding: 80px 0;
}

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

.program-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.program-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.program-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* .program-price 스타일은 아래 프로그램 카드 섹션에서 정의 */

/* === 프로젝트 상세 페이지 === */
.project-detail-section {
    padding: 60px 0 80px;
}

.project-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-color);
}

.project-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* === 블로그 페이지 === */
.blog-section {
    padding: 80px 0;
}

.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.blog-loading,
.blog-empty {
    text-align: center;
    padding: 5rem 2rem;
}

.blog-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-icon-large {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.blog-empty h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-empty p {
    color: var(--text-light);
}

/* Featured Post */
.blog-featured {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.blog-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(166, 14, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.blog-featured-content {
    position: relative;
    z-index: 1;
}

.blog-featured h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: white;
}

.blog-featured p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.blog-category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(166, 14, 22, 0.2);
    border: 1px solid rgba(166, 14, 22, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ff8a8a;
}

.blog-category-badge-small {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(166, 14, 22, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.blog-tag {
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
}

.blog-featured .blog-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: inherit;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-read-time {
    font-size: 0.8rem;
    color: #999;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    font-size: 0.8rem;
    color: #999;
}

.blog-read-more {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* === 프로그램 페이지 === */
/* === 프로그램 페이지 헤더 === */
.program-page-header {
    text-align: center;
}

.page-header-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
}

/* === 통계 배너 === */
.program-intro-section {
    padding: 0;
    margin-top: 1rem;
}

.program-intro-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.program-intro-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(166, 14, 22, 0.15), transparent 70%);
    border-radius: 50%;
}

.intro-banner-text {
    flex: 1;
    min-width: 240px;
    position: relative;
    z-index: 1;
}

.intro-banner-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

.intro-banner-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.intro-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.intro-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #ffa07a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* === 프로그램 목록 === */
.program-notice-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}

.program-notice-banner .notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.program-notice-banner .notice-text strong {
    display: block;
    font-size: 1.1rem;
    color: #856404;
    margin-bottom: 0.35rem;
}

.program-notice-banner .notice-text p {
    font-size: 0.9rem;
    color: #856404;
    margin: 0;
    opacity: 0.85;
    line-height: 1.5;
}

.programs-section {
    padding: 4rem 0;
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@keyframes programFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card-full {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: programFadeIn 0.5s ease both;
}

.program-card-full:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: rgba(166, 14, 22, 0.15);
}

.program-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.program-card-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.program-category-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(166, 14, 22, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.program-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.program-level-badge {
    font-size: 0.8rem;
    color: white;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 5px 14px;
    border-radius: 50px;
}

.program-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.program-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

/* === 정보 그리드 === */
.program-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.program-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s;
}

.program-info-item:hover {
    border-color: rgba(166, 14, 22, 0.1);
}

.program-info-item .info-icon {
    font-size: 1.3rem;
}

.program-info-item .info-label {
    display: block;
    font-size: 0.72rem;
    color: #999;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.program-info-item .info-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-color);
}

/* === 특징 태그 === */
.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.program-feature-tag {
    padding: 7px 16px;
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    color: #2e7d32;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.2s;
}

.program-feature-tag:hover {
    background: #e8f5e9;
    transform: translateY(-1px);
}

/* === 커리큘럼 (토글) === */
.program-curriculum {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.curriculum-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.curriculum-toggle:hover {
    background: rgba(0, 0, 0, 0.02);
}

.curriculum-toggle h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.toggle-arrow {
    font-size: 1.2rem;
    color: #999;
    transition: transform 0.3s;
}

.toggle-arrow.open {
    transform: rotate(180deg);
}

.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 1.5rem 1.5rem;
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.92rem;
    color: var(--text-light);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.5;
}

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

.curriculum-step {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #d41920);
    color: white;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* === 카드 하단: 가격 + CTA === */
.program-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.price-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border: 2px solid rgba(166, 14, 22, 0.12);
    border-radius: 16px;
    padding: 1rem 1.5rem;
}

.price-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.program-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1;
}

.btn-program {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 12px;
}

/* =====================================================
   반응형 (React 페이지 컴포넌트) — 모바일 최적화
   ===================================================== */

/* ── 태블릿 (1024px 이하) ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

/* ── 모바일 (768px 이하) ── */
@media (max-width: 768px) {

    /* 공통 페이지 헤더 */
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 1.75rem;
        line-height: 1.35;
        word-break: keep-all;
    }

    .page-header p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    .page-header-badge {
        font-size: 0.78rem;
        padding: 5px 14px;
    }

    /* === 서비스 페이지 === */
    .services-section {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
    }

    .service-icon {
        font-size: 2.2rem;
        width: 56px;
        height: 56px;
        line-height: 56px;
        border-radius: 14px;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    /* === 포트폴리오 페이지 === */
    .portfolio-section {
        padding: 3rem 0;
    }

    .portfolio-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .portfolio-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .portfolio-title {
        font-size: 1.05rem;
    }

    .portfolio-desc {
        font-size: 0.88rem;
        line-height: 1.6;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .portfolio-result {
        padding: 0.6rem 0.85rem;
        border-radius: 10px;
    }

    .portfolio-image {
        height: 180px;
    }

    /* === 블로그 페이지 === */
    .blog-section {
        padding: 3rem 0;
    }

    .blog-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .blog-filter .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .blog-featured {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
        margin-bottom: 2rem;
    }

    .blog-featured h2 {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .blog-featured p {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .blog-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .blog-card-title {
        font-size: 1.05rem;
    }

    .blog-card-excerpt {
        font-size: 0.88rem;
    }

    .blog-thumbnail {
        height: 180px;
    }

    .blog-card-content {
        padding: 1.25rem;
    }

    /* 블로그 상세 */
    .blog-detail-section {
        padding: 2.5rem 0 3rem;
    }

    .blog-content {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .blog-content h2 {
        font-size: 1.35rem;
        margin: 2rem 0 0.75rem;
    }

    .blog-content h3 {
        font-size: 1.15rem;
        margin: 1.5rem 0 0.6rem;
    }

    .blog-content img {
        border-radius: 10px;
        margin: 1rem 0;
    }

    /* === 프로그램 페이지 === */
    .programs-section {
        padding: 2.5rem 0;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .program-card {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
    }

    .program-card h3 {
        font-size: 1.15rem;
    }

    /* 프로그램 소개 배너 */
    .program-intro-banner {
        flex-direction: column;
        padding: 1.75rem 1.5rem;
        gap: 1.5rem;
        border-radius: 16px;
        margin-bottom: 2rem;
    }

    .intro-banner-text h2 {
        font-size: 1.2rem;
    }

    .intro-banner-text p {
        font-size: 0.88rem;
    }

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

    .intro-stat-number {
        font-size: 1.75rem;
    }

    .intro-stat-label {
        font-size: 0.78rem;
    }

    /* 프로그램 공지 배너 */
    .program-notice-banner {
        padding: 1.25rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        gap: 0.75rem;
    }

    .program-notice-banner .notice-icon {
        font-size: 1.5rem;
    }

    .program-notice-banner .notice-text strong {
        font-size: 0.95rem;
    }

    .program-notice-banner .notice-text p {
        font-size: 0.82rem;
    }

    /* 프로그램 카드 (풀) */
    .program-card-full {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .program-card-header {
        margin-bottom: 1rem;
    }

    .program-category-badge,
    .program-status-badge,
    .program-level-badge {
        font-size: 0.72rem;
        padding: 4px 12px;
    }

    .program-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .program-desc {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }

    .program-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .program-info-item {
        padding: 0.75rem 1rem;
        border-radius: 10px;
        gap: 0.6rem;
    }

    .program-info-item .info-icon {
        font-size: 1.1rem;
    }

    .program-info-item .info-label {
        font-size: 0.68rem;
    }

    .program-info-item .info-value {
        font-size: 0.85rem;
    }

    .program-features {
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }

    .program-feature-tag {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    /* 커리큘럼 */
    .curriculum-toggle {
        padding: 1rem 1.25rem;
    }

    .curriculum-toggle h4 {
        font-size: 0.92rem;
    }

    .curriculum-list {
        padding: 0 1.25rem 1.25rem;
    }

    .curriculum-item {
        font-size: 0.85rem;
        gap: 0.75rem;
        padding: 0.6rem 0;
    }

    .curriculum-step {
        width: 28px;
        height: 28px;
        font-size: 0.68rem;
        border-radius: 6px;
    }

    /* 카드 하단 가격 */
    .program-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding-top: 1.25rem;
    }

    .price-area {
        padding: 0.85rem 1.25rem;
        border-radius: 12px;
        justify-content: center;
    }

    .program-price {
        font-size: 1.5rem;
    }

    .btn-program {
        padding: 12px 20px;
        justify-content: center;
        border-radius: 10px;
        font-size: 0.92rem;
    }

    /* === 프로젝트 상세 === */
    .project-detail-section {
        padding: 2.5rem 0 3rem;
    }

    .project-content {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .project-content img {
        border-radius: 10px;
    }

    /* === 블로그 로딩/빈 상태 === */
    .blog-loading,
    .blog-empty {
        padding: 3rem 1.5rem;
    }

    .empty-icon-large {
        font-size: 3rem;
    }

    .blog-empty h3 {
        font-size: 1.2rem;
    }
}

/* ── 초소형 모바일 (480px 이하) ── */
@media (max-width: 480px) {

    .page-header {
        padding: 100px 0 50px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.88rem;
    }

    /* 서비스 */
    .service-card {
        padding: 1.5rem 1.25rem;
    }

    .service-card h3 {
        font-size: 1.05rem;
    }

    /* 포트폴리오 */
    .portfolio-card {
        padding: 1.25rem;
    }

    .portfolio-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .portfolio-image {
        height: 160px;
    }

    /* 블로그 */
    .blog-featured {
        padding: 1.5rem 1.25rem;
    }

    .blog-featured h2 {
        font-size: 1.15rem;
    }

    .blog-card {
        padding: 1.25rem;
    }

    .blog-card-title {
        font-size: 0.98rem;
    }

    .blog-thumbnail {
        height: 160px;
    }

    .blog-content {
        font-size: 0.9rem;
    }

    /* 프로그램 */
    .program-intro-banner {
        padding: 1.5rem 1.25rem;
    }

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

    .intro-stat-number {
        font-size: 1.5rem;
    }

    .program-card-full {
        padding: 1.25rem;
    }

    .program-title {
        font-size: 1.15rem;
    }

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

    .program-info-item {
        padding: 0.7rem 1rem;
    }

    .program-notice-banner {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    /* 프로젝트 상세 */
    .project-content {
        font-size: 0.9rem;
    }
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background: var(--bg-dark);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0;
}

.footer-brand {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 0.6rem;
    font-size: 0.75rem;
    user-select: none;
}

.footer-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 0.25rem;
    }

    .footer-divider {
        display: none;
    }

    .footer-info,
    .footer-copy {
        text-align: center;
    }
}

/* ===================================
   포트폴리오 상세 페이지
   =================================== */

.portfolio-detail-section {
    padding: 3rem 0 5rem;
}

.portfolio-detail-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
}

.portfolio-detail-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

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

.portfolio-detail-meta-item .meta-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.portfolio-detail-meta-item .meta-value {
    font-size: 1rem;
    color: #222;
    font-weight: 600;
}

.portfolio-detail-meta-item .result-highlight {
    color: var(--primary-color, #a60e16);
}

.portfolio-detail-content {
    margin-bottom: 2rem;
}

.portfolio-detail-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    color: #222;
}

.portfolio-detail-content div {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.portfolio-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.portfolio-detail-back {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

/* 포트폴리오 카드 클릭 커서 */
a.portfolio-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

a.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* 반응형 */
@media (max-width: 768px) {
    .portfolio-detail-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .portfolio-detail-meta {
        grid-template-columns: 1fr;
    }
}

/* 다크 모드 — 포트폴리오 상세 */
[data-theme="dark"] .portfolio-detail-section {
    background: var(--bg-color);
}

[data-theme="dark"] .portfolio-detail-card {
    background: var(--card-bg, #1e1e1e);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .portfolio-detail-meta {
    background: #252525;
}

[data-theme="dark"] .portfolio-detail-meta-item .meta-label {
    color: #999;
}

[data-theme="dark"] .portfolio-detail-meta-item .meta-value {
    color: #e0e0e0;
}

[data-theme="dark"] .portfolio-detail-content h2 {
    color: #e0e0e0;
    border-bottom-color: #333;
}

[data-theme="dark"] .portfolio-detail-content div {
    color: #bbb;
}

[data-theme="dark"] .portfolio-detail-back {
    border-top-color: #333;
}

[data-theme="dark"] .portfolio-tag {
    background: #2a2a2a;
    color: #999;
    border-color: #333;
}

[data-theme="dark"] .page-header {
    background: var(--gradient-dark);
}

/* ===================================
   포트폴리오 카드 그리드
   =================================== */

.portfolio-section {
    padding: 4rem 0;
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pf-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-border, #e0e0e0);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

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

.pf-card:hover .pf-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* 썸네일 */
.pf-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-color, #f8f8f8);
}

.pf-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pf-card:hover .pf-card-thumb img {
    transform: scale(1.05);
}

.pf-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--surface-color, #f0f0f0) 100%);
}

.pf-placeholder-logo {
    max-width: 50%;
    max-height: 40%;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.pf-card:hover .pf-placeholder-logo {
    opacity: 0.85;
}

.pf-card-cat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.75rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
}

/* 카드 본문 */
.pf-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pf-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.35rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pf-card-client {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pf-card-excerpt {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.pf-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pf-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.pf-tag-more {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 화살표 인디케이터 */
.pf-card-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

/* 반응형 */
@media (max-width: 1024px) {
    .pf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pf-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pf-card-body {
        padding: 1rem;
    }

    .portfolio-filter {
        gap: 0.35rem;
    }

    .filter-btn {
        padding: 0.4rem 0.85rem;
        font-size: 0.78rem;
    }
}

/* 다크 모드 포트폴리오 카드 */
[data-theme="dark"] .pf-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme="dark"] .pf-card:hover {
    border-color: #e63946;
}

[data-theme="dark"] .pf-card-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

[data-theme="dark"] .pf-tag {
    background: #2a2a2a;
    color: #999;
    border-color: #333;
}

[data-theme="dark"] .filter-btn {
    background: var(--bg-color);
    border-color: var(--border-color);
    color: var(--text-muted);
}

[data-theme="dark"] .filter-btn:hover {
    border-color: #e63946;
    color: #e63946;
}

[data-theme="dark"] .filter-btn.active {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}

/* ===================================
   홈페이지 모바일 테마 토글
   =================================== */

/* 데스크톱에서는 nav-menu 안의 테마 버튼 숨김 */
.nav-menu-theme {
    display: none;
}

.theme-toggle-mobile {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--surface-color, #f8f8f8);
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 0.3px;
}

.theme-toggle-mobile:hover,
.theme-toggle-mobile:active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 모바일에서만 nav-menu-theme 보이기 */
@media (max-width: 768px) {
    .nav-menu-theme {
        display: block;
        margin-top: 0.5rem;
        padding: 0 1rem;
    }
}

/* 다크 모드 홈 모바일 */
[data-theme="dark"] .theme-toggle-mobile {
    background: #252525;
    border-color: #333;
    color: #e0e0e0;
}

[data-theme="dark"] .theme-toggle-mobile:hover {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}

/* ===================================
   프로그램 페이지 다크 모드
   =================================== */

[data-theme="dark"] .program-page-header {
    background: var(--gradient-dark);
}

[data-theme="dark"] .program-intro-section {
    background: var(--bg-color);
}

[data-theme="dark"] .program-intro-banner {
    background: var(--card-bg, #1e1e1e);
    border-color: var(--card-border, #333);
}

[data-theme="dark"] .intro-banner-text h2 {
    color: #e0e0e0;
}

[data-theme="dark"] .intro-banner-text p {
    color: #999;
}

[data-theme="dark"] .intro-stat-number {
    color: #ff6b6b;
}

[data-theme="dark"] .intro-stat-label {
    color: #999;
}

[data-theme="dark"] .programs-section {
    background: var(--bg-color);
}

[data-theme="dark"] .programs-section .section-header h2 {
    color: #e0e0e0;
}

[data-theme="dark"] .programs-section .section-header p {
    color: #999;
}

[data-theme="dark"] .program-notice-banner {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .program-notice-banner .notice-text strong {
    color: #e0e0e0;
}

[data-theme="dark"] .program-notice-banner .notice-text p {
    color: #999;
}

[data-theme="dark"] .program-card-full {
    background: var(--card-bg, #1e1e1e);
    border-color: var(--card-border, #333);
}

[data-theme="dark"] .program-card-header {
    border-color: #333;
}

[data-theme="dark"] .program-category-badge {
    background: #252525;
    color: #ccc;
}

[data-theme="dark"] .program-level-badge {
    background: #252525;
    color: #ccc;
}

[data-theme="dark"] .program-title {
    color: #e0e0e0;
}

[data-theme="dark"] .program-desc {
    color: #999;
}

[data-theme="dark"] .program-info-grid {
    background: #252525;
}

[data-theme="dark"] .program-info-item {
    border-color: #333;
}

[data-theme="dark"] .info-label {
    color: #888;
}

[data-theme="dark"] .info-value {
    color: #e0e0e0;
}

[data-theme="dark"] .program-feature-tag {
    background: #252525;
    color: #ccc;
    border-color: #333;
}

[data-theme="dark"] .curriculum-toggle {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .curriculum-toggle h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .toggle-arrow {
    color: #999;
}

[data-theme="dark"] .curriculum-item {
    border-color: #333;
    color: #ccc;
}

[data-theme="dark"] .curriculum-step {
    color: #ff6b6b;
}

[data-theme="dark"] .program-card-footer {
    border-color: #333;
    background: transparent;
}

[data-theme="dark"] .price-label {
    color: #999;
    font-size: 0.85rem;
}

[data-theme="dark"] .program-price {
    color: #ff6b6b;
    font-weight: 800;
}

[data-theme="dark"] .program-status-badge {
    opacity: 0.85;
}

[data-theme="dark"] .program-info-item {
    background: #1a1a2e;
    border-color: #2a2a40;
}

[data-theme="dark"] .program-info-grid {
    background: transparent;
}

[data-theme="dark"] .program-card-full {
    background: #141620;
    border-color: #252840;
}

[data-theme="dark"] .program-card-full:hover {
    border-color: rgba(230, 57, 70, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .program-feature-tag {
    background: #1a1a2e;
    color: #ccc;
    border-color: #2a2a40;
}

[data-theme="dark"] .curriculum-toggle {
    background: #1a1a2e;
    border-color: #2a2a40;
}

[data-theme="dark"] .curriculum-item {
    border-color: #2a2a40;
    color: #ccc;
}

[data-theme="dark"] .curriculum-list {
    background: #141620;
}

/* ===================================
   CEO 인사말 섹션 다크 모드
   =================================== */

[data-theme="dark"] .ceo-section {
    background: var(--bg-color, #0a0c14);
}

[data-theme="dark"] .ceo-content {
    color: #e0e0e0;
}

[data-theme="dark"] .ceo-title {
    color: #ff6b6b;
}

[data-theme="dark"] .ceo-heading {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #e0e0e0 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .ceo-message {
    color: #bbb;
}

[data-theme="dark"] .ceo-message p {
    color: #bbb;
}

[data-theme="dark"] .ceo-signature {
    color: #ff6b6b;
}

[data-theme="dark"] .ceo-name span {
    color: #ccc;
}

/* 회사소개 미션/가치 섹션 다크 모드 */
[data-theme="dark"] .about-mission-section {
    background: var(--bg-color, #0a0c14);
}

[data-theme="dark"] .mission-badge {
    background: rgba(230, 57, 70, 0.08);
    color: #ff6b6b;
    border-color: rgba(230, 57, 70, 0.2);
}

[data-theme="dark"] .mission-title {
    color: #e0e0e0;
}

[data-theme="dark"] .mission-desc {
    color: #999;
}

[data-theme="dark"] .value-card-premium {
    background: #141620;
    border-color: #252840;
}

[data-theme="dark"] .value-card-premium:hover {
    border-color: rgba(230, 57, 70, 0.2);
}

[data-theme="dark"] .value-card-premium h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .value-card-premium p {
    color: #999;
}

[data-theme="dark"] .value-icon-premium {
    background: rgba(230, 57, 70, 0.08);
}

/* 회사 정보 카드 다크 모드 */
[data-theme="dark"] .company-info-section {
    background: #0a0c14;
}

[data-theme="dark"] .info-card {
    background: #141620;
    border-color: #252840;
}

[data-theme="dark"] .info-item {
    background: #1a1d2e;
    border-color: #252840;
    color: #ccc;
}

[data-theme="dark"] .info-icon-circle {
    background: #1a1d2e;
}

[data-theme="dark"] .info-text h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .info-text p {
    color: #999;
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1a0205 0%, #2a0810 100%);
}

/* ===================================
   문의하기 페이지 다크 모드
   =================================== */

[data-theme="dark"] .contact-section {
    background: var(--bg-color);
}

[data-theme="dark"] .contact-info {
    background: var(--card-bg, #1e1e1e);
    border-color: var(--card-border, #333);
}

[data-theme="dark"] .contact-info h2 {
    color: #e0e0e0;
}

[data-theme="dark"] .contact-item {
    border-color: #333;
}

[data-theme="dark"] .contact-item h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .contact-item p {
    color: #999;
}

[data-theme="dark"] .contact-icon {
    background: #252525;
}

[data-theme="dark"] .contact-form {
    background: var(--card-bg, #1e1e1e);
    border-color: var(--card-border, #333);
}

[data-theme="dark"] .contact-form h2 {
    color: #e0e0e0;
}

[data-theme="dark"] .contact-form-desc {
    color: #999;
}

[data-theme="dark"] .contact-form label {
    color: #e0e0e0;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
    background: #252525;
    border-color: #333;
    color: #e0e0e0;
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
    color: #666;
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form select:focus,
[data-theme="dark"] .contact-form textarea:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

[data-theme="dark"] .contact-form select option {
    background: #1e1e1e;
    color: #e0e0e0;
}

[data-theme="dark"] .inquiry-success {
    background: #1a2e1a;
    border-color: #2e7d32;
    color: #81c784;
}

[data-theme="dark"] .inquiry-error {
    background: #2e1a1a;
    color: #ef9a9a;
}

[data-theme="dark"] .btn-kakao {
    background: #352a1e;
    color: #fdd835;
}

/* ===================================
   서비스 상세 페이지 다크 모드
   =================================== */

[data-theme="dark"] .service-detail-section {
    background: var(--bg-color);
}

[data-theme="dark"] .service-visual-inner {
    background: #1a1d2e;
}

[data-theme="dark"] .visual-icon {
    background: rgba(30, 32, 50, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .service-badge {
    background: rgba(230, 57, 70, 0.12);
    color: #ff6b6b;
}

[data-theme="dark"] .service-info h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .service-info p {
    color: #999;
}

[data-theme="dark"] .service-features {
    border-color: #2a2a2a;
}

[data-theme="dark"] .service-feature-item {
    color: #ccc;
    border-color: #2a2a2a;
}

/* 프로세스 섹션 다크 모드 */
[data-theme="dark"] .process-section {
    background: #0a0c14;
}

[data-theme="dark"] .process-grid::before {
    background: #2a2a2a;
}

[data-theme="dark"] .step-number {
    background: #1a1d2e;
    border-color: #333;
    color: #999;
}

[data-theme="dark"] .process-step.active .step-number,
[data-theme="dark"] .process-step:hover .step-number {
    background: #1a1d2e;
    border-color: #e63946;
    color: #ff6b6b;
    box-shadow: 0 0 0 8px rgba(230, 57, 70, 0.08);
}

[data-theme="dark"] .process-step h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .process-step p {
    color: #999;
}

/* FAQ 섹션 다크 모드 */
[data-theme="dark"] .faq-section {
    background: var(--bg-color);
}

[data-theme="dark"] .faq-item {
    border-color: #2a2a2a;
}

[data-theme="dark"] .faq-question {
    color: #e0e0e0;
}

[data-theme="dark"] .faq-question:hover {
    color: #ff6b6b;
}

[data-theme="dark"] .faq-toggle {
    color: #666;
}

[data-theme="dark"] .faq-item.active .faq-toggle {
    color: #ff6b6b;
}

[data-theme="dark"] .faq-answer p {
    color: #999;
}

/* About 미션 섹션 배경 도트 패턴 */
[data-theme="dark"] .about-mission-section::before {
    background-image: radial-gradient(#333 1px, transparent 1px);
    opacity: 0.15;
}

/* 블로그 상세 페이지 다크 모드 */
[data-theme="dark"] .blog-detail-section {
    background: var(--bg-color);
}

[data-theme="dark"] .blog-content {
    color: #ccc;
}

[data-theme="dark"] .blog-content h2,
[data-theme="dark"] .blog-content h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .blog-content p {
    color: #bbb;
}

/* 블로그 리스트 페이지 다크 모드 */
[data-theme="dark"] .blog-section {
    background: var(--bg-color);
}

[data-theme="dark"] .blog-card-title {
    color: #e0e0e0;
}

[data-theme="dark"] .blog-card-excerpt {
    color: #999;
}

[data-theme="dark"] .blog-card-bottom {
    border-color: #2a2a2a;
}

[data-theme="dark"] .blog-date {
    color: #666;
}

[data-theme="dark"] .blog-read-more {
    color: #ff6b6b;
}

[data-theme="dark"] .blog-featured {
    background: linear-gradient(135deg, #141620 0%, #1a1d2e 50%, #0f1420 100%);
}

[data-theme="dark"] .blog-category-badge {
    background: rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.25);
    color: #ff8a8a;
}

[data-theme="dark"] .blog-category-badge-small {
    background: rgba(230, 57, 70, 0.1);
    color: #ff6b6b;
}

[data-theme="dark"] .blog-tag {
    background: #252525;
    color: #999;
}

[data-theme="dark"] .blog-meta {
    color: #888;
}

[data-theme="dark"] .blog-loading .loading-spinner {
    border-color: #333;
    border-top-color: #ff6b6b;
}

[data-theme="dark"] .blog-empty h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .blog-empty p {
    color: #888;
}

/* 서비스 목록 페이지 다크 모드 */
[data-theme="dark"] .services-section {
    background: var(--bg-color);
}

[data-theme="dark"] .service-card h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .service-card p {
    color: #999;
}

[data-theme="dark"] .service-icon {
    background: rgba(230, 57, 70, 0.1);
}

/* 포트폴리오 섹션 다크 모드 */
[data-theme="dark"] .portfolio-section {
    background: var(--bg-color);
}

[data-theme="dark"] .portfolio-card-header {
    color: #ccc;
}

[data-theme="dark"] .portfolio-title {
    color: #e0e0e0;
}

[data-theme="dark"] .portfolio-desc {
    color: #999;
}

[data-theme="dark"] .portfolio-result {
    background: #1a1d2e;
}

[data-theme="dark"] .result-value {
    color: #ff6b6b;
}

/* 통계 섹션 다크 모드 (이미 gradient-dark 사용이라 추가 보정) */
[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #0a0c14 0%, #141620 100%);
}

/* 모바일 프로세스 스텝 다크 모드 */
@media (max-width: 768px) {
    [data-theme="dark"] .process-step {
        background: #1a1d2e;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    [data-theme="dark"] .faq-item {
        background: #1a1d2e;
    }

    [data-theme="dark"] .content-table tbody tr {
        background: #1a1d2e;
        border-color: #252840;
    }
}/* ===================================
   애니메이션 효과 CSS
   - 중복 제거 및 최적화
   =================================== */

/* === 키프레임 정의 === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 180, 216, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 180, 216, 0.8);
    }
}

/* === 애니메이션 클래스 === */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-on-load {
    animation: fadeInUp 1s ease-out;
}

/* === 지연 클래스 === */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

/* === 호버 효과 === */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* === 로딩 애니메이션 === */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* === 흔들기 효과 (에러용) === */
.shake {
    animation: shake 0.5s ease-in-out;
}

/* === 그라데이션 배경 애니메이션 === */
.animated-gradient {
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

/* === 모션 감소 설정 === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}