/* ===== Register Page Styles - win78 ===== */
.page-register {
  color: #333333;
  background-color: #FFFFFF;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* ------ Hero Section ------ */
.page-register__hero-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 0;
  box-sizing: border-box;
}

.page-register__hero-image-wrap {
  width: 100%;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.page-register__hero-content {
  text-align: center;
  padding: 24px 0;
}

.page-register__main-title {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: #017439;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.page-register__hero-desc {
  font-size: 1rem;
  color: #444444;
  max-width: 700px;
  margin: 0 auto 20px;
}

.page-register__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-register__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn--register {
  background-color: #C30808;
  color: #FFFF00;
}

.page-register__btn--login {
  background-color: #C30808;
  color: #FFFF00;
}

.page-register__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ------ Steps Section ------ */
.page-register__steps-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.page-register__section-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 8px;
}

.page-register__section-subtitle {
  text-align: center;
  color: #666666;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.page-register__step-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px 20px;
  border-top: 4px solid #017439;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #017439;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.page-register__step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #017439;
  margin: 0 0 8px;
}

.page-register__step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555555;
}

/* ------ Why Section ------ */
.page-register__why-section {
  background: #f0f4f1;
  padding: 32px 16px 48px;
}

.page-register__why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__why-item {
  background: #FFFFFF;
  border-radius: 12px;
  text-align: center;
  padding: 24px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__why-item img {
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  margin-bottom: 12px;
}

.page-register__why-item h3 {
  color: #017439;
  font-size: 1rem;
  margin: 0 0 8px;
}

.page-register__why-item p {
  font-size: 0.9rem;
  color: #555555;
}

/* ------ Bonus Section ------ */
.page-register__bonus-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.page-register__bonus-content {
  flex: 1;
}

.page-register__bonus-content h2 {
  font-size: 1.5rem;
  color: #017439;
  margin: 0 0 16px;
}

.page-register__bonus-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-register__bonus-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 1rem;
  color: #444444;
}

.page-register__bonus-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #017439;
  font-weight: 700;
}

.page-register__bonus-img {
  width: 45%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

/* ------ FAQ Section ------ */
.page-register__faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.page-register__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-register__faq-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px 20px;
  border-left: 4px solid #017439;
}

.page-register__faq-item summary {
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  outline: none;
}

.page-register__faq-item p {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: #555555;
}

/* ------ Guide Section ------ */
.page-register__guide-section {
  background: #f9f9f9;
  padding: 32px 0 48px;
}

.page-register__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-register__guide-title {
  text-align: center;
  color: #017439;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.page-register__guide-figure {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  margin: 0 0 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.page-register__guide-figure figcaption {
  padding: 12px 0 0;
  font-size: 0.95rem;
  color: #666666;
  text-align: center;
}

/* ===== Responsive (Tablet) ===== */
@media (max-width: 1024px) {
  .page-register__why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 10px 12px 0;
  }

  .page-register__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-register__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-register__why-grid {
    grid-template-columns: 1fr;
  }

  .page-register__bonus-section {
    flex-direction: column;
    text-align: center;
  }

  .page-register__bonus-img {
    width: 100%;
  }

  .page-register__bonus-list li {
    text-align: left;
  }

  .page-register__btn {
    max-width: 100%;
  }

  .page-register img {
    max-width: 100% !important;
    height: auto !important;
  }

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