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

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

.page-register__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #C91F17 0%, #E53935 100%); /* Main to Auxiliary */
  color: #FFF5E1;
}

.page-register__hero-image-container {
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-register__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFCC66; /* Glow */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-register__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-register__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFCC66; /* Glow */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-register__steps-section {
  padding: 60px 0;
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1;
}

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

.page-register__step-item {
  background-color: #B71C1C; /* Background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-register__step-image {
  width: 100%;
  height: 200px;
  object-fit: contain; /* Changed from cover to contain for step images */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-register__step-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F4D34D; /* Gold */
}

.page-register__step-description {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

.page-register__benefits-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
}

.page-register__benefits-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-register__benefits-list {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-register__benefit-item {
  background-color: #D32F2F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__benefit-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold */
}

.page-register__benefits-image-wrapper {
  flex: 1;
  min-width: 400px;
}

.page-register__benefits-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-register__faq-section {
  padding: 60px 0;
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #B71C1C; /* Background */
}

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

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: #7A0E0E; /* Deep Red */
}

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

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1;
}

.page-register__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

.page-register__final-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
}

.page-register__cta-description {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 40px;
  }
  .page-register__subtitle {
    font-size: 18px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-register__benefits-content {
    flex-direction: column;
    gap: 40px;
  }
  .page-register__benefits-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-register__benefits-list {
    gap: 25px;
  }
  .page-register__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-register__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-register__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-register__btn-primary {
    padding: 12px 25px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Section Titles */
  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  /* Steps Section */
  .page-register__steps-section {
    padding: 40px 0;
  }
  .page-register__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-register__step-item {
    padding: 25px;
  }
  .page-register__step-title {
    font-size: 20px;
  }
  .page-register__step-description {
    font-size: 15px;
  }

  /* Benefits Section */
  .page-register__benefits-section {
    padding: 40px 0;
  }
  .page-register__benefit-item {
    padding: 20px;
  }
  .page-register__benefit-title {
    font-size: 20px;
  }
  .page-register__benefits-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ Section */
  .page-register__faq-section {
    padding: 40px 0;
  }
  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: 22px;
    width: 24px;
    height: 24px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 15px 15px;
  }
  .page-register__faq-answer p {
    font-size: 15px;
  }

  /* Final CTA Section */
  .page-register__final-cta-section {
    padding: 40px 0;
  }
  .page-register__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Universal Image and Container Adaptations */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__hero-image-container,
  .page-register__steps-grid,
  .page-register__benefits-content,
  .page-register__benefits-image-wrapper,
  .page-register__step-image,
  .page-register__benefits-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}