/* ===== Font Imports ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables / Design Tokens ===== */
:root {
  --font-primary: 'Paperlogy', 'Noto Sans KR', sans-serif;
  --font-secondary: 'Paperlogy', 'Noto Sans KR', sans-serif;

  --color-navy: #32325e;
  --color-green-accent: #57a900;
  --color-green-dark: #278c13;
  --color-teal-dark: #005e57;
  --color-red-orange: #ff3c00;
  --color-black: #000000;
  --color-gray-dark: #333333;
  --color-gray-medium: #767676;
  --color-gray-light: #eeeeee;
  --color-white: #ffffff;

  --content-max-width: 1200px;
  --mobile-padding: 25px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: var(--color-white);
}

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

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

ul, ol {
  list-style: none;
}

/* ===== Layout Utility ===== */
.page-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.section-inner {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== Hero Section ===== */
.hero-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-section .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-section .hero-pc {
  display: block;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-section .hero-mobile {
  display: none;
  width: 100%;
}

.header-mobile {
  display: none;
  width: 100%;
}

/* ===== Event Sections Common ===== */
.event-section {
  width: 100%;
  padding: 120px 0;
  text-align: center;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 250px;
  height: 76px;
  margin-bottom: 14px;
}

.event-badge-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.event-badge-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 54px;
  padding-left: 20px;
}

.badge-label {
  font-size: 20px;
  letter-spacing: -0.8px;
  color: var(--color-green-accent);
}

.badge-number {
  font-size: 24px;
  letter-spacing: -0.96px;
  color: var(--color-gray-dark);
}

.event-title-sub {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.56px;
  color: var(--color-gray-dark);
  margin-bottom: 0;
}

.event-title-main {
  font-family: var(--font-primary);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -3.12px;
  line-height: 56px;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.event-description {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-black);
  margin-bottom: 20px;
}

.event-card-img {
  display: block;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto 30px;
}

/* Mobile-only assets */
.event-card-img.mobile-only {
  display: none;
}

/* ===== Notice Section ===== */
.notice-section {
  text-align: left;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.notice-title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.72px;
  line-height: 18px;
  color: var(--color-black);
  margin-bottom: 18px;
  display: inline-block;
}

.notice-text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.52px;
  line-height: 28px;
  color: var(--color-black);
}

.notice-text li {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.52px;
  line-height: 22px;
  color: var(--color-black);

}

.notice-text li::before {
  content: 'กค';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.notice-text.numbered li {
  padding-left: 0;
  counter-increment: notice-counter;
}

.notice-text.numbered li::before {
  content: counter(notice-counter) '.';
  position: static;
  margin-right: 6px;
  font-weight: 400;
}

.notice-text.numbered {
  counter-reset: notice-counter;
}

/* ===== E1 Section ===== */
.event-01 {
  background: linear-gradient(180deg, #fffefa 0%, #f4fee8 100%);
}

.e1-title-image {
  display: none;
}

/* ===== E2 Section ===== */
.event-02 {
  background: linear-gradient(180deg, #f5f0e0 0%, #faf7ee 100%);
}

/* ===== E3 Section - Course Cards ===== */
.event-03 {
  background: linear-gradient(180deg, #f3fff9 0%, #f3fff9 68.269%, #bbf1b2 100%);
}

.course-cards {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 10px;
}

.course-card {
  flex: 0 1 310px;
  max-width: 310px;
  overflow: hidden;
  position: relative;
  background-image: url('/landing/promotion/assets_20263016/e3-card-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 26px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 280px;
}

.course-card .coupon-button-span{color:#fff;font-size:18px;}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.course-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: #ffffff;
  border-radius: 0;
  align-self: stretch;
}

.course-card-header .discount-label {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-green-dark);
}

.course-card-header .discount-value {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 900;
  color: var(--color-red-orange);
}

.course-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
  align-items: flex-start;
}

.course-name {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 400;
  color: var(--color-black);
  text-align: left;
  line-height: 1.25;
  width: 100%;
}

.course-name span{font-size: 26px;}

.course-name .light {
  font-weight: 200;
}

.price-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.original-price-row {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
}

.original-price {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 200;
  color: var(--color-gray-dark);
  text-decoration: line-through;
}

.price-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--color-gray-dark);
  width: 18px;
  height: 10px;
}

.price-arrow img {
  width: 100%;
  height: auto;
}

.discounted-price {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  color: var(--color-red-orange);
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.coupon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-teal-dark);
  color: var(--color-white);
  height: 50px;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  margin: auto -26px -20px;
  transition: background-color 0.3s ease;
}

.coupon-button:hover {
  background-color: #004a44;
}

.coupon-button .chevron {
  width: 19px;
  height: 19px;
  filter: brightness(0) invert(1);
}

/* ===== E4 Section ===== */
.event-04 {
  background: linear-gradient(180deg, #fdfce6 0%, #e4ffb4 100%);
  padding-bottom: 40px;
}

.e4-badge-mobile {
  display: none;
}

.e4-header {
  margin-bottom: 20px;
}

.e4-main-title {
  font-family: var(--font-primary);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -3.12px;
  line-height: 56px;
  color: var(--color-gray-dark);
  margin-bottom: 14px;
}
.e4-title-pc {
  font-family: var(--font-primary);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -3.12px;
  line-height: 56px;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.e4-description {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(51, 51, 51, 0.93);
  margin-bottom: 14px;
}

.e4-participation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.participation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-teal-dark);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  padding: 5px 14px;
  border-radius: 20px;
}

.participation-date {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  color: #090909;
}

.e4-quiz-wrapper {
  position: relative;
  max-width: 750px;
  margin: 0 auto 30px;
}

.e4-quiz-wrapper .e4-quiz-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* Quiz content (button + note) */
.e4-quiz-content {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 80%;
}

.e4-participate-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  padding: 20px 30px;
  background-color: var(--color-teal-dark, #005e57);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.76px;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.e4-participate-note {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: #555;
  text-align: center;
}

/* Quiz mobile card */
.e4-quiz-mobile {
  display: none;
  position: relative;
}

.e4-quiz-mobile .e4-quiz-bg-mobile {
  width: 100%;
  height: auto;
  display: block;
}

.prize-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: var(--content-max-width);
  margin: 0 auto 30px;
  padding: 0 40px;
  text-align: left;
}

.prize-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-teal-dark);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.prize-text {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-gray-dark);
}

/* ===== Footer / Consulting Section ===== */
.consulting-section {
  background-color: var(--color-white);
  border-top: 1px solid #ddd;
  padding: 40px 0;
}

.consulting-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.contact-info-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-title {
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.36px;
  line-height: 20px;
  color: var(--color-black);
}

.contact-hours {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: -0.26px;
  line-height: 16px;
  color: var(--color-gray-medium);
}

.contact-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-gray-light);
  padding: 16px 28px;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.contact-btn:hover {
  background-color: #e0e0e0;
}

.contact-btn .label {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 20px;
  color: var(--color-black);
}

.contact-btn .value {
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.36px;
  line-height: 20px;
  color: var(--color-black);
}

.contact-btn .arrow-icon {
  width: 13px;
  height: 22px;
}

/* ===== Gradient Backgrounds for E3 Cards ===== */
.e3-bg-wrapper {
  background: linear-gradient(180deg, transparent 0%, #e8f5d0 30%, #c5e89a 70%, #a5d86a 100%);
  padding: 50px 0;
}

/* ===== Section Divider ===== */
.section-divider {
  height: 0;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 1;
  transform: none;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .hero-section .hero-bg,
  .hero-section .hero-pc {
    display: none;
  }

  .hero-section .hero-mobile {
    display: block;
  }

  .header-mobile {
    display: block;
  }

  .section-inner,
  .notice-section,
  .course-cards,
  .prize-row {
    padding: 0 var(--mobile-padding);
  }

  .event-section {
    padding: 120px 0 40px;
  }

  .event-badge {
    width: 250px;
    height: 76px;
  }

  .event-badge-text {
    padding-left: 14px;
    gap: 8px;
  }

  .badge-label {
    font-size: 22px;
  }

  .badge-number {
    font-size: 26px;
  }

  .event-title-sub {
    font-size: 28px;
  }

  .event-title-main {
    font-size: 44px;
    letter-spacing: -2.6px;
    line-height: 52px;
  }

  .event-description {
    font-size: 18px;
    line-height: 26px;
  }

  /* E1: Show mobile title image */
  .e1-title-image {
    display: block;
    width: calc(100% - 50px);
    margin: 0 auto 20px;
  }

  .e1-pc-title {
    display: none;
  }

  /* Card images: Show mobile, hide PC */
  .event-card-img.pc-only {
    display: none;
  }

  .event-card-img.mobile-only {
    display: block;
    width: calc(100% - 50px);
    margin: 0 auto 20px;
  }

  /* E3 Course Cards */
  .course-cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .course-card {
    flex: 0 1 auto;
    max-width: 410px;
    min-width: 0;
    width: calc(100% - 50px);
    height: auto;
    padding: 30px 24px 24px;
    gap: 10px;
  }

  .course-card-header {
    align-self: stretch;
    border-radius: 0;
    padding: 10px 20px;
    margin: 0;
  }

  .course-card-body {
    justify-content: flex-start;
    gap: 6px;
  }

  .course-name {
    font-size: 28px;
  }

  .discount-label,
  .discount-value {
    font-size: 24px;
  }

  .original-price {
    font-size: 20px;
  }

  .price-arrow {
    width: 20px;
    height: 12px;
  }

  .discounted-price {
    font-size: 34px;
    line-height: 40px;
  }

  .coupon-button {
    font-size: 20px;
    height: 50px;
    margin: auto 0 0;
    margin-top: 20px;
  }

  /* E4 */
  .event-04 {
    background: linear-gradient(180deg, #f7f5ef 0%, #f7f5ef 60%, #edf7d0 90%, #d5eea0 100%);
  }

  .e4-badge-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 250px;
    height: 76px;
    margin-bottom: 20px;
  }

  .e4-header {
    display: none;
  }

  .e4-main-title {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -3px;
  }
    .e4-title-mobile {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -3px;
	font-weight: 300;
  line-height: 56px;
  color: var(--color-navy);
  }

  .e4-description {
    font-size: 16px;
    line-height: 26px;
  }

  .e4-participate-btn {
    font-size: 20px;
    padding: 6px 14px;
    max-width: 130px;
    line-height: 1.2;
  }

  .e4-participate-note {
    font-size: 10px;
  }

  .e4-quiz-mobile .e4-quiz-content {
    bottom: 50%;
    gap: 8px;
  }

  .e4-quiz-wrapper.pc-only {
    display: none;
  }

  .e4-quiz-mobile {
    display: block;
    width: calc(100% - 50px);
    margin: 0 auto 20px;
    position: relative;
  }

  .e4-participation {
    display: none;
  }

  .e4-participation-mobile {
    display: block;
    width: calc(100% - 20px);
    margin: 0 auto 20px;
  }

  .participation-badge,
  .participation-date {
    font-size: 16px;
  }

  .prize-label {
    font-size: 16px;
    padding: 5px 14px;
  }

  .prize-text {
    font-size: 16px;
    line-height: 26px;
  }

  .notice-title {
    font-size: 20px;
  }

  .notice-text {
    font-size: 16px;
    line-height: 28px;
  }

  /* Footer */
  .consulting-section {
    display: none;
  }

  .notice-section {
    padding: 0 var(--mobile-padding);
  }
}

@media (min-width: 769px) {
  .e4-participation-mobile {
    display: none;
  }
}

/* ===== Print Styles ===== */
@media print {
  .consulting-section {
    page-break-before: always;
  }
}
