/* style/register.css */

/* --- Base Styles --- */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Assuming shared.css defines --black-color as dark */
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #ffffff; /* Light text for titles on dark background */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly lighter text for descriptions on dark background */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__section-description a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-register__section-description a:hover {
  text-decoration: underline;
}

/* --- Color Contrast Specifics --- */
.page-register__dark-bg {
  background-color: var(--black-color); /* Inherit from body or specific dark color */
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-register__light-bg .page-register__section-title {
  color: #000000;
}

.page-register__light-bg .page-register__section-description {
  color: #333333;
}

.page-register__light-bg .page-register__section-description a {
  color: #26A9E0;
}


/* --- Buttons --- */
.page-register__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  background-color: #1a7bbd;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0; /* Brand color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bbd;
  transform: translateY(-2px);
}

.page-register__btn-center {
  display: block;
  margin: 30px auto;
  text-align: center;
}

/* --- Hero Section --- */
.page-register__hero-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken background image for text contrast */
  display: block; /* Important for responsive images */
}

/* --- Benefits Section --- */
.page-register__benefits-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-register__benefit-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  color: #333333; /* Dark text for light card background */
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
}

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

.page-register__benefit-title {
  font-size: 1.5em;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__benefit-text {
  font-size: 1em;
  color: #555555;
}

.page-register__benefit-text a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__benefit-text a:hover {
  text-decoration: underline;
}

/* --- Steps Section --- */
.page-register__steps-section {
  padding: 80px 0;
  text-align: center;
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  align-items: center;
}

.page-register__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__step-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-register__step-text a:hover {
  text-decoration: underline;
}

.page-register__step-image-wrapper {
  grid-column: span 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* --- Security Section --- */
.page-register__security-section {
  padding: 80px 0;
  text-align: center;
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__security-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
}

.page-register__security-item a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__security-item a:hover {
  text-decoration: underline;
}

.page-register__security-subtitle {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__security-text {
  font-size: 1em;
  color: #555555;
}

/* --- Promotions Section --- */
.page-register__promo-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-register__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__promo-card a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-register__promo-card a:hover {
  text-decoration: underline;
}

.page-register__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-register__promo-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__promo-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* --- FAQ Section --- */
.page-register__faq-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-register__faq-item {
  background-color: #f8f8f8;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-register__faq-qtext a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__faq-qtext a:hover {
  text-decoration: underline;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #000000;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-register__faq-answer {
  padding: 15px 20px 20px;
  font-size: 1em;
  color: #555555;
  background-color: #fcfcfc;
}

.page-register__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__faq-answer a:hover {
  text-decoration: underline;
}

/* --- Final CTA Section --- */
.page-register__cta-final-section {
  padding: 80px 0;
  text-align: center;
}