/* style/download.css */
.page-download {
    font-family: Arial, sans-serif;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-download__section-title {
    font-size: 2.5em;
    color: #FF8C1A; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    padding: 0 15px;
}

.page-download__section-description {
    font-size: 1.1em;
    color: #FFF3E6;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* Hero Section */
.page-download__hero-section {
    padding: 60px 20px;
    background-color: #0D0E12; /* Background */
    overflow: hidden;
}

.page-download__hero-content-wrapper {
    display: flex;
    flex-direction: row; /* Default to row for desktop */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.page-download__hero-text-block {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.page-download__main-title {
    color: #FF8C1A; /* Main color */
    font-size: clamp(2.2em, 4vw, 3.2em); /* Use clamp for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-download__hero-description {
    font-size: 1.2em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-download__download-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    justify-content: flex-start; /* Align to left for desktop */
    gap: 20px;
    width: 100%;
    max-width: 500px; /* Max width for button group */
}

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

.page-download__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-download__btn-primary:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Glow on hover */
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.4);
}

.page-download__btn-secondary {
    background-color: #17191F; /* Card BG */
    color: #FF8C1A; /* Main color */
    border: 2px solid #A84F0C; /* Border color */
}

.page-download__btn-secondary:hover {
    background-color: #2a2d36;
    color: #FFB04D; /* Glow on hover */
    border-color: #FFB04D;
    box-shadow: 0 6px 20px rgba(255, 176, 77, 0.2);
}

.page-download__btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.page-download__btn-primary .page-download__btn-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 10v4h10v-4H7zm-2 0V7a2 2 0 012-2h10a2 2 0 012 2v3h3a1 1 0 011 1v6a1 1 0 01-1 1h-3v3a1 1 0 01-1 1H6a1 1 0 01-1-1v-3H2a1 1 0 01-1-1v-6a1 1 0 011-1h3zm14 8v-6H5v6h14z"/></svg>');
}
.page-download__btn-secondary .page-download__btn-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FF8C1A"><path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.31C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.67 2.37l.76 1.63.76-1.63C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"/></svg>');
}

.page-download__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    text-align: center;
}

.page-download__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain; /* Ensure image is not cropped */
}

/* Benefits Section */
.page-download__benefits-section {
    padding: 80px 20px;
    background-color: #0D0E12; /* Background */
}

.page-download__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-download__benefit-card {
    background-color: #17191F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border color */
    transition: transform 0.3s ease;
}

.page-download__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-download__benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-download__card-title {
    font-size: 1.5em;
    color: #FFA53A; /* Auxiliary color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-download__card-text {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
}

/* How to Download Section */
.page-download__how-to-download-section {
    padding: 80px 20px;
    background-color: #0D0E12; /* Background */
}

.page-download__download-steps-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.page-download__platform-guide {
    flex: 1;
    min-width: 300px;
    background-color: #17191F; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border color */
}

.page-download__platform-title {
    font-size: 2em;
    color: #FF8C1A; /* Main color */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-download__step-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-download__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.page-download__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 50%;
    background-color: #FFA53A; /* Auxiliary color */
    color: #17191F; /* Card BG for contrast */
    font-weight: bold;
    font-size: 1.1em;
}

.page-download__step-content {
    flex: 1;
}

.page-download__step-heading {
    font-size: 1.3em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 5px;
}

.page-download__step-text {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
}

.page-download__step-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-download__link {
    color: #FFA53A; /* Auxiliary color */
    text-decoration: none;
    font-weight: bold;
}

.page-download__link:hover {
    text-decoration: underline;
    color: #FFB04D; /* Glow */
}

.page-download__btn-full-width {
    width: 100%;
    margin-top: 20px;
}

/* App Features Section */
.page-download__app-features-section {
    padding: 80px 20px;
    background-color: #0D0E12; /* Background */
}

.page-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-download__feature-card {
    background-color: #17191F; /* Card BG */
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border color */
    transition: transform 0.3s ease;
}

.page-download__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-download__feature-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-download__link-more {
    display: inline-flex;
    align-items: center;
    color: #FFA53A; /* Auxiliary color */
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-download__link-more:hover {
    color: #FFB04D; /* Glow */
    text-decoration: underline;
}

.page-download__arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.page-download__link-more:hover .page-download__arrow {
    transform: translateX(5px);
}

/* Security Section */
.page-download__security-section {
    padding: 80px 20px;
    background-color: #0D0E12; /* Background */
}

.page-download__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-download__security-text {
    flex: 1;
    min-width: 300px;
}

.page-download__paragraph {
    font-size: 1.1em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
}

.page-download__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-download__security-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

/* FAQ Section */
.page-download__faq-section {
    padding: 80px 20px;
    background-color: #0D0E12; /* Background */
}

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

.page-download__faq-item {
    background-color: #17191F; /* Card BG */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #A84F0C; /* Border color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFF3E6; /* Text Main */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-download__faq-item[open] .page-download__faq-question {
    background-color: #2a2d36;
    color: #FF8C1A; /* Main color */
}

.page-download__faq-qtext {
    flex-grow: 1;
}

.page-download__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFA53A; /* Auxiliary color */
}

.page-download__faq-item[open] .page-download__faq-toggle {
    color: #FF8C1A; /* Main color */
}

.page-download__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
    line-height: 1.6;
}

/* CTA Final Section */
.page-download__cta-final-section {
    padding: 80px 20px;
    background-color: #0D0E12; /* Background */
    text-align: center;
}

.page-download__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 30px auto 0;
    width: 100%; /* Button container width */
    box-sizing: border-box;
    overflow: hidden;
}

/* Common image responsive styles */
.page-download img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------ */
/* Mobile Responsive Styles (max-width: 768px) */
/* ------------------------------------ */
@media (max-width: 768px) {
    .page-download {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-download__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-download__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }

    /* Hero Section */
    .page-download__hero-section {
        padding: 40px 15px;
    }

    .page-download__hero-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-download__hero-text-block {
        text-align: center;
    }

    .page-download__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust clamp for smaller screens */
    }

    .page-download__hero-description {
        font-size: 1em;
    }

    .page-download__download-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        justify-content: center;
    }

    .page-download__btn {
        width: 100% !important; /* Force full width */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-download__hero-image-wrapper {
        order: -1; /* Image above text */
    }

    .page-download__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* Ensure image is not cropped for mobile */
    }

    /* Benefits Section */
    .page-download__benefits-section {
        padding: 50px 15px;
    }

    .page-download__benefits-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-download__benefit-card {
        padding: 25px;
    }

    .page-download__benefit-icon {
        width: 60px;
        height: 60px;
    }

    .page-download__card-title {
        font-size: 1.3em;
    }

    /* How to Download Section */
    .page-download__how-to-download-section {
        padding: 50px 15px;
    }

    .page-download__download-steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .page-download__platform-guide {
        padding: 30px 20px;
    }

    .page-download__platform-title {
        font-size: 1.8em;
    }

    .page-download__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-download__step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .page-download__step-content {
        text-align: center;
    }

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

    /* App Features Section */
    .page-download__app-features-section {
        padding: 50px 15px;
    }

    .page-download__features-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-download__feature-card {
        padding: 20px;
    }

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

    /* Security Section */
    .page-download__security-section {
        padding: 50px 15px;
    }

    .page-download__security-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-download__security-image-wrapper {
        order: -1; /* Image above text */
    }

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

    /* FAQ Section */
    .page-download__faq-section {
        padding: 50px 15px;
    }

    .page-download__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-download__faq-answer {
        padding: 0 20px 15px;
    }

    /* CTA Final Section */
    .page-download__cta-final-section {
        padding: 50px 15px;
    }

    .page-download__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* Universal image and container responsive styles */
    .page-download img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-download__section,
    .page-download__card,
    .page-download__container,
    .page-download__hero-section,
    .page-download__benefits-section,
    .page-download__how-to-download-section,
    .page-download__app-features-section,
    .page-download__security-section,
    .page-download__faq-section,
    .page-download__cta-final-section,
    .page-download__download-buttons,
    .page-download__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}

/* ------------------------------------ */
/* Mobile Responsive Styles (max-width: 480px) - Specific for smaller phones */
/* ------------------------------------ */
@media (max-width: 480px) {
    .page-download__main-title {
        font-size: clamp(1.6em, 9vw, 2.2em);
    }
    .page-download__hero-description {
        font-size: 0.95em;
    }
    .page-download__section-title {
        font-size: 1.8em;
    }
    .page-download__platform-title {
        font-size: 1.6em;
    }
    .page-download__step-item {
        align-items: center;
    }
    .page-download__step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .page-download__step-content {
        text-align: center;
    }
}