/* style/x-s.css */
.page-x-s {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-x-s__hero-section {
  background: linear-gradient(135deg, #007BFF, #FFC107);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-x-s__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[IMAGE:hero_main]'); /* Dynamic image placeholder */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.page-x-s__hero-section .page-x-s__container {
  position: relative;
  z-index: 1;
}

.page-x-s__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.page-x-s__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-x-s__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

.page-x-s__btn--primary {
  background-color: #FFC107;
  color: #000;
}

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

.page-x-s__btn--secondary {
  background-color: #007BFF;
  color: #fff;
}

.page-x-s__btn--secondary:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-x-s__section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-x-s__section--dark {
  background-color: #f0f0f0;
}

.page-x-s__section-title {
  font-size: 2.8em;
  color: #007BFF;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-x-s__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFC107;
  border-radius: 2px;
}

.page-x-s__section-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

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

.page-x-s__feature-item, .page-x-s__step-item, .page-x-s__tip-item, .page-x-s__faq-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s__feature-item:hover, .page-x-s__step-item:hover, .page-x-s__tip-item:hover, .page-x-s__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-x-s__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s__feature-heading, .page-x-s__step-heading, .page-x-s__tip-heading, .page-x-s__faq-question {
  font-size: 1.8em;
  color: #007BFF;
  margin-bottom: 15px;
  text-align: center;
}

.page-x-s__feature-item p, .page-x-s__step-item p, .page-x-s__tip-item p, .page-x-s__faq-answer {
  font-size: 1.05em;
  color: #555;
  text-align: justify;
}

.page-x-s__step-item {
  text-align: center;
}

.page-x-s__step-number {
  width: 50px;
  height: 50px;
  background-color: #007BFF;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.page-x-s__step-item a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

.page-x-s__step-item a:hover {
  text-decoration: underline;
}

.page-x-s__cta-section {
  background: linear-gradient(to right, #007BFF, #0056b3);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-x-s__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[IMAGE:cta_background]'); /* Dynamic image placeholder */
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.page-x-s__cta-section .page-x-s__container {
  position: relative;
  z-index: 1;
}

.page-x-s__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #fff;
}

.page-x-s__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

.page-x-s__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px;
  max-width: 600px;
  text-align: left;
}

.page-x-s__promo-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #fff;
  border-left: 5px solid #FFC107;
}

.page-x-s__faq-section {
  padding-bottom: 80px;
}

.page-x-s__faq-item {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.page-x-s__faq-question {
  font-size: 1.5em;
  color: #007BFF;
  margin-bottom: 10px;
  text-align: left;
}

.page-x-s__faq-answer {
  font-size: 1em;
  color: #555;
  text-align: justify;
}

.page-x-s__conclusion-section {
  background-color: #007BFF;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-x-s__conclusion-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #fff;
}

.page-x-s__conclusion-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-x-s__keyword {
  font-weight: bold;
  color: #FFC107;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s__hero-title {
    font-size: 2.8em;
  }
  .page-x-s__section-title, .page-x-s__cta-title, .page-x-s__conclusion-title {
    font-size: 2.2em;
  }
  .page-x-s__feature-grid, .page-x-s__steps-grid, .page-x-s__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-x-s__hero-title {
    font-size: 2.2em;
  }
  .page-x-s__hero-description {
    font-size: 1.1em;
  }
  .page-x-s__section-title, .page-x-s__cta-title, .page-x-s__conclusion-title {
    font-size: 1.8em;
  }
  .page-x-s__feature-heading, .page-x-s__step-heading, .page-x-s__tip-heading, .page-x-s__faq-question {
    font-size: 1.4em;
  }
  .page-x-s__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-x-s__section, .page-x-s__cta-section, .page-x-s__conclusion-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .page-x-s__hero-title {
    font-size: 1.8em;
  }
  .page-x-s__hero-description {
    font-size: 1em;
  }
  .page-x-s__section-title, .page-x-s__cta-title, .page-x-s__conclusion-title {
    font-size: 1.5em;
  }
  .page-x-s__feature-heading, .page-x-s__step-heading, .page-x-s__tip-heading, .page-x-s__faq-question {
    font-size: 1.2em;
  }
  .page-x-s__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-x-s__container {
    padding: 0 15px;
  }
  .page-x-s__feature-grid, .page-x-s__steps-grid, .page-x-s__tips-grid {
    grid-template-columns: 1fr;
  }
}