/* style/register.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --dark-bg-color: #0a0a0a; /* From body background info */
}

.page-register {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-color);
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 60px 20px; /* Adjust padding-top to 0 or small for hero */
  box-sizing: border-box;
  overflow: hidden;
  color: var(--text-light);
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit hero image height */
  margin-bottom: 30px;
}

.page-register__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  color: var(--text-light);
}

.page-register__main-title {
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  /* clamp for responsive font-size, avoiding fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-register__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-register__section-title {
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.page-register__section-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-register__why-choose-section,
.page-register__benefits-section {
  padding: 80px 20px;
  background-color: var(--background-color); /* Light background for contrast */
  color: var(--text-dark);
}

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

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

.page-register__feature-card,
.page-register__step-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__feature-title,
.page-register__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-register__feature-text,
.page-register__step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-register__guide-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 80px 20px;
  background-color: var(--dark-bg-color); /* Dark background for these sections */
  color: var(--text-light);
}

.page-register__guide-section .page-register__section-title,
.page-register__faq-section .page-register__section-title,
.page-register__cta-final-section .page-register__section-title {
  color: var(--secondary-color); /* Light title for dark background */
}

.page-register__guide-section .page-register__section-description,
.page-register__faq-section .page-register__section-description,
.page-register__cta-final-section .page-register__section-description {
  color: var(--secondary-color); /* Light description for dark background */
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: var(--login-color); /* Custom color for 'Login' related actions */
  color: var(--secondary-color);
  border: 2px solid var(--login-color);
  margin-right: 15px;
}

.page-register__btn-primary:hover {
  background-color: darken(var(--login-color), 10%);
  border-color: darken(var(--login-color), 10%);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-register__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-register__btn-large {
    min-width: 220px;
    padding: 18px 35px;
    font-size: 1.2rem;
    margin: 10px;
}

.page-register__benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.page-register__benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

.page-register__benefit-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.page-register__benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-register__benefit-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-register__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--primary-color);
}

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

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-color);
}

.page-register__faq-item:not([open]) .page-register__faq-answer {
  display: none;
}

.page-register__link {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-register__link:hover {
    color: var(--login-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-content {
    padding: 0 15px;
  }
  .page-register__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-register__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .page-register__feature-card,
  .page-register__step-card {
    padding: 25px;
  }
  .page-register__benefit-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  .page-register__benefit-icon {
      margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 0 15px 40px 15px;
  }
  .page-register__hero-image {
    max-height: 400px;
  }
  .page-register__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .page-register__hero-description {
    font-size: 1rem;
  }
  .page-register__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-register__section-description {
    font-size: 0.95rem;
  }
  .page-register__why-choose-section,
  .page-register__guide-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding: 50px 15px;
  }
  .page-register__features-grid,
  .page-register__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-register__feature-card,
  .page-register__step-card {
    padding: 20px;
  }
  .page-register__feature-title,
  .page-register__step-title {
    font-size: 1.2rem;
  }
  .page-register__benefit-title {
      font-size: 1.3rem;
  }
  .page-register__benefit-text {
      font-size: 0.9rem;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__cta-final-section .page-register__btn-large {
      min-width: unset;
  }
  .page-register__cta-final-section .page-register__btn-primary {
      margin-bottom: 15px !important;
  }
  .page-register__cta-final-section .page-register__btn-secondary {
      margin-top: 0 !important;
  }
  .page-register__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px 15px;
  }
  .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__guide-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__cta-final-section,
  .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;
    overflow: hidden !important;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-image {
    max-height: 300px;
  }
  .page-register__main-title {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }
  .page-register__feature-title,
  .page-register__step-title {
    font-size: 1.1rem;
  }
  .page-register__faq-question {
    font-size: 0.95rem;
  }
}