/* style/register-login.css */

/* Base styles for the page */
.page-register-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Inherit from body */
  padding-top: 120px; /* Spacing for fixed header on desktop */
}

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

.page-register-login__main-title {
  font-size: 44px;
  font-weight: 700;
  color: #ffd700; /* Gold for main title */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register-login__subtitle {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register-login__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffd700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-register-login__text-block {
  font-size: 17px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register-login__link {
  color: #ffc107; /* Gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-register-login__link:hover {
  color: #ffffff;
}

/* Buttons */
.page-register-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-register-login__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-register-login__btn--primary {
  background-color: #ffd700; /* Gold background */
  color: #000000; /* Black text for gold button */
  border-color: #ffd700;
}

.page-register-login__btn--primary:hover {
  background-color: #ffeb3b;
  border-color: #ffeb3b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-register-login__btn--secondary {
  background-color: transparent;
  color: #ffd700; /* Gold text */
  border-color: #ffd700;
}

.page-register-login__btn--secondary:hover {
  background-color: #ffd700;
  color: #000000; /* Black text on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-register-login__btn--text {
  background: none;
  border: none;
  color: #ffc107; /* Gold text for text buttons */
  padding: 5px 0;
  font-size: 16px;
  text-decoration: underline;
}

.page-register-login__btn--text:hover {
  color: #ffffff;
  text-decoration: none;
}

.page-register-login__cta-bottom {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Hero Banner Section */
.page-register-login__hero-banner {
  background: linear-gradient(135deg, #0056b3, #000000); /* Dark blue to black gradient */
  padding: 80px 0;
  text-align: center;
  margin-bottom: 40px;
}

/* Intro Section */
.page-register-login__intro-section {
  padding: 60px 0;
  background-color: rgba(0, 0, 0, 0.6); /* Slightly transparent dark background */
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-register-login__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent card background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2); /* Subtle gold border */
}

.page-register-login__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register-login__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register-login__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffd700; /* Gold for feature titles */
  margin-bottom: 15px;
}

.page-register-login__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* How-To Section */
.page-register-login__how-to-section {
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.6);
}

.page-register-login__how-to-section.page-register-login__dark-section {
  background-color: #0056b3; /* Deep blue background */
  color: #ffffff;
}

.page-register-login__how-to-section.page-register-login__dark-section .page-register-login__section-title,
.page-register-login__how-to-section.page-register-login__dark-section .page-register-login__text-block,
.page-register-login__how-to-section.page-register-login__dark-section .page-register-login__step-title,
.page-register-login__how-to-section.page-register-login__dark-section .page-register-login__step-content p {
  color: #ffffff;
}

.page-register-login__how-to-section.page-register-login__dark-section .page-register-login__link {
  color: #ffd700;
}

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

.page-register-login__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.page-register-login__step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: #ffd700; /* Gold background */
  color: #000000; /* Black text */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.page-register-login__step-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffd700; /* Gold for step titles */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-register-login__step-content p {
  font-size: 16px;
  color: #f0f0f0;
}

/* App Download Section */
.page-register-login__app-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #0056b3; /* Deep blue background */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-register-login__app-section .page-register-login__section-title,
.page-register-login__app-section .page-register-login__text-block,
.page-register-login__app-section .page-register-login__app-title,
.page-register-login__app-section .page-register-login__app-description {
  color: #ffffff;
}

.page-register-login__app-section .page-register-login__link {
  color: #ffd700;
}

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

.page-register-login__app-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-register-login__app-qr-code {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  background-color: #ffffff; /* QR code should be visible on dark background */
  padding: 10px;
  border-radius: 5px;
}

.page-register-login__app-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffd700; /* Gold for app titles */
  margin-bottom: 15px;
}

.page-register-login__app-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* Offers Section */
.page-register-login__offers-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-register-login__offer-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register-login__offer-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register-login__offer-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register-login__offer-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 15px;
}

.page-register-login__offer-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-register-login__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #0056b3; /* Deep blue background */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-register-login__faq-section .page-register-login__section-title {
  color: #ffffff;
}

.page-register-login__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-register-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-register-login__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 15px;
  opacity: 0;
}

.page-register-login__faq-item.active .page-register-login__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure priority, large enough value */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-register-login__faq-item.active .page-register-login__faq-answer p {
  color: #f0f0f0;
}

.page-register-login__faq-item.active .page-register-login__faq-answer .page-register-login__link {
  color: #ffd700;
}

.page-register-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register-login__faq-question:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffd700;
}

.page-register-login__faq-question:active {
  background: rgba(255, 255, 255, 0.3);
}

.page-register-login__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: #ffffff; /* White text for FAQ questions */
}

.page-register-login__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffd700; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-register-login__faq-item.active .page-register-login__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Contact CTA Section */
.page-register-login__contact-cta {
  padding: 60px 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-register-login__contact-cta .page-register-login__section-title,
.page-register-login__contact-cta .page-register-login__text-block {
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register-login__main-title {
    font-size: 38px;
  }

  .page-register-login__section-title {
    font-size: 30px;
  }

  .page-register-login__feature-title,
  .page-register-login__app-title,
  .page-register-login__offer-title {
    font-size: 20px;
  }

  .page-register-login__faq-question h3 {
    font-size: 17px;
  }

  .page-register-login__btn {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-register-login {
    padding-top: 100px; /* Spacing for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register-login__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register-login__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-register-login__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-register-login__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .page-register-login__text-block {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-register-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register-login__btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-register-login__hero-banner,
  .page-register-login__intro-section,
  .page-register-login__how-to-section,
  .page-register-login__app-section,
  .page-register-login__offers-section,
  .page-register-login__faq-section,
  .page-register-login__contact-cta {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .page-register-login__features-grid,
  .page-register-login__step-by-step,
  .page-register-login__app-download-grid,
  .page-register-login__offer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register-login__feature-card,
  .page-register-login__app-card,
  .page-register-login__offer-card {
    padding: 25px;
  }

  .page-register-login__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
}