/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  overflow-x: hidden;
}

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

.page-register__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-register__section-subtitle {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-register__section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}

.page-register__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-register__cta-button--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-register__cta-button--secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-register__cta-button--secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #2AD16F;
}

.page-register__cta-button--small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  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 {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly, but not over image */
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.page-register__hero-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-register__hero-description {
  font-size: clamp(16px, 2vw, 22px);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Section */
.page-register__why-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

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

.page-register__benefit-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(17, 168, 78, 0.4);
}

.page-register__benefit-title {
  font-size: 24px;
  color: #22C768; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-register__benefit-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG, a darker background */
  color: #F2FFF6; /* Text Main */
}

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

.page-register__guide-step-item {
  background-color: #08160F; /* Background, making it slightly darker than section */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
}

.page-register__guide-step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-register__guide-step-title {
  font-size: 26px;
  color: #2AD16F; /* Button color for highlight */
  margin-bottom: 15px;
}

.page-register__guide-step-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-register__form-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 20px 0;
  color: #F2FFF6;
}

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

.page-register__form-list li::before {
  content: '✓';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-register__tips-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-register__tips-list li {
  background-color: #1E3A2A; /* Divider for background */
  padding: 20px;
  border-radius: 8px;
  color: #A7D9B8;
  font-size: 16px;
  position: relative;
  padding-left: 45px;
}

.page-register__tips-list li strong {
  color: #F2FFF6;
}

.page-register__tips-list li::before {
  content: '💡';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

.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: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-register__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__promo-title {
  font-size: 22px;
  color: #22C768; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-register__promo-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-register__promo-note {
  text-align: center;
  margin-top: 50px;
  font-size: 14px;
  color: #A7D9B8;
  font-style: italic;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG, a darker background */
  color: #F2FFF6;
}

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

.page-register__security-text {
  flex: 1;
  min-width: 300px;
}

.page-register__security-text p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #A7D9B8;
}

.page-register__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

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

.page-register__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Divider color for question background */
  border-bottom: 1px solid #2E7A4E; /* Border color */
  list-style: none; /* For details/summary */
}

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

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

.page-register__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: #2AD16F; /* Button color for highlight */
}

.page-register__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  background-color: #11271B; /* Card BG */
}

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
  text-align: center;
  color: #F2FFF6;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-content {
    margin-top: -50px;
  }
  .page-register__section-title {
    font-size: clamp(24px, 3.5vw, 40px);
  }
  .page-register__section-intro {
    font-size: 16px;
  }
  .page-register__hero-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-register__hero-description {
    font-size: clamp(15px, 1.8vw, 18px);
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__hero-section {
    padding-bottom: 40px;
  }
  .page-register__hero-content {
    margin-top: -30px;
    padding: 30px 15px;
  }
  .page-register__hero-image,
  .page-register__guide-step-image,
  .page-register__promo-image,
  .page-register__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__hero-image-wrapper,
  .page-register__guide-steps,
  .page-register__promo-grid,
  .page-register__security-content,
  .page-register__cta-buttons-final,
  .page-register__security-image-wrapper,
  .page-register__why-section .page-register__container,
  .page-register__guide-section .page-register__container,
  .page-register__promotions-section .page-register__container,
  .page-register__security-section .page-register__container,
  .page-register__faq-section .page-register__container,
  .page-register__cta-final-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;
  }
  .page-register__why-section,
  .page-register__guide-section,
  .page-register__promotions-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding: 50px 0;
  }
  .page-register__section-intro {
    margin-bottom: 30px;
  }
  .page-register__benefit-list,
  .page-register__guide-steps,
  .page-register__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__cta-button {
    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-final {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
  .page-register__tips-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-register__hero-description {
    font-size: clamp(14px, 3vw, 16px);
  }
  .page-register__section-title {
    font-size: clamp(22px, 5vw, 30px);
  }
  .page-register__benefit-title,
  .page-register__guide-step-title,
  .page-register__promo-title {
    font-size: 20px;
  }
}