.page-register {
  color: #FFF6D6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0A0A0A; /* Background */
}

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

.page-register__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 15px;
  max-width: 800px;
  margin-top: -100px; /* Adjust to visually connect with image, not overlap text on image */
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-50px);
  margin-bottom: 20px;
}

.page-register__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 100%;
}

.page-register__hero-description {
  font-size: 18px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-register__cta-button--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-register__cta-button--secondary {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
  margin-left: 20px;
}

.page-register__cta-button--secondary:hover {
  background: #FFD36B; /* Glow */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
}

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.page-register__section-description {
  font-size: 17px;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-register__steps-section,
.page-register__security-section,
.page-register__benefits-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #0A0A0A; /* Background */
}

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

.page-register__step-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-register__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-register__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-register__step-title {
  font-size: 24px;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__step-text {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-register__security-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-register__feature-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-register__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__feature-title {
  font-size: 22px;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__feature-text {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

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

.page-register__benefit-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-register__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-register__benefit-title {
  font-size: 24px;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__benefit-text {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

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

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Main color */
  font-size: 18px;
  font-weight: bold;
}
details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}
details.page-register__faq-item summary.page-register__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Slight highlight on hover */
}
.page-register__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6; /* Text Main */
  font-size: 16px;
}
.page-register__faq-answer p {
  margin: 0;
}

.page-register__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 22px;
  margin-top: 30px;
}

/* Ensure no filter on images */
.page-register img {
  filter: none;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 42px;
  }
  .page-register__hero-description {
    font-size: 17px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__steps-grid,
  .page-register__security-features,
  .page-register__benefits-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-register__step-title,
  .page-register__feature-title,
  .page-register__benefit-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  /* Top section padding adjustment */
  .page-register__hero-section {
    padding-top: 10px; /* Small padding as per rule */
    margin-bottom: 20px;
  }
  .page-register__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
    transform: translateY(-40px);
  }
  .page-register__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Use clamp for H1 */
    margin-bottom: 15px;
  }
  .page-register__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  /* Buttons responsive */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Button containers mobile adaptation */
  .page-register__cta-bottom,
  .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;
    flex-direction: column;
  }
  .page-register__section-title {
    font-size: 28px;
    margin-top: 30px;
  }
  .page-register__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  /* Layout grids to single column */
  .page-register__steps-grid,
  .page-register__security-features,
  .page-register__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__step-card,
  .page-register__feature-item,
  .page-register__benefit-item {
    padding: 20px;
  }
  .page-register__step-image {
    height: 150px;
    margin-bottom: 20px;
  }
  .page-register__step-title,
  .page-register__feature-title,
  .page-register__benefit-title {
    font-size: 20px;
  }
  .page-register__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  /* FAQ specific mobile styles */
  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-register__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
  }

  /* Universal image and container responsive styles */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__container,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__cta-final-section,
  .page-register__step-card,
  .page-register__feature-item,
  .page-register__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure hero content also has correct padding on mobile */
  .page-register__hero-content {
      padding-left: 15px;
      padding-right: 15px;
  }
}