/* ============================================================
   스웬다이토 — Design System & Styles
   디자인 철학: 딥 스페이스 다크 캔버스 위에 네온 그라데이션이
   흐르는 미래지향적 교육 플랫폼. 글래스모피즘과 비대칭 레이아웃으로
   "창작의 움직임"을 시각적으로 표현.
   ============================================================ */

/* --- Design Tokens (CSS Custom Properties) ---
   모든 색상, 간격, 타이포 값을 한곳에서 관리해
   일관성 유지 및 유지보수 편의 확보 */
:root {
  /* Colors */
  --color-primary: #7B2FFF;
  --color-primary-light: #9D5FFF;
  --color-primary-dark: #5A10E0;
  --color-secondary: #00D4FF;
  --color-secondary-light: #5CE6FF;
  --color-accent: #FF3CAC;
  --color-accent-light: #FF6EC7;
  --color-bg: #080B1A;
  --color-bg-elevated: #0E1230;
  --color-bg-card: rgba(14, 18, 48, 0.6);
  --color-text: #E4E6F1;
  --color-text-muted: #8B8FA8;
  --color-text-dim: #5A5E78;
  --color-border: rgba(123, 47, 255, 0.15);
  --color-border-hover: rgba(123, 47, 255, 0.5);

  /* Gradients — 핵심 브랜드 그라데이션 */
  --gradient-primary: linear-gradient(135deg, #7B2FFF 0%, #00D4FF 100%);
  --gradient-accent: linear-gradient(135deg, #FF3CAC 0%, #7B2FFF 50%, #00D4FF 100%);
  --gradient-glow: radial-gradient(circle, rgba(123, 47, 255, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-primary: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing Scale (8px base) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow: 0 0 40px rgba(123, 47, 255, 0.2);
  --shadow-glow-intense: 0 0 60px rgba(123, 47, 255, 0.35);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

/* --- Reset & Base ---
   브라우저 기본 스타일 초기화 및 전역 기반 설정 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  /* 배경에 미세한 노이즈 텍스처 효과 — 평면적이지 않은 깊이감 */
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(123, 47, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

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

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* 섹션 공통 간격 — 넉넉한 여백으로 콘텐츠 호흡 확보 */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

/* 섹션 제목 스타일 — 그라데이션 텍스트로 브랜드 아이덴티티 강화 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.25;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* 스크롤 Reveal 애니메이션 — 등장 시 아래에서 위로 페이드인 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================
   HEADER / NAVIGATION
   고정 네비게이션 — 스크롤 시 글래스모피즘 배경 전환
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-smooth),
    box-shadow var(--transition-smooth),
    backdrop-filter var(--transition-smooth);
}

/* 스크롤 시 글래스모피즘 배경 활성화 */
.header.scrolled {
  background: rgba(8, 11, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* 로고 — 그라데이션 브랜드 텍스트 */
.logo {
  font-size: 1.35rem;
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.5px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--transition-fast);
  padding: var(--space-sm) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-text);
}

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

/* CTA 버튼 (네비게이션 내) */
.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 47, 255, 0.4);
}

/* 모바일 햄버거 메뉴 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-fast),
    opacity var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   전체화면 다크 배경 + 움직이는 네온 오브(Orb) + 중앙 텍스트
   비대칭 레이아웃으로 시선의 흐름 유도
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* 플로팅 네온 오브(Orb) — 배경에 생동감 부여하는 핵심 요소
   3개의 오브가 각기 다른 속도로 움직이며 공간감 생성 */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -10%;
  right: -5%;
  animation-duration: 14s;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--color-secondary);
  bottom: 10%;
  left: -5%;
  animation-duration: 10s;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: var(--color-accent);
  top: 40%;
  right: 30%;
  animation-duration: 16s;
  animation-delay: -7s;
  opacity: 0.3;
}

@keyframes orbFloat {

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

  25% {
    transform: translate(30px, -40px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(15px, 35px) scale(1.02);
  }
}

/* 그리드 패턴 오버레이 — 기술적 느낌의 미세한 그리드 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 47, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 47, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

/* 브랜드 배지 — 신뢰감을 주는 상단 라벨 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: rgba(123, 47, 255, 0.1);
  border: 1px solid rgba(123, 47, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-light);
  margin-bottom: var(--space-xl);
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(123, 47, 255, 0.1);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(123, 47, 255, 0);
  }
}

@keyframes dotPulse {

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

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* Hero 제목 — 핵심 메시지를 강렬하게 전달 */
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -1px;
}

/* 그라데이션 강조 텍스트 */
.hero-title .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

/* Hero CTA 버튼 그룹 */
.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* 프라이머리 버튼 — 그라데이션 + 글로우 효과 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.9rem 2rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(123, 47, 255, 0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

/* 세컨더리 버튼 — 아웃라인 스타일 */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(123, 47, 255, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* Hero 비주얼 영역 — 통계 카드 + 글래스모피즘 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 메인 비주얼 카드 — 글래스모피즘 디자인 */
.hero-visual-card {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* 카드 내부 그라데이션 장식 */
.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--color-primary), transparent, var(--color-secondary), transparent);
  animation: borderRotate 8s linear infinite;
  opacity: 0.1;
}

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

  to {
    transform: rotate(360deg);
  }
}

.hero-card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-card-icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

.hero-card-title {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.hero-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* 플로팅 통계 카드 — 비대칭 위치로 역동감 */
.floating-stat {
  position: absolute;
  background: rgba(14, 18, 48, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  animation: floatUp 5s ease-in-out infinite;
}

.floating-stat-1 {
  top: 0;
  right: -20px;
  animation-delay: 0s;
}

.floating-stat-2 {
  bottom: 10%;
  left: -30px;
  animation-delay: -2s;
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.floating-stat-value {
  font-size: 1.5rem;
  font-weight: var(--font-weight-extrabold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.floating-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ============================================================
   PROGRAM SECTION (교육 과정 안내)
   5개 교육 과정을 글래스모피즘 카드로 표현
   호버 시 네온 보더 글로우 효과
   ============================================================ */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* 글래스 카드 — 호버 시 네온 보더 발광 효과가 핵심 */
.program-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* 호버 시 상단에 그라데이션 라인 출현 */
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
  transform-origin: left;
}

.program-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

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

/* 카드 번호 — 과정 순서를 시각적으로 표현 */
.program-number {
  font-size: 3rem;
  font-weight: var(--font-weight-extrabold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.program-card-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

.program-card-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.program-card-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  line-height: 1.5;
}

.program-card-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-secondary);
  margin-top: 8px;
}

/* 마지막 2개 카드를 중앙 정렬하기 위한 처리 */
.program-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 780px;
  margin: var(--space-xl) auto 0;
}

/* ============================================================
   SYSTEM SECTION (교육 운영 시스템)
   4단계 프로세스 플로우 + 특징 카드
   ============================================================ */

/* 프로세스 플로우 — 4단계를 수평으로 연결 */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-4xl);
  position: relative;
}

/* 프로세스 연결선 */
.process-flow::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.3;
}

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

.process-step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  background: var(--gradient-primary);
  color: #fff;
  position: relative;
  z-index: 2;
  transition: all var(--transition-smooth);
}

.process-step:hover .process-step-number {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-intense);
}

.process-step-title {
  font-size: 1.05rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* 특징 카드 그리드 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.feature-card:hover .feature-icon img {
  transform: scale(1.05);
}

.feature-card-body {
  padding: var(--space-lg);
  text-align: center;
}

.feature-card-title {
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

.feature-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   GUIDE SECTION (수강 안내)
   비대칭 타임라인 — 좌우 교차 배치로 역동적 표현
   ============================================================ */
.timeline {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

/* 타임라인 중앙 세로선 */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary), var(--color-accent));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: var(--space-2xl);
  position: relative;
}

/* 홀수: 왼쪽, 짝수: 오른쪽 — 비대칭 레이아웃 */
.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 30px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 30px);
  text-align: left;
}

/* 타임라인 노드(점) */
.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: var(--font-weight-bold);
  color: #fff;
  z-index: 2;
  box-shadow: 0 0 20px rgba(123, 47, 255, 0.3);
}

.timeline-content {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  transition: all var(--transition-smooth);
}

.timeline-content:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ============================================================
   FAQ SECTION
   아코디언 UI — 질문 클릭 시 부드럽게 열리는 답변
   ============================================================ */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-align: left;
  transition: color var(--transition-fast);
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(123, 47, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast),
    background var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary-light);
}

.faq-item.active .faq-icon svg {
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer-text {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT SECTION (문의 및 상담)
   글래스모피즘 카드 + 강조 CTA
   ============================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(123, 47, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
}

/* CTA 카드 — 상담 유도 */
.contact-cta-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.contact-cta-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.contact-cta-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.9rem 2rem;
  background: #fff;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   FOOTER
   사업자 정보 + 저작권
   ============================================================ */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-info {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  line-height: 1.8;
}

.footer-info span {
  display: inline-block;
  margin: 0 var(--space-sm);
}

.footer-divider {
  color: var(--color-text-dim);
  margin: 0 var(--space-xs);
  opacity: 0.4;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ============================================================
   RESPONSIVE DESIGN
   Mobile First 접근은 아니지만, 3단계 반응형으로 모든 기기 대응
   ============================================================ */

/* Tablet (768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

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

  /* Navigation — 모바일 풀스크린 메뉴 */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 11, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
    z-index: 998;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  /* Hero — 단일 컬럼 */
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  /* Programs — 2열 */
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  /* Process — 2열 */
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

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

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

  /* Timeline — 단일 측 */
  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .timeline-item::before {
    left: 20px !important;
    transform: translateX(-50%);
  }

  /* Contact — 단일 컬럼 */
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Mobile (375px) */
@media (max-width: 480px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Programs — 단일 컬럼 */
  .program-grid,
  .program-grid-bottom {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

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

  .hero-orb-1 {
    width: 300px;
    height: 300px;
  }

  .hero-orb-2 {
    width: 200px;
    height: 200px;
  }

  .hero-orb-3 {
    width: 150px;
    height: 150px;
  }
}

/* ============================================================
   SCROLLBAR CUSTOMIZATION
   다크 테마에 맞는 커스텀 스크롤바
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(123, 47, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(123, 47, 255, 0.5);
}

/* Selection color */
::selection {
  background: rgba(123, 47, 255, 0.3);
  color: #fff;
}

/* ============================================================
   PAGE HERO — 서브 페이지 상단 배너
   홈 Hero보다 작은 높이, 동일한 그라데이션 언어 사용
   ============================================================ */
.page-hero {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* 서브 페이지 오브 (홈보다 작고 은은하게) */
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.page-hero-orb-1 {
  width: 350px;
  height: 350px;
  background: var(--color-primary);
  top: -20%;
  right: 10%;
  animation-duration: 14s;
}

.page-hero-orb-2 {
  width: 250px;
  height: 250px;
  background: var(--color-secondary);
  bottom: -10%;
  left: 5%;
  animation-duration: 10s;
  animation-delay: -4s;
}

/* 그리드 패턴 */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 47, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 47, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.25;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto;
}

/* ============================================================
   NAV LINK ACTIVE — 현재 페이지 강조
   ============================================================ */
.nav-link.active {
  color: var(--color-text);
}

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

/* ============================================================
   TARGET GRID — 홈 페이지 교육 대상 섹션
   5개 카드를 그리드로 배치
   ============================================================ */
.target-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.target-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.target-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.target-icon {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.target-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.target-card:hover .target-icon img {
  transform: scale(1.05);
}

.target-card-body {
  padding: var(--space-lg);
  text-align: center;
}

.target-card-title {
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

.target-card-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   PAGE CTA BANNER — 서브 페이지 하단 상담 유도 배너
   ============================================================ */
.page-cta-banner {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 상단 그라데이션 라인 */
.page-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.page-cta-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

.page-cta-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

/* ============================================================
   RESPONSIVE — 서브 페이지 추가 반응형
   ============================================================ */
@media (max-width: 768px) {
  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero-title {
    font-size: 1.6rem;
  }

  .page-hero-orb-1 {
    width: 200px;
    height: 200px;
  }

  .page-hero-orb-2 {
    width: 150px;
    height: 150px;
  }
}

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

  .page-cta-banner {
    padding: var(--space-2xl);
  }

  .page-cta-title {
    font-size: 1.2rem;
  }
}