/* 밝은 테마 오버라이드 (revolutionary-styles.css 위에 추가로 로드) */

:root {
  /* 밝은 배경 및 텍스트 컬러 */
  --light-bg: #f7f9ff; /* 아주 연한 파스텔 톤 */
  --lighter-bg: #ffffff;
  --text-primary-light: #1f2937; /* gray-800 */
  --text-secondary-light: #4b5563; /* gray-600 */

  /* 밝은 포인트 컬러 (霓虹 대신 파스텔) */
  --accent-primary: #62d1ff; /* 기존 네온보다 낮은 채도 */
  --accent-secondary: #a777ff;
  --accent-tertiary: #ff8bd1;
  --gradient-neon: linear-gradient(135deg, #6ee7ff, #a78bfa, #f472b6);

  /* 카드 및 네비의 배경 */
  --card-bg: #ffffff;
}

/* 전체 배경을 밝게 */
body {
  background: radial-gradient(1200px circle at 20% 20%, #eef3ff 0%, transparent 40%),
              radial-gradient(1200px circle at 80% 30%, #fdf2ff 0%, transparent 45%),
              var(--lighter-bg);
  color: var(--text-primary-light);
}

/* 네비게이션을 밝은 톤으로 */
.navbar {
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-link { color: var(--text-secondary-light); }
.nav-link:hover { color: #6b21a8; }
.nav-logo { -webkit-text-fill-color: initial; color: #6b21a8; }

/* 버튼 밝게 */
.btn-primary {
  background: linear-gradient(135deg, #7dd3fc, #a78bfa);
  color: #fff;
  box-shadow: 0 10px 20px rgba(167,139,250,0.25);
}
.btn-primary:hover { box-shadow: 0 14px 28px rgba(167,139,250,0.35); }
.btn-secondary {
  color: #7c3aed;
  border-color: #7c3aed;
}
.btn-secondary:hover { background: #7c3aed; color: #fff; }

/* 히어로 영역을 더 밝게 */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #fdf2ff 100%);
}
.hero::before {
  background: radial-gradient(circle, rgba(167,139,250,0.12) 0%, transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/bgx.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35; /* 半透明 */
  z-index: 0; /* 位于内容之下，位于::before之上 */
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-title {
  -webkit-text-fill-color: initial;
  color: #1f2937;
  background: none;
}
.hero-subtitle { color: var(--text-secondary-light); }

/* 카드更明亮 */
.card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.card-neon::before { display: none; }

/* 特性图标轻量化 */
.feature-icon {
  background: rgba(124,58,237,0.08);
  color: #7c3aed;
  box-shadow: none;
}
.feature-icon img { width: 44px; height: 44px; display: block; }

/* 课程图标从文字渐变改为圆形容器 + SVG */
.course-icon {
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(124,58,237,0.08);
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
}
.course-icon img { width: 48px; height: 48px; display: block; }

/* 특성/과정 영역背景更明亮 */
.features { background: var(--light-bg); }
.courses { background: var(--lighter-bg); position: relative; overflow: hidden; }
.courses::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/bgx01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.28; /* 半透明 */
  z-index: 0;
  pointer-events: none;
}
.courses > * { position: relative; z-index: 1; }

/* 章节标题不使用文字渐变，使用明显的文本颜色 */
.section-title {
  -webkit-text-fill-color: initial;
  color: #111827; /* gray-900 */
  background: none;
}
.section-title::after { background: linear-gradient(135deg, #7dd3fc, #a78bfa); }
.section-subtitle { color: var(--text-secondary-light); }

/* 响应式下保持明亮基调 */
@media (max-width: 768px) {
  .navbar { background: rgba(255,255,255,0.95); }
  .nav-menu { background: #ffffff; border-top: 1px solid rgba(0,0,0,0.06); }
}

/* 浮动底部 CTA（PC/H5 通用） */
.floating-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 9999;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none; /* 仅按钮可点 */
}
.floating-cta-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7dd3fc, #a78bfa);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(167,139,250,0.35);
  text-decoration: none;
  border: 0;
  min-height: 48px;
  width: min(92vw, 420px);
}
.floating-cta-btn:hover { box-shadow: 0 14px 32px rgba(167,139,250,0.45); }
.floating-cta-btn:active { transform: translateY(1px); }

@media (min-width: 1024px) {
  .floating-cta-btn { width: min(480px, 50vw); }
}

