.page-download {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
    padding-bottom: 40px;
}

.page-download__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-download__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-download__hero-image-wrap {
    width: 100%;
    max-height: 700px; /* Limit height for desktop */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-download__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 700px; /* Ensure image doesn't overflow */
}

.page-download__hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(20, 12, 12, 0.8) 0%, #140C0C 100%); /* Gradient over content area for readability */
    margin-top: -100px; /* Pull content up over image slightly */
}

.page-download__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__description {
    font-size: 1.2rem;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-download__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-download__btn i {
    margin-right: 10px;
}

.page-download__btn--primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #FFF1E8; /* Text Main */
    border: 2px solid transparent;
}

.page-download__btn--primary:hover {
    background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-download__btn--secondary {
    background: #2A1212; /* Card BG */
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-download__btn--secondary:hover {
    background: #F3C54D; /* Gold */
    color: #140C0C; /* Background */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-download__btn--small {
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 15px;
}

/* General Section Styling */
.page-download__section {
    padding: 40px 0;
    margin-bottom: 20px;
    background: #140C0C; /* Background */
    border-top: 1px solid #6A1E1E; /* Border */
}

.page-download__section:last-of-type {
    margin-bottom: 0;
}

.page-download__section-title {
    font-size: 2.5rem;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-download__intro-text {
    font-size: 1.1rem;
    color: #FFF1E8; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.page-download__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-download__text-block {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
}

.page-download__text-block p {
    margin-bottom: 15px;
    color: #FFF1E8; /* Text Main */
}

.page-download__text-block ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.page-download__text-block ul li {
    background: #2A1212; /* Card BG */
    border-left: 4px solid #F3C54D; /* Gold */
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #FFF1E8; /* Text Main */
}

.page-download__text-block strong {
    color: #F3C54D; /* Gold */
    font-weight: 700;
}

.page-download__image-figure {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
    text-align: center;
    background: #2A1212; /* Card BG */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-download__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin: 0 auto; /* Center image */
}

.page-download__image-caption {
    font-size: 0.9rem;
    color: #6A1E1E; /* Border color for subtle text */
    margin-top: 10px;
}

/* Download Guide Specifics */
.page-download__guide-platform {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-download__guide-subtitle {
    font-size: 2rem;
    color: #FFB04A; /* Part of Button color gradient */
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

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

.page-download__step-item {
    background: #140C0C; /* Background */
    border: 1px solid #6A1E1E; /* Border */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push buttons to bottom if present */
}

.page-download__step-title {
    font-size: 1.3rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-download__step-item p {
    color: #FFF1E8; /* Text Main */
    margin-bottom: 15px;
}

/* FAQ Section */
.page-download__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-download__faq-item {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF1E8; /* Text Main */
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F3C54D; /* Gold */
    list-style: none; /* For details/summary */
}

.page-download__faq-question::-webkit-details-marker {
    display: none;
}

.page-download__faq-item[open] .page-download__faq-toggle {
    transform: rotate(45deg);
}

.page-download__faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #FFB04A; /* Part of Button color gradient */
}

.page-download__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 1rem;
    color: #FFF1E8; /* Text Main */
}

.page-download__faq-answer p {
    margin-bottom: 10px;
}

/* Conclusion Section */
.page-download__conclusion {
    text-align: center;
    padding-bottom: 60px;
}

.page-download__text-center {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #FFF1E8; /* Text Main */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__cta-buttons--bottom {
    margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .page-download {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-download__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Top Section / Hero Section */
    .page-download__hero-section {
        padding-top: 10px !important; /* Small top padding, not var(--header-offset) */
        margin-bottom: 20px;
    }

    .page-download__hero-image-wrap {
        max-height: 400px;
    }

    .page-download__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 400px;
    }

    .page-download__hero-content {
        padding: 20px 15px;
        margin-top: -60px;
    }

    .page-download__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-download__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-download__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important; /* Ensure buttons have padding from container edge */
    }

    .page-download__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-download__btn--small {
        width: auto !important; /* Allow small buttons to be smaller */
        max-width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* General Section Styling */
    .page-download__section {
        padding: 20px 0;
        margin-bottom: 15px;
    }

    .page-download__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-download__intro-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-download__content-grid {
        flex-direction: column !important; /* Stack content blocks vertically */
        gap: 20px !important;
    }

    .page-download__content-grid--reverse {
        flex-direction: column !important; /* Still stack, reverse order doesn't apply as strongly */
    }

    .page-download__text-block p,
    .page-download__text-block ul li {
        font-size: 1rem;
    }

    .page-download__image-figure {
        padding: 10px;
    }

    .page-download__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Download Guide Specifics */
    .page-download__guide-platform {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-download__guide-subtitle {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .page-download__step-list {
        grid-template-columns: 1fr !important; /* Single column for steps */
        gap: 20px !important;
    }

    .page-download__step-item {
        padding: 20px;
    }

    .page-download__step-title {
        font-size: 1.2rem;
    }

    /* FAQ Section */
    .page-download__faq-list {
        padding: 0 15px !important;
    }

    .page-download__faq-item {
        margin-bottom: 10px;
    }

    .page-download__faq-question {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .page-download__faq-answer {
        padding: 0 15px 12px 15px;
        font-size: 0.95rem;
    }

    /* Conclusion Section */
    .page-download__conclusion {
        padding-bottom: 40px;
    }

    .page-download__text-center {
        font-size: 1rem;
    }

    .page-download__cta-buttons--bottom {
        margin-top: 20px;
        padding: 0 15px !important; /* Ensure buttons have padding from container edge */
    }
}