/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 600px; /* Adjust height as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-register__hero-section .page-register__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* General Section Styling */
.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold for main section titles */
  padding-top: 40px;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #f0f0f0;
}

.page-register__benefits-section,
.page-register__notes-section,
.page-register__ecosystem-section,
.page-register__cta-final-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-register__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

/* Benefits Section */
.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: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  color: #ffffff;
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  background: rgba(204, 0, 0, 0.2); /* Red tint on hover */
}

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

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

/* Guide Section */
.page-register__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #CC0000; /* Red for step number */
  color: #ffffff;
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__step-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-register__step-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Notes Section */
.page-register__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__notes-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #CC0000; /* Red border for notes */
  border-radius: 8px;
  color: #f0f0f0;
}

.page-register__notes-list li p {
  margin: 0;
}

.page-register__notes-list li strong {
  color: #FFCC00;
}

/* Promo Section */
.page-register__promo-section {
  padding: 60px 0;
  background-color: #CC0000; /* Red background for promo */
}

.page-register__promo-section .page-register__section-title,
.page-register__promo-section .page-register__section-description {
  color: #ffffff;
}

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

.page-register__promo-image {
  flex: 1 1 400px;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__promo-text {
  flex: 1 1 400px;
  color: #ffffff;
}

.page-register__promo-text h3 {
  font-size: 2em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-register__promo-text p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

/* Ecosystem Section */
.page-register__ecosystem-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  color: #f0f0f0;
}

.page-register__ecosystem-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #FFCC00; /* Gold border */
}

.page-register__ecosystem-list li strong {
  color: #CC0000;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

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

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

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFCC00; /* Gold for FAQ question */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question:hover {
  background-color: rgba(204, 0, 0, 0.1);
}

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

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 15px 25px;
}

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

.page-register__cta-final-section .page-register__section-title {
  color: #CC0000; /* Red for final CTA title */
}

.page-register__cta-final-section .page-register__section-description {
  margin-bottom: 40px;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #CC0000; /* Red primary button */
  color: #ffffff;
  border: 2px solid #CC0000;
}

.page-register__btn-primary:hover {
  background-color: #FFCC00; /* Gold on hover */
  color: #000000;
  border-color: #FFCC00;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFCC00; /* Gold secondary button */
  border: 2px solid #FFCC00;
}

.page-register__btn-secondary:hover {
  background-color: #FFCC00;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2.2em;
  }
  .page-register__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-register__promo-content {
    flex-direction: column;
    text-align: center;
  }
  .page-register__promo-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__hero-section {
    height: 500px;
    padding: 20px 0;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-register__section-description {
    margin-bottom: 30px;
  }
  .page-register__benefits-grid,
  .page-register__guide-steps,
  .page-register__ecosystem-list {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    padding: 20px;
  }
  .page-register__promo-content {
    gap: 20px;
  }
  .page-register__promo-text h3 {
    font-size: 1.6em;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
}