/* style/register.css */

.page-register {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  text-align: center;
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  margin-top: -150px; /* Pull content up over the image */
  max-width: 900px;
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, #08160F 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-register__main-title {
  color: #F2C14E; /* Gold */
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-register__hero-description {
  color: #A7D9B8; /* Text Secondary */\  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-register__cta-buttons--center {
  margin-top: 40px;
}

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

.page-register__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-register__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-register__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

.page-register__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
}

.page-register__section-title {
  color: #F2C14E; /* Gold */
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F2C14E, transparent);
  border-radius: 2px;
}

.page-register__section-description {
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.05em;
}

.page-register__benefits-section,
.page-register__how-to-section,
.page-register__exclusive-benefits-section,
.page-register__security-commitment-section,
.page-register__faq-section,
.page-register__start-journey-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-register__benefit-card,
.page-register__exclusive-card,
.page-register__security-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-card:hover,
.page-register__exclusive-card:hover,
.page-register__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 15px #57E38D; /* Glow */
}

.page-register__benefit-card img,
.page-register__exclusive-card img,
.page-register__security-item img {
  max-width: 100%;
  width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-register__card-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-register__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  flex-grow: 1;
}

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

.page-register__step-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  position: relative;
  overflow: hidden;
}

.page-register__step-number {
  font-size: 3em;
  font-weight: 800;
  color: rgba(242, 193, 78, 0.1);
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
}

.page-register__step-card .page-register__card-title {
  margin-top: 20px;
}

.page-register__tips {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 30px;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-register__tips-title {
  color: #F2C14E; /* Gold */
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
}

.page-register__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__tips-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-register__tips-list li::before {
  content: '✔';
  color: #2AD16F; /* Button color for checkmark */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-register__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  font-size: 1.1em;
  list-style: none;
  position: relative;
}

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

.page-register__faq-item[open] summary {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #2AD16F;
  margin-left: 15px;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  line-height: 1.7;
}

.page-register__faq-answer p {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px;
  }

  .page-register__hero-section {
    padding-bottom: 30px;
  }

  .page-register__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }

  .page-register__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-register__hero-description {
    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__benefits-section,
  .page-register__how-to-section,
  .page-register__exclusive-benefits-section,
  .page-register__security-commitment-section,
  .page-register__faq-section,
  .page-register__start-journey-section {
    padding: 50px 0;
  }

  .page-register__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-register__section-description {
    margin-bottom: 30px;
    font-size: 0.95em;
  }

  .page-register__benefits-grid,
  .page-register__exclusive-grid,
  .page-register__security-grid,
  .page-register__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-card img,
  .page-register__exclusive-card img,
  .page-register__security-item img {
    
    height: auto;
  }

  .page-register__card-title {
    font-size: 1.2em;
  }

  .page-register__card-text {
    font-size: 0.9em;
  }

  .page-register__tips-title {
    font-size: 1.3em;
  }

  .page-register__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9em;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    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__hero-content,
  .page-register__benefits-section,
  .page-register__how-to-section,
  .page-register__exclusive-benefits-section,
  .page-register__security-commitment-section,
  .page-register__faq-section,
  .page-register__start-journey-section,
  .page-register__tips {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-register__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-register__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}