/* 전체 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 상단 공지 배너 - discount-banner 스타일과 일관성 */
.announcement-banner {
  background: linear-gradient(135deg, #ff4444, #ff6b6b, #ffd700);
  padding: 12px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: banner-glow 3s ease-in-out infinite alternate;
}

.announcement-banner .banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.announcement-banner .banner-text {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-banner .banner-icon {
  font-size: 1.2em;
  animation: urgent-blink 3s ease-in-out infinite;
}

.announcement-banner .highlight-date {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: bounce-scale 2s ease-in-out infinite;
}

.announcement-banner .banner-actions {
  display: flex;
  align-items: center;
}

.announcement-banner .banner-btn {
  background: #ffffff;
  color: #ff4444;
  font-weight: 900;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.6);
  transition: all 0.3s ease;
}

.announcement-banner .banner-btn:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .announcement-banner .banner-content {
    flex-direction: column;
    gap: 10px;
  }

  .announcement-banner .banner-text {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1em;
  }

  .announcement-banner .banner-btn {
    font-size: 0.85em;
    padding: 6px 12px;
  }
}

/* 수강 신청 오픈 정보 */
.registration-opening {
  text-align: center;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  border: 2px solid #ffd700;
}

.opening-text {
  font-size: 1.3em;
  color: #fff;
  margin: 0;
}

.opening-date {
  color: #ffd700;
  font-weight: 900;
  font-size: 1.1em;
}

/* 대형 카운트다운 섹션 */
.countdown-section {
  background: linear-gradient(135deg, #2c2f6c, #3a3f8c);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23FFD700" stop-opacity="0.1"/><stop offset="100%" stop-color="%23FFD700" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="50" fill="url(%23a)"/></svg>')
    repeat;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

.countdown-container {
  position: relative;
  z-index: 2;
}

.countdown-title {
  font-size: 3em;
  color: #ffd700;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.3);
  }
  to {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.6),
      0 0 30px rgba(255, 215, 0, 0.4);
  }
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.countdown-box {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 3px solid #ffd700;
  border-radius: 20px;
  padding: 30px 20px;
  min-width: 150px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: pulse-box 2s ease-in-out infinite;
}

@keyframes pulse-box {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 rgba(255, 215, 0, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 215, 0, 0.3);
  }
}

.countdown-box:hover {
  transform: scale(1.1);
  border-color: #fff;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.5);
}

.countdown-number {
  display: block;
  font-size: 4em;
  font-weight: 700;
  color: #ffd700;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-variant-numeric: tabular-nums;
  font-family: "Inter", "Roboto", "Noto Sans KR", Arial, sans-serif;
}

.countdown-label {
  display: block;
  font-size: 1.2em;
  color: #fff;
  margin-top: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-separator {
  font-size: 4em;
  color: #ffd700;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: blink-separator 2s ease-in-out infinite;
}

@keyframes blink-separator {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.3;
  }
}

.countdown-tz {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin: 20px 0 0 0;
  text-align: center;
  font-style: italic;
}

.countdown-message {
  margin-top: 30px;
}

.countdown-info {
  font-size: 1.5em;
  color: #fff;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.countdown-expired {
  font-size: 2.5em;
  color: #00ff00;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: celebration 1s ease-in-out infinite alternate;
}

@keyframes celebration {
  from {
    transform: scale(1) rotate(-2deg);
  }
  to {
    transform: scale(1.05) rotate(2deg);
  }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .countdown-title {
    font-size: 2.2em;
    margin-bottom: 30px;
  }

  .countdown-timer {
    gap: 15px;
  }

  .countdown-box {
    min-width: 120px;
    padding: 20px 15px;
  }

  .countdown-number {
    font-size: 2.5em;
  }

  .countdown-label {
    font-size: 1em;
  }

  .countdown-separator {
    font-size: 2.5em;
  }

  .countdown-info {
    font-size: 1.2em;
  }
}

/* 예정된 클래스 섹션 */
.scheduled-class {
  background-color: #323575;
  color: #fff;
  padding: 80px 0;
}

.scheduled-class h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5em;
  color: #fff;
}

.class-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
}

.class-item {
  background: #2c2f6c;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #0b5cff;
}

.class-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.class-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(11, 92, 255, 0.3);
}

.class-thumbnail {
  position: relative;
  overflow: hidden;
}

.class-thumbnail img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.class-thumbnail:hover img {
  transform: scale(1.05);
}

.class-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 92, 255, 0.8),
    rgba(61, 127, 255, 0.6)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.class-thumbnail:hover .class-overlay {
  opacity: 1;
}

.class-badge {
  background: #0b5cff;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 10px;
  animation: pulse 2s infinite;
}

.class-time {
  color: white;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.class-info {
  padding: 20px;
}

.class-info h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  line-height: 1.4;
}

.class-info h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.class-info h3 a:hover {
  color: #0b5cff;
}

.class-date {
  color: #3d7fff;
  font-size: 0.9em;
  margin-top: 8px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .class-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .scheduled-class h2 {
    font-size: 2em;
  }
}

/* 예정된 라이브 섹션 */
.scheduled-live {
  display: none;
  background-color: #323575;
  color: #fff;
  padding: 80px 0;
}

.scheduled-live h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5em;
  color: #fff;
}

.live-stream-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
}

.live-stream-item {
  background: #2c2f6c;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #ff4444;
}

.live-stream-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.live-stream-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 68, 68, 0.3);
}

.live-thumbnail {
  position: relative;
  overflow: hidden;
}

.live-thumbnail img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.live-thumbnail:hover img {
  transform: scale(1.05);
}

.live-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 68, 68, 0.8),
    rgba(255, 107, 107, 0.6)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.live-thumbnail:hover .live-overlay {
  opacity: 1;
}

.live-badge {
  background: #ff4444;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 10px;
  animation: pulse 2s infinite;
}

.live-time {
  color: white;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.live-info {
  padding: 20px;
}

.live-info h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  line-height: 1.4;
}

.live-info h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.live-info h3 a:hover {
  color: #ff4444;
}

.live-date {
  color: #ff6b6b;
  font-size: 0.9em;
  margin-top: 8px;
  font-weight: bold;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .live-stream-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .scheduled-live h2 {
    font-size: 2em;
  }
}

/* YouTube 최신 영상 섹션 */
.latest-videos {
  background-color: #232659;
  color: #fff;
  padding: 80px 0;
}

.latest-videos h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5em;
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-item {
  background: #2c2f6c;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 0, 0, 0.8);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
  opacity: 1;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  line-height: 1.4;
}

.video-info h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.video-info h3 a:hover {
  color: #ff0000;
}

.video-date {
  color: #999;
  font-size: 0.9em;
  margin-top: 8px;
}

.loading-placeholder,
.error-message {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 1.1em;
  grid-column: 1 / -1;
}

.error-message {
  color: #ff6b6b;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .latest-videos h2 {
    font-size: 2em;
  }
}

/* 마케팅 강조 스타일 */
.highlight-duration {
  color: #ffd700;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

/* 한정 수량 강조 스타일 */
.limited-offer {
  background: linear-gradient(45deg, #ff4444, #ff6b6b);
  color: #ffffff;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.5px;
  border: 1px solid #ff4444;
  box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
  animation: urgent-blink 3s ease-in-out infinite;
  display: inline-block;
  margin-right: 6px;
}

.special-discount {
  color: #ffd700;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  display: inline-block;
  margin-top: 20px;
}

@keyframes urgent-blink {
  0%,
  50%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 0.8;
    transform: scale(1.05);
  }
  75% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
  }
  100% {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  }
}

body {
  font-family: "Noto Sans KR", "Roboto", sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #232659;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

a:hover {
  color: #00c7ff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

ul {
  list-style: none;
}

/* 헤더 스타일 */
header {
  background-color: #232659;
  padding: 10px 0;
}

/* 할인 배너 스타일 */
.discount-banner {
  background: linear-gradient(135deg, #ff4444, #ff6b6b, #ffd700);
  padding: 12px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: banner-glow 3s ease-in-out infinite alternate;
}

/* 최종 마감 배너 스타일 */
.final-deadline-banner {
  background: linear-gradient(135deg, #ff4444, #ff6b6b, #ff4444);
  padding: 14px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  animation: deadline-banner-glow 2.5s ease-in-out infinite alternate;
}

.final-deadline-banner .banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.final-deadline-banner .banner-icon {
  font-size: 1.3em;
  animation: urgent-blink-rotate 1.5s ease-in-out infinite;
}

.final-deadline-banner .banner-text {
  color: #ffffff;
  font-weight: 900;
  font-size: 1.15em;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.final-deadline-banner .deadline-date {
  background: rgba(255, 255, 255, 0.95);
  color: #ff4444;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 25px;
  font-size: 1.15em;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  text-shadow: none;
  animation: deadline-pulse 2s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.final-deadline-banner .urgency-text {
  color: #ffffff;
  font-weight: 800;
  font-size: 1em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  animation: urgent-pulse 2s ease-in-out infinite;
}

.final-deadline-banner .banner-actions {
  display: flex;
  align-items: center;
}

.final-deadline-banner .banner-btn {
  background: #ffffff;
  color: #ff4444;
  font-weight: 900;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.6);
  transition: all 0.3s ease;
}

.final-deadline-banner .banner-btn:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

@keyframes deadline-banner-glow {
  0% {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  }
  100% {
    box-shadow: 0 3px 18px rgba(255, 68, 68, 0.6);
  }
}

@keyframes deadline-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.5);
  }
}

@keyframes urgent-blink-rotate {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 3px rgba(255, 200, 0, 0.5));
  }
  25% {
    transform: scale(1.15) rotate(-10deg);
    filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.8));
  }
  75% {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.8));
  }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .final-deadline-banner {
    padding: 12px 0;
  }

  .final-deadline-banner .banner-content {
    flex-direction: column;
    gap: 8px;
  }

  .final-deadline-banner .banner-text {
    font-size: 1em;
  }

  .final-deadline-banner .deadline-date {
    font-size: 1em;
    padding: 4px 12px;
  }

  .final-deadline-banner .urgency-text {
    font-size: 0.9em;
  }
}

.banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.banner-text {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.discount-percent {
  background: #ffffff;
  color: #ff4444;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: bounce-scale 2s ease-in-out infinite;
}

.urgency-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  animation: urgent-pulse 2s ease-in-out infinite;
}

@keyframes banner-glow {
  0% {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow: 0 2px 15px rgba(255, 68, 68, 0.5);
  }
}

@keyframes bounce-scale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes urgent-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  margin-right: 10px;
}

.menu {
  display: flex;
}

.menu li {
  margin-left: 15px;
}

.menu a {
  color: #fff;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu a.btn-primary {
  background-color: #5865f2;
  color: #fff;
}

.menu a.btn-secondary {
  background-color: #00c7ff;
  color: #fff;
}

.menu a.btn-primary:hover {
  background-color: #4752c4;
}

.menu a.btn-secondary:hover {
  background-color: #00a8d9;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* 히어로 섹션 */
.hero {
  background-color: #232659;
  color: #fff;
  padding: 40px 0 60px;
  text-align: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 2.8rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.btn-primary {
  background-color: #5865f2;
  color: #fff;
}

.btn-secondary {
  background-color: #00c7ff;
  color: #fff;
}

.btn-zoom {
  background-color: #0B5CFF;
  color: #fff;
}

.btn-outline {
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
}

.btn-primary:hover {
  background-color: #4752c4;
}

.btn-secondary:hover {
  background-color: #00a8d9;
}

.btn-zoom:hover {
  background-color: #0949CC;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Discord 아이콘 스타일링 */
.discord-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

.btn-large {
  font-size: 1.2rem;
  padding: 18px 36px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(88, 101, 242, 0.6);
}

/* 학생 데모릴 섹션 */
.student-demo {
  padding: 80px 0;
  background-color: #232659;
  text-align: center;
}

.student-demo h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.student-demo p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 영화관 스타일 비디오 섹션 */
.hero-video {
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%);
  padding: 60px 20px;
  margin: 40px 0;
  border-radius: 8px;
}

.demo-video-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 45%; /* 16:9 비율 유지 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.demo-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* 사용자 섹션 */
.who-uses {
  padding: 80px 0;
  background-color: #2c2f6c;
  text-align: center;
}

.studio-logos,
.university-logos {
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

/* 캐러셀 스타일 */
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 200px;
  height: 120px;
  margin: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 10px;
}

.carousel-prev,
.carousel-next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.see-more {
  display: inline-block;
  margin-top: 20px;
  font-weight: 500;
}

/* 뉴스레터 섹션 */
.newsletter {
  padding: 80px 0;
  background-color: #5865f2;
  color: #fff;
}

.newsletter h2,
.newsletter h3 {
  color: #fff;
}

.newsletter ul {
  margin: 20px 0;
  padding-left: 20px;
  list-style-type: disc;
}

.newsletter-form-container {
  margin-top: 30px;
  text-align: center;
}

.newsletter-btn {
  background-color: #00c7ff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 199, 255, 0.3);
}

.newsletter-btn:hover {
  background-color: #00a8d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 199, 255, 0.4);
  color: #fff;
}

/* 최신 콘텐츠 섹션 */
.new-content {
  padding: 80px 0;
  background-color: #2c2f6c;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.article-card {
  background-color: #2c2f6c;
  border-radius: 8px;
  padding: 25px;
  transition: transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-thumbnail {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.article-content {
  flex: 1;
}

.article-content h3 {
  margin-bottom: 8px;
}

.article-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.see-all {
  display: inline-block;
  margin-top: 30px;
  font-weight: 500;
}

/* 소개 섹션 */
.about {
  padding: 40px 0;
  background-color: #232659;
}

.about h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.experience-item {
  background-color: #2c2f6c;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* 부트캠프 섹션 */
.bootcamp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.bootcamp-card {
  background-color: #2c2f6c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bootcamp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.instructor-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(to bottom, #3a3f8c, #232659);
}

.instructor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.bootcamp-card:hover .instructor-photo {
  opacity: 1;
}

.bootcamp-card h3 {
  background-color: #5865f2;
  color: #fff;
  padding: 15px 20px;
  margin: 0;
  font-size: 1.3rem;
}

.instructor-info {
  padding: 20px;
}

.lead-instructor {
  font-weight: 600;
  color: #00c7ff;
  margin-bottom: 10px;
}

.bootcamp-description {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.bootcamp-details {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.bootcamp-details li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.bootcamp-details li:last-child {
  margin-bottom: 0;
}

.learn-more-btn {
  display: inline-block;
  background-color: #00c7ff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #00a8d9;
  color: #fff;
}

/* 푸터 */
footer {
  background-color: #1a1d45;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 0 0 100%;
  margin-bottom: 30px;
}

.footer-logo h3 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
}

.footer-column a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* 교육 철학 페이지 */
.philosophy-content {
  padding: 40px 0 80px;
  background-color: #232659;
}

.philosophy-icon {
  text-align: center;
  font-size: 4rem;
  margin-bottom: 30px;
}

.philosophy-header {
  text-align: center;
  margin-bottom: 50px;
}

.philosophy-header h1 {
  font-size: 2.8rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.philosophy-body {
  max-width: 900px;
  margin: 0 auto;
}

.opening-statement {
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #00c7ff;
  margin-bottom: 60px;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(0, 199, 255, 0.1),
    rgba(88, 101, 242, 0.1)
  );
  border-radius: 12px;
  border: 1px solid rgba(0, 199, 255, 0.2);
}

.opening-statement p {
  margin-bottom: 10px;
  font-weight: 500;
}

.opening-statement p:last-child {
  margin-bottom: 0;
}

.core-beliefs {
  display: grid;
  gap: 40px;
  margin-bottom: 60px;
}

.belief-section {
  background-color: #2c2f6c;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.belief-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.belief-section h2 {
  color: #00c7ff;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(0, 199, 255, 0.3);
  padding-bottom: 10px;
}

.belief-content {
  line-height: 1.8;
}

.belief-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.belief-content p:last-child {
  margin-bottom: 0;
}

.belief-content strong {
  color: #fff;
  font-weight: 600;
}

.philosophy-conclusion {
  text-align: center;
  margin-top: 50px;
}

.final-statement {
  background: linear-gradient(135deg, #5865f2, #00c7ff);
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  font-size: 1.6rem;
  line-height: 1.8;
  border: none;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
  position: relative;
  overflow: hidden;
}

.final-statement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.1) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.2;
  z-index: 1;
}

.final-statement strong {
  position: relative;
  z-index: 2;
}

/* 반응형 디자인 - Hero 버튼 */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 25px;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    gap: 10px;
  }

  .hero-buttons .btn {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
}

/* 라이팅 피드백 섹션 스타일 */
.lighting-feedback {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #ffffff;
  padding: 80px 0;
}

.lighting-feedback h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #00c7ff;
}

.lighting-feedback .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feedback-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.feedback-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #2a2d5a, #3a3f7a);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0, 199, 255, 0.3);
}

.critique-board-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.critique-board-image:hover {
  transform: scale(2);
}

/* 이미지 팝업 오버레이 */
.image-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-popup-overlay.active {
  display: flex;
  opacity: 1;
}

.image-popup-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 15px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.image-popup-overlay.active img {
  transform: scale(1);
}

.image-popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.image-popup-close:hover {
  opacity: 1;
}

.feedback-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feedback-highlight {
  background: rgba(0, 199, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #00c7ff;
}

.feedback-highlight h3 {
  font-size: 1.8rem;
  color: #00c7ff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedback-highlight p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.feedback-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feedback-features li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.feedback-features li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.feedback-features i {
  color: #00c7ff;
  font-size: 1.2rem;
  margin-top: 3px;
  min-width: 20px;
}

.feedback-features span {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.feedback-quote {
  background: rgba(0, 199, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #ffd700;
  margin-top: 10px;
}

.feedback-quote blockquote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 15px;
}

.feedback-quote cite {
  display: block;
  text-align: right;
  font-size: 1rem;
  color: #ffd700;
  font-weight: 600;
}

/* 라이팅 피드백 섹션 반응형 */
@media (max-width: 992px) {
  .feedback-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .lighting-feedback h2 {
    font-size: 2.4rem;
  }

  .lighting-feedback .section-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .lighting-feedback {
    padding: 60px 0;
  }

  .lighting-feedback h2 {
    font-size: 2rem;
  }

  .lighting-feedback .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

  .feedback-highlight h3 {
    font-size: 1.5rem;
  }

  .feedback-quote blockquote {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .lighting-feedback {
    padding: 40px 0;
  }

  .feedback-highlight,
  .feedback-quote {
    padding: 20px;
  }

  .feedback-features li {
    padding: 12px;
  }
}

/* 얼리버드 하이라이트 스타일 */
.early-bird-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #ff4444, #ff6666);
  border-radius: 25px;
  animation: pulse-glow 2s ease-in-out infinite alternate;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
}

.highlight-icon {
  font-size: 1.2em;
  color: #ffffff;
  animation: bounce 1s ease-in-out infinite;
}

.highlight-text {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.highlight-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 6px 25px rgba(255, 68, 68, 0.6);
    transform: scale(1.02);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* 얼리버드 하이라이트 반응형 */
@media (max-width: 768px) {
  .early-bird-highlight {
    flex-direction: column;
    gap: 8px;
    padding: 15px 20px;
  }

  .highlight-text {
    font-size: 1em;
  }

  .highlight-badge {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .early-bird-highlight {
    margin: 10px -10px 0;
    border-radius: 15px;
  }
}

/* 10 숫자 강조 스타일 */
.ten-highlight {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333333;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1.1em;
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  animation: ten-glow 1.5s ease-in-out infinite alternate;
  display: inline-block;
  transform: scale(1);
  transition: transform 0.2s ease;
}

.ten-highlight:hover {
  transform: scale(1.1);
}

@keyframes ten-glow {
  0% {
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  }
  100% {
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.6);
  }
}

/* "딱 10일" 슈퍼 강조 스타일 */
.super-emphasis {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  background-clip: padding-box;
  -webkit-background-clip: padding-box;

  background-clip: text;
  -webkit-background-clip: text;
  color: transparent; /* 투명으로 만들어야 글자에 그라데이션 입힘 */
  -webkit-text-fill-color: transparent;

  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.15em;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6),
    inset 0 1px 3px rgba(255, 255, 255, 0.4);
  animation: super-pulse 1s ease-in-out infinite alternate;
  display: inline-block;
  transform: scale(1);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.super-emphasis:hover {
  transform: scale(1.1) rotate(1deg);
}

@keyframes super-pulse {
  0% {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6),
      inset 0 1px 3px rgba(255, 255, 255, 0.4);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.9),
      inset 0 1px 3px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
  }
}

/* 반응형 디자인 - 교육 철학 페이지 */
@media (max-width: 768px) {
  .philosophy-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .philosophy-header h1 {
    font-size: 2rem;
  }

  .opening-statement {
    font-size: 1.2rem;
    padding: 20px;
    margin-bottom: 40px;
  }

  .belief-section {
    padding: 25px;
  }

  .belief-section h2 {
    font-size: 1.5rem;
  }

  .belief-content p {
    font-size: 1rem;
  }

  .final-statement {
    font-size: 1.3rem;
    padding: 30px 20px;
  }
}

/* 수강 신청 페이지 스타일 */

/* 수강생 후기 섹션 */
.testimonials-section {
  background-color: #2c2f6c;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: #232659;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  color: #00c7ff;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.testimonial-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial-content p:last-child {
  margin-bottom: 0;
}
.registration-hero {
  background: linear-gradient(135deg, #232659, #2c2f6c);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #00c7ff;
}

@media (max-width: 1200px) {
  .hero-headline {
    font-size: 3.2rem;
  }
}

@media (max-width: 1130px) {
  .hero-headline {
    font-size: 2.8rem;
  }
}

@media (max-width: 920px) {
  .hero-headline {
    font-size: 2.4rem;
  }
}

@media (max-width: 790px) {
  .hero-headline {
    font-size: 2.2rem;
  }
}

@media (max-width: 628px) {
  .hero-headline {
    font-size: 2.1rem;
  }
}

.hero-subheadline {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero-cta {
  margin-bottom: 50px;
}

.hero-cta .btn {
  margin: 10px 15px;
}

.problem-section,
.mid-cta-section,
.testimonials-section,
.pricing-section,
.free-course-section,
.final-cta-section,
.contact-section {
  padding: 80px 0;
}

.problem-section {
  background-color: #2c2f6c;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.problem-card {
  background-color: #232659;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.solution-card {
  background-color: #00c7ff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  margin-top: 20px;
  transition: transform 0.3s ease;
  border: 2px solid #0099cc;
  position: relative;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 199, 255, 0.3);
}

.solution-card p {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* 툴팁 스타일 */
.tooltip-term {
  color: #00ffff;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 700;
  position: relative;
}

.tooltip-term:hover {
  color: #66ffff;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
}

.tooltip-popup {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #232659;
  border: 2px solid #00c7ff;
  border-radius: 8px;
  padding: 15px;
  max-width: 300px;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: none;
}

.tooltip-popup.active {
  display: block;
  animation: tooltipFadeIn 0.3s ease-in-out;
}

.tooltip-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #00c7ff;
}

.tooltip-popup h4 {
  color: #00c7ff;
  margin: 0 0 8px 0;
  font-size: 1rem;
}

.tooltip-popup p {
  color: #fff;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: normal;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.mid-cta-section {
  background: linear-gradient(135deg, #5865f2, #00c7ff);
  text-align: center;
  color: #fff;
}

.pricing-section {
  background-color: #232659;
}

.curriculum-overview {
  margin-bottom: 60px;
}

.curriculum-note {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  text-align: center;
  margin-bottom: 40px;
  font-size: 0.9rem;
}

.curriculum-section {
  margin-bottom: 50px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-header {
  padding: 30px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #2c2f6c, #3a3f8c);
}

.section-header.phase-1 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.section-header.phase-1 h4,
.section-header.phase-1 .phase-description {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-header.phase-2 {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.section-header.phase-2 h4,
.section-header.phase-2 .phase-description {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-header.phase-3 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.section-header.phase-3 h4,
.section-header.phase-3 .phase-description {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.phase-number {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h4 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.phase-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
}

.weeks-container {
  background-color: #232659;
  padding: 0;
}

.week-group {
  padding: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.week-group:last-child {
  border-bottom: none;
}

.group-title {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #00c7ff;
}

.group-title .icon {
  font-size: 1.5rem;
  margin-right: 10px;
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.week-card {
  background-color: #2c2f6c;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.week-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: #00c7ff;
}

.week-card.featured {
  border: 2px solid #00c7ff;
  background: linear-gradient(135deg, #2c2f6c, #3a3f8c);
}

.week-number {
  background: linear-gradient(135deg, #00c7ff, #5865f2);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
}

.week-card h5 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.week-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.week-card li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
}

.week-card li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #00c7ff;
  font-weight: bold;
}

.project-overview {
  background: linear-gradient(135deg, #232659, #2c2f6c);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(0, 199, 255, 0.3);
}

.project-overview h6 {
  color: #00c7ff;
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-align: center;
}

.project-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  background-color: rgba(0, 199, 255, 0.1);
}

.feature-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-content h6 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 5px;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.pricing-card {
  background-color: #2c2f6c;
  border-radius: 12px;
  padding: 35px;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  border: 3px solid #00c7ff;
  background: linear-gradient(135deg, #2c2f6c, #3a3f8c);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00c7ff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00c7ff;
  margin: 20px 0;
}

.original-price {
  text-decoration: none;
  color: #ccc;
  font-size: 1.5rem;
  display: block;
}

.discounted-price {
  color: #00c7ff;
}

.discount-info {
  color: #4ecdc4;
  font-weight: bold;
  margin-bottom: 20px;
}

.plan-image {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.plan-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.pricing-card:hover .plan-image img {
  transform: scale(1.05);
}

.plan-features ul {
  list-style: none;
  padding: 0;
}

.plan-features li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.free-course-section {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: #fff;
}

.free-course-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 15px;
}

.free-course-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

.final-cta-section {
  background: linear-gradient(135deg, #5865f2, #00c7ff);
  text-align: center;
  color: #fff;
}

.cta-buttons {
  margin-top: 15px;
}

.cta-buttons .btn {
  margin: 10px 10px;
}

.final-cta-buttons {
  margin-top: 15px;
}

.urgency-message {
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.urgency-message p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.urgency-message p:last-child {
  margin-bottom: 0;
}

.contact-section {
  background-color: #232659;
}

/* Refund Policy Section */
.refund-policy-section {
  background-color: #232659;
  padding: 80px 0;
}

.refund-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 50px;
  line-height: 1.6;
}

.refund-content {
  max-width: 900px;
  margin: 0 auto;
}

.refund-card {
  background-color: #2c2f6c;
  padding: 35px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.refund-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.refund-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(88, 101, 242, 0.3);
}

.refund-card h4 {
  color: #00c7ff;
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 15px;
}

.refund-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 15px;
}

.refund-card ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.refund-card ul li {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.refund-card ul li::before {
  content: "•";
  color: #00c7ff;
  font-size: 1.2rem;
  position: absolute;
  left: 5px;
  top: -2px;
}

.refund-card a {
  color: #00c7ff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.refund-card a:hover {
  color: #5865f2;
}

.refund-note {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 10px;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.2);
  border-left: 3px solid rgba(88, 101, 242, 0.5);
  border-radius: 4px;
}

.refund-subsection {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.refund-subsection:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.refund-button-label {
  display: inline-block;
  background-color: #03863a;
  color: #ffffff;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-method {
  background-color: #2c2f6c;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

/* 반응형 - 수강 신청 페이지 */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subheadline {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .free-course-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pricing-plans {
    grid-template-columns: 1fr;
  }

  .curriculum-section {
    margin-bottom: 40px;
  }

  .section-header {
    padding: 20px;
  }

  .section-header h4 {
    font-size: 1.5rem;
  }

  .weeks-grid {
    grid-template-columns: 1fr;
  }

  .week-group {
    padding: 20px;
  }

  .week-card {
    padding: 20px;
  }

  .project-features {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 15px;
  }

  .refund-card {
    padding: 25px;
  }

  .refund-card h3 {
    font-size: 1.2rem;
  }

  .refund-intro {
    font-size: 1rem;
  }
}

/* Callout 스타일 */
.callout {
  margin: 20px 0;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid;
  background-color: rgba(255, 255, 255, 0.05);
  position: relative;
}

.callout-info {
  border-left-color: #00c7ff;
  background-color: rgba(0, 199, 255, 0.1);
}

.callout-warning {
  border-left-color: #ffd700;
  background-color: rgba(255, 215, 0, 0.1);
}

.callout-error {
  border-left-color: #ff4444;
  background-color: rgba(255, 68, 68, 0.1);
}

.callout-success {
  border-left-color: #4ecdc4;
  background-color: rgba(78, 205, 196, 0.1);
}

.callout-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.1em;
}

.callout-content {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.callout-content p {
  margin-bottom: 10px;
}

.callout-content p:last-child {
  margin-bottom: 0;
}

/* Callout 반응형 */
@media (max-width: 768px) {
  .callout {
    margin: 15px 0;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .callout {
    margin: 10px -10px;
    border-radius: 0;
    padding: 15px 20px;
  }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .article-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-btn {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }
}

/* 가격 임팩트 애니메이션 */
.plan-header .price {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 할부 정보 스타일 */
.installment-info {
  font-size: 0.85rem;
  color: #4a9eff;
  margin-top: 8px;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
  opacity: 1;
}

/* 기본 상태(애니메이션 대상의 초기 스타일) */
.plan-header .original-price {
  display: inline-block;
  position: relative;
  will-change: transform, opacity, top;
}

.plan-header .discounted-price {
  display: inline-block;
  position: relative;
  will-change: transform, opacity, top;
  opacity: 0;
  visibility: hidden;
}

/* 원래 가격: 빨간 취소선 + 흔들림 + 사라짐 */
.plan-header.animate-price .original-price {
  color: #ccc;
  animation: priceStrikeOut 1.5s ease 0.8 forwards;
}

/* 할인 가격: 딜레이 후 임팩트 있는 등장 */
.plan-header.animate-price .discounted-price {
  font-weight: 800;
  transform: scale(0.3);
  opacity: 0;
  visibility: visible;
  animation: priceImpactIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.5s
    forwards;
}

/* 키프레임 - 원가 취소선 애니메이션 */
@keyframes priceStrikeOut {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    text-decoration: none;
    color: #ccc;
  }
  30% {
    transform: scale(1.05) rotate(-1deg);
    text-decoration: none;
    color: #ccc;
  }
  40% {
    transform: scale(0.98) rotate(1deg);
    text-decoration: none;
    color: #ccc;
  }
  60% {
    transform: scale(0.98) rotate(1deg);
    text-decoration: line-through;
    text-decoration-color: #ff4444;
    text-decoration-thickness: 3px;
    color: #999;
  }
  80% {
    transform: scale(1.02) rotate(-0.5deg);
    text-decoration: line-through;
    text-decoration-color: #ff4444;
    text-decoration-thickness: 3px;
    color: #999;
  }
  100% {
    opacity: 0.7;
    transform: scale(0.9) rotate(0deg) translateY(-5px);
    text-decoration: line-through;
    text-decoration-color: #ff4444;
    text-decoration-thickness: 3px;
    color: #aaa;
  }
}

/* 키프레임 - 할인가 임팩트 등장 */
@keyframes priceImpactIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
    filter: blur(5px);
  }
  30% {
    opacity: 0.8;
    transform: scale(1.2) rotate(2deg);
    filter: blur(2px);
  }
  60% {
    opacity: 1;
    transform: scale(0.95) rotate(-1deg);
    filter: blur(0px);
    text-shadow: 0 0 20px rgba(0, 199, 255, 0.6);
  }
  80% {
    transform: scale(1.08) rotate(0.5deg);
    text-shadow: 0 0 25px rgba(0, 199, 255, 0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0px);
    text-shadow: 0 0 15px rgba(0, 199, 255, 0.4);
  }
}

/* 접근성: 모션 최소화 선호 시 애니메이션 비활성화 */
@media (prefers-reduced-motion: reduce) {
  .plan-header.animate-price .original-price,
  .plan-header.animate-price .discounted-price {
    animation: none !important;
    opacity: 1;
    transform: none;
    top: 0;
    text-decoration: line-through;
    text-decoration-color: #ff4444;
    filter: none;
    text-shadow: none;
  }
}

.disabled-button {
  pointer-events: none; /* 마우스 상호작용 차단 */
  opacity: 0.6; /* 흐리게 */
  cursor: not-allowed; /* 비활성 커서 */
  filter: grayscale(30%); /* 살짝 탈색 (선택) */
}

/* ========================================
   로드맵 테이블 스타일
   ======================================== */

.roadmap-table-container {
  margin: 40px 0 60px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.roadmap-table-container h4 {
  text-align: center;
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.roadmap-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.roadmap-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.roadmap-table thead th {
  padding: 18px 16px;
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 1.05em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.roadmap-table thead th:first-child {
  border-top-left-radius: 12px;
}

.roadmap-table thead th:last-child {
  border-top-right-radius: 12px;
}

.roadmap-table tbody tr {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.roadmap-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
  transform: translateX(4px);
}

.roadmap-table tbody td {
  padding: 20px 16px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
  font-size: 1em;
  color: #495057;
  vertical-align: middle;
}

/* Part별 색상 스타일 */
.roadmap-part-1 {
  border-left-color: #4a90e2 !important;
}

.roadmap-part-1:hover {
  background: rgba(74, 144, 226, 0.05) !important;
}

.roadmap-part-2 {
  border-left-color: #50c878 !important;
}

.roadmap-part-2:hover {
  background: rgba(80, 200, 120, 0.05) !important;
}

.roadmap-part-3 {
  border-left-color: #9b59b6 !important;
}

.roadmap-part-3:hover {
  background: rgba(155, 89, 182, 0.05) !important;
}

/* Part 라벨 스타일 */
.roadmap-part-label {
  font-size: 1.1em;
  font-weight: 700;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #2c3e50;
  padding: 24px 16px !important;
  text-align: center !important;
}

.roadmap-part-1 .roadmap-part-label {
  color: #4a90e2;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.roadmap-part-2 .roadmap-part-label {
  color: #50c878;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.roadmap-part-3 .roadmap-part-label {
  color: #9b59b6;
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

/* 주차 스타일 */
.roadmap-week {
  font-weight: 700;
  color: #2c3e50;
  font-size: 1.05em;
  min-width: 100px;
}

/* 코드 태그 스타일 */
.roadmap-table code {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  display: inline-block;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .roadmap-table-container {
    padding: 20px;
  }

  .roadmap-table-container h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .roadmap-table thead th,
  .roadmap-table tbody td {
    padding: 14px 12px;
    font-size: 0.95em;
  }

  .roadmap-part-label {
    padding: 18px 12px !important;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .roadmap-table-container {
    padding: 15px;
    margin: 30px 0 40px 0;
  }

  .roadmap-table-container h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
  }

  /* 모바일에서는 카드 형식으로 변경 */
  .roadmap-table,
  .roadmap-table thead,
  .roadmap-table tbody,
  .roadmap-table tr,
  .roadmap-table td,
  .roadmap-table th {
    display: block;
  }

  .roadmap-table thead {
    display: none;
  }

  .roadmap-table tbody tr {
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    overflow: hidden;
  }

  .roadmap-table tbody tr:hover {
    transform: none;
  }

  .roadmap-table tbody td {
    padding: 14px 16px;
    text-align: left !important;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 140px;
  }

  .roadmap-table tbody td:before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
  }

  .roadmap-part-label {
    padding: 16px !important;
    font-size: 1.1em;
    text-align: center !important;
    padding-left: 16px !important;
  }

  .roadmap-part-label:before {
    content: "";
  }

  .roadmap-week {
    font-size: 1em;
  }

  .roadmap-table code {
    display: inline-block;
    margin-top: 4px;
  }
}

/* 매우 작은 화면 */
@media (max-width: 480px) {
  .roadmap-table tbody td {
    padding-left: 120px;
    font-size: 0.9em;
  }

  .roadmap-table tbody td:before {
    font-size: 0.75em;
    left: 12px;
  }

  .roadmap-table code {
    font-size: 0.85em;
    padding: 3px 10px;
  }
}

/* ========================================
   주차별 상세 로드맵 스타일
   ======================================== */

.detailed-roadmap {
  margin: 60px 0;
  padding: 40px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.detailed-roadmap h4 {
  text-align: center;
  font-size: 2.2em;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.roadmap-intro {
  text-align: center;
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* 주차별 카드 스타일 */
.week-detail-card {
  background: linear-gradient(135deg, #2c2f6c 0%, #232659 100%);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  border: 2px solid rgba(0, 199, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.week-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 199, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.week-detail-card:hover {
  transform: translateY(-5px);
  border-color: #00c7ff;
  box-shadow: 0 12px 40px rgba(0, 199, 255, 0.2);
}

.week-detail-card:hover::before {
  left: 100%;
}

.week-detail-card.featured {
  border: 3px solid #ffd700;
  background: linear-gradient(135deg, #3a3f8c 0%, #2c2f6c 100%);
}

.week-detail-card.featured:hover {
  border-color: #ffd700;
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
}

/* 주차 헤더 */
.week-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 199, 255, 0.2);
}

.week-header .week-number {
  background: linear-gradient(135deg, #00c7ff 0%, #5865f2 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 199, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.week-detail-card.featured .week-header .week-number {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #333;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.week-header h5 {
  color: #fff;
  font-size: 1.6em;
  font-weight: 700;
  margin: 0;
  flex: 1;
}

/* 주차 콘텐츠 */
.week-content {
  display: grid;
  gap: 25px;
  margin-bottom: 30px;
}

.week-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #00c7ff;
  transition: all 0.3s ease;
}

.week-section:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateX(5px);
}

.week-section.challenge {
  border-left-color: #ffd700;
  background: rgba(255, 215, 0, 0.05);
}

.week-section.challenge:hover {
  background: rgba(255, 215, 0, 0.1);
}

.week-section h6 {
  color: #00c7ff;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.week-section.challenge h6 {
  color: #ffd700;
}

.week-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.week-section li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
  font-size: 1em;
}

.week-section li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #00c7ff;
  font-weight: bold;
  font-size: 1.2em;
}

.week-section.challenge li:before {
  color: #ffd700;
}

.week-section li:last-child {
  margin-bottom: 0;
}

/* 주차 이미지 */
.week-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.week-image-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0, 199, 255, 0.2);
  transition: all 0.3s ease;
}

.week-image-item:hover {
  transform: translateY(-5px);
  border-color: #00c7ff;
  box-shadow: 0 8px 25px rgba(0, 199, 255, 0.3);
}

.week-image-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.week-image-item:hover img {
  transform: scale(1.05);
}

.image-caption {
  padding: 15px;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.95em;
  background: rgba(0, 0, 0, 0.4);
  margin: 0;
}

/* 프로젝트 개요 */
.project-overview {
  background: rgba(0, 199, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid rgba(0, 199, 255, 0.3);
}

.project-overview h6 {
  color: #00c7ff;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.project-phases {
  display: grid;
  gap: 20px;
}

.project-phase {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-left: 4px solid #00c7ff;
  transition: all 0.3s ease;
}

.project-phase:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: translateX(10px);
  border-left-color: #ffd700;
}

.phase-icon {
  font-size: 2em;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 199, 255, 0.3));
}

.project-phase h6 {
  color: #00c7ff;
  font-size: 1.1em;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-align: left;
}

.project-phase p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95em;
}

/* 반응형 디자인 - 주차별 상세 로드맵 */
@media (max-width: 1024px) {
  .detailed-roadmap {
    padding: 30px;
  }

  .detailed-roadmap h4 {
    font-size: 1.9em;
  }

  .week-detail-card {
    padding: 25px;
  }

  .week-header h5 {
    font-size: 1.4em;
  }

  .week-images {
    gap: 15px;
  }

  .week-image-item img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .detailed-roadmap {
    padding: 25px 20px;
    margin: 40px 0;
  }

  .detailed-roadmap h4 {
    font-size: 1.6em;
    margin-bottom: 10px;
  }

  .roadmap-intro {
    font-size: 1.05em;
    margin-bottom: 30px;
  }

  .week-detail-card {
    padding: 20px;
    margin-bottom: 25px;
  }

  .week-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .week-header .week-number {
    padding: 6px 16px;
    font-size: 0.85em;
  }

  .week-header h5 {
    font-size: 1.3em;
  }

  .week-section {
    padding: 15px;
  }

  .week-section h6 {
    font-size: 1.1em;
    margin-bottom: 12px;
  }

  .week-section li {
    font-size: 0.95em;
    padding-left: 20px;
  }

  .week-images {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
  }

  .week-image-item img {
    height: 220px;
  }

  .image-caption {
    padding: 12px;
    font-size: 0.9em;
  }

  .project-overview {
    padding: 20px;
  }

  .project-overview h6 {
    font-size: 1.3em;
    margin-bottom: 20px;
  }

  .project-phase {
    padding: 15px;
    gap: 12px;
  }

  .phase-icon {
    font-size: 1.5em;
  }

  .project-phase h6 {
    font-size: 1em;
  }

  .project-phase p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .detailed-roadmap {
    padding: 20px 15px;
    margin: 30px 0;
    border-radius: 15px;
  }

  .detailed-roadmap h4 {
    font-size: 1.4em;
  }

  .roadmap-intro {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .week-detail-card {
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .week-header .week-number {
    padding: 5px 14px;
    font-size: 0.8em;
  }

  .week-header h5 {
    font-size: 1.15em;
  }

  .week-section {
    padding: 12px;
  }

  .week-section h6 {
    font-size: 1em;
  }

  .week-section li {
    font-size: 0.9em;
    padding-left: 18px;
    margin-bottom: 8px;
  }

  .week-image-item img {
    height: 180px;
  }

  .image-caption {
    padding: 10px;
    font-size: 0.85em;
  }

  .project-overview {
    padding: 15px;
  }

  .project-overview h6 {
    font-size: 1.15em;
    margin-bottom: 15px;
  }

  .project-phase {
    flex-direction: column;
    padding: 12px;
    gap: 8px;
  }

  .phase-icon {
    font-size: 1.3em;
  }

  .project-phase h6 {
    font-size: 0.95em;
    margin-bottom: 5px;
  }

  .project-phase p {
    font-size: 0.85em;
  }
}
