/* 기본 스타일 */
* {
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Pretendard Variable", sans-serif;
}
body {
  background: #f8f9fc;
  color: #1d1d1f;
  line-height: 1.6;
  text-align: center;
  padding: 40px 15px;
}

/* 메인 컨테이너 */
.container {
  max-width: 720px;
  margin: auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.logo-container {
  display: inline-flex; /* ✅ 가로 정렬 유지 */
  width: 280px;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  width: 160px; /* ✅ 로고 크기 줄이기 */
  max-width: 100%;
}

.logo-text {
  font-size: 18px; /* ✅ 텍스트 크기 줄이기 */
  font-weight: bold;
  color: #254be5;
}

/* ✅ 모바일에서는 로고 위에 텍스트 배치 */
@media (max-width: 600px) {
  .logo-container {
    flex-direction: column;
    gap: 5px;
  }
}

/* 카드박스 스타일 (프로모션 부분) */
.promo-card {
  background: #254be5;
  color: white;
  padding: 10px;
  padding-top: 20px;
  border-radius: 16px;
  margin: 0px;
  text-align: center;
}
.promo-card h2 {
  font-size: 22px;
  color: white;
  line-height: 1.4;
  word-break: keep-all;
}

/* 제목 */
h1 {
  font-size: 26px;
  font-weight: bold;
  color: #254be5;
  margin-bottom: 15px;
}
h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
}

/* 버튼 스타일 */
/* 버튼 공통 */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 280px;
  margin: 15px auto;
  padding: 14px 16px;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;

  border-radius: 25px;
  text-decoration: none;
  white-space: nowrap;

  color: #ffffff !important; /* ✅ 핵심: 기본 상태도 무조건 흰색 */
}

/* 프리미엄 / 플러스 버튼 */
.btn-primary-sec {
  background-color: #254be5;
  border: 2px solid #254be5;
  color: #ffffff !important; /* ✅ 다시 한 번 고정 */
}

/* hover 상태 (색 변화 없이 유지) */
.btn-primary-sec:hover {
  background-color: #2d2de8;
  border-color: #2d2de8;
  color: #ffffff !important;
}
.btn-primary {
  background: #fff;
  color: #1c49ff;
  border: 2px solid #fff;
}

.btn-primary:hover {
  background: #f0f0ff;
  border: 2px solid #254be5;
}
.btn-secondary {
  background: #dd4d1d;
  color: #fff;
}
.btn-secondary:hover {
  background: #dd4d1d;
}

/* 일반 카드 스타일 */
.card {
  background: #f4f6fb;
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
  text-align: left;
}
.card h3 {
  font-size: 18px;
  color: #1c49ff;
  margin-bottom: 10px;
}
.card p {
  font-size: 16px;
  color: #555;
}

/* 이미지 스타일 */
img {
  width: 100%;
  max-width: 650px;
  margin: 20px auto;
  border-radius: 12px;
}

/* =========================================================
   ✅ 아코디언 (클릭하기 좋은 카드형 UI로 교체)
   - 기존 .accordion / .accordion-header / .accordion-content 교체
   - JS에서 header에 .is-open 붙이면 열린 상태 강조 + 화살표 회전
   ========================================================= */

.accordion {
  max-width: 720px;
  margin: 12px auto;
  text-align: left; /* ✅ 읽기 편하게 */
}

/* 버튼(헤더) */
.accordion-header {
  width: 100%;
  background: #ffffff; /* ✅ 카드형 */
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 800;
  padding: 16px 16px;
  border: 1px solid #e7e9f3;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;

  display: flex; /* ✅ 텍스트 + 화살표 정렬 */
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* hover */
.accordion-header:hover {
  transform: translateY(-1px);
  border-color: #cfd5ff;
  box-shadow: 0px 10px 24px rgba(37, 75, 229, 0.12);
}

/* active */
.accordion-header:active {
  transform: translateY(0px);
}

/* 화살표 */
.accordion-header::after {
  content: "▾";
  font-size: 18px;
  line-height: 1;
  color: #254be5;
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}

/* 열린 상태( JS에서 .is-open 붙임 ) */
.accordion-header.is-open {
  border-color: #254be5;
  box-shadow: 0px 12px 28px rgba(37, 75, 229, 0.16);
}

.accordion-header.is-open::after {
  transform: rotate(180deg);
}

/* 내용 */
.accordion-content {
  display: none; /* ✅ 기본 닫힘 */
  background: #f4f6fb;
  padding: 14px 16px;
  border-radius: 14px;
  margin-top: 8px;
  font-size: 14px;
  color: #333;
  border: 1px solid #eef0fb;
  box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.04);
  text-align: left;
}

/* 내용 안 리스트 */
.accordion-content ul {
  list-style: none;
  padding-left: 0;
}
.accordion-content ul li {
  margin-bottom: 6px;
}

/* 내용 안 링크 */
.accordion-content a {
  color: #254be5;
  text-decoration: underline;
  font-weight: 700;
}

/* ========================================================= */

/* 🎥 반응형 비디오 컨테이너 */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 비율 유지 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  top: 10px;
  background: black;
  margin-bottom: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.highlight-red {
  color: #fe4104; /* 🔥 빨간색으로 변경 */
  font-weight: bold;
}

/* 할인 코드 설명 부분 */
.small-text {
  font-size: 14px;
  color: #777;
  line-height: 1.4;
  margin-top: 10px;
}

/* 강조 텍스트 스타일 */
.highlight-gray {
  color: #555;
  font-weight: bold;
}

/* 멤버십 비교 이미지 스타일 */
.membership-img {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 12px;
}

.text-left {
  text-align: left;
  padding-left: 10px;
}

/* 푸터 */
.footer {
  background: #f8f8f8;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-top: 30px;
}

.footer-container {
  max-width: 720px;
  margin: auto;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-links li {
  display: inline;
}

.footer-links a {
  color: #777;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  color: #254be5;
}

.footer-contact a {
  color: #777;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #254be5;
}

.text-small {
  font-size: 8px;
  color: rgb(213, 208, 208);
}

a {
  text-decoration: none;
}

.feature-wrapper {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.feature-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: left;
  margin-bottom: 10px;
  line-height: 1.4;
}

.feature-container {
  margin-top: 10px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.feature {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s ease-in-out;
  justify-content: center;
}

.feature:hover {
  background: #f7f7f7;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef1ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgb(79, 79, 219);
  margin-right: 15px;
}

.feature-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
  margin-left: 10px;
}

.feature-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  align-items: left;
}

strong {
  color: rgb(79, 79, 219);
}

.container-video-main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.video-review-section {
  text-align: center;
  margin: 40px auto;
  max-width: 900px;
}

.video-container-review {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 900px;
}

.video-card {
  flex: 1 1 45%;
  max-width: 400px;
  min-width: 300px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.video-card h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.video-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

iframe {
  width: 100%;
  height: 200px;
}

.membership-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
  flex-wrap: nowrap;
}

.membership-card {
  flex: 1;
  min-width: 48%;
  text-align: center;
  background: #f8f9fc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.membership-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.membership-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.membership-features {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    padding: 20px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 0;
  }

  .membership-container {
    flex-direction: column;
    align-items: center;
  }

  .membership-card {
    width: 100%;
    max-width: 280px;
  }

  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  /* ✅ 모바일에서도 카드형 아코디언 유지 */
  .accordion-header {
    font-size: 14px;
    padding: 12px 12px;
  }

  .accordion-content {
    font-size: 12px;
    padding: 12px 12px;
  }

  .feature-title {
    font-size: 14px;
    line-height: 1.3;
  }

  .feature {
    padding: 6px;
  }

  .feature h3 {
    font-size: 0.8rem;
  }

  .feature p {
    font-size: 0.7rem;
  }

  .feature-icon {
    display: none;
  }

  .summery h3 {
    font-size: 1.1rem;
  }
  .summery p {
    font-size: 0.9rem;
  }
  .promo-period {
    color: #ffffff;
  }
}
