/* PWA + mobil dönüşüm — marketing sayfaları */

body.has-mobile-sticky {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
}

.uh-pwa-install {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 10040;
    animation: uh-slide-up 0.35s ease;
}

.uh-pwa-install.is-ready { display: block; }

.uh-pwa-install-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.uh-pwa-install-inner img {
    border-radius: 8px;
    flex-shrink: 0;
}

.uh-pwa-install-text {
    flex: 1;
    min-width: 0;
}

.uh-pwa-install-text strong {
    display: block;
    font-size: 0.82rem;
    color: #0f172a;
}

.uh-pwa-install-text span {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
}

.uh-pwa-install-btn {
    border: none;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.uh-pwa-install-close {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

.uh-mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10045;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e2e8f0;
    backdrop-filter: blur(8px);
    transform: translateY(110%);
    transition: transform 0.25s ease;
}

.uh-mobile-sticky-cta.is-visible {
    transform: translateY(0);
}

.uh-mobile-sticky-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.35);
}

.uh-mobile-sticky-call {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #334155;
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@keyframes uh-slide-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 769px) {
    .uh-pwa-install,
    .uh-mobile-sticky-cta { display: none !important; }
    body.has-mobile-sticky { padding-bottom: 0; }
}