/* style/download-app.css */

:root {
    --page-download-app-primary-color: #0A2E50;
    --page-download-app-secondary-color: #FFD700;
    --page-download-app-text-light: #FFFFFF;
    --page-download-app-text-dark: #333333;
    --page-download-app-bg-light: #F8F8F8;
    --page-download-app-bg-dark: #07223D;
    --page-download-app-border-color: #E0E0E0;
}

.page-download-app__hero-section {
    background: var(--page-download-app-primary-color);
    color: var(--page-download-app-text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-download-app__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 46, 80, 0.9), rgba(255, 215, 0, 0.1));
    z-index: 0;
}

.page-download-app__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.page-download-app__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-download-app-secondary-color);
}

.page-download-app__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.page-download-app__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 220px;
    gap: 10px;
}

.page-download-app__btn--primary {
    background-color: var(--page-download-app-secondary-color);
    color: var(--page-download-app-primary-color);
    border: 2px solid var(--page-download-app-secondary-color);
}

.page-download-app__btn--primary:hover {
    background-color: #E6C200;
    transform: translateY(-3px);
}

.page-download-app__btn--secondary {
    background-color: transparent;
    color: var(--page-download-app-secondary-color);
    border: 2px solid var(--page-download-app-secondary-color);
}

.page-download-app__btn--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-download-app__icon-android::before {
    content: '\f17b'; /* Font Awesome Android icon */
    font-family: 'Font Awesome 5 Brands';
    font-weight: 400;
}

.page-download-app__icon-ios::before {
    content: '\f179'; /* Font Awesome Apple icon */
    font-family: 'Font Awesome 5 Brands';
    font-weight: 400;
}

.page-download-app__icon-download::before {
    content: '\f019'; /* Font Awesome Download icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.page-download-app__note {
    font-size: 1em;
    margin-bottom: 25px;
    opacity: 0.8;
}

.page-download-app__qr-code-wrapper {
    background-color: var(--page-download-app-text-light);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-download-app__qr-code {
    width: 180px;
    height: 180px;
    display: block;
}

.page-download-app__section {
    padding: 60px 20px;
    text-align: center;
}

.page-download-app__section:nth-of-type(even) {
    background-color: var(--page-download-app-bg-light);
}

.page-download-app__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--page-download-app-primary-color);
    font-weight: 700;
}

.page-download-app__section-description {
    font-size: 1.1em;
    color: var(--page-download-app-text-dark);
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

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

.page-download-app__advantage-item,
.page-download-app__experience-item {
    background-color: var(--page-download-app-text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download-app__advantage-item:hover,
.page-download-app__experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-download-app__advantage-icon,
.page-download-app__experience-image {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: inline-block;
}

.page-download-app__advantage-item h3,
.page-download-app__experience-item h3 {
    font-size: 1.5em;
    color: var(--page-download-app-primary-color);
    margin-bottom: 15px;
}

.page-download-app__advantage-item p,
.page-download-app__experience-item p {
    color: var(--page-download-app-text-dark);
    font-size: 1em;
    line-height: 1.6;
}

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

.page-download-app__step-card {
    background-color: var(--page-download-app-text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.page-download-app__step-card h3 {
    font-size: 1.6em;
    color: var(--page-download-app-secondary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-download-app__step-card h3::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--page-download-app-primary-color);
    color: var(--page-download-app-text-light);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: bold;
}

.page-download-app__guide-steps {
    counter-reset: step-counter;
}

.page-download-app__step-card p {
    color: var(--page-download-app-text-dark);
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-download-app__step-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    background-color: var(--page-download-app-bg-light);
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-download-app__faq {
    background-color: var(--page-download-app-bg-dark);
    color: var(--page-download-app-text-light);
}

.page-download-app__faq .page-download-app__section-title {
    color: var(--page-download-app-secondary-color);
}

.page-download-app__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-download-app__faq-item {
    background-color: var(--page-download-app-primary-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-download-app__faq-item h3 {
    font-size: 1.3em;
    color: var(--page-download-app-secondary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-download-app__faq-item p {
    font-size: 1em;
    color: var(--page-download-app-text-light);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
}

.page-download-app__faq-item.active p {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.page-download-app__faq-item h3::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-download-app__cta-bottom {
    background-color: var(--page-download-app-secondary-color);
    color: var(--page-download-app-primary-color);
    padding: 70px 20px;
    text-align: center;
}

.page-download-app__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--page-download-app-primary-color);
}

.page-download-app__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: var(--page-download-app-primary-color);
}

.page-download-app__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-width: 3px;
}

.page-download-app__btn--large.page-download-app__btn--primary {
    background-color: var(--page-download-app-primary-color);
    color: var(--page-download-app-secondary-color);
    border-color: var(--page-download-app-primary-color);
}

.page-download-app__btn--large.page-download-app__btn--primary:hover {
    background-color: #07223D;
    border-color: #07223D;
    color: var(--page-download-app-secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-download-app__hero-title {
        font-size: 2.8em;
    }
    .page-download-app__section-title {
        font-size: 2em;
    }
    .page-download-app__advantages-grid,
    .page-download-app__experience-grid,
    .page-download-app__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-download-app__hero-section {
        padding: 60px 15px;
    }
    .page-download-app__hero-title {
        font-size: 2.2em;
    }
    .page-download-app__hero-description {
        font-size: 1.1em;
    }
    .page-download-app__download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-download-app__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-download-app__section {
        padding: 40px 15px;
    }
    .page-download-app__section-title {
        font-size: 1.8em;
    }
    .page-download-app__cta-title {
        font-size: 2.2em;
    }
    .page-download-app__cta-description {
        font-size: 1em;
    }
    .page-download-app__qr-code {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .page-download-app__hero-title {
        font-size: 1.8em;
    }
    .page-download-app__hero-description {
        font-size: 1em;
    }
    .page-download-app__section-title {
        font-size: 1.6em;
    }
    .page-download-app__cta-title {
        font-size: 1.8em;
    }
    .page-download-app__btn {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-download-app__btn--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}

/* Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');