/* style/xo-so.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0056b3;
  --border-color: #e0e0e0;
}

.page-xo-so {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.page-xo-so .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-xo-so h1, .page-xo-so h2, .page-xo-so h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-xo-so h1 {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--text-light);
}

.page-xo-so h2 {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-xo-so h3 {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--text-dark);
}

.page-xo-so p {
  margin-bottom: 15px;
  text-align: center;
}

.page-xo-so a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-xo-so a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.page-xo-so .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
  color: var(--text-light);
  overflow: hidden;
}

.page-xo-so .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-xo-so .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-xo-so .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-xo-so .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-xo-so .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-xo-so .hero-content a {
  color: var(--text-light);
}

.page-xo-so .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-xo-so .cta-button:hover {
  background: #ffdb58; /* Slightly brighter secondary color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
.page-xo-so section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-xo-so section:nth-of-type(even) {
  background-color: #ffffff;
}

/* Advantages Grid */
.page-xo-so .advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-xo-so .advantage-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so .advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so .advantage-item .advantage-icon {
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-xo-so .advantage-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-xo-so .advantage-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* Guide Steps */
.page-xo-so .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xo-so .step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-xo-so .step-item .step-icon {
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-xo-so .step-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-xo-so .step-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

.page-xo-so .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-xo-so .btn-small:hover {
  background: var(--bg-dark);
  transform: translateY(-2px);
}

/* Promotions */
.page-xo-so .promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xo-so .promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so .promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so .promo-card .promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-xo-so .promo-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: var(--primary-color);
}

.page-xo-so .promo-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 15px 20px;
  text-align: center;
}

.page-xo-so .btn-promo {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.page-xo-so .btn-promo:hover {
  background: #ffdb58;
  transform: translateY(-2px);
}

/* Security & Support */
.page-xo-so .security-support-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-xo-so .security-support-content .item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-xo-so .security-support-content .item .info-icon {
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-xo-so .security-support-content .item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-xo-so .security-support-content .item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* FAQ Section */
.page-xo-so .section-faq {
  background-color: var(--bg-light);
}

.page-xo-so .faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-xo-so .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-xo-so .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-xo-so .faq-question:hover {
  background: #f5f5f5;
}

.page-xo-so .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
  text-align: left;
}

.page-xo-so .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-xo-so .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-xo-so .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #fdfdfd;
}

.page-xo-so .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.page-xo-so .faq-answer p {
  margin: 0;
  color: var(--text-dark);
  text-align: left;
}

/* Blog Section */
.page-xo-so .blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xo-so .blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so .blog-card .blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-xo-so .blog-card h3 {
  font-size: 1.3em;
  margin: 15px 15px 10px;
  color: var(--primary-color);
  text-align: left;
}

.page-xo-so .blog-card h3 a {
  color: var(--primary-color);
}

.page-xo-so .blog-card p {
  font-size: 0.9em;
  color: var(--text-dark);
  padding: 0 15px 15px;
  text-align: left;
}

.page-xo-so .blog-card .read-more {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 15px 15px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 5px;
  font-size: 0.85em;
  transition: background-color 0.3s ease;
}

.page-xo-so .blog-card .read-more:hover {
  background: var(--bg-dark);
}

/* Bottom CTA */
.page-xo-so .section-cta-bottom {
  background: linear-gradient(90deg, var(--primary-color), var(--bg-dark));
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.page-xo-so .section-cta-bottom h2 {
  color: var(--text-light);
  font-size: 2.5em;
}

.page-xo-so .section-cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-xo-so h1 {
    font-size: 2.2em;
  }
  .page-xo-so h2 {
    font-size: 1.8em;
  }
  .page-xo-so h3 {
    font-size: 1.3em;
  }
  .page-xo-so .hero-content p {
    font-size: 1.1em;
  }
  .page-xo-so .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-xo-so .advantages-grid, .page-xo-so .guide-steps, .page-xo-so .promotion-cards, .page-xo-so .security-support-content, .page-xo-so .blog-posts {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-xo-so .advantage-item .advantage-icon,
  .page-xo-so .step-item .step-icon,
  .page-xo-so .security-support-content .item .info-icon {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-xo-so .hero-section {
    padding: 40px 15px;
  }
  .page-xo-so h1 {
    font-size: 1.8em;
  }
  .page-xo-so h2 {
    font-size: 1.6em;
  }
  .page-xo-so h3 {
    font-size: 1.2em;
  }
  .page-xo-so .hero-content p {
    font-size: 1em;
  }
  .page-xo-so .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-xo-so section {
    padding: 40px 0;
  }
  .page-xo-so .advantages-grid, .page-xo-so .guide-steps, .page-xo-so .promotion-cards, .page-xo-so .security-support-content, .page-xo-so .blog-posts {
    grid-template-columns: 1fr;
  }
  .page-xo-so .advantage-item .advantage-icon,
  .page-xo-so .step-item .step-icon,
  .page-xo-so .security-support-content .item .info-icon {
    width: 200px;
    height: 200px;
  }
  .page-xo-so .faq-question {
    padding: 12px 15px;
  }
  .page-xo-so .faq-question h3 {
    font-size: 1em;
  }
  .page-xo-so .faq-toggle {
    font-size: 20px;
  }
  .page-xo-so .faq-answer {
    padding: 0 15px;
  }
  .page-xo-so .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-xo-so .section-cta-bottom h2 {
    font-size: 2em;
  }
  .page-xo-so .section-cta-bottom p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-xo-so .container {
    padding: 0 15px;
  }
  .page-xo-so h1 {
    font-size: 1.6em;
  }
  .page-xo-so h2 {
    font-size: 1.4em;
  }
  .page-xo-so h3 {
    font-size: 1.1em;
  }
  .page-xo-so .advantage-item .advantage-icon,
  .page-xo-so .step-item .step-icon,
  .page-xo-so .security-support-content .item .info-icon {
    width: 180px;
    height: 180px;
  }
}