.page-register {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-register__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
}

.page-register__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  z-index: 1;
}

.page-register__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 15px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly with image for visual effect */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E;
}

.page-register__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-register__hero-description {
  font-size: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px #57E38D; /* Glow */
}

/* Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-register__registration-form {
  flex: 1 1 500px;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E;
}

.page-register__form-group {
  margin-bottom: 25px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
}

.page-register__form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-input::placeholder {
  color: #A7D9B8; /* Text Secondary */
  opacity: 0.7;
}

.page-register__form-input:focus {
  border-color: #57E38D; /* Glow */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
  outline: none;
}

.page-register__form-captcha {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-register__captcha-input {
  flex-grow: 1;
}

.page-register__captcha-image {
  border-radius: 8px;
  border: 1px solid #2E7A4E;
  height: 50px; /* Fixed height for captcha image */
  width: 150px; /* Fixed width for captcha image */
}

.page-register__form-checkbox {
  margin-top: 25px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.page-register__checkbox-input {
  margin-top: 4px;
  margin-right: 10px;
  accent-color: #2AD16F;
  transform: scale(1.2);
}

.page-register__checkbox-label {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-register__checkbox-label a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__checkbox-label a:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 10px #57E38D; /* Glow */
}

.page-register__form-image-block {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__form-image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
}

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

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

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

.page-register__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px #57E38D;
}

.page-register__benefit-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-register__benefit-title {
  font-size: 22px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-register__benefit-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-register__security-content {
  flex: 1 1 500px;
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-register__security-item {
  font-size: 17px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-register__security-item::before {
  content: '✓';
  color: #57E38D; /* Glow */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
}

.page-register__security-text {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 30px;
}

.page-register__security-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__security-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
}

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

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  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-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-item[open] .page-register__faq-answer {
  max-height: 500px; /* Arbitrary large value */
  padding-top: 15px;
  transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

/* CTA Section */
.page-register__cta-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

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

.page-register__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6;
  border: none;
}

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

.page-register__cta-button--secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #57E38D; /* Glow */
  border-color: #57E38D;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-content {
    margin-top: -100px;
    padding: 30px;
  }
  .page-register__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-register__hero-description {
    font-size: 18px;
  }
  .page-register__form-wrapper, .page-register__security-section .page-register__container {
    flex-direction: column;
  }
  .page-register__registration-form, .page-register__form-image-block, .page-register__security-content, .page-register__security-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-register__security-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-register__hero-content {
    margin-top: -60px;
    padding: 20px;
    border-radius: 10px;
  }
  .page-register__main-title {
    font-size: clamp(24px, 6vw, 38px);
    margin-bottom: 15px;
  }
  .page-register__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-register__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-register__form-section, .page-register__benefits-section, .page-register__security-section, .page-register__faq-section, .page-register__cta-section {
    padding: 40px 0;
  }
  .page-register__registration-form {
    padding: 30px;
  }
  .page-register__form-input {
    padding: 12px 15px;
    font-size: 15px;
  }
  .page-register__captcha-image {
    height: 45px;
    width: 135px;
  }
  .page-register__submit-button {
    padding: 14px;
    font-size: 16px;
  }
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-register__benefit-item {
    padding: 25px;
  }
  .page-register__benefit-title {
    font-size: 20px;
  }
  .page-register__benefit-text {
    font-size: 15px;
  }
  .page-register__security-item {
    font-size: 15px;
    padding-left: 25px;
  }
  .page-register__security-item::before {
    font-size: 18px;
  }
  .page-register__security-text {
    font-size: 16px;
  }
  .page-register__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    font-size: 15px;
    padding: 0 20px 15px 20px;
  }
  .page-register__cta-buttons {
    flex-direction: column;
  }

  /* Image responsive rules */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__hero-image-wrapper,
  .page-register__form-image-block,
  .page-register__security-image,
  .page-register__benefits-section .page-register__benefit-item img {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-register__container,
  .page-register__form-section .page-register__container,
  .page-register__benefits-section .page-register__container,
  .page-register__security-section .page-register__container,
  .page-register__faq-section .page-register__container,
  .page-register__cta-section .page-register__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-register__hero-section {
    padding-top: 10px !important;
  }
  .page-register__captcha-image {
    flex-shrink: 0;
    width: 100px !important;
    height: 40px !important;
  }
  .page-register__form-captcha {
    flex-wrap: wrap;
    gap: 10px;
  }
  .page-register__captcha-input {
    width: calc(100% - 110px);
  }
}

@media (max-width: 480px) {
  .page-register__hero-content {
    margin-top: -40px;
  }
  .page-register__main-title {
    font-size: clamp(22px, 7vw, 32px);
  }
  .page-register__hero-description {
    font-size: 14px;
  }
  .page-register__cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }
  .page-register__section-title {
    font-size: clamp(20px, 7vw, 30px);
  }
  .page-register__section-description {
    font-size: 14px;
  }
  .page-register__form-input {
    font-size: 14px;
  }
  .page-register__checkbox-label {
    font-size: 13px;
  }
  .page-register__submit-button {
    font-size: 15px;
  }
  .page-register__benefit-title {
    font-size: 18px;
  }
  .page-register__benefit-text {
    font-size: 14px;
  }
  .page-register__security-item {
    font-size: 14px;
  }
  .page-register__security-text {
    font-size: 14px;
  }
  .page-register__faq-question {
    font-size: 15px;
  }
  .page-register__faq-answer {
    font-size: 14px;
  }
  .page-register__captcha-input {
    width: 100%;
  }
  .page-register__captcha-image {
    margin-left: auto;
    margin-right: auto;
  }
  .page-register__form-captcha {
    justify-content: center;
  }
}