/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* White text on dark body background */
  background-color: #000;
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: #ffc107; /* Gold accent for titles */
  line-height: 1.2;
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-register__hero-content {
  max-width: 600px;
  text-align: left;
  z-index: 1;
  position: relative;
  margin-right: 40px;
}

.page-register__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffc107; /* Gold for main title */
}

.page-register__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #e0e0e0;
}

.page-register__hero-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__hero-image-wrapper {
  flex-shrink: 0;
  margin-left: 40px;
  z-index: 0;
  max-width: 50%;
}

.page-register__hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Registration Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
}

.page-register__registration-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background-color: #1a1a1a; /* Card background */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-register__form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-weight: bold;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #007bff;
  border-radius: 6px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #999999;
}

.page-register__captcha-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.page-register__captcha-image {
  width: 150px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #007bff;
  flex-shrink: 0;
}

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

.page-register__form-checkbox input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 4px;
  flex-shrink: 0;
}

.page-register__checkbox-label {
  font-size: 15px;
  color: #f0f0f0;
  line-height: 1.5;
}

.page-register__form-link {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__form-link:hover {
  color: #ffc107;
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-register__benefit-card {
  background-color: #1a1a1a; /* Light background for card */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-register__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-register__benefit-text {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-register__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: center;
}

.page-register__guide-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-register__guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #007bff;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  border: 3px solid #ffc107;
}

.page-register__guide-step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-register__guide-step-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-register__guide-step-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
}

/* Security & Support Section */
.page-register__security-support-section {
  padding: 80px 0;
  background-color: #000;
}

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

.page-register__security-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-register__security-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register__security-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-register__security-text {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.page-register__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #2a2a2a;
  border-bottom: 1px solid #007bff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #3a3a3a;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #f0f0f0;
  pointer-events: none;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
  color: #007bff;
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background-color: #1a1a1a;
}

.page-register__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* CTA App Section */
.page-register__cta-app-section {
  padding: 80px 0;
  background-color: #007bff; /* Primary brand color background */
  text-align: center;
}

.page-register__cta-app-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

.page-register__cta-text {
  flex: 1;
  text-align: left;
}

.page-register__cta-text .page-register__section-title {
  color: #ffc107; /* Gold title on blue background */
  text-align: left;
}

.page-register__cta-text .page-register__section-description {
  color: #ffffff;
  text-align: left;
  margin-bottom: 30px;
}

.page-register__app-buttons {
  display: flex;
  gap: 20px;
}

.page-register__app-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__cta-image {
  flex-shrink: 0;
  max-width: 400px;
}

.page-register__cta-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Button styles */
.page-register__btn-primary {
  background-color: #ffc107; /* Gold button */
  color: #000000; /* Black text for contrast */
  border: none;
}

.page-register__btn-primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-register__btn-secondary {
  background-color: #ffffff;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-register__btn-secondary:hover {
  background-color: #e2f0ff;
  transform: translateY(-3px);
}

/* General image and button responsive styles */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-register__cta-button,
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register a[class*="button"],
.page-register a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-buttons,
.page-register__button-group,
.page-register__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }
  .page-register__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  .page-register__hero-title {
    font-size: 40px;
  }
  .page-register__hero-description {
    font-size: 18px;
  }
  .page-register__hero-image-wrapper {
    margin-left: 0;
    max-width: 70%;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__section-description {
    font-size: 16px;
  }
  .page-register__cta-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-register__cta-text {
    text-align: center;
  }
  .page-register__cta-text .page-register__section-title,
  .page-register__cta-text .page-register__section-description {
    text-align: center;
  }
  .page-register__app-buttons {
    justify-content: center;
  }
  .page-register__guide-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__hero-section {
    padding: 40px 15px;
  }
  .page-register__hero-title {
    font-size: 32px;
  }
  .page-register__hero-description {
    font-size: 16px;
  }
  .page-register__hero-image-wrapper {
    max-width: 90%;
  }
  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-register__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-register__form-section {
    padding: 50px 0;
  }
  .page-register__registration-form {
    padding: 25px;
  }
  .page-register__form-group {
    margin-bottom: 20px;
  }
  .page-register__form-label,
  .page-register__form-input,
  .page-register__checkbox-label {
    font-size: 15px;
  }
  .page-register__captcha-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-register__captcha-image {
    width: 100%;
    max-width: 150px;
  }
  .page-register__submit-button {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__security-support-section,
  .page-register__faq-section,
  .page-register__cta-app-section {
    padding: 50px 0;
  }
  .page-register__benefits-grid,
  .page-register__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__benefit-card,
  .page-register__security-item {
    padding: 20px;
  }
  .page-register__benefit-title,
  .page-register__security-title {
    font-size: 20px;
  }
  .page-register__benefit-text,
  .page-register__security-text {
    font-size: 15px;
  }
  .page-register__guide-item {
    padding: 20px;
  }
  .page-register__guide-step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-register__guide-step-title {
    font-size: 20px;
  }
  .page-register__guide-step-text {
    font-size: 15px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-question h3 {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
    margin-left: 15px;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px !important;
  }
  .page-register__faq-answer p {
    font-size: 15px;
  }
  .page-register__app-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__app-button {
    font-size: 16px;
    padding: 12px 25px;
  }

  /* Mobile image and button overrides */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__security-support-section,
  .page-register__faq-section,
  .page-register__cta-app-section,
  .page-register__registration-form,
  .page-register__benefit-card,
  .page-register__guide-item,
  .page-register__security-item,
  .page-register__faq-item,
  .page-register__cta-app-content,
  .page-register__hero-content,
  .page-register__cta-text,
  .page-register__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-register__hero-image-wrapper,
  .page-register__cta-image {
    margin-left: 0;
    margin-right: 0;
  }
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-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;
  }
  .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__app-buttons {
    flex-direction: column !important;
  }
}