/* ===== App Download page ===== */
.download-page {
    --primary: #8b0a21;
    --gold: #C6862E;
    --gold-soft: rgba(198, 134, 46, 0.18);
    --blush: #FBE9EC;
    --blush-border: #F2C9D0;
    --ink: #2B211C;
    --ink-soft: #6B5D53;
    --border: #E5E7EB;

    min-height: 100vh;
    background: #F9FAFB;
    padding: 40px 24px 80px;
    max-width: 1180px;
    margin: 0 auto;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
}

.download-page h1, .download-page h2 { font-family: "Noto Serif Gujarati", "Rasa", serif; }
.download-page p, .download-page span, .download-page a, .download-page strong {
    font-family: "Noto Sans Gujarati", "Inter", sans-serif;
}

/* ===== Card shell ===== */
.download-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
}

/* ===== Title card ===== */
.title-card {
    text-align: center;
    padding: 40px 32px 32px;
    margin-bottom: 24px;
}
.title-card h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 12px;
}
.title-underline {
    display: block;
    width: 56px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 24px;
    border-radius: 2px;
}
.author-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.author-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 3px rgba(198,134,46,0.15);
}
.author-line {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0 0 2px;
    text-align: left;
}
.author-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-align: left;
}

/* ===== Content card ===== */
.content-card { padding: 44px 40px; }
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 900px) {
    .content-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* ===== Left column ===== */
.description {
    font-size: 15.5px;
    line-height: 2;
    color: var(--ink);
    margin: 0 0 24px;
}

.cta-highlight {
    background: var(--blush);
    border: 1px solid var(--blush-border);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 24px;
}

.store-badges {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.store-badge:hover { transform: translateY(-2px); background: #1a1a1a; }
.store-badge i { font-size: 22px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge small { font-size: 10px; color: #d1d1d1; }
.store-badge strong { font-size: 14.5px; font-weight: 600; }

.stats-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.stat-card {
    border: 1px solid var(--border);
    width: 200px;
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
}
.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.stat-value i { color: #F4B942; font-size: 18px; }
.stat-label { font-size: 13px; color: var(--ink-soft); }

/* ===== Right column: phone mockup ===== */
.content-right { display: flex; justify-content: center; }

.phone-mockup {
    position: relative;
    width: 260px;
    height: 540px;
    background: #111;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.phone-notch {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 90px; height: 22px;
    background: #111;
    border-radius: 0 0 14px 14px;
    z-index: 3;
}
.phone-statusbar {
    position: absolute;
    top: 14px; left: 24px; right: 24px;
    display: flex; justify-content: space-between; align-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}
.statusbar-icons { display: flex; gap: 5px; font-size: 10px; }

.phone-screen {
    position: relative;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, #6a0818 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px 16px 18px;
}
.phone-screen h2 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
    text-align: center;
}
.phone-image {
    width: 100%;
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    margin-bottom: 14px;
}
.phone-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.phone-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.phone-footer img {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gold);
}
.phone-footer p {
    font-size: 9.5px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}
.phone-footer strong {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .content-right { order: -1; margin-bottom: 8px; }
    .phone-mockup { width: 220px; height: 460px; }
}
@media (max-width: 560px) {
    .download-page { padding: 24px 16px 56px; }
    .title-card { padding: 32px 20px 24px; }
    .title-card h1 { font-size: 26px; }
    .content-card { padding: 28px 20px; }
    .author-row { flex-direction: column; text-align: center; gap: 10px; }
    .author-line, .author-title { text-align: center; }
    .store-badges { justify-content: center; }
}