/* style/app-download-installation-faq.css */

/* Variables for colors */
:root {
    --page-app-download-installation-faq-primary-color: #0A192F;
    --page-app-download-installation-faq-secondary-color: #FFD700;
    --page-app-download-installation-faq-text-light: #FFFFFF;
    --page-app-download-installation-faq-text-dark: #0A192F; /* Dark text for light backgrounds */
    --page-app-download-installation-faq-text-muted: #CCCCCC;
    --page-app-download-installation-faq-background-light: #F8F9FA; /* A very light background */
    --page-app-download-installation-faq-background-dark: #0A192F;
    --page-app-download-installation-faq-border-color: #334455;
    --page-app-download-installation-faq-accent-color: #FFC107; /* A slightly different gold for variations */
}

.page-app-download-installation-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-app-download-installation-faq-text-light); /* Default text color for dark sections */
    background-color: var(--page-app-download-installation-faq-background-dark); /* Default background */
}

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

/* Hero Section */
.page-app-download-installation-faq__hero {
    background: linear-gradient(135deg, var(--page-app-download-installation-faq-background-dark) 0%, #1A2E44 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--page-app-download-installation-faq-text-light);
    border-bottom: 2px solid var(--page-app-download-installation-faq-border-color);
}

.page-app-download-installation-faq__title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--page-app-download-installation-faq-secondary-color); /* Gold for title */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-app-download-installation-faq__subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--page-app-download-installation-faq-text-muted);
}

/* Buttons */
.page-app-download-installation-faq__button {
    display: inline-block;
    background-color: var(--page-app-download-installation-faq-secondary-color);
    color: var(--page-app-download-installation-faq-text-dark); /* Dark text on gold button */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-app-download-installation-faq__button:hover {
    background-color: var(--page-app-download-installation-faq-accent-color);
    transform: translateY(-2px);
}

.page-app-download-installation-faq__button--secondary {
    background-color: transparent;
    border: 2px solid var(--page-app-download-installation-faq-secondary-color);
    color: var(--page-app-download-installation-faq-secondary-color);
    margin-left: 15px;
}

.page-app-download-installation-faq__button--secondary:hover {
    background-color: var(--page-app-download-installation-faq-secondary-color);
    color: var(--page-app-download-installation-faq-text-dark);
}

/* FAQ Section */
.page-app-download-installation-faq__faq-section {
    padding: 60px 0;
    background-color: var(--page-app-download-installation-faq-background-dark); /* Dark background */
    color: var(--page-app-download-installation-faq-text-light);
}

.page-app-download-installation-faq__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-app-download-installation-faq-secondary-color);
}

.page-app-download-installation-faq__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-app-download-installation-faq__faq-item {
    background-color: #1A2E44; /* Slightly lighter dark blue for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-app-download-installation-faq__faq-question {
    width: 100%;
    background-color: #1A2E44;
    color: var(--page-app-download-installation-faq-text-light);
    padding: 20px 25px;
    text-align: left;
    border: none;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-app-download-installation-faq__faq-question:hover {
    background-color: #2D4059; /* Even lighter dark blue on hover */
}

.page-app-download-installation-faq__icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.page-app-download-installation-faq__icon::before,
.page-app-download-installation-faq__icon::after {
    content: '';
    position: absolute;
    background-color: var(--page-app-download-installation-faq-secondary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-app-download-installation-faq__icon::before {
    width: 100%;
    height: 2px;
}

.page-app-download-installation-faq__icon::after {
    width: 2px;
    height: 100%;
}

.page-app-download-installation-faq__faq-question.active .page-app-download-installation-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg); /* Rotate to make it a horizontal line (minus) */
}

.page-app-download-installation-faq__faq-answer {
    padding: 0 25px;
    background-color: #2D4059; /* Slightly lighter background for answer */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: var(--page-app-download-installation-faq-text-muted);
}

.page-app-download-installation-faq__faq-answer p {
    margin-bottom: 15px;
    color: var(--page-app-download-installation-faq-text-muted);
}

.page-app-download-installation-faq__faq-answer ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-app-download-installation-faq__faq-answer a {
    color: var(--page-app-download-installation-faq-secondary-color);
    text-decoration: none;
}

.page-app-download-installation-faq__faq-answer a:hover {
    text-decoration: underline;
}

.page-app-download-installation-faq__faq-answer.open {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
}

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

/* CTA Section */
.page-app-download-installation-faq__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #1A2E44; /* Another dark background variation */
    color: var(--page-app-download-installation-faq-text-light);
    border-top: 2px solid var(--page-app-download-installation-faq-border-color);
}

.page-app-download-installation-faq__cta-text {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--page-app-download-installation-faq-text-muted);
}

.page-app-download-installation-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-app-download-installation-faq__title {
        font-size: 2em;
    }

    .page-app-download-installation-faq__section-title {
        font-size: 1.8em;
    }

    .page-app-download-installation-faq__hero,
    .page-app-download-installation-faq__faq-section,
    .page-app-download-installation-faq__cta-section {
        padding: 40px 0;
    }

    .page-app-download-installation-faq__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-app-download-installation-faq__button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-app-download-installation-faq__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-app-download-installation-faq__title {
        font-size: 1.8em;
    }

    .page-app-download-installation-faq__subtitle {
        font-size: 1em;
    }

    .page-app-download-installation-faq__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-app-download-installation-faq__faq-answer.open {
        padding: 15px 20px;
    }
}