/* style/promo.css */
.page-promo {
  background-color: var(--secondary-color, #FFFFFF); /* Assuming light body background */
  color: #000000; /* Dark text for contrast */
}

.page-promo__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Minimum height for hero section */
  text-align: center;
}

.page-promo__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Max width for content within hero */
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promo__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF; /* White text over dark hero image */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 900px;
  margin: 0 auto;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promo__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-promo__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-promo__button--register:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.page-promo__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-promo__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-promo__section-intro {
  font-size: 1.2em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
  color: #333333;
}

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

.page-promo__promo-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-promo__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  display: block;
}

.page-promo__card-title {
  font-size: 1.8em;
  margin: 25px 20px 15px;
  color: #000000;
}

.page-promo__card-text {
  font-size: 1em;
  padding: 0 20px 25px;
  line-height: 1.6;
  flex-grow: 1;
  color: #555555;
}

.page-promo__button--claim {
  background-color: #FCBC45;
  color: #000000;
  margin: 0 20px 25px;
  width: calc(100% - 40px);
  border: none;
}

.page-promo__button--claim:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__how-it-works-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

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

.page-promo__step-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-promo__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-promo__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-promo__step-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555555;
}

.page-promo__how-it-works-cta {
  text-align: center;
  margin-top: 50px;
}

.page-promo__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-promo__button--primary:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-promo__terms-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-promo__terms-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1.05em;
  color: #333333;
}

.page-promo__terms-item strong {
  color: #000000;
}

.page-promo__terms-footer {
  text-align: center;
  font-size: 1em;
  color: #555555;
  margin-bottom: 40px;
}

.page-promo__terms-cta {
  text-align: center;
}

.page-promo__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-promo__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-promo__cta-app-section {
  background-color: #000000; /* Dark background for CTA */
  padding: 80px 0;
  color: #FFFFFF;
}

.page-promo__cta-app-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-promo__cta-app-content {
  flex: 1;
  text-align: left;
}

.page-promo__cta-app-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #FFFFFF;
}

.page-promo__cta-app-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-promo__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--download:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__cta-app-image-wrapper {
  flex: 0 0 400px; /* Fixed width for image on desktop */
  text-align: center;
}

.page-promo__cta-app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

.page-promo__faq-list {
  margin-top: 40px;
}

.page-promo__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promo__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-promo__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-promo__faq-cta {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
  .page-promo__section-title {
    font-size: 2.2em;
  }
  .page-promo__cta-app-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    min-height: 500px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promo__hero-title {
    font-size: 2.2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__button {
    width: 100%;
  }
  .page-promo__container {
    padding: 30px 15px;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promo__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-promo__card-image {
    height: 200px;
  }
  .page-promo__card-title {
    font-size: 1.5em;
  }
  .page-promo__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promo__cta-app-container {
    flex-direction: column;
    text-align: center;
  }
  .page-promo__cta-app-content {
    text-align: center;
  }
  .page-promo__cta-app-image-wrapper {
    flex: 0 0 auto;
    width: 80%; /* Adjust image width for mobile */
    max-width: 300px;
    margin-top: 30px;
  }
  .page-promo__cta-app-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
  }
  .page-promo__faq-question {
    font-size: 1.2em;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 1.8em;
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__section-title {
    font-size: 1.6em;
  }
  .page-promo__cta-app-title {
    font-size: 1.8em;
  }
  .page-promo__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-promo__promo-card {
    padding-bottom: 20px;
  }
  .page-promo__button--claim {
    width: calc(100% - 40px);
  }
}