/* ============================================================
   BlogLogicPro - Site Design System
   컬러: 딥 네이비 + 블루/틸 포인트
   ============================================================ */

/* ── 변수 ───────────────────────────────────────────────── */
:root {
    --navy-900: #060d1a;
    --navy-800: #0a1628;
    --navy-700: #0f2044;
    --navy-600: #1a3056;
    --navy-500: #243d6a;

    --blue-400: #42a5f5;
    --blue-500: #1e88e5;
    --blue-600: #1565c0;

    --teal-400: #26c6da;
    --teal-500: #00bcd4;
    --green-400: #26d0a6;
    --green-500: #00c896;
    --green-600: #00a07a;

    --text-white:  #ffffff;
    --text-light:  #e2e8f0;
    --text-muted:  #94a3b8;
    --text-faint:  #4a6080;

    --border-dark:  rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.14);

    --grad-hero:   linear-gradient(135deg, #060d1a 0%, #0a1628 50%, #0f2044 100%);
    --grad-card:   linear-gradient(135deg, #0f2044 0%, #1a3056 100%);
    --grad-cta:    linear-gradient(135deg, #00bcd4 0%, #00c896 100%);
    --grad-blue:   linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);

    --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
    --shadow-btn:  0 4px 16px rgba(0,188,212,0.35);

    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 20px;

    --transition: all 0.25s ease;
}

/* ── 리셋 & 베이스 ──────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy-800);
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── 레이아웃 유틸 ──────────────────────────────────────── */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── 타이포그래피 ───────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.25;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.text-center { text-align: center; }
.highlight { color: var(--teal-400); }

/* ── 버튼 ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary {
    background: var(--grad-cta);
    color: var(--navy-900);
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,188,212,0.45);
    color: var(--navy-900);
}
.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--teal-400);
    color: var(--teal-400);
    background: rgba(38,198,218,0.06);
}
.btn-blue {
    background: var(--grad-blue);
    color: white;
    box-shadow: 0 4px 16px rgba(30,136,229,0.35);
}
.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30,136,229,0.45);
    color: white;
}
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── 헤더 / 네비 ────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6,13,26,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
}
.navbar {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 0;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 40px;
}
.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 3px;
}
.nav-logo-kr {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.3px;
}
.nav-logo-en {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-logo:hover .nav-logo-kr { color: var(--teal-400); }
.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--grad-cta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--navy-900);
}
.nav-logo span { color: var(--teal-400); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}
.nav-links li { list-style: none; }
.nav-links a {
    display: block;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: -0.1px;
    transition: color 0.18s, background 0.18s;
    white-space: nowrap;
    position: relative;
}
.nav-links a:hover {
    color: var(--text-white);
    background: rgba(255,255,255,0.06);
}
.nav-links a.active {
    color: var(--teal-400);
    background: rgba(0,188,212,0.1);
    font-weight: 700;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--grad-cta);
    border-radius: 99px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    color: var(--text-muted);
    font-size: 17px;
    transition: var(--transition);
}
.nav-cart:hover { border-color: var(--teal-400); color: var(--teal-400); }
.nav-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}
.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid var(--border-dark);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}
.nav-user:hover { border-color: var(--teal-400); color: var(--teal-400); }
.nav-avatar {
    width: 26px;
    height: 26px;
    background: var(--grad-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-900);
}

/* 사용자 드롭다운 */
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 180px;
    background: var(--navy-700);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    z-index: 2000;
}
.user-dropdown.open { display: block; }
.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.user-dropdown a:hover { background: rgba(255,255,255,0.05); color: var(--text-white); }
.user-dropdown hr { border: none; border-top: 1px solid var(--border-dark); }

/* 모바일 햄버거 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* 모바일 메뉴 */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
}
.mobile-menu.open { display: block; }
.mobile-menu-panel {
    position: absolute;
    top: 0; left: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: var(--navy-700);
    border-right: 1px solid var(--border-dark);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-dark);
}
.mobile-menu-close {
    background: none; border: none;
    color: var(--text-muted); font-size: 24px; cursor: pointer;
}
.mobile-menu-panel a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-dark);
    transition: var(--transition);
}
.mobile-menu-panel a:hover { color: var(--teal-400); background: rgba(255,255,255,0.03); }

/* ── 메인 콘텐츠 ─────────────────────────────────────────── */
.site-main { min-height: calc(100vh - 64px); }

/* 내부 페이지 자동 컨테이너 (fullWidth 아닌 모든 페이지) */
.page-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

@media (max-width: 768px) {
    .page-container { padding: 20px 16px 40px; }
}

/* 핵심 차별점 카드 반응형 */
@media (max-width: 640px) {
    .diff-cards { grid-template-columns: 1fr !important; }
}

/* ── 히어로 섹션 ─────────────────────────────────────────── */
.hero {
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,188,212,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(30,136,229,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0,188,212,0.12);
    border: 1px solid rgba(0,188,212,0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-400);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero h1 .highlight {
    background: var(--grad-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border-dark);
    flex-wrap: wrap;
}
.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-num span { color: var(--teal-400); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); }

/* ── 프로그램 섹션 ───────────────────────────────────────── */
.programs-section { background: var(--navy-800); }
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.program-card {
    background: var(--grad-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.program-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-cta);
    opacity: 0;
    transition: var(--transition);
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.5);
    border-color: var(--border-light);
}
.program-card:hover::before { opacity: 1; }
.program-card.featured {
    border-color: rgba(0,188,212,0.35);
}
.program-card.featured::before { opacity: 1; }
.program-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 20px;
    width: fit-content;
}
.badge-new { background: rgba(0,200,150,0.15); color: var(--green-400); border: 1px solid rgba(0,200,150,0.25); }
.badge-hot { background: rgba(255,100,100,0.12); color: #ff8080; border: 1px solid rgba(255,100,100,0.2); }
.badge-best { background: rgba(255,180,0,0.12); color: #ffc848; border: 1px solid rgba(255,180,0,0.2); }

.program-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.program-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
    line-height: 1.3;
}
.program-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.program-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    flex: 1;
}
.program-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}
.program-feature::before {
    content: '';
    width: 16px;
    height: 16px;
    background: rgba(0,188,212,0.15);
    border-radius: 50%;
    border: 1.5px solid var(--teal-400);
    flex-shrink: 0;
    position: relative;
}
.program-feature.checked::before {
    background: var(--teal-400);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23060d1a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}
.program-price {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-dark);
}
.program-price strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
}
.program-price .price-period { font-size: 12px; }

/* ── 구매 방법 섹션 ─────────────────────────────────────── */
.howto-section {
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 48px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--teal-400), var(--blue-400));
    opacity: 0.3;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    position: relative;
}
.step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--navy-900);
    border: 2px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}
.step-item:hover .step-num {
    border-color: var(--teal-400);
    background: rgba(0,188,212,0.08);
}
.step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}
.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── 특징 섹션 ──────────────────────────────────────────── */
.features-section { background: var(--navy-900); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.feature-card {
    background: var(--navy-800);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}
.feature-icon {
    font-size: 32px;
    margin-bottom: 14px;
}
.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── FAQ 섹션 ───────────────────────────────────────────── */
.faq-section { background: var(--navy-800); }
.faq-list {
    max-width: 720px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--navy-700);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.open { border-color: var(--border-light); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    gap: 16px;
    transition: var(--transition);
    user-select: none;
}
.faq-question:hover { color: var(--text-white); }
.faq-item.open .faq-question { color: var(--teal-400); }
.faq-arrow {
    font-size: 18px;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--teal-400); }
.faq-answer {
    display: none;
    padding: 14px 22px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border-dark);
}
.faq-item.open .faq-answer { display: block; }

/* ── CTA 배너 ───────────────────────────────────────────── */
.cta-section {
    background: var(--grad-card);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 0;
}
.cta-text h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
}
.cta-text p { font-size: 15px; color: var(--text-muted); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── 푸터 ───────────────────────────────────────────────── */
.site-footer {
    background: var(--navy-900);
    border-top: 1px solid var(--border-dark);
    padding: 48px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-brand .logo-text span { color: var(--teal-400); }
.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 260px;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 9px;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); transition: var(--transition); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ── 사이드 플로팅 고객센터 위젯 ───────────────────────────── */
.side-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5000;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.side-widget-toggle {
    width: 22px;
    height: 72px;
    background: var(--navy-700);
    border: 1px solid var(--border-dark);
    border-right: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.side-widget-toggle:hover { background: var(--navy-600, #162035); color: var(--teal-400); }
.side-widget-body {
    width: 158px;
    background: var(--navy-800);
    border: 1px solid var(--border-dark);
    border-right: none;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    box-shadow: -6px 0 28px rgba(0,0,0,0.45);
    transition: width 0.28s cubic-bezier(.4,0,.2,1), opacity 0.25s;
    opacity: 1;
}
.side-widget-body.collapsed {
    width: 0;
    opacity: 0;
    pointer-events: none;
}
/* 헤더 */
.sw-header {
    padding: 11px 14px 10px;
    border-bottom: 1px solid var(--border-dark);
    background: rgba(0,188,212,0.06);
    display: flex;
    align-items: center;
    gap: 7px;
}
.sw-header-dot {
    width: 7px; height: 7px;
    background: var(--grad-cta);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(0,188,212,0.6);
}
.sw-header-text {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
/* 개별 항목 */
.sw-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    transition: background 0.15s;
    cursor: pointer;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    border-left: none; border-top: none; border-right: none;
    background: transparent;
}
.sw-item:last-child { border-bottom: none; }
.sw-item:hover { background: rgba(255,255,255,0.05); }
.sw-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
/* 문의 채널은 전화 하나다. 카카오·텔레그램 클래스는 쓰이지 않아 제거했다. */
.sw-icon-phone { background: linear-gradient(135deg, #818cf8, #6366f1); }
.sw-icon-hours { background: rgba(0,188,212,0.12); }
.sw-icon-notice { background: rgba(255,255,255,0.06); }
.sw-text { display: flex; flex-direction: column; gap: 1px; }
.sw-label {
    font-size: 12px; font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}
.sw-sub {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
}
/* 운영시간 항목 (링크 없음) */
.sw-item-info { cursor: default; }
.sw-item-info:hover { background: transparent; }
.sw-item-info .sw-label { color: var(--teal-400); }
/* 공지사항 */
.sw-item-notice .sw-label { color: var(--text-light); }
/* 모바일: 아래 고정 버튼으로 전환 */
@media (max-width: 768px) {
    .side-widget { display: none; }
    .side-widget-mobile {
        display: flex !important;
        position: fixed;
        bottom: 20px; right: 16px;
        z-index: 5000;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
}
.side-widget-mobile { display: none; }
.swm-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: transform 0.15s;
    border: none; cursor: pointer;
}
.swm-btn:hover { transform: scale(1.08); }
.swm-btn-cs {
    background: var(--grad-cta);
    width: 54px; height: 54px; font-size: 24px;
}

/* ── 일반 페이지 (커뮤니티, 쇼핑 등) ─────────────────────── */
.page-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}
.page-wrap.full { grid-template-columns: 1fr; }
.page-main { min-width: 0; }
.page-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* 사이드바 카드 */
.sidebar-card {
    background: var(--navy-700);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    overflow: hidden;
}
.sidebar-card-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-dark);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
}
.sidebar-card-body { padding: 12px 16px; }
.sidebar-login-form input {
    width: 100%;
    padding: 10px 12px;
    background: var(--navy-900);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 8px;
}
.sidebar-login-form input::placeholder { color: var(--text-faint); }
.sidebar-login-form input:focus {
    outline: none;
    border-color: var(--teal-400);
}
.sidebar-login-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.sidebar-login-links a:hover { color: var(--teal-400); }
.sidebar-user-welcome { text-align: center; padding: 8px 0; }
.sidebar-user-avatar {
    width: 48px;
    height: 48px;
    background: var(--grad-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0 auto 10px;
}
.sidebar-user-name { font-size: 15px; font-weight: 700; color: var(--text-white); margin-bottom: 4px; }
.sidebar-user-point { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.sidebar-user-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.sidebar-user-actions a {
    padding: 8px 4px;
    background: var(--navy-600);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: var(--text-muted);
    transition: var(--transition);
}
.sidebar-user-actions a:hover { background: var(--teal-400); color: var(--navy-900); }

/* 공지 목록 */
.notice-list { display: flex; flex-direction: column; }
.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-dark);
    gap: 8px;
}
.notice-item:last-child { border-bottom: none; }
.notice-item a {
    font-size: 12px;
    color: var(--text-muted);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notice-item a:hover { color: var(--teal-400); }
.notice-date { font-size: 11px; color: var(--text-faint); flex-shrink: 0; }

/* ── 반응형 ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .steps-grid::before { display: none; }
    .page-wrap { grid-template-columns: 1fr; }
    .page-sidebar { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .hero { padding: 64px 0 56px; }
    .hero h1 { font-size: 36px; }
    .hero-desc { font-size: 16px; }
    .hero-stats { gap: 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .programs-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .float-support { bottom: 20px; right: 16px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn-lg { padding: 13px 24px; font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .steps-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .programs-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   팔레트 전환 — 청록(teal/green) → 인디고
   
   상품 상세 본문이 어두운 남보라 배경 + 인디고(#818cf8) 강조를 쓰는데
   사이트 기본 테마가 청록(#00bcd4)이어서 두 영역이 따로 놀았다.
   
   개별 셀렉터를 하나씩 고치는 대신 위에서 정의한 팔레트 변수를
   여기서 다시 정의한다. 변수를 쓰는 모든 곳(버튼·배지·강조·아이콘)이
   한 번에 따라오므로 놓치는 곳이 없다.
   ════════════════════════════════════════════════════════════ */

:root {
    /* 강조색 계열 */
    --teal-400:  #a5b4fc;   /* 밝은 인디고 — 텍스트 강조용 */
    --teal-500:  #818cf8;
    --green-400: #a5b4fc;
    --green-500: #818cf8;
    --green-600: #6366f1;

    /* 배경 계열 — 본문과 같은 어두운 남보라 */
    --navy-900: #0d0d1f;
    --navy-800: #12122b;
    --navy-700: #161633;
    --navy-600: #1e1e42;
    --navy-500: #282854;

    /* 그라데이션 */
    --grad-hero: linear-gradient(180deg, #0d0d1f 0%, #161633 100%);
    --grad-card: linear-gradient(135deg, #161633 0%, #1e1e42 100%);
    --grad-cta:  linear-gradient(135deg, #818cf8 0%, #6366f1 100%);

    --shadow-btn: 0 4px 16px rgba(129, 140, 248, 0.35);
}

/* ── rgba() 리터럴로 박힌 청록 (변수를 안 쓰는 곳) ───────── */

/* 헤더 */
.site-header       { background: rgba(13, 13, 31, 0.95); }
.nav-links a.active { background: rgba(129, 140, 248, 0.12); }

/* 히어로 */
.hero-badge {
    background: rgba(129, 140, 248, 0.12);
    border-color: rgba(129, 140, 248, 0.3);
}
.hero::before { background: radial-gradient(circle, rgba(129,140,248,0.14) 0%, transparent 70%); }
.hero::after  { background: radial-gradient(circle, rgba(99,102,241,0.10) 0%, transparent 70%); }

/* 버튼 */
.btn-primary { color: #ffffff; }
.btn-primary:hover { box-shadow: 0 8px 28px rgba(129, 140, 248, 0.45); }

/* 상품 카드 */
.program-card.featured   { border-color: rgba(129, 140, 248, 0.35); }
.program-feature::before { background: rgba(129, 140, 248, 0.15); }

/* 이용 절차 */
.step-item:hover .step-num { background: rgba(129, 140, 248, 0.08); }

/* 고객센터 위젯 */
.sw-header      { background: rgba(129, 140, 248, 0.07); }
.sw-header-dot  { box-shadow: 0 0 6px rgba(129, 140, 248, 0.6); }
.sw-icon-hours  { background: rgba(129, 140, 248, 0.12); }

/* 로고 아이콘 — 밝은 인디고 위에 흰 글자 */
.nav-logo-icon { color: #ffffff; }

/* 사이드바 유저 액션 hover 시 흰 글자 */
.sidebar-user-actions a:hover { color: #ffffff; }
