/* style/x-s.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #4B0082; /* Indigo */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #2c2c2c;
    --border-color: #e0e0e0;
}

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

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

.page-x-s .main-title {
    font-size: 3em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-x-s .section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin: 60px 0 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-x-s .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-x-s .section-description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-x-s .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--primary-color), #FFC107);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

.page-x-s .cta-button:hover {
    background: linear-gradient(90deg, #FFC107, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-x-s .intro-section {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-x-s .intro-section .main-title {
    color: var(--primary-color);
}

.page-x-s .intro-section .intro-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px;
}

.page-x-s .intro-section .intro-cta {
    margin-bottom: 40px;
}

.page-x-s .intro-section .intro-image {
    margin-top: 40px;
}

.page-x-s .intro-section .intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Types Section */
.page-x-s .types-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-x-s .type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-x-s .type-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.page-x-s .type-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-x-s .type-card h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-x-s .type-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-x-s .type-card h3 a:hover {
    text-decoration: underline;
}

.page-x-s .type-card p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-x-s .type-card .card-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-x-s .type-card .card-link:hover {
    background-color: #FFC107;
    transform: translateY(-2px);
}

/* Guide Section */
.page-x-s .guide-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), #6A0DAD);
    color: var(--text-light);
}

.page-x-s .guide-section .section-title, .page-x-s .guide-section .section-description {
    color: var(--text-light);
}

.page-x-s .guide-section .section-title::after {
    background-color: var(--primary-color);
}

.page-x-s .guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-x-s .step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-x-s .step-item:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-x-s .step-item img {
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
}

.page-x-s .step-item h4 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-x-s .step-item p {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-x-s .step-item .step-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-x-s .step-item .step-button:hover {
    background-color: #FFC107;
}

/* Advantages Section */
.page-x-s .advantages-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-x-s .advantage-item {
    text-align: center;
    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;
    background-color: var(--bg-light);
}

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

.page-x-s .advantage-item img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-x-s .advantage-item h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-x-s .advantage-item p {
    font-size: 1em;
    color: var(--text-dark);
}

/* Promotions Section */
.page-x-s .promotions-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-x-s .promotions-section .section-title, .page-x-s .promotions-section .section-description {
    color: var(--text-light);
}

.page-x-s .promotions-section .section-title::after {
    background-color: var(--primary-color);
}

.page-x-s .promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-x-s .promotion-card {
    background-color: #3a3a3a;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--primary-color);
}

.page-x-s .promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-x-s .promotion-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-x-s .promotion-card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-x-s .promotion-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-x-s .promotion-card h3 a:hover {
    text-decoration: underline;
}

.page-x-s .promotion-card p {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-x-s .promotion-card .card-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-x-s .promotion-card .card-link:hover {
    background-color: #FFC107;
    transform: translateY(-2px);
}

.page-x-s .promotions-cta {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.page-x-s .faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-x-s .faq-list {
    margin-top: 40px;
}

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

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

.page-x-s .faq-question:hover {
    background: #f0f0f0;
}

.page-x-s .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
}

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

.page-x-s .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-x-s .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

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

.page-x-s .faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-x-s .faq-app-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-x-s .faq-app-link:hover {
    background-color: #5d00a3;
}

/* Conclusion Section */
.page-x-s .conclusion-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), #FFC107);
    color: var(--text-dark);
    text-align: center;
}

.page-x-s .conclusion-section .section-title {
    color: var(--secondary-color);
}

.page-x-s .conclusion-section .section-title::after {
    background-color: var(--secondary-color);
}

.page-x-s .conclusion-section .section-description {
    font-size: 1.15em;
    max-width: 900px;
    margin: 0 auto 30px;
}

.page-x-s .conclusion-section .cta-button {
    background: var(--secondary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.page-x-s .conclusion-section .cta-button:hover {
    background: #5d00a3;
    border-color: #5d00a3;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-x-s .main-title {
        font-size: 2.5em;
    }
    .page-x-s .section-title {
        font-size: 2em;
    }
    .page-x-s .intro-section, .page-x-s .types-section, .page-x-s .guide-section, .page-x-s .advantages-section, .page-x-s .promotions-section, .page-x-s .faq-section, .page-x-s .conclusion-section {
        padding: 60px 0;
    }
    .page-x-s .type-grid, .page-x-s .guide-steps, .page-x-s .advantage-grid, .page-x-s .promotion-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-x-s .main-title {
        font-size: 2em;
    }
    .page-x-s .section-title {
        font-size: 1.8em;
    }
    .page-x-s .intro-section .intro-text, .page-x-s .section-description {
        font-size: 1em;
    }
    .page-x-s .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-x-s .type-card, .page-x-s .step-item, .page-x-s .advantage-item, .page-x-s .promotion-card {
        padding: 20px;
    }
    .page-x-s .faq-question {
        padding: 15px 20px;
    }
    .page-x-s .faq-question h3 {
        font-size: 1.1em;
    }
    .page-x-s .faq-answer {
        padding: 0 20px;
    }
    .page-x-s .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-x-s .main-title {
        font-size: 1.8em;
    }
    .page-x-s .section-title {
        font-size: 1.5em;
    }
    .page-x-s .container {
        padding: 0 15px;
    }
    .page-x-s .type-grid, .page-x-s .guide-steps, .page-x-s .advantage-grid, .page-x-s .promotion-grid {
        grid-template-columns: 1fr;
    }
    .page-x-s .type-card img, .page-x-s .step-item img, .page-x-s .advantage-item img, .page-x-s .promotion-card img {
        height: 150px;
    }
    .page-x-s .faq-question h3 {
        font-size: 1em;
    }
    .page-x-s .faq-toggle {
        font-size: 20px;
    }
}