/* style/register.css */

/* Custom Colors */
:root {
  --page-register-primary: #11A84E;
  --page-register-secondary: #22C768;
  --page-register-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-register-card-bg: #11271B;
  --page-register-background: #08160F;
  --page-register-text-main: #F2FFF6;
  --page-register-text-secondary: #A7D9B8;
  --page-register-border: #2E7A4E;
  --page-register-glow: #57E38D;
  --page-register-gold: #F2C14E;
  --page-register-divider: #1E3A2A;
  --page-register-deep-green: #0A4B2C;
}

/* Base styles for the register page */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-register-text-main); /* Default text color for dark background */
  background-color: var(--page-register-background);
}

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

.page-register__section {
  padding: 60px 0;
  text-align: center;
}

.page-register__dark-bg {
  background-color: var(--page-register-background);
  color: var(--page-register-text-main);
}

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

.page-register__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  margin-bottom: 20px;
  color: var(--page-register-gold);
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-register-text-secondary);
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  background-color: var(--page-register-background);
}

.page-register__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  color: var(--page-register-text-main);
}

.page-register__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  color: var(--page-register-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-register__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-register-text-secondary);
}

/* Buttons */
.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.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: var(--page-register-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  margin: 10px;
}

.page-register__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-register__btn-secondary {
  background: transparent;
  color: var(--page-register-primary);
  border: 2px solid var(--page-register-primary);
  margin: 10px;
}

.page-register__btn-secondary:hover {
  background-color: var(--page-register-primary);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

/* Why Join Section */
.page-register__why-join {
  background-color: #ffffff;
  color: #333333;
}

.page-register__why-join .page-register__section-title {
  color: var(--page-register-primary);
}

.page-register__why-join .page-register__section-description {
  color: #555555;
}

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

.page-register__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-register__feature-icon {
  width: 100%; /* Ensure images are responsive within their container */
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__feature-title {
  font-size: 1.5em;
  color: var(--page-register-primary);
  margin-bottom: 15px;
}

.page-register__feature-text {
  color: #666666;
}

/* Steps Section */
.page-register__steps-section {
  background-color: var(--page-register-background);
  color: var(--page-register-text-main);
}

.page-register__steps-section .page-register__section-title {
  color: var(--page-register-gold);
}

.page-register__steps-section .page-register__section-description {
  color: var(--page-register-text-secondary);
}

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

.page-register__step-item {
  background-color: var(--page-register-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid var(--page-register-border);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--page-register-primary);
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.4em;
  color: var(--page-register-text-main);
  margin-bottom: 10px;
}

.page-register__step-text {
  color: var(--page-register-text-secondary);
}

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

/* Verification Section */
.page-register__verification-section {
  background-color: #ffffff;
  color: #333333;
}

.page-register__verification-section .page-register__section-title {
  color: var(--page-register-primary);
}

.page-register__verification-section .page-register__section-description {
  color: #555555;
}

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

.page-register__verification-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__verification-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-register__verification-list li {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  border-left: 5px solid var(--page-register-primary);
}

.page-register__verification-list li strong {
  color: var(--page-register-primary);
}

/* Payment Methods Section */
.page-register__payment-methods {
  background-color: var(--page-register-background);
  color: var(--page-register-text-main);
}

.page-register__payment-methods .page-register__section-title {
  color: var(--page-register-gold);
}

.page-register__payment-methods .page-register__section-description {
  color: var(--page-register-text-secondary);
}

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

.page-register__payment-item {
  background-color: var(--page-register-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--page-register-border);
}

.page-register__payment-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__payment-title {
  font-size: 1.4em;
  color: var(--page-register-text-main);
  margin-bottom: 10px;
}

.page-register__payment-text {
  color: var(--page-register-text-secondary);
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-register__faq-section .page-register__section-title {
  color: var(--page-register-primary);
}

.page-register__faq-section .page-register__section-description {
  color: #555555;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f5f5f5;
  color: #333333;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-register__faq-qtext {
  flex-grow: 1;
  color: #333333;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--page-register-primary);
}

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

.page-register__faq-item[open] .page-register__faq-question {
  background-color: var(--page-register-primary);
  color: #ffffff;
}

.page-register__faq-item[open] .page-register__faq-qtext,
.page-register__faq-item[open] .page-register__faq-toggle {
  color: #ffffff;
}

/* Final CTA Section */
.page-register__cta-final {
  padding: 80px 0;
  background-color: var(--page-register-deep-green);
  color: var(--page-register-text-main);
}

.page-register__cta-final .page-register__section-title {
  color: var(--page-register-gold);
}

.page-register__cta-final .page-register__section-description {
  color: var(--page-register-text-secondary);
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-content {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .page-register__section {
    padding: 40px 0;
  }

  .page-register__section-title {
    font-size: 2em;
  }

  .page-register__main-title {
    font-size: 2.2em;
  }

  .page-register__intro-text {
    font-size: 1em;
  }

  .page-register__features-grid,
  .page-register__steps-list,
  .page-register__payment-grid {
    grid-template-columns: 1fr;
  }

  .page-register__verification-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-register__verification-image {
    width: 100%;
  }

  /* Mobile specific overrides with !important */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper,
  .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 !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  
  .page-register__cta-button,
  .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;
    margin: 10px 0 !important; /* Stack buttons vertically */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-register__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .page-register__hero-section {
    padding-top: 10px !important; /* body handles header offset, small top padding for aesthetic */
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}