:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --background-light: #f5f7fa; /* Light grey background for sections */
    --border-color: #e0e0e0;
    --login-button-color: #EA7C07; /* Custom color for login */
    --background-color: #FFFFFF; /* Custom color for background */
    --black-color: #000000; /* Custom color for black */
}

/* Base styles for the page content */
.page-resources-x8-app-download-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default text color for light body background */
    background-color: var(--background-color);
}

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

.page-resources-x8-app-download-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-x8-app-download-guide__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: bold;
    text-align: center;
}

.page-resources-x8-app-download-guide__sub-title {
    font-size: 28px;
    color: var(--text-color-dark);
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.page-resources-x8-app-download-guide__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-resources-x8-app-download-guide__text-center {
    text-align: center;
}

/* Hero Section */
.page-resources-x8-app-download-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #a7e0f6 100%); /* Light blue gradient */
    overflow: hidden;
}

.page-resources-x8-app-download-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-resources-x8-app-download-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-x8-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-x8-app-download-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-color-light);
}

.page-resources-x8-app-download-guide__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-light); /* White text for dark/primary background */
}

.page-resources-x8-app-download-guide__description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light); /* White text for dark/primary background */
}

/* Buttons */
.page-resources-x8-app-download-guide__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--login-button-color); /* Use custom login color for primary CTA */
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

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

.page-resources-x8-app-download-guide__btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-x8-app-download-guide__btn-primary:hover {
    background: #1f8ec0; /* Slightly darker primary */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-x8-app-download-guide__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}