/* Download Page — ParaBaro App */

.download-hero {
    text-align: center;
    padding: 4rem 1.5rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.download-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.download-hero p {
    font-size: 1.15rem;
    color: var(--color-slate-500, #64748b);
    max-width: 520px;
    margin: 0 auto;
}

.download-version-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: #ecfdf5;
    color: #059669;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* OS Cards */
.download-cards {
    max-width: 1100px;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.download-card {
    background: var(--color-white, #ffffff);
    border: 1px solid var(--color-slate-200, #e2e8f0);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.download-card.recommended {
    border-color: #22d3ee;
    position: relative;
}

.download-card.recommended::before {
    content: 'Detected';
    position: absolute;
    top: -0.6rem;
    right: 1.5rem;
    background: var(--color-primary-600, #0E7490);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.download-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.download-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.download-card-subtitle {
    color: var(--color-slate-500, #64748b);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.download-card-reqs {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
    padding: 0;
}

.download-card-reqs li {
    padding: 0.3rem 0;
    font-size: 0.88rem;
    color: var(--color-slate-500, #64748b);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-card-reqs li svg {
    width: 14px;
    height: 14px;
    color: #059669;
    flex-shrink: 0;
}

.download-card .btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    background: var(--color-slate-200, #e2e8f0);
    color: var(--color-slate-500, #64748b);
    cursor: not-allowed;
}

.download-card .btn-disabled svg {
    width: 18px;
    height: 18px;
}

.download-card .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.download-card .btn-primary svg {
    width: 18px;
    height: 18px;
}

.download-card-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-slate-500, #64748b);
    text-align: center;
}

/* Mobile Section */
.download-mobile-section {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.download-mobile-card {
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
    border: 1px solid #99f6e4;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.download-mobile-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.download-mobile-card p {
    color: var(--color-slate-500, #64748b);
    font-size: 0.95rem;
}

.download-coming-soon-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 1rem;
    background: white;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-600, #0E7490);
}

/* Responsive */
@media (max-width: 640px) {
    .download-hero { padding: 2.5rem 1rem 1.5rem; }
    .download-hero h1 { font-size: 1.8rem; }
    .download-hero p { font-size: 1rem; }
    .download-cards { grid-template-columns: 1fr; padding: 0 1rem; }
    .download-card { padding: 1.5rem; }
    .download-mobile-section { padding: 0 1rem; }
}
