/* style/app-download.css */
.page-app-download {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text on dark background */
    background-color: #0F1D33; /* Darker background to contrast with main elements */
}

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

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

.page-app-download-section-title {
    font-size: 2.8em;
    color: #F0B90B; /* Accent color for main titles */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-app-download-section-description {
    font-size: 1.1em;
    color: #B0B0B0; /* Slightly lighter grey for descriptions */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-app-download-hero {
    background: linear-gradient(135deg, #1A2B4C 0%, #0F1D33 100%); /* Dark blue gradient */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-app-download-hero-content {
    position: relative;
    z-index: 2;
}

.page-app-download-hero-title {
    font-size: 3.5em;
    color: #F0B90B; /* Accent color for hero title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.1;
}

.page-app-download-hero-subtitle {
    font-size: 1.4em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-app-download-download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.page-app-download-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.page-app-download-btn i {
    margin-right: 10px;
    font-size: 1.3em;
}

.page-app-download-btn-primary {
    background-color: #F0B90B; /* Accent color for primary button */
    color: #1A2B4C; /* Dark text on accent background */
    border: 2px solid #F0B90B;
}

.page-app-download-btn-primary:hover {
    background-color: #e0a80a;
    border-color: #e0a80a;
    transform: translateY(-3px);
}

.page-app-download-btn-secondary {
    background-color: transparent;
    color: #F0B90B;
    border: 2px solid #F0B90B;
}

.page-app-download-btn-secondary:hover {
    background-color: #F0B90B;
    color: #1A2B4C;
    transform: translateY(-3px);
}

.page-app-download-qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-app-download-qr-item {
    text-align: center;
}

.page-app-download-qr-image {
    width: 120px;
    height: 120px;
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-app-download-qr-item p {
    margin-top: 10px;
    font-size: 1em;
    color: #E0E0E0;
}

.page-app-download-hero-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Why Download Section */
.page-app-download-why-download {
    background-color: #1A2B4C; /* Primary dark background */
}

.page-app-download-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-app-download-feature-item {
    background-color: #2A3C5C; /* Slightly lighter dark background for items */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-app-download-feature-item:hover {
    transform: translateY(-5px);
    background-color: #3A4C6C;
}

.page-app-download-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(240, 185, 11, 0.5)); /* Glow effect for icons */
}

.page-app-download-feature-item h3 {
    font-size: 1.5em;
    color: #F0B90B;
    margin-bottom: 15px;
}

.page-app-download-feature-item p {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
}

/* Installation Guide Section */
.page-app-download-installation-guide {
    background-color: #0F1D33;
    text-align: left;
}

.page-app-download-guide-os-section {
    margin-bottom: 50px;
}

.page-app-download-guide-os-title {
    font-size: 2.2em;
    color: #F0B90B;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.page-app-download-installation-steps {
    list-style: none;
    padding: 0;
}

.page-app-download-installation-steps li {
    background-color: #1A2B4C;
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    counter-increment: step-counter;
    position: relative;
    padding-left: 80px;
}

.page-app-download-installation-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 30px;
    background-color: #F0B90B;
    color: #1A2B4C;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-app-download-installation-steps li strong {
    color: #F0B90B;
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
}

.page-app-download-installation-steps li p {
    color: #C0C0C0;
    line-height: 1.6;
}

.page-app-download-step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-app-download-installation-steps li a {
    color: #F0B90B;
    text-decoration: none;
}

.page-app-download-installation-steps li a:hover {
    text-decoration: underline;
}

/* Features Section */
.page-app-download-features {
    background-color: #1A2B4C;
}

.page-app-download-feature-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-app-download-category-item {
    background-color: #2A3C5C;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-app-download-category-item:hover {
    transform: translateY(-5px);
    background-color: #3A4C6C;
}

.page-app-download-category-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(240, 185, 11, 0.6));
}

.page-app-download-category-item h3 {
    font-size: 1.6em;
    color: #F0B90B;
    margin-bottom: 15px;
}

.page-app-download-category-item p {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
}

/* FAQ Section */
.page-app-download-faq {
    background-color: #0F1D33;
    text-align: left;
}

.page-app-download-faq-items {
    margin-top: 40px;
}

.page-app-download-faq-item {
    background-color: #1A2B4C;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-app-download-faq-item h3 {
    font-size: 1.3em;
    color: #F0B90B;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-app-download-faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-app-download-faq-item h3.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-app-download-faq-item p {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.page-app-download-faq-item p.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    margin-top: 15px;
}

/* CTA Bottom Section */
.page-app-download-cta-bottom {
    background: linear-gradient(45deg, #1A2B4C, #0F1D33); /* Dark blue gradient */
    padding: 80px 0;
    text-align: center;
}

.page-app-download-cta-title {
    font-size: 3em;
    color: #F0B90B;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-app-download-cta-description {
    font-size: 1.2em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-app-download-btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
    margin: 0 10px;
}

/* Icon styles (example, assuming a font icon library or SVG) */
.icon-apple::before { content: '\f179'; font-family: 'Font Awesome 5 Brands'; }
.icon-android::before { content: '\f17b'; font-family: 'Font Awesome 5 Brands'; }
.icon-download::before { content: '\f019'; font-family: 'Font Awesome 5 Free'; }
.icon-register::before { content: '\f234'; font-family: 'Font Awesome 5 Free'; }

/* Responsive Design */
@media (max-width: 992px) {
    .page-app-download-hero-title {
        font-size: 2.8em;
    }
    .page-app-download-section-title {
        font-size: 2.2em;
    }
    .page-app-download-features-grid, .page-app-download-feature-categories {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-app-download-installation-steps li {
        padding-left: 60px;
    }
    .page-app-download-installation-steps li::before {
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-app-download-hero {
        padding: 60px 0;
    }
    .page-app-download-hero-title {
        font-size: 2.2em;
    }
    .page-app-download-hero-subtitle {
        font-size: 1.2em;
    }
    .page-app-download-download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-app-download-btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-app-download-qr-codes {
        flex-direction: column;
        gap: 20px;
    }
    .page-app-download-qr-item {
        margin: 0 auto;
    }
    .page-app-download-section-title {
        font-size: 1.8em;
    }
    .page-app-download-section-description {
        font-size: 1em;
    }
    .page-app-download-feature-item, .page-app-download-category-item {
        padding: 20px;
    }
    .page-app-download-feature-item h3, .page-app-download-category-item h3 {
        font-size: 1.3em;
    }
    .page-app-download-cta-title {
        font-size: 2.2em;
    }
    .page-app-download-cta-description {
        font-size: 1em;
    }
    .page-app-download-btn-large {
        width: 90%;
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
    .page-app-download-hero-title {
        font-size: 1.8em;
    }
    .page-app-download-hero-subtitle {
        font-size: 1em;
    }
    .page-app-download-section-title {
        font-size: 1.6em;
    }
    .page-app-download-installation-steps li {
        padding: 20px 20px 20px 55px;
    }
    .page-app-download-installation-steps li::before {
        left: 15px;
        top: 20px;
        width: 30px;
        height: 30px;
        font-size: 1.2em;
    }
    .page-app-download-cta-title {
        font-size: 1.8em;
    }
    .page-app-download-btn-large {
        font-size: 1.1em;
        padding: 15px 25px;
    }
}