.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: 20px;
  box-sizing: border-box;
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  background-color: #7A0E0E; /* Deep Red for hero background */
}

.page-register__hero-image {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-register__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
  letter-spacing: -0.02em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-register__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  background: transparent;
  color: #F4D34D; /* Gold */
  border: 2px solid #F4D34D; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary:hover {
  background: rgba(244, 211, 77, 0.1);
  transform: translateY(-2px);
}

.page-register__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFCC66; /* Glow */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-register__section-title--light {
  color: #FFF5E1; /* Text Main */
}

.page-register__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF5E1;
}

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

.page-register__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

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

.page-register__benefit-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1;
  border: 1px solid #F2B544; /* Border */
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-register__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F4D34D; /* Gold */
}

.page-register__how-to-register-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

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

.page-register__step-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
  border: 1px solid #F2B544; /* Border */
}

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

.page-register__image-right {
  grid-column: 2 / 3;
  grid-row: 1 / span 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__image-right img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

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

.page-register__app-benefits-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-register__app-image {
  flex: 1;
  text-align: center;
}

.page-register__app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-register__app-features {
  flex: 1;
  text-align: left;
}

.page-register__feature-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #FFCC66; /* Glow */
}

.page-register__app-features .page-register__btn-primary {
  margin-top: 30px;
  width: auto;
  display: inline-block;
}

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

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

.page-register__security-info {
  flex: 1;
}

.page-register__info-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold */
}

.page-register__security-image {
  flex: 1;
  text-align: center;
}

.page-register__security-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

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

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

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #7A0E0E; /* Deep Red */
}

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;
  color: #FFCC66; /* Glow */
}

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: #8B1B1B;
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A; /* Button color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  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: #B71C1C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
}

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

.page-register__final-cta-section .page-register__cta-buttons {
  margin-top: 40px;
}

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

.page-register__section,
.page-register__card,
.page-register__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* --- Media Queries for Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-register__container {
    padding: 15px;
  }

  /* HERO Section */
  .page-register__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-register__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
    max-height: 300px; /* Adjust max height for mobile hero image */
  }

  .page-register__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-register__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem;
    padding: 12px 20px;
  }

  /* General Section Titles & Descriptions */
  .page-register__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 15px;
    max-width: 100%;
    text-align: center;
  }

  .page-register__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
    max-width: 100%;
  }

  /* Why Register Section */
  .page-register__why-register-section {
    padding: 40px 0;
  }

  .page-register__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-card {
    padding: 20px;
  }

  .page-register__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-register__card-title {
    font-size: 1.2rem;
  }

  /* How to Register Section */
  .page-register__how-to-register-section {
    padding: 40px 0;
  }

  .page-register__steps-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__image-right {
    grid-column: 1 / 2;
    grid-row: auto;
    margin-top: 20px;
  }

  .page-register__image-right img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-register__step-card {
    padding: 20px;
  }

  .page-register__step-title {
    font-size: 1.1rem;
  }

  .page-register__cta-bottom {
    margin-top: 30px;
  }

  /* App Benefits Section */
  .page-register__app-benefits-section {
    padding: 40px 0;
  }

  .page-register__app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-register__app-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-register__feature-title {
    font-size: 1.1rem;
  }

  .page-register__app-features .page-register__btn-primary {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }

  /* Security Section */
  .page-register__security-section {
    padding: 40px 0;
  }

  .page-register__security-content {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .page-register__security-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-register__info-title {
    font-size: 1.1rem;
  }

  /* FAQ Section */
  .page-register__faq-section {
    padding: 40px 0;
  }

  .page-register__faq-list {
    margin-top: 30px;
  }

  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px 20px;
  }

  .page-register__faq-qtext {
    font-size: 1rem;
  }

  .page-register__faq-toggle {
    font-size: 24px;
    width: 28px;
  }

  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 15px;
  }

  /* Final CTA Section */
  .page-register__final-cta-section {
    padding: 40px 0 50px;
  }

  .page-register__final-cta-section .page-register__cta-buttons {
    margin-top: 30px;
    padding: 0 15px;
  }

  /* Generic image and container overrides for mobile */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__section,
  .page-register__card,
  .page-register__container,
  .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;
    overflow: hidden;
  }
  
  .page-register__cta-buttons {
    flex-wrap: wrap !important; /* Ensure buttons wrap in mobile */
    gap: 15px; /* Add gap between wrapped buttons */
  }
}