/* style/resources-xs66-app-download-guide.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color: #333333;
  --light-bg: #f8f8f8;
  --border-color: #e0e0e0;
  --cta-login-color: #EA7C07;
}

.page-resources-xs66-app-download-guide {
  font-family: 'Arial', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--secondary-color); /* Default white background */
}

/* Fixed header spacing */
.page-resources-xs66-app-download-guide__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-resources-xs66-app-download-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Adjust padding bottom as header offset is handled by padding-top */
  background: linear-gradient(135deg, var(--primary-color) 0%, #a2dcf2 100%); /* Light blue gradient */
  color: var(--secondary-color);
}

.page-resources-xs66-app-download-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.page-resources-xs66-app-download-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Limit hero image width */
}

.page-resources-xs66-app-download-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-xs66-app-download-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-xs66-app-download-guide__hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-resources-xs66-app-download-guide__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--secondary-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.page-resources-xs66-app-download-guide__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--cta-login-color); /* Login color for CTA */
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
}

.page-resources-xs66-app-download-guide__cta-button:hover {
  background: #d46c05; /* Slightly darker orange */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-resources-xs66-app-download-guide__section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-resources-xs66-app-download-guide__section:nth-of-type(even) {
  background-color: var(--light-bg);
}

.page-resources-xs66-app-download-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-xs66-app-download-guide__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-xs66-app-download-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--cta-login-color);
  border-radius: 2px;
}

.page-resources-xs66-app-download-guide__paragraph {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color);
}

/* Features Grid */
.page-resources-xs66-app-download-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-xs66-app-download-guide__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-resources-xs66-app-download-guide__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-xs66-app-download-guide__feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure block for proper centering */
  margin-left: auto;
  margin-right: auto;
}

.page-resources-xs66-app-download-guide__feature-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-resources-xs66-app-download-guide__feature-item p {
  font-size: 1em;
  color: var(--text-color);
  margin-bottom: 0;
}

/* Download Guide Steps */
.page-resources-xs66-app-download-guide__step-by-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.page-resources-xs66-app-download-guide__step-item {
  background: var(--secondary-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.page-resources-xs66-app-download-guide__step-title {
  font-size: 1.8em;
  color: var(--cta-login-color);
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.page-resources-xs66-app-download-guide__step-item ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.page-resources-xs66-app-download-guide__step-item li {
  margin-bottom: 25px;
  font-size: 1.1em;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-xs66-app-download-guide__step-item li p {
  text-align: left;
  margin-bottom: 10px;
  font-size: 1em; /* Reset paragraph font size */
  max-width: 100%; /* Ensure text wraps */
  margin-left: 0; /* Override center alignment */
  margin-right: 0; /* Override center alignment */
}

.page-resources-xs66-app-download-guide__step-item li strong {
  color: var(--primary-color);
}

.page-resources-xs66-app-download-guide__step-item li img {
  width: 100%;
  max-width: 500px; /* Max width for step images */
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Button Group */
.page-resources-xs66-app-download-guide__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}