/* style/download.css */
:root {
    --primary-color: #0A2239;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0d0d0d;
    --background-light: #f5f5f5;
    --card-background-dark: rgba(255, 255, 255, 0.1);
    --card-background-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-download {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-download__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-download__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Hero Section */
.page-download__hero-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-download__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-download__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

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

.page-download__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-download__cta-button--primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-download__cta-button--primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-download__cta-button--secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-download__cta-button--secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-download__hero-image {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Benefits Section */
.page-download__benefits-section {
    padding: 80px 0;
    background: var(--background-light);
    color: var(--text-dark);
}

.page-download__benefits-section .page-download__section-title,
.page-download__benefits-section .page-download__section-description {
    color: var(--text-dark);
}

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

.page-download__benefit-item {
    background: var(--card-background-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-download__benefit-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-download__benefit-text {
    font-size: 16px;
    color: var(--text-dark);
}

/* Guide Section */
.page-download__guide-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.page-download__platform-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-download__guide-item {
    background: var(--card-background-dark);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-download__guide-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-align: center;
}

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

.page-download__guide-list li {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-light);
}

.page-download__guide-list li strong {
    color: var(--secondary-color);
}

.page-download__qr-code-wrapper {
    text-align: center;
    margin-top: 30px;
}

.page-download__qr-code {
    width: 250px;
    height: 250px;
    border: 5px solid var(--text-light);
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-download__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
}

/* Features Section */
.page-download__features-section {
    padding: 80px 0;
    background: var(--background-light);
    color: var(--text-dark);
}

.page-download__features-section .page-download__section-title,
.page-download__features-section .page-download__section-description {
    color: var(--text-dark);
}

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

.page-download__feature-item {
    background: var(--card-background-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-download__feature-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-download__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-download__feature-text {
    font-size: 16px;
    color: var(--text-dark);
}

/* Security Section */
.page-download__security-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

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

.page-download__security-item {
    background: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-download__security-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-download__security-text {
    font-size: 16px;
    color: var(--text-light);
}

/* FAQ Section */
.page-download__faq-section {
    padding: 80px 0;
    background: var(--background-light);
    color: var(--text-dark);
}

.page-download__faq-section .page-download__section-title,
.page-download__faq-section .page-download__section-description {
    color: var(--text-dark);
}

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

.page-download__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--card-background-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-background-light);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-download__faq-question:hover {
    background: #f0f0f0;
}

.page-download__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-download__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-download__faq-item.active .page-download__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.page-download__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #fcfcfc;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
}

.page-download__faq-item.active .page-download__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-download__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Final CTA Section */
.page-download__cta-final-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-download__cta-button--large {
    padding: 18px 45px;
    font-size: 20px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-download__hero-title {
        font-size: 40px;
    }
    .page-download__hero-description {
        font-size: 18px;
    }
    .page-download__section-title {
        font-size: 32px;
    }
    .page-download__section-description {
        font-size: 16px;
    }
    .page-download__guide-item {
        padding: 30px;
    }
    .page-download__guide-title {
        font-size: 24px;
    }
    .page-download__qr-code {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-download {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-download__container {
        padding: 0 15px;
    }

    .page-download__hero-section {
        padding: 60px 0;
    }

    .page-download__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-download__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-download__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }

    .page-download__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 16px !important;
    }

    .page-download__hero-image {
        max-width: 95%;
    }

    .page-download__benefits-section,
    .page-download__guide-section,
    .page-download__features-section,
    .page-download__security-section,
    .page-download__faq-section,
    .page-download__cta-final-section {
        padding: 50px 0;
    }

    .page-download__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-download__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-download__benefit-item,
    .page-download__feature-item,
    .page-download__security-item {
        padding: 25px;
    }

    .page-download__benefit-icon,
    .page-download__feature-icon,
    .page-download__security-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .page-download__benefit-title,
    .page-download__feature-title,
    .page-download__security-title {
        font-size: 20px;
    }

    .page-download__platform-guide {
        grid-template-columns: 1fr;
    }

    .page-download__guide-item {
        padding: 25px;
    }

    .page-download__guide-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .page-download__guide-list li {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .page-download__qr-code {
        width: 180px;
        height: 180px;
    }

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

    .page-download__faq-question h3 {
        font-size: 16px;
    }

    .page-download__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

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

    .page-download__faq-item.active .page-download__faq-answer {
        padding: 15px 20px !important;
    }

    .page-download__faq-answer p {
        font-size: 15px;
    }

    .page-download__cta-button--large {
        padding: 15px 30px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-download__hero-title {
        font-size: 28px;
    }
    .page-download__section-title {
        font-size: 24px;
    }
    .page-download__cta-buttons {
        gap: 10px;
    }
    .page-download__qr-code {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }
    .page-download__guide-list li {
        font-size: 14px;
    }
    .page-download__benefit-item,
    .page-download__feature-item,
    .page-download__security-item {
        padding: 20px;
    }
    .page-download__faq-question h3 {
        font-size: 15px;
    }
    .page-download__faq-answer p {
        font-size: 14px;
    }
}