/* style/new-user-guide.css */

/* Body background color is handled by shared.css var(--bg-color) */
.page-new-user-guide {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-new-user-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-new-user-guide__dark-section {
  background-color: #11271B; /* Card BG */
}

.page-new-user-guide__heading {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-new-user-guide__sub-heading {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-new-user-guide__paragraph {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-new-user-guide__paragraph--center {
  text-align: center;
}

.page-new-user-guide a {
  color: #2AD16F;
  text-decoration: none;
}

.page-new-user-guide a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-new-user-guide__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green */
}

.page-new-user-guide__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-new-user-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-new-user-guide__hero-content {
  position: relative; /* Ensure content is above the background image */
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to bring content slightly up, but not overlap image */
  background-color: rgba(17, 40, 27, 0.8); /* Card BG with opacity */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-new-user-guide__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-new-user-guide__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-new-user-guide__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Buttons */
.page-new-user-guide__btn-primary,
.page-new-user-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-new-user-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-new-user-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-new-user-guide__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-new-user-guide__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  border-color: #F2FFF6;
}

.page-new-user-guide__cta-buttons--center {
  margin-top: 40px;
}

/* Video Section */
.page-new-user-guide__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.page-new-user-guide__video {
  width: 100%;
  height: auto;
  display: block;
}

/* Content Grid */
.page-new-user-guide__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-new-user-guide__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-new-user-guide__text-block {
  flex: 1;
}

.page-new-user-guide__image-block {
  flex: 1;
  min-width: 300px; /* Ensure image block has a minimum width */
}

.page-new-user-guide__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-new-user-guide__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-new-user-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-new-user-guide__list-item strong {
  color: #F2FFF6; /* Text Main */
}

/* Card Grid for Promotions */
.page-new-user-guide__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-new-user-guide__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-new-user-guide__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-new-user-guide__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-new-user-guide__card-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-new-user-guide__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-new-user-guide__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-new-user-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Divider */
  border-bottom: 1px solid #2E7A4E;
}

.page-new-user-guide__faq-item[open] .page-new-user-guide__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-new-user-guide__faq-qtext {
  flex-grow: 1;
}

.page-new-user-guide__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
}

.page-new-user-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #0A4B2C; /* Deep Green */
}

.page-new-user-guide__faq-answer p {
  margin-bottom: 0;
}

/* CTA Bottom */
.page-new-user-guide__cta-bottom {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-new-user-guide__cta-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-new-user-guide__heading {
    font-size: 2em;
  }
  .page-new-user-guide__sub-heading {
    font-size: 1.5em;
  }
  .page-new-user-guide__paragraph {
    font-size: 1em;
  }
  .page-new-user-guide__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-new-user-guide__section {
    padding: 40px 0;
  }
  .page-new-user-guide__hero-section {
    padding-bottom: 40px;
  }
  .page-new-user-guide__hero-content {
    padding: 30px 15px;
    margin-top: -30px;
  }
  .page-new-user-guide__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-new-user-guide__hero-description {
    font-size: 1em;
  }
  .page-new-user-guide__hero-cta-buttons,
  .page-new-user-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }
  .page-new-user-guide__btn-primary,
  .page-new-user-guide__btn-secondary,
  .page-new-user-guide a[class*="button"],
  .page-new-user-guide 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-new-user-guide__hero-cta-buttons,
  .page-new-user-guide__cta-buttons,
  .page-new-user-guide__button-group,
  .page-new-user-guide__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-new-user-guide__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-new-user-guide__text-block,
  .page-new-user-guide__image-block {
    flex: none;
    width: 100%;
  }
  .page-new-user-guide__image,
  .page-new-user-guide video,
  .page-new-user-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-new-user-guide__video-wrapper,
  .page-new-user-guide__video-container,
  .page-new-user-guide__video-section,
  .page-new-user-guide__section,
  .page-new-user-guide__card,
  .page-new-user-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-new-user-guide__video-section {
    padding-top: 10px !important;
  }
  .page-new-user-guide__card-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-new-user-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-new-user-guide__faq-answer {
    padding: 15px 20px;
  }
  .page-new-user-guide__cta-bottom {
    padding: 60px 0;
  }
}