/* style/register.css */
.page-register {
  color: #F3F8FF; /* Text Main */
  background-color: var(--card-bg, #10233F); /* Inherit from body or use default deep navy */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Deep Navy blend */
  position: relative;
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

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

.page-register__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-register__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.15rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #F3F8FF; /* Text Main */
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-register__cta-button--large {
  padding: 18px 45px;
  font-size: 1.25rem;
}

.page-register__cta-button--secondary {
  background: #244D84; /* Border color as background */
  color: #F3F8FF;
}

.page-register__cta-button--secondary:hover {
  background: #1D5FD1; /* Auxiliary color */
}

.page-register__benefits-section,
.page-register__guide-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-register__section-description {
  font-size: 1.05rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-register__benefit-icon {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-register__benefit-text {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
}

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

.page-register__step-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-register__step-number {
  width: 50px;
  height: 50px;
  background: #F2C14E; /* Gold */
  color: #08162B; /* Deep Navy for contrast */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-register__step-text {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-register__step-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: auto; /* Pushes image to bottom if content is shorter */
  object-fit: cover;
}

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

.page-register__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #113B7A; /* Primary color */
  color: #F3F8FF; /* Text Main */
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-register__faq-question:hover {
  background-color: #1D5FD1; /* Auxiliary color */
}

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 20px 25px;
  background-color: #08162B; /* Deep Navy */
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.7;
}

.page-register__privacy-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  background-color: #113B7A; /* Primary color */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 60px;
}

.page-register__dark-section .page-register__section-title,
.page-register__dark-section .page-register__section-description {
  color: #F3F8FF; /* Text Main */
}

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

.page-register__privacy-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-register__privacy-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-register__cta-final-section {
  padding-bottom: 80px;
  background-color: #08162B; /* Deep Navy */
  border-top: 1px solid #1B3357; /* Divider */
}

.page-register__cta-final-section .page-register__section-title {
  color: #F2C14E; /* Gold */
}

.page-register__cta-final-section .page-register__section-description {
  color: #AFC4E8; /* Text Secondary */
}

.page-register__copyright {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #1B3357; /* Divider */
}

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

.page-register a[class*="button"],
.page-register a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-wrapper,
.page-register__button-group,
.page-register__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Adaptation */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-register__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-register__benefits-grid,
  .page-register__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
  .page-register__privacy-section {
    flex-direction: column;
    text-align: center;
  }
  .page-register__privacy-image-wrapper {
    order: -1; /* Image above text on mobile */
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-register__hero-description {
    font-size: 1rem;
  }
  .page-register__cta-button,
  .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;
    font-size: 1rem;
  }
  .page-register__cta-button--large {
    padding: 15px 25px;
    font-size: 1.1rem;
  }
  .page-register__cta-wrapper,
  .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-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-register__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
  }
  .page-register__section-description {
    font-size: 0.95rem;
  }
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__faq-section,
  .page-register__privacy-section,
  .page-register__cta-final-section {
    padding: 40px 15px;
  }
  .page-register__benefits-grid,
  .page-register__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__benefit-card,
  .page-register__step-card {
    padding: 25px 15px;
  }
  .page-register__benefit-title,
  .page-register__step-title {
    font-size: 1.25rem;
  }
  .page-register__benefit-icon {
    max-width: 150px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
  .page-register__privacy-section {
    gap: 20px;
  }
  .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;
  }
}