/* Srimad Gita — Floating Download CTA Modal (shared across SEO/GEO/AEO pages) */
.gita-cta-modal {
    position: fixed;
    z-index: 9999;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Desktop: centered QR card ---------- */
@media screen and (min-width: 769px) {
    .gita-cta-modal.gita-cta-desktop {
        bottom: 24px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
        max-width: 600px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
        padding: 20px;
    }
    .gita-cta-modal.gita-cta-desktop.show { display: block; }

    .gita-cta-desktop .gita-cta-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #f0f0f0;
        border: none;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        font-size: 16px;
        line-height: 1;
        color: #666;
        cursor: pointer;
        z-index: 2;
    }
    .gita-cta-desktop-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .gita-cta-qr {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
    }
    .gita-cta-qr img {
        width: 76px;
        height: 76px;
        padding: 8px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
    }
    .gita-cta-qr-label {
        font-size: 11px;
        color: #666;
        margin-top: 6px;
    }
    .gita-cta-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        min-width: 0;
    }
    .gita-cta-center img {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    .gita-cta-title {
        font-size: 1rem;
        font-weight: 700;
        color: #2d3748;
        margin: 0 0 4px 0;
    }
    .gita-cta-tagline {
        font-size: 0.8rem;
        color: #666;
        margin: 0;
        line-height: 1.35;
    }
}

/* ---------- Mobile: compact bottom bar ---------- */
@media screen and (max-width: 768px) {
    .gita-cta-modal.gita-cta-mobile {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        padding: 12px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-sizing: border-box;
        max-height: 120px;
    }
    .gita-cta-modal.gita-cta-mobile.show { display: block; }

    .gita-cta-mobile-content {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .gita-cta-mobile-content img.gita-cta-app-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        flex-shrink: 0;
    }
    .gita-cta-mobile-text {
        flex: 1;
        min-width: 0;
    }
    .gita-cta-mobile-text h4 {
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        color: #000;
        line-height: 1.2;
    }
    .gita-cta-mobile-text p {
        margin: 2px 0 0 0;
        font-size: 12px;
        color: #666;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .gita-cta-mobile .gita-cta-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #f0f0f0;
        border: none;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        font-size: 15px;
        line-height: 1;
        color: #666;
        cursor: pointer;
        z-index: 2;
    }
}

.gita-cta-download-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: #000;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.gita-cta-download-btn:hover { opacity: 0.9; }
.gita-cta-download-btn .gita-cta-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}
.gita-cta-download-btn .gita-cta-btn-small { font-size: 9px; font-weight: 400; opacity: 0.9; }
.gita-cta-download-btn .gita-cta-btn-large { font-size: 13px; font-weight: 600; }

body.gita-cta-padding-bottom {
    padding-bottom: 100px;
}

@media screen and (min-width: 769px) {
    body.gita-cta-padding-bottom {
        padding-bottom: 200px;
    }
}
