/* Downloads page styles aligned with the Offline100 homepage */

.offline-downloads main {
    background: #fff;
    color: #0b0b0b;
}

/* Hero */
.downloads-hero {
    padding: 120px 0 90px;
    background: #f9f9f9;
}

.downloads-hero-grid {
    align-items: center;
    gap: 46px;
}

.downloads-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.downloads-hero .subtitle {
    font-size: 1.08rem;
    color: #2f2f2f;
    max-width: 680px;
}

.downloads-hero .hero-meta {
    margin-top: 14px;
    gap: 12px;
}

.downloads-hero .hero-meta span {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 700;
}

.download-promise {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.05);
}

.download-promise .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #e8e8e8;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: #0b0b0b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.download-promise h3 {
    margin-bottom: 12px;
}

.download-promise ul {
    display: grid;
    gap: 10px;
    color: #2d2d2d;
    padding-left: 0;
}

.download-promise li {
    list-style: none;
    position: relative;
    padding-left: 18px;
}

.download-promise li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #2563eb;
    font-weight: 700;
}

/* App grid */
.downloads-grid-section,
.apps-section {
    padding: 86px 0 70px;
    background: #fff;
}

.downloads-grid,
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.app-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    box-shadow: 0 30px 65px rgba(15, 23, 42, 0.08);
    padding: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.1);
}

.app-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.app-header {
    display: flex;
    gap: 14px;
    align-items: center;
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    object-fit: cover;
    background: #f5f7fb;
}

.app-icon-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e6edff, #dbeafe);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0b0b0b;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.app-title-rating h3 {
    margin-bottom: 6px;
    font-size: 1.35rem;
}

.eyebrow.soft {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 700;
}

.app-description {
    color: #1f2937;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.app-tags,
.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-tags .tag,
.app-features .feature-tag {
    background: #f2f3f6;
    color: #111827;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.app-actions,
.app-download {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.store-button,
.download-btn {
    background: #0b0b0b;
    border: 1px solid #0b0b0b;
    border-radius: 14px;
    padding: 8px 14px;
    min-width: 176px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-button img,
.download-btn img {
    height: 34px;
    width: auto;
}

.store-button:hover,
.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.learn-more,
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #0b0b0b;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.learn-more:hover,
.learn-more-btn:hover {
    background: #0b0b0b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.app-privacy {
    margin-top: 6px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.privacy-link,
.policy-link {
    color: #1f2937;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #f7f7f8;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.privacy-link::before,
.policy-link::before {
    content: '🔒';
    font-size: 0.85rem;
}

.privacy-link:hover,
.policy-link:hover {
    background: #0b0b0b;
    color: #fff;
    border-color: #0b0b0b;
    transform: translateY(-1px);
}

/* Why Offline */
.why-offline {
    padding: 90px 0 110px;
    background: #f5f8ff;
}

.why-card {
    background: linear-gradient(120deg, #e8f0ff, #eef3ff);
    border: 1px solid #dbe4ff;
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 28px 65px rgba(37, 99, 235, 0.12);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.why-card p {
    color: #1f2937;
    max-width: 820px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    color: #0b0b0b;
    border: 1px solid #c7d2fe;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .downloads-hero {
        padding: 100px 0 70px;
    }
}

@media (max-width: 900px) {
    .downloads-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .downloads-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        padding: 18px;
    }

    .app-icon-placeholder,
    .app-icon {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 560px) {
    .downloads-hero h1 {
        font-size: 2rem;
    }

    .downloads-hero .subtitle {
        font-size: 1rem;
    }

    .store-button,
    .download-btn,
    .learn-more,
    .learn-more-btn {
        width: 100%;
        justify-content: center;
    }
}
