/* Step 215: Budhigyan PWA Android Install Module */
.budhigyan-pwa-banner {
    position: fixed;
    inset: auto 16px 16px 16px;
    z-index: 9998;
    display: none;
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid rgba(241, 196, 75, 0.32);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(7, 18, 47, 0.96), rgba(13, 29, 75, 0.96));
    box-shadow: 0 22px 72px rgba(0,0,0,0.34);
    color: #eef4ff;
    padding: 14px;
    backdrop-filter: blur(16px);
}
.budhigyan-pwa-banner.is-visible { display: block; }
.budhigyan-pwa-banner-inner { display: flex; gap: 12px; align-items: center; }
.budhigyan-pwa-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #f1c44b;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
}
.budhigyan-pwa-icon img { width: 100%; height: 100%; object-fit: cover; }
.budhigyan-pwa-copy { flex: 1 1 auto; min-width: 0; }
.budhigyan-pwa-copy strong { display: block; font-size: 0.98rem; color: #ffffff; margin-bottom: 2px; }
.budhigyan-pwa-copy span { display: block; font-size: 0.88rem; line-height: 1.35; color: #c9d7ff; }
.budhigyan-pwa-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.budhigyan-pwa-install-btn,
.budhigyan-pwa-later-btn,
.budhigyan-pwa-help-link {
    border: 0;
    border-radius: 999px;
    min-height: 38px;
    padding: 0 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.budhigyan-pwa-install-btn { background: #f1c44b; color: #07122f; box-shadow: 0 12px 28px rgba(241,196,75,.22); }
.budhigyan-pwa-later-btn { background: rgba(255,255,255,.09); color: #eef4ff; }
.budhigyan-pwa-help-link { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #eef4ff; }
.budhigyan-pwa-manual-note { color: #c9d7ff; font-size: .92rem; margin-top: 8px; }
.budhigyan-install-page { max-width: 1120px; margin: 0 auto; padding: clamp(18px, 4vw, 40px); }
.budhigyan-install-hero {
    border: 1px solid rgba(241,196,75,.28);
    border-radius: 30px;
    background: radial-gradient(circle at top left, rgba(241,196,75,.18), transparent 34%), linear-gradient(135deg, rgba(7,18,47,.96), rgba(13,29,75,.94));
    box-shadow: 0 22px 80px rgba(0,0,0,.28);
    padding: clamp(24px, 5vw, 46px);
    color: #eef4ff;
}
.budhigyan-install-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 6vw, 54px); line-height: 1.03; }
.budhigyan-install-hero p { max-width: 760px; color: #c9d7ff; font-size: 1.05rem; line-height: 1.65; }
.budhigyan-install-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.budhigyan-install-primary,
.budhigyan-install-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}
.budhigyan-install-primary { background: #f1c44b; color: #07122f; }
.budhigyan-install-secondary { background: rgba(255,255,255,.10); color: #eef4ff; border: 1px solid rgba(255,255,255,.15); }
.budhigyan-install-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.budhigyan-install-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    padding: 18px;
}
.budhigyan-install-card strong { color: #ffffff; display: block; margin-bottom: 8px; }
.budhigyan-install-card p { color: #c9d7ff; margin: 0; font-size: .94rem; line-height: 1.55; }
.budhigyan-install-steps { margin: 20px 0 0; padding-left: 20px; color: #dfe7ff; line-height: 1.8; }
@media (max-width: 760px) {
    .budhigyan-pwa-banner { inset: auto 10px 10px 10px; border-radius: 18px; }
    .budhigyan-pwa-banner-inner { align-items: flex-start; }
    .budhigyan-pwa-icon { width: 42px; height: 42px; border-radius: 14px; }
    .budhigyan-pwa-actions { flex-direction: column; align-items: stretch; }
    .budhigyan-pwa-install-btn, .budhigyan-pwa-later-btn, .budhigyan-pwa-help-link { min-height: 36px; padding: 0 12px; }
    .budhigyan-install-grid { grid-template-columns: 1fr; }
}
@media (display-mode: standalone) {
    .budhigyan-pwa-banner { display: none !important; }
}
