/**
 * style.css - 메인 스타일시트
 * 청주집수리 교육 (행집사) - Toss 스타일 디자인
 * 컬러 스킴: Cosmic (우주/성운)
 */

/* ========================================
   1. CSS Variables (Toss + Cosmic Theme)
   ======================================== */
:root {
    /* Cosmic 컬러 스킴 */
    --primary: #6B4EE6;           /* 메인 퍼플 (Getaround/Toss 스타일) */
    --primary-dark: #5438C5;
    --primary-light: #8B6FFF;
    --secondary: #1E1B4B;         /* 다크 네이비 */
    --accent: #F093FB;            /* 핑크 악센트 */
    --accent-cyan: #06B6D4;       /* 시안 악센트 */

    /* 배경색 */
    --bg-primary: #0A0A1A;        /* 우주 배경 */
    --bg-secondary: #13132B;
    --bg-card: rgba(30, 27, 75, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* 텍스트 색상 */
    --text-primary: #FFFFFF;
    --text-secondary: #A5A5C0;
    --text-muted: #6B6B8C;
    --text-dark: #191F28;

    /* 그레이 스케일 (Toss 스타일) */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* 상태 색상 */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* 그라데이션 */
    --gradient-primary: linear-gradient(135deg, #6B4EE6 0%, #8B6FFF 50%, #F093FB 100%);
    --gradient-cosmic: linear-gradient(135deg, #0A0A1A 0%, #1E1B4B 50%, #2D2A5C 100%);
    --gradient-glow: linear-gradient(135deg, rgba(107, 78, 230, 0.3) 0%, rgba(240, 147, 251, 0.3) 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 27, 75, 0.8), rgba(10, 10, 26, 0.9));

    /* 그림자 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(107, 78, 230, 0.4);
    --shadow-glow-pink: 0 0 40px rgba(240, 147, 251, 0.3);

    /* 간격 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;

    /* 반경 (Toss 스타일 - 부드러운 모서리) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* 트랜지션 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* 폰트 */
    --font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-5xl: 48px;
    --font-size-6xl: 60px;

    /* 레이아웃 */
    --max-width: 1200px;
    --header-height: 72px;
    --footer-height: auto;
}

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 접근성 - 스킵 링크 */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* 숨김 (접근성) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 링크 기본 */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

/* 이미지 기본 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 버튼 기본 */
button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* 리스트 기본 */
ul, ol {
    list-style: none;
}

/* 입력 기본 */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ========================================
   3. 로딩 오버레이
   ======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.spinner-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(107, 78, 230, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   4. Cosmic 배경 효과
   ======================================== */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.7), transparent);
    background-size: 200px 200px;
    animation: twinkle 4s ease-in-out infinite;
}

.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(107, 78, 230, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    animation: nebula-move 20s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

@keyframes nebula-move {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(20px, -20px); }
}

/* ========================================
   5. 컨테이너 & 레이아웃
   ======================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--gradient-glow);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-md);
    border: 1px solid rgba(107, 78, 230, 0.3);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   6. 헤더 & 네비게이션
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-base);
}

.header-inner {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 78, 230, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.site-header.scrolled .header-inner {
    background: rgba(10, 10, 26, 0.95);
    border-bottom-color: rgba(107, 78, 230, 0.2);
}

/* 로고 */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 10;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

/* 메인 네비게이션 */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

/* CTA 버튼 (네비게이션) */
.nav-cta {
    background: var(--gradient-primary) !important;
    color: white !important;
    font-weight: 600;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(107, 78, 230, 0.6);
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    padding: var(--space-sm);
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(107, 78, 230, 0.2);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--gradient-glow);
    color: var(--text-primary);
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.mobile-menu-btn:hover {
    background: var(--bg-glass);
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

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

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* 모바일 메뉴 */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: var(--transition-base);
    z-index: 999;
    overflow-y: auto;
}

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

.mobile-menu-inner {
    padding: var(--space-lg);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(107, 78, 230, 0.2);
    margin-bottom: var(--space-lg);
}

.mobile-menu-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.mobile-menu-close:hover {
    background: var(--bg-glass);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-category {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.mobile-nav-sub {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.mobile-nav-sub a,
.mobile-nav-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: var(--transition-base);
}

.mobile-nav-sub a:hover,
.mobile-nav-link:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.mobile-nav-cta {
    display: block;
    padding: var(--space-md) var(--space-lg);
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    border-radius: var(--radius-lg);
    font-weight: 600;
    margin-top: var(--space-lg);
}

/* ========================================
   7. 메인 컨텐츠
   ======================================== */
.site-main {
    padding-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* ========================================
   8. 히어로 섹션
   ======================================== */
.hero-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-glow);
    border: 1px solid rgba(107, 78, 230, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-xl);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(107, 78, 230, 0.3); }
    50% { box-shadow: 0 0 40px rgba(107, 78, 230, 0.5); }
}

.hero-title {
    font-size: clamp(var(--font-size-3xl), 8vw, var(--font-size-6xl));
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

/* ========================================
   9. 버튼 스타일
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(107, 78, 230, 0.6);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid rgba(107, 78, 230, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(107, 78, 230, 0.2);
    border-color: var(--primary);
}

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

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

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ========================================
   10. 카드 스타일 (Toss 스타일)
   ======================================== */
.card {
    background: var(--gradient-card);
    border: 1px solid rgba(107, 78, 230, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(20px);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(107, 78, 230, 0.4);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 0.1;
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-lg);
    font-size: 28px;
    margin-bottom: var(--space-lg);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.card-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

/* 가격 카드 */
.price-card {
    text-align: center;
    position: relative;
}

.price-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-primary);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
}

.price-value {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.price-period {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.price-features {
    margin: var(--space-xl) 0;
    text-align: left;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.price-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3'%3E%3Cpolyline points='20,6 9,17 4,12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    flex-shrink: 0;
}

/* ========================================
   11. 그리드 레이아웃
   ======================================== */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

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

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

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ========================================
   12. 슬라이더 스타일
   ======================================== */
.slider-section {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 500ms ease;
}

.slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    padding: var(--space-xl);
}

.slider-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.slider-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* 슬라이더 네비게이션 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(107, 78, 230, 0.8);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: var(--space-lg);
}

.slider-next {
    right: var(--space-lg);
}

/* 슬라이더 페이지네이션 */
.slider-pagination {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   13. 폼 스타일
   ======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

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

.form-label .required {
    color: var(--error);
    margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-glass);
    border: 1px solid rgba(107, 78, 230, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    transition: var(--transition-base);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 78, 230, 0.2);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    margin-top: 2px;
}

.form-checkbox label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

/* ========================================
   14. 푸터
   ======================================== */
.site-footer {
    background: var(--gradient-cosmic);
    border-top: 1px solid rgba(107, 78, 230, 0.2);
}

.footer-main {
    padding: var(--space-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-size: var(--font-size-xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-slogan {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    transition: var(--transition-base);
}

.footer-phone:hover {
    color: var(--primary);
}

.footer-phone svg {
    width: 20px;
    height: 20px;
}

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

.footer-link-group h4 {
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link-group a {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
}

.footer-link-group a:hover {
    color: var(--primary);
    padding-left: var(--space-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(107, 78, 230, 0.1);
    padding: var(--space-lg) 0;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.footer-company-info p {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    line-height: 1.8;
}

.footer-company-info strong {
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

/* ========================================
   15. 플로팅 버튼
   ======================================== */
.floating-buttons {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 100;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.floating-call {
    background: var(--gradient-primary);
    color: white;
}

.floating-call:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.floating-top {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(107, 78, 230, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.floating-top.visible {
    opacity: 1;
    visibility: visible;
}

.floating-top:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ========================================
   16. 유틸리티 클래스
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--primary); }

.bg-glass { background: var(--bg-glass); }
.bg-card { background: var(--bg-card); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

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

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

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

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

/* ========================================
   18. 선택 영역 스타일
   ======================================== */
::selection {
    background: rgba(107, 78, 230, 0.5);
    color: white;
}

::-moz-selection {
    background: rgba(107, 78, 230, 0.5);
    color: white;
}
