/* ============================================
   전역 스타일 & 리셋
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cosmic Purple 프리미엄 컬러 팔레트 */
    --primary-color: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    --accent-color: #f3e8ff;
    --purple-dark: #5b21b6;
    --purple-deep: #2e1065;
    --cosmic-purple: #7c3aed;
    --cosmic-pink: #f472b6;
    --lavender: #ddd6fe;
    
    /* 배경 컬러 */
    --bg-dark: #0f172a;
    --bg-medium: #1e293b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    
    /* 텍스트 컬러 */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Cosmic Purple 그라데이션 */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #a78bfa 0%, #f3e8ff 100%);
    --gradient-hero: linear-gradient(180deg, #000000 0%, #1a0b2e 25%, #2e1065 50%, #5b21b6 75%, #7c3aed 100%);
    --gradient-dark: linear-gradient(180deg, #000000 0%, #1a0b2e 50%, #2e1065 100%);
    --gradient-cosmic: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.2) 50%, transparent 100%);
    --gradient-soft: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(243, 232, 255, 0.1) 100%);
    
    /* 쉐도우 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* 폰트 */
    --font-primary: 'Noto Sans KR', sans-serif;
    --font-english: 'Montserrat', sans-serif;
    
    /* 트랜지션 */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    background: linear-gradient(180deg, #fafafa 0%, #f5f0fa 100%);
    letter-spacing: 0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

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

/* ============================================
   헤더 & 네비게이션
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
    z-index: 1000;
    transition: var(--transition-base);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(26, 11, 46, 0.2) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    display: block;
    font-family: 'Great Vibes', 'Dancing Script', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    background: linear-gradient(135deg, #ffffff 0%, #f472b6 30%, #8b5cf6 60%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8))
            drop-shadow(0 0 40px rgba(236, 72, 153, 0.5));
    transition: all 0.4s ease;
    position: relative;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #8b5cf6 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logo a:hover .logo-text::after {
    opacity: 1;
}

.logo a:hover .logo-text {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 1))
            drop-shadow(0 0 60px rgba(236, 72, 153, 0.8));
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-base);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
    color: #f472b6;
    text-shadow: 0 0 15px rgba(244, 114, 182, 0.6);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
    box-shadow: 0 0 15px rgba(232, 139, 185, 0.6);
    border-radius: 10px;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: var(--transition-base);
}

.btn-call:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* ============================================
   히어로 섹션
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(219, 234, 254, 0.85) 100%),
        url('https://cdn1.genspark.ai/user-upload-image/5_generated/6ffbbb20-f1cf-48af-bde6-2b63bf72ed8d.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    overflow: hidden;
}

/* 프리미엄 그라데이션 오버레이 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.6) 0%, 
            transparent 40%,
            rgba(219, 234, 254, 0.4) 100%
        );
    animation: premiumGlow 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes premiumGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* 빛나는 라인 효과 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(96, 165, 250, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(219, 234, 254, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 6;
    width: 100%;
    padding: 4rem 0;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5),
                 0 0 20px rgba(236, 72, 153, 0.3);
    letter-spacing: -0.02em;
}

.title-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #ffc8e6 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.9;
    opacity: 0.92;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    box-shadow: 
        0 10px 40px rgba(139, 92, 246, 0.4),
        0 5px 20px rgba(236, 72, 153, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    box-shadow: 
        0 15px 50px rgba(139, 92, 246, 0.6),
        0 8px 30px rgba(236, 72, 153, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(236, 72, 153, 0.1) 100%
    );
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(236, 72, 153, 0.2) 100%
    );
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 100%
    );
    backdrop-filter: blur(20px);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    letter-spacing: 0.02em;
}

.badge:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(139, 92, 246, 0.2) 100%
    );
    box-shadow: 
        0 12px 35px rgba(139, 92, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.badge i {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-images {
    display: grid;
    gap: 2rem;
}

.platform-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
    cursor: pointer;
}

.platform-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 40px -5px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
    animation: bounce 2.5s ease-in-out infinite;
    z-index: 10;
}

.scroll-indicator i {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

@keyframes bounce {
    0%, 100% { 
        transform: translateX(-50%) translateY(0);
        opacity: 0.9;
    }
    50% { 
        transform: translateX(-50%) translateY(-15px);
        opacity: 1;
    }
}

/* 애니메이션 */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   퀵 정보 바
   ============================================ */
.quick-info {
    background: var(--bg-dark);
    color: white;
    padding: 2rem 0;
}

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

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.info-text strong {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.info-text span {
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   공통 섹션 스타일
   ============================================ */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, rgba(138, 120, 229, 0.12) 0%, rgba(232, 139, 185, 0.12) 100%);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 1.5px solid rgba(232, 139, 185, 0.2);
    box-shadow: 0 4px 15px rgba(138, 120, 229, 0.1);
    transition: var(--transition-base);
}\n\n.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 139, 185, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.4;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 20px rgba(232, 139, 185, 0.3);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   학원 소개 섹션
   ============================================ */
.about {
    background: linear-gradient(180deg, 
        rgba(255, 250, 255, 1) 0%, 
        rgba(250, 245, 255, 1) 50%,
        rgba(255, 248, 253, 1) 100%);
    position: relative;
    overflow: hidden;
}

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

.about-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 255, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(138, 120, 229, 0.08);
    border: 1px solid rgba(232, 139, 185, 0.1);
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(138, 120, 229, 0.15);
    border-color: rgba(232, 139, 185, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   프로그램 섹션
   ============================================ */
.programs {
    background: linear-gradient(180deg, 
        rgba(252, 250, 255, 1) 0%, 
        rgba(248, 245, 255, 1) 50%,
        rgba(255, 250, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

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

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

.program-tab-content {
    display: none;
}

.program-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.program-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 255, 0.95) 100%);
    border: 2px solid rgba(232, 139, 185, 0.15);
    border-radius: 25px;
    padding: 2rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(138, 120, 229, 0.06);
}

.program-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 35px rgba(232, 139, 185, 0.15);
}

.program-card.featured {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(232, 139, 185, 0.08) 0%, rgba(255, 200, 230, 0.08) 100%);
    box-shadow: 0 8px 30px rgba(232, 139, 185, 0.12);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.program-header {
    margin-bottom: 1.5rem;
}

.program-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.program-icon i {
    font-size: 1.8rem;
    color: white;
}

.program-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.grade-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.program-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.program-features i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.program-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.program-description p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.6;
}

/* ============================================
   특별함 섹션
   ============================================ */
.features {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 25% 25%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 75% 75%, rgba(232, 139, 185, 0.3), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(1px 1px at 10% 90%, rgba(184, 91, 165, 0.3), transparent),
        radial-gradient(2px 2px at 85% 60%, rgba(199, 77, 159, 0.25), transparent);
    background-size: 200% 200%;
    animation: starsGlow 15s ease-in-out infinite;
    pointer-events: none;
}

.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-cosmic);
    pointer-events: none;
    animation: cosmicMove 30s ease-in-out infinite;
}

@keyframes starsGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes cosmicMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.features .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.features .section-title {
    color: white;
}

.features .section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transition: var(--transition-slow);
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

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

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-10px);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    font-family: var(--font-english);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ============================================
   강사진 섹션
   ============================================ */
.teachers {
    background: linear-gradient(180deg, 
        rgba(255, 252, 255, 1) 0%, 
        rgba(250, 248, 255, 1) 50%,
        rgba(255, 250, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

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

.teacher-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.teacher-image {
    margin-bottom: 1.5rem;
}

.teacher-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-avatar i {
    font-size: 3rem;
    color: white;
}

.teacher-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.teacher-subject {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.teacher-credentials {
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ============================================
   갤러리 섹션
   ============================================ */
.gallery {
    background: linear-gradient(180deg, 
        rgba(254, 252, 255, 1) 0%, 
        rgba(250, 247, 255, 1) 50%,
        rgba(255, 252, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(107, 95, 219, 0.95) 0%, rgba(107, 95, 219, 0.8) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition-base);
    color: white;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   수강신청 섹션
   ============================================ */
.registration {
    background: linear-gradient(180deg, 
        rgba(255, 250, 255, 1) 0%, 
        rgba(252, 247, 255, 1) 50%,
        rgba(255, 252, 255, 1) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.registration-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.registration-info {
    position: sticky;
    top: 100px;
}

.registration-info h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

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

.registration-info > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.benefit-item span {
    font-weight: 500;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.contact-btn:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.contact-btn i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.contact-btn.phone i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-btn.instagram i {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.contact-btn.kakao i {
    background: #fee500;
    color: #3c1e1e;
}

.contact-btn strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-btn span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.registration-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.registration-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-check label {
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   지도 섹션
   ============================================ */
.map-section {
    background: linear-gradient(180deg, 
        rgba(255, 253, 255, 1) 0%, 
        rgba(252, 248, 255, 1) 50%,
        rgba(255, 250, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.map-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition-base);
}

.info-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   푸터
   ============================================ */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 25% 25%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 75% 75%, rgba(232, 139, 185, 0.2), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 10% 90%, rgba(184, 91, 165, 0.2), transparent),
        radial-gradient(1px 1px at 85% 50%, rgba(199, 77, 159, 0.2), transparent);
    animation: twinkle 8s ease-in-out infinite;
    pointer-events: none;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 3px 15px rgba(232, 139, 185, 0.6));
    transition: var(--transition-base);
}

.footer-logo-img:hover {
    filter: brightness(1.3) drop-shadow(0 5px 20px rgba(199, 77, 159, 0.8));
    transform: scale(1.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-slogan {
    font-family: var(--font-english);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.social-btn.kakao {
    background: #fee500;
    color: #3c1e1e;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.youtube {
    background: #ff0000;
}

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

.footer-banner img {
    border-radius: 10px;
    transition: var(--transition-base);
}

.footer-banner img:hover {
    transform: scale(1.02);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   플로팅 버튼
   ============================================ */
.floating-btns {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
    color: white;
    font-size: 1.3rem;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.3);
}

.top-btn {
    background: var(--gradient-primary);
    opacity: 0;
    pointer-events: none;
}

.top-btn.show {
    opacity: 1;
    pointer-events: all;
}

.call-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.kakao-btn {
    background: #fee500;
    color: #3c1e1e;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }