.page-download {
    background-color: #140C0C; /* Background color */
    color: #FFF1E8; /* Main text color */
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Container for content sections */
.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Section general styling */
.page-download__section {
    padding: 40px 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero Section */
.page-download__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    position: relative;
    overflow: hidden;
}

.page-download__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-download__hero-banner {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.page-download__hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5; /* Adjusted for 1920x600 placeholder */
    object-fit: cover;
    object-position: center;
}

.page-download__hero-text-container {
    text-align: center;
    padding: 20px 0;
}

.page-download__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F3C54D; /* Gold color for main title */
}

.page-download__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #FFF1E8;
}

.page-download__download-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-download__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #140C0C; /* Dark text on button */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-download__btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Section Titles */
.page-download__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: #F3C54D; /* Gold color for section titles */
}

.page-download__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #E53030; /* Auxiliary red for underline */
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Why Choose Section */
.page-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-download__feature-card {
    background-color: #2A1212; /* Card background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border color */
}

.page-download__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensure it's a block element */
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
    object-fit: cover;
}

.page-download__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFB04A; /* Gold/Orange for feature titles */
}

.page-download__feature-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #FFF1E8;
}

/* How to Download Section */
.page-download__download-steps-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 40px;
}

.page-download__download-platform {
    background-color: #2A1212;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E;
    text-align: center;
}

.page-download__platform-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #F3C54D;
}

.page-download__download-platform img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
    object-fit: cover;
}

.page-download__steps-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    counter-reset: step-counter; /* Initialize counter */
}

.page-download__steps-list li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #FFF1E8;
}

.page-download__steps-list li::before {
    content: counter(step-counter); /* Use counter */
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #E53030;
    color: #FFF1E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.page-download__download-platform .page-download__btn {
    margin-top: 15px;
    font-size: 0.95rem;
    padding: 10px 20px;
}

/* App Features Section */
.page-download__features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.page-download__feature-item {
    background-color: #2A1212;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #6A1E1E;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-download__feature-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFB04A;
}

.page-download__feature-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #FFF1E8;
}

/* FAQ Section */
.page-download__faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.page-download__faq-item {
    background-color: #2A1212;
    border-radius: 10px;
    padding: 20px 25px;
    border: 1px solid #6A1E1E;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-download__faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F3C54D;
    cursor: pointer; /* Indicate it's clickable for accordion-like behavior */
}

.page-download__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF1E8;
    /* For a simple HTML output, keep it visible. JS would toggle this. */
}

/* CTA Section */
.page-download__cta-content {
    text-align: center;
    background-color: #2A1212;
    border-radius: 15px;
    padding: 50px 30px;
    border: 1px solid #6A1E1E;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-download__section-title--cta {
    margin-bottom: 20px;
    color: #F3C54D;
}

.page-download__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #FFF1E8;
}

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

.page-download__btn--primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C;
}

.page-download__btn--secondary {
    background: transparent;
    border: 2px solid #FFB04A; /* Gold border */
    color: #FFB04A; /* Gold text */
}

.page-download__btn--secondary:hover {
    background-color: #FFB04A;
    color: #140C0C;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-download__hero-content-wrapper {
        flex-direction: row; /* Row for desktop */
        align-items: center;
        gap: 50px;
        padding: 40px 15px;
    }

    .page-download__hero-banner {
        flex: 1;
        max-width: 50%; /* Image takes half width */
        order: 2; /* Image on right */
    }

    .page-download__hero-text-container {
        flex: 1;
        max-width: 50%; /* Text takes half width */
        text-align: left;
        order: 1; /* Text on left */
        padding: 0;
    }

    .page-download__download-buttons {
        justify-content: flex-start; /* Align buttons to left on desktop */
    }

    .page-download__features-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    }

    .page-download__download-steps-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for desktop */
    }

    .page-download__features-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for desktop */
    }

    .page-download__faq-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for desktop */
    }
}

/* Mobile specific rules for images */
@media (max-width: 768px) {
    .page-download img {
        max-width: 100%;
        height: auto;
    }
    .page-download__hero-banner img {
        aspect-ratio: 16/5; /* Maintain aspect ratio for hero on mobile */
    }
    .page-download__section {
        padding: 20px 0;
    }
    .page-download__section-title {
        margin-bottom: 25px;
    }
    .page-download__main-title {
        font-size: clamp(1.6rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
    }
    .page-download__hero-description {
        font-size: 1rem;
    }
    .page-download__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-download__cta-content {
        padding: 30px 20px;
    }
}

/* Ensure content area images don't go below 200px */
.page-download__feature-card img,
.page-download__download-platform img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure they fill their container */
    height: auto;
}

/* Image CSS vs HTML width/height consistency */
/* The width/height attributes are for the display area, CSS should scale it down responsively */
/* No conflicting fixed small sizes in CSS */