.bg {
	background: #f0f2f5;
}

/* 히어로 섹션 */
.hero {
	min-height: 600px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
	animation: float 20s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
	50% { transform: translate(10%, 10%) rotate(180deg); }
}

.hero-content {
	text-align: center;
	color: white;
	z-index: 2;
	padding: 0 20px;
	animation: fadeInUp 1s ease-out;
}

.hero-title {
	font-size: 4em;
	font-weight: bold;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	letter-spacing: -2px;
}

.hero-subtitle {
	font-size: 1.5em;
	opacity: 0.9;
	margin-bottom: 40px;
	line-height: 1.6;
}

.hero-stats {
	display: flex;
	justify-content: center;
	gap: 60px;
	flex-wrap: wrap;
	margin-top: 50px;
}

.hero-stat {
	text-align: center;
	animation: fadeInScale 1s ease-out;
	animation-fill-mode: both;
}

.hero-stat:nth-child(1) { animation-delay: 0.2s; }
.hero-stat:nth-child(2) { animation-delay: 0.4s; }
.hero-stat:nth-child(3) { animation-delay: 0.6s; }

.hero-stat-number {
	font-size: 3.5em;
	font-weight: bold;
	color: #ffd700;
	text-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.hero-stat-label {
	font-size: 1.2em;
	opacity: 0.9;
	margin-top: 10px;
}

/* 카테고리 탭 */
.category-tabs {
	background: white;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 20px 0;
}

.tabs-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	gap: 40px;
	padding: 0 20px;
}

.tab {
	padding: 12px 30px;
	border-radius: 30px;
	font-size: 1.1em;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	background: #f8f9fa;
	border: 2px solid transparent;
}

.tab:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102,126,234,0.2);
}

.tab.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	box-shadow: 0 10px 25px rgba(102,126,234,0.3);
}

/* 강좌 섹션 */
.courses-section {
	padding: 80px 20px;
	max-width: 1400px;
	margin: 0 auto;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
	animation: fadeInDown 0.8s ease-out;
}

.section-title {
	font-size: 2.5em;
	color: #333;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
	border-radius: 2px;
}

.section-desc {
	font-size: 1.2em;
	color: #666;
	margin-top: 20px;
}

/* 강좌 그리드 */
.courses-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 30px;
	margin-bottom: 80px;
}

.course-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	opacity: 0;
	transform: translateY(30px);
	animation: slideUpFade 0.6s ease-out forwards;
	border: 1px solid rgba(0,0,0,0.05);
}

.course-card:nth-child(odd) { animation-delay: 0.1s; }
.course-card:nth-child(even) { animation-delay: 0.2s; }

.course-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.course-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 40px rgba(102,126,234,0.15);
	border-color: rgba(102,126,234,0.2);
}

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

.course-category {
	padding: 20px 25px 15px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	font-size: 0.9em;
	color: #666;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.course-content {
	padding: 25px;
}

.course-title {
	font-size: 1.4em;
	font-weight: bold;
	color: #333;
	margin-bottom: 15px;
	transition: color 0.3s ease;
	line-height: 1.4;
}

.course-card:hover .course-title {
	color: #667eea;
}

.course-info {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.course-duration {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #666;
	font-size: 0.95em;
}

.course-duration svg {
	width: 18px;
	height: 18px;
	fill: #667eea;
}

.course-price {
	margin-left: auto;
	font-size: 1.8em;
	font-weight: bold;
	color: #667eea;
}

.course-actions {
	padding: 0 25px 25px;
	display: flex;
	gap: 10px;
}

.btntt {
	flex: 1;
	padding: 12px 20px;
	border: none;
	border-radius: 10px;
	font-size: 1em;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white !important;
	position: relative;
	overflow: hidden;
}

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

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(102,126,234,0.3);
}

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

.btn-secondary {
	background: #f8f9fa;
	color: #666 !important;
	border: 1px solid #dee2e6;
}

.btn-secondary:hover {
	background: #e9ecef;
	border-color: #667eea;
	color: #667eea !important;
	transform: translateY(-2px);
}

/* 특별 섹션 */
.special-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 100px 20px;
	margin: 0 0 100px 0;
	position: relative;
	overflow: hidden;
}

.special-section::before,
.special-section::after {
	content: '';
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
}

.special-section::before {
	top: -150px;
	left: -150px;
	animation: pulse 4s ease-in-out infinite;
}

.special-section::after {
	bottom: -150px;
	right: -150px;
	animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.1; }
	50% { transform: scale(1.2); opacity: 0.05; }
}

.special-content {
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
	color: white;
	position: relative;
	z-index: 1;
}

.special-title {
	font-size: 3em;
	margin-bottom: 30px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.special-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-top: 60px;
}

.special-feature {
	background: rgba(255,255,255,0.1);
	padding: 30px;
	border-radius: 20px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.2);
	transition: all 0.3s ease;
}

.special-feature:hover {
	background: rgba(255,255,255,0.15);
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.special-feature-icon {
	font-size: 3em;
	margin-bottom: 20px;
}

.special-feature-title {
	font-size: 1.3em;
	font-weight: bold;
	margin-bottom: 15px;
}

/* CTA 섹션 */
.cta-section {
	text-align: center;
	padding: 100px 20px;
	background: #f8f9fa;
}

.cta-title {
	font-size: 2.5em;
	color: #333;
	margin-bottom: 20px;
}

.cta-desc {
	font-size: 1.3em;
	color: #666;
	margin-bottom: 40px;
}

.cta-button {
	display: inline-block;
	padding: 20px 60px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	font-size: 1.3em;
	font-weight: bold;
	border-radius: 50px;
	text-decoration: none;
	box-shadow: 0 15px 35px rgba(102,126,234,0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

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

.cta-button:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(102,126,234,0.4);
}

.cta-button:hover::before {
	width: 400px;
	height: 400px;
}

/* 애니메이션 */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

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

/* 반응형 */
@media (max-width: 640px) {
	.hero-title { font-size: 2.5em; }
	.hero-subtitle { font-size: 1.2em; }
	.hero-stats { gap: 30px; }
	.tabs-container { gap: 20px; }
	.tab { padding: 10px 20px; font-size: 1em; }
	.courses-grid { grid-template-columns: 1fr; }
	.special-title { font-size: 2em; }
}

/* 로딩 애니메이션 */
.loading-skeleton {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: loading 1.5s infinite;
}

@keyframes loading {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* 카테고리 뱃지 */
.category-badge {
	display: inline-block;
	padding: 6px 15px;
	background: rgba(102,126,234,0.1);
	color: #667eea;
	border-radius: 20px;
	font-size: 0.85em;
	font-weight: 500;
	margin-bottom: 15px;
}

/* 무료 뱃지 */
.free-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background: #4caf50;
	color: white;
	padding: 8px 20px;
	border-radius: 25px;
	font-weight: bold;
	font-size: 0.9em;
	box-shadow: 0 5px 15px rgba(76,175,80,0.3);
	animation: bounce 2s infinite;
}

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