.page-register {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-register__dark-section {
  background: #2F6BFF;
  color: #ffffff;
}

.page-register__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit from parent for dark/light sections */
}

/* Hero Section */
.page-register__hero-section {
  padding: 60px 0 30px; /* Adjusted top padding */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-register__hero-section .page-register__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-register__hero-content {
  margin-bottom: 40px;
}

.page-register__main-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 800px;
}

.page-register__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ffffff;
  max-width: 700px;
}

.page-register__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__hero-image-wrapper {
  margin-top: 40px;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-register__benefit-item {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-register__benefit-item:hover {
  transform: translateY(-5px);
}

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

.page-register__benefit-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-register__benefit-text {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
}

.page-register__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-register__guide-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.page-register__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  color: #2F6BFF;
  font-size: 32px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-register__step-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__step-text {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-register__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  display: block;
}

.page-register__guide-cta {
  margin-top: 20px;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

.page-register__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-register__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-register__security-text-block {
  flex: 1;
}

.page-register__security-text-block p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ffffff;
  color: #2F6BFF;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #2F6BFF;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary:hover {
  background-color: #2F6BFF;
  color: #ffffff;
  transform: translateY(-3px);
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-register__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}

details.page-register__faq-item summary.page-register__faq-question:hover {
  background: #F4F7FB;
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg);
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #1F2D3D; /* Text Main */
}

.page-register__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Bottom CTA Section */
.page-register__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

.page-register__cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.page-register__bottom-cta {
  flex: 1;
  max-width: 300px;
}

/* Global image styles */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 42px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-image {
    max-width: 80%;
  }
  .page-register__bottom-cta {
    font-size: 16px;
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 10px 0 30px !important;
  }
  .page-register__main-title {
    font-size: clamp(30px, 8vw, 36px) !important;
  }
  .page-register__hero-description {
    font-size: 16px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px !important;
  }
  .page-register__bottom-cta {
    max-width: 100% !important;
  }
  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-image {
    max-width: 100%;
  }
  .page-register__security-text-block {
    padding: 0 15px;
  }
  .page-register__guide-step {
    padding: 0 15px;
  }
  .page-register__step-title {
    font-size: 24px;
  }
  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px;
  }
  .page-register__faq-qtext {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 15px 15px;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}