.page-register {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* 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;
  padding: 10px 0 60px 0; /* Small top padding, rely on body for header offset */
  text-align: center;
  overflow: hidden;
  background-color: #17191F; /* Card BG, as a section background */
}

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.3; /* Slightly dim the image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(13, 14, 18, 0.7); /* Slightly darker overlay for text contrast */
  border-radius: 10px;
}

.page-register__main-heading {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5); /* Glow */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-register__hero-description {
  font-size: 1.15rem;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 176, 77, 0.4); /* Glow */
  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 6px 20px rgba(255, 176, 77, 0.6);
}

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #FF8C1A; /* Primary Color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-register__section-description {
  font-size: 1.05rem;
  color: #FFF3E6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-register__why-choose-section,
.page-register__registration-guide-section,
.page-register__benefits-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__conclusion-section {
  padding: 80px 0;
  background-color: #0D0E12; /* Background */
}

.page-register__why-choose-section {
  background-color: #17191F; /* Card BG */
}

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

.page-register__why-item {
  background-color: #0D0E12; /* Background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C; /* Border */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-register__why-item:hover {
  transform: translateY(-5px);
}

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

.page-register__why-title {
  font-size: 1.5rem;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 15px;
}

.page-register__why-text {
  font-size: 1rem;
  color: #FFF3E6;
}

.page-register__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-register__guide-step {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid #FF8C1A; /* Primary Color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FF8C1A; /* Primary Color */
  color: #FFF3E6;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.page-register__step-title {
  font-size: 1.6rem;
  color: #FFA53A; /* Auxiliary Color */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1rem;
  color: #FFF3E6;
  flex-grow: 1;
}

.page-register__form-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
}

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

.page-register__contact-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background-color: transparent;
  border: 2px solid #FF8C1A; /* Primary Color */
  color: #FF8C1A;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__contact-button:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
}

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

.page-register__benefit-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__benefit-title {
  font-size: 1.6rem;
  color: #FF8C1A; /* Primary Color */
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 1rem;
  color: #FFF3E6;
}

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

.page-register__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  display: block;
}

.page-register__security-text-block {
  flex: 1;
  max-width: 50%;
}

.page-register__security-title {
  font-size: 1.5rem;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 10px;
  margin-top: 25px;
}

.page-register__security-title:first-of-type {
  margin-top: 0;
}

.page-register__security-text {
  font-size: 1rem;
  color: #FFF3E6;
}

.page-register__security-text a {
  color: #FFB04D; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__security-text a:hover {
  text-decoration: underline;
  color: #FF8C1A;
}

.page-register__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-register__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary Color */
  background-color: #17191F; /* Card BG */
  transition: background-color 0.3s ease;
}

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

.page-register__faq-item summary:hover {
  background-color: rgba(255, 176, 77, 0.1);
}

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

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FF8C1A; /* Primary Color */
}

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

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

.page-register__floating-buttons {
  position: sticky;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 100;
  margin-top: 40px;
  justify-content: center;
  width: 100%;
  max-width: 350px; /* Limit width to keep them compact */
  margin-left: auto;
  margin-right: auto;
}

.page-register__floating-button {
  flex: 1;
  padding: 12px 15px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 176, 77, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__floating-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 77, 0.6);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-content {
    padding: 30px 15px;
  }

  .page-register__why-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-register__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-register__security-image,
  .page-register__security-text-block {
    max-width: 100%;
  }
}

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

  .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-register__main-heading {
    font-size: 2.2rem;
  }

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

  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100%;
  }

  .page-register__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

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

  .page-register__why-choose-section,
  .page-register__registration-guide-section,
  .page-register__benefits-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__conclusion-section {
    padding: 60px 0;
  }

  .page-register__guide-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }

  .page-register__step-number {
    margin-bottom: 10px;
  }

  .page-register__cta-buttons-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__contact-button {
    width: 100%;
  }

  .page-register__why-icon {
    width: 80px;
    height: 80px;
  }

  .page-register__why-title {
    font-size: 1.3rem;
  }

  .page-register__benefit-title {
    font-size: 1.4rem;
  }

  .page-register__security-title {
    font-size: 1.3rem;
  }

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

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

  /* Mobile responsive images */
  .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-section,
  .page-register__why-choose-section,
  .page-register__registration-guide-section,
  .page-register__benefits-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile responsive buttons */
  .page-register__cta-button,
  .page-register__contact-button,
  .page-register__floating-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-register__floating-buttons {
    position: sticky; /* Keep sticky behavior within main */
    bottom: 10px;
    left: auto;
    transform: none;
    margin-top: 20px;
  }

  .page-register__floating-button {
    border-radius: 8px;
  }
}