.page-register {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  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;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  min-height: 500px;
}

.page-register__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #F2FFF6;
}

.page-register__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  padding-top: 40px;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__why-register-section,
.page-register__how-to-register-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.page-register__why-register-section {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-register__grid-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-register__item-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__item-text {
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.7;
}

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

.page-register__step-item {
  background-color: #11271B; /* Card BG */
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto 25px auto;
}

.page-register__step-title {
  font-size: 1.6em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__step-description {
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.7;
}

.page-register__notes {
  background-color: #0A4B2C;
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid #2AD16F;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__notes-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__notes-text {
  font-size: 0.95em;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-register__security-section {
  background-color: #08160F; /* Background */
}

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

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

.page-register__security-text .page-register__item-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-register__security-text .page-register__item-text {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-register__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-register__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-register__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__faq-list {
  width: 100%;
  max-width: 800px;
  margin-bottom: 40px;
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6;
  font-size: 1.2em;
  font-weight: 600;
  background-color: #11271B;
  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: #1E3A2A; /* Divider */
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: #2AD16F;
  line-height: 1;
}

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8;
  font-size: 1em;
  line-height: 1.7;
}

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #1E3A2A;
}

.page-register__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  display: block;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-register__cta-bottom-section {
  text-align: center;
  background-color: #08160F;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-register__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-register__security-content {
    flex-direction: column-reverse;
  }

  .page-register__security-text,
  .page-register__security-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__hero-section,
  .page-register__why-register-section,
  .page-register__how-to-register-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-bottom-section {
    padding: 40px 0;
  }

  .page-register__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-register__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 25px;
  }

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

  .page-register__grid-item,
  .page-register__step-item {
    padding: 25px;
  }

  .page-register__item-title,
  .page-register__step-title {
    font-size: 1.3em;
  }

  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Mobile responsive for images */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile responsive for buttons */
  .page-register__cta-button,
  .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__hero-section {
    padding-top: 10px !important;
  }

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