:root{
    --tp-green:#16a34a;
    --tp-green2:#22c55e;
    --tp-dark:#0f172a;
    --tp-muted:#64748b;
    --tp-soft:#ecfdf5;
}

.tp-pwa-section{
    background:#fff;
    border-top:1px solid #e2e8f0;
    border-bottom:1px solid #e2e8f0;
    padding:54px 0;
}

.tp-pwa-wrap{
    width:min(100% - 32px,1180px);
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) 420px;
    gap:34px;
    align-items:center;
}

.tp-pwa-pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 13px;
    border-radius:999px;
    background:var(--tp-soft);
    color:#15803d;
    border:1px solid #bbf7d0;
    font-size:12px;
    font-weight:950;
}

.tp-pwa-title{
    margin:16px 0 0;
    font-size:38px;
    line-height:1.08;
    letter-spacing:-1.2px;
    font-weight:950;
    color:var(--tp-dark);
}

.tp-pwa-text{
    margin:12px 0 0;
    color:var(--tp-muted);
    font-size:17px;
    line-height:1.65;
    font-weight:650;
    max-width:660px;
}

.tp-pwa-actions{
    margin-top:22px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.tp-pwa-btn{
    min-height:52px;
    border:0;
    border-radius:18px;
    padding:0 20px;
    font-size:15px;
    font-weight:950;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.tp-pwa-btn-android{
    background:linear-gradient(135deg,var(--tp-green),var(--tp-green2));
    color:#fff;
    box-shadow:0 14px 28px rgba(22,163,74,.22);
}

.tp-pwa-btn-android:disabled{
    opacity:.55;
    cursor:not-allowed;
}

.tp-pwa-btn-ios{
    background:var(--tp-dark);
    color:#fff;
}

.tp-pwa-hint{
    display:none;
    margin-top:12px;
    color:#15803d;
    background:var(--tp-soft);
    border:1px solid #bbf7d0;
    border-radius:16px;
    padding:12px 14px;
    font-size:13px;
    line-height:1.55;
    font-weight:800;
}

.tp-pwa-hint.show{
    display:block;
}

.tp-pwa-phone{
    border-radius:32px;
    border:1px solid #bbf7d0;
    background:linear-gradient(135deg,rgba(22,163,74,.12),rgba(52,211,153,.12));
    box-shadow:0 28px 70px rgba(15,23,42,.10);
    padding:14px;
}

.tp-pwa-screen{
    min-height:420px;
    border-radius:26px;
    background:#0f172a;
    overflow:hidden;
    padding:16px;
    color:#fff;
}

.tp-pwa-top{
    height:34px;
    border-radius:999px;
    background:#1e293b;
    margin-bottom:16px;
}

.tp-pwa-card{
    display:flex;
    flex-direction:column;
    gap:4px;
    background:linear-gradient(135deg,var(--tp-green),#34d399);
    border-radius:22px;
    padding:20px;
    margin-bottom:12px;
}

.tp-pwa-card b{
    font-size:24px;
    line-height:1;
}

.tp-pwa-card span{
    font-size:13px;
    opacity:.92;
    font-weight:800;
}

.tp-pwa-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.tp-pwa-mini{
    height:100px;
    border-radius:18px;
    background:#f8fafc;
    opacity:.92;
}

.tp-ios-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(15,23,42,.68);
    backdrop-filter:blur(8px);
}

.tp-ios-modal.show{
    display:flex;
}

.tp-ios-box{
    width:min(460px,100%);
    background:#fff;
    border-radius:26px;
    padding:22px;
    box-shadow:0 28px 80px rgba(0,0,0,.35);
}

.tp-ios-box h3{
    margin:0 0 10px;
    font-size:24px;
    font-weight:950;
    color:var(--tp-dark);
}

.tp-ios-box ol{
    margin:12px 0 0;
    padding-left:20px;
    color:#334155;
    line-height:1.75;
    font-weight:750;
}

.tp-ios-close{
    margin-top:16px;
    width:100%;
    min-height:48px;
    border:0;
    border-radius:16px;
    background:var(--tp-green);
    color:#fff;
    font-weight:950;
    cursor:pointer;
}

@media(max-width:900px){
    .tp-pwa-section{
        padding:36px 0;
    }

    .tp-pwa-wrap{
        grid-template-columns:1fr;
    }

    .tp-pwa-title{
        font-size:30px;
    }

    .tp-pwa-text{
        font-size:15px;
    }

    .tp-pwa-actions{
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
    }

    .tp-pwa-phone{
        display:none;
    }
}
