.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  padding-bottom: 40px;
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px;
  background-color: #0D0E12; /* Background */
  position: relative;
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

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

.page-register__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-register__hero-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  color: #FF8C1A; /* Primary color */
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  margin-right: 15px;
}

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

.page-register__cta-button--secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Primary color */
  border: 2px solid #A84F0C; /* Border color */
}

.page-register__cta-button--secondary:hover {
  background: #2a2d36;
  color: #FFA53A; /* Auxiliary color */
}

.page-register__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #FF8C1A; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-register__section-description {
  font-size: 1.05em;
  color: #FFF3E6; /* Text Main */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 15px;
}

.page-register__why-join-section,
.page-register__guide-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__contact-section,
.page-register__app-download-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-register__feature-item,
.page-register__step-item,
.page-register__security-item {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border color */
  position: relative;
  overflow: hidden;
}

.page-register__feature-item::before,
.page-register__step-item::before,
.page-register__security-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,176,77,0.1) 0%, rgba(255,176,77,0) 70%); /* Glow */
  transition: transform 0.5s ease-out;
  z-index: 0;
}

.page-register__feature-item:hover::before,
.page-register__step-item:hover::before,
.page-register__security-item:hover::before {
  transform: scale(1.1);
}

.page-register__feature-icon,
.page-register__step-image,
.page-register__security-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* For feature-icon */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-register__security-icon {
  max-width: 200px; /* Specific for security icons */
  height: 200px;
  object-fit: contain;
}

.page-register__feature-title,
.page-register__step-title,
.page-register__security-item-title {
  font-size: 1.5em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__feature-text,
.page-register__step-text,
.page-register__security-item-text {
  font-size: 1em;
  color: #FFF3E6; /* Text Main */
  line-height: 1.7;
}

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

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  cursor: pointer;
  list-style: none;
  position: relative;
  z-index: 1;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-register__app-download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-register__app-text-content {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

.page-register__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C; /* Border color */
}

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

@media (max-width: 1024px) {
  .page-register__hero-section {
    padding: 10px 15px 30px;
  }

  .page-register__why-join-section,
  .page-register__guide-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__contact-section,
  .page-register__app-download-section {
    padding: 50px 15px;
  }

  .page-register__feature-grid,
  .page-register__guide-steps,
  .page-register__security-features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-register__hero-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-register__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }

  .page-register__cta-button--primary {
    margin-right: 10px;
  }
}

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

  .page-register__hero-section {
    flex-direction: column;
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
  }

  .page-register__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Hero mobile: contain, not cover */
  }

  .page-register__hero-content {
    padding: 0 10px;
  }

  .page-register__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-top: 20px;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__why-join-section,
  .page-register__guide-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__contact-section,
  .page-register__app-download-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__feature-grid,
  .page-register__guide-steps,
  .page-register__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-register__feature-icon,
  .page-register__step-image,
  .page-register__security-icon,
  .page-register__app-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-register__security-icon {
    max-width: 150px !important;
    height: 150px !important;
  }

  .page-register__cta-button,
  .page-register__cta-button--primary,
  .page-register__cta-button--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-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-container,
  .page-register__contact-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-register__app-text-content {
    text-align: center;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-register__app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* FAQ specific mobile styles */
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }

  .page-register__faq-answer {
    padding: 0 20px 15px;
  }
}