/* style/register.css */

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

.page-register {
  color: var(--color-text-main); /* Default text color for dark body background */
  background-color: var(--color-background); /* Explicitly set for page content */
}

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

.page-register__section-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-register__text-block {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-text-secondary);
  text-align: center;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height to prevent image from being too tall */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

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

.page-register__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: clamp(2.5em, 5vw, 4em);
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-register__subtitle {
  font-size: 1.3em;
  color: var(--color-text-main);
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-register__btn-primary {
  background: var(--color-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-register__btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-register__btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
    min-width: 250px;
}

/* Introduction Section */
.page-register__introduction-section {
  padding: 80px 0;
  background-color: var(--color-card-bg);
  text-align: center;
}

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

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

.page-register__feature-item {
  background-color: var(--color-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--color-border);
}

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

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

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

.page-register__feature-description {
  font-size: 1em;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* How-To-Register Section */
.page-register__how-to-register-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--color-background);
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 50px;
}

.page-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  background: var(--color-button-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__step-title {
  font-size: 1.8em;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-register__step-description {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-register__step-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

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

.page-register__benefit-item {
  background-color: var(--color-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--color-border);
}

.page-register__benefit-title {
  font-size: 1.4em;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-register__benefit-description {
  font-size: 1em;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

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

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

.page-register__faq-item {
  margin-bottom: 15px;
  background-color: var(--color-card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-divider);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  background-color: var(--color-card-bg);
  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: var(--color-deep-green);
}

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

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: var(--color-text-secondary);
  line-height: 1.6;
  text-align: left;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-register__steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .page-register__step-item:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: clamp(2.2em, 4.5vw, 3.5em);
  }
  .page-register__subtitle {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
  .page-register__features-grid,
  .page-register__benefits-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-bottom: 40px;
  }
  .page-register__hero-image-wrapper {
      max-height: 50vh;
  }
  .page-register__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }
  .page-register__subtitle {
    font-size: 1em;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-register__btn-large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-register__introduction-section,
  .page-register__how-to-register-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 40px 0;
  }
  .page-register__text-block {
    font-size: 0.95em;
  }
  .page-register__features-grid,
  .page-register__benefits-list {
    grid-template-columns: 1fr;
  }
  .page-register__feature-item,
  .page-register__benefit-item {
    padding: 20px;
  }
  .page-register__step-item {
    padding: 0 15px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    padding: 0 20px 15px;
  }

  /* 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,
  .page-register__hero-image-wrapper,
  .page-register__cta-buttons,
  .page-register__how-to-register-section .page-register__container,
  .page-register__benefits-section .page-register__container,
  .page-register__faq-section .page-register__container,
  .page-register__final-cta-section .page-register__container
   {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-register__hero-section {
    padding-top: 10px !important;
  }
  .page-register__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }
  .page-register__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-register__hero-content {
      padding: 0 10px;
  }
  .page-register__container {
      padding: 0 10px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
      font-size: 0.9em;
  }
}