/* ===== Đăng ký SX66 ===== */
.page-register {
  background: #08160F;
  color: #F2FFF6;
}

/* HERO */
.page-register__hero-section {
  padding: 10px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-register__hero-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 1020 / 300;
  object-fit: cover;
  border-radius: 12px;
}

.page-register__hero-content {
  text-align: center;
  padding: 24px 16px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
}

.page-register__hero-title {
  font-weight: 800;
  line-height: 1.25;
  color: #F2FFF6;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.page-register__hero-subtitle {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin: 0 0 28px;
}

.page-register__hero-cta {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.35);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Trust */
.page-register__trust-section {
  padding: 48px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__trust-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #F2FFF6;
  margin: 0 0 32px;
}

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

.page-register__trust-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s ease;
}

.page-register__trust-card h3 {
  color: #F2C14E;
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.page-register__trust-card p {
  color: #A7D9B8;
  line-height: 1.7;
  margin: 0;
}

/* How-to Title */
.page-register__howto-title-section {
  text-align: center;
  padding: 16px 16px 0;
}

.page-register__howto-title {
  color: #F2FFF6;
  font-weight: 700;
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.page-register__howto-desc {
  color: #A7D9B8;
  margin: 0;
}

/* How-to */
.page-register__howto-section {
  padding: 32px 16px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__howto-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-register__howto-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-register__step-item {
  display: flex;
  gap: 16px;
}

.page-register__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
}

.page-register__step-item h3 {
  color: #F2FFF6;
  margin: 0 0 8px;
}

.page-register__step-item p {
  color: #A7D9B8;
  line-height: 1.7;
  margin: 0;
}

.page-register__howto-figure {
  width: 100%;
}

.page-register__howto-image {
  display: block;
  width: 100%;
  max-width: 800px;
  max-height: 400px;
  aspect-ratio: 800 / 400;
  object-fit: cover;
  border-radius: 16px;
}

/* Benefits */
.page-register__benefits-section {
  background: #08160F;
  padding: 48px 16px;
  border-top: 1px solid #1E3A2A;
}

.page-register__benefits-title {
  text-align: center;
  font-weight: 700;
  color: #F2FFF6;
  margin: 0 0 40px;
  font-size: 1.8rem;
}

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

.page-register__benefit-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-register__benefit-icon {
  color: #F2C14E;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
}

.page-register__benefit-card h3 {
  color: #F2FFF6;
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.page-register__benefit-card p {
  color: #A7D9B8;
  line-height: 1.7;
  flex-grow: 1;
  margin: 0 0 20px;
}

.page-register__benefit-link {
  color: #57E38D;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

/* CTA */
.page-register__cta-section {
  background: #0A4B2C;
  padding: 56px 16px;
  text-align: center;
  margin-top: 48px;
}

.page-register__cta-title {
  color: #F2FFF6;
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.page-register__cta-text {
  color: #A7D9B8;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.page-register__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 48px;
  border-radius: 999px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-register__faq-title {
  text-align: center;
  color: #F2FFF6;
  font-weight: 700;
  margin: 0 0 32px;
  font-size: 1.8rem;
}

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

.page-register__faq-item {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 18px 24px;
}

.page-register__faq-item summary {
  color: #F2FFF6;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.page-register__faq-item p {
  color: #A7D9B8;
  line-height: 1.7;
  margin: 16px 0 0;
}

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

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

  .page-register__howto-figure {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-register__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-register__hero-section {
    padding-top: 8px;
  }

  .page-register__hero-cta,
  .page-register__cta-button {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }

  .page-register__trust-grid,
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-register__howto-figure {
    display: none;
  }

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

  .page-register {
    max-width: 100%;
    overflow-x: hidden;
  }
}