/* Página de descarga APK — misma marca que landing */

.download-page .dl-hero {
    position: relative;
    color: #fff;
    padding: 56px 0 64px;
    overflow: hidden;
    text-align: center;
}

.dl-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 196, 154, 0.28), transparent 55%),
        linear-gradient(165deg, #003a66 0%, #004E89 42%, #0a2f4d 100%);
    z-index: 0;
}

.dl-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.dl-hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    margin-bottom: 18px;
    background: #fff;
}

.dl-brand {
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
    line-height: 1.1;
}

.dl-hero h1 {
    font-size: clamp(1.15rem, 3.2vw, 1.45rem);
    font-weight: 600;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.95);
}

.dl-hero-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto 28px;
    max-width: 34em;
}

.dl-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
}

.dl-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin: 0 0 20px;
    padding: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.dl-meta li strong {
    color: #fff;
    font-weight: 700;
    margin-right: 4px;
}

.dl-hero-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto;
    max-width: 36em;
}

.dl-section {
    padding: 52px 0;
    background: var(--light, #F5F7FA);
}

.dl-section-alt {
    background: #fff;
}

.dl-narrow {
    max-width: 720px;
}

.dl-section h2 {
    font-size: 1.55rem;
    color: var(--secondary, #004E89);
    margin: 0 0 14px;
}

.dl-section > .container > p,
.dl-narrow > p {
    color: var(--text-light, #666);
    margin-bottom: 1rem;
}

.dl-checklist,
.dl-perms {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text, #333);
}

.dl-checklist li,
.dl-perms li {
    margin-bottom: 0.55rem;
}

.dl-steps {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    color: var(--text, #333);
}

.dl-steps li {
    margin-bottom: 1rem;
    padding-left: 0.25rem;
}

.dl-steps code {
    font-size: 0.9em;
    background: #eef2f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.dl-callout {
    background: #e8f4fc;
    border-left: 4px solid var(--secondary, #004E89);
    border-radius: 0 12px 12px 0;
    padding: 14px 16px;
}

.dl-callout p {
    margin: 0;
    color: #1a3a55;
    font-size: 0.95rem;
}

.dl-hash-box {
    background: #1A1A2E;
    color: #e8eef5;
    border-radius: 14px;
    padding: 18px 16px;
    margin: 16px 0;
}

.dl-hash-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 8px 10px;
    align-items: start;
    margin-bottom: 14px;
}

.dl-hash-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #00C49A;
    padding-top: 4px;
}

.dl-hash-box code {
    font-size: 0.72rem;
    word-break: break-all;
    line-height: 1.45;
    color: #dce7f2;
}

.dl-copy-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.dl-copy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.dl-hash-file {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.dl-muted {
    font-size: 0.9rem;
    color: var(--text-muted, #888);
}

.dl-faq {
    background: #fff;
    border: 1px solid var(--border, #E1E8ED);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
}

.dl-section-alt .dl-faq {
    background: var(--light, #F5F7FA);
}

.dl-faq summary {
    cursor: pointer;
    font-weight: 650;
    color: var(--secondary, #004E89);
}

.dl-faq p {
    margin: 10px 0 4px;
    color: var(--text-light, #666);
    font-size: 0.95rem;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--secondary, #004E89);
    color: var(--secondary, #004E89);
    background: transparent;
    border-radius: 999px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 650;
}

.btn-outline-dark:hover {
    background: rgba(0, 78, 137, 0.06);
}

.btn-secondary {
    background: var(--secondary, #004E89);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--secondary-light, #0066B3);
    color: #fff;
}

@media (max-width: 640px) {
    .download-page .dl-hero {
        padding: 40px 0 48px;
    }

    .dl-hash-row {
        grid-template-columns: 1fr;
    }

    .dl-copy-btn {
        justify-self: start;
    }

    .nav-links {
        display: none;
    }
}
