/* Dual-platform downloads + motion + stats */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body,
    body.is-ready,
    body.is-leaving,
    .faq-answer,
    .modal,
    .modal__content {
        transition: none !important;
        animation: none !important;
    }
}

/* Soft page enter / leave (only when JS is available) */
html.js body {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

html.js body.is-ready {
    opacity: 1;
    transform: none;
}

html.js body.is-leaving {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}

.btn--windows {
    background-image: linear-gradient(90deg, #0078d4 0%, #00a4ef 100%);
    box-shadow: 0 0 20px 0 rgba(0, 164, 239, 0.45);
}

.btn--windows:hover {
    filter: brightness(1.08);
}

.footer-icon--platforms {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 28px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.footer-icon--platforms .fa-android { color: #a4c639; }
.footer-icon--platforms .fa-windows { color: #00a4ef; }

.hero__btns {
    flex-wrap: wrap;
}

.modal.active {
    display: flex;
}

/* FAQ accordion — grid 0fr → 1fr */
.faq-answer {
    display: grid !important;
    grid-template-rows: 0fr;
    padding: 0 25px !important;
    opacity: 0;
    transition:
        grid-template-rows 0.4s ease,
        opacity 0.28s ease,
        padding 0.35s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
    padding-bottom: 20px !important;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
}

.stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

.stats-card {
    text-align: center;
}

.stats-num {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stats-label {
    color: var(--text-muted);
    font-size: 14px;
}

.stats-sub {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.7;
}

.stats-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.stats-table th,
.stats-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-table th {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
}

.stats-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .faq-answer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 15px !important;
    }
}
