/* ===== THANK YOU PAGE ===== */
.ty-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

/* 2-column grid */
.ty-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
}

/* ===== LEFT CARD ===== */
.ty-card {
    text-align: center;
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ty-icon { margin-bottom: 20px; }

.ty-title {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.2;
}

.ty-sub {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ===== STEPS ===== */
.ty-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    text-align: left;
}

.ty-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    background: rgba(248,250,252,0.88);
    border: 1px solid rgba(203,213,225,0.82);
    border-radius: 14px;
}

.ty-step-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f59e0b;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ty-step div         { display: flex; flex-direction: column; gap: 2px; }
.ty-step strong      { display: block; font-size: 0.88rem; font-weight: 700; color: #0f172a; line-height: 1.25; }
.ty-step div span    { display: block; font-size: 0.76rem; color: #64748b; line-height: 1.45; margin-top: 2px; }

/* ===== URGENT ===== */
.ty-urgent {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(245,158,11,0.07);
    border: 1.5px solid rgba(245,158,11,0.28);
    border-radius: var(--radius);
}
.ty-urgent-label {
    font-size: 0.78rem;
    color: #92400e;
    margin-bottom: 6px;
    font-weight: 600;
}
.ty-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #92400e;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s;
}
.ty-phone-link:hover { color: #78350f; }
.ty-phone-mobile { display: none; }
@media (max-width: 640px) {
    .ty-phone-desktop { display: none; }
    .ty-phone-mobile  { display: inline-flex; }
}

/* ===== ACTIONS ===== */
.ty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ty-actions .btn-primary,
.ty-actions .btn-ghost { min-height: 46px; }

/* ===== RIGHT: APP CARD ===== */
.ty-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid rgba(0,212,255,0.18);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 32px rgba(0,212,255,0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    padding: 28px 24px 24px;
    gap: 0;
    height: 100%;
    box-sizing: border-box;
}

/* app name row */
.ty-app-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.ty-app-top span {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

/* phone screenshot — main visual */
.ty-app-screen {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}
.ty-app-screen::before {
    content: '';
    position: absolute;
    inset: 20% 10% -10%;
    background: radial-gradient(ellipse at 50% 60%, rgba(0,212,255,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.ty-phone-shell {
    position: relative;
    width: 150px;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.13);
    box-shadow:
        0 28px 56px rgba(0,0,0,0.35),
        0 0 0 1px rgba(0,212,255,0.14),
        inset 0 1px 0 rgba(255,255,255,0.10);
}
.ty-phone-shell img {
    width: 100%;
    height: auto;
    display: block;
}

/* pulse overlay — scaled for 150px shell */
.ty-phone-shell .phone-cta-btn {
    display: block;
    width: 40px;
    height: 40px;
    min-width: 40px;
}
.ty-phone-shell .phone-cta-btn::after {
    margin: -21px 0 0 -21px;
    width: 42px;
    height: 42px;
}

/* tagline + store buttons */
.ty-app-bottom { width: 100%; }

/* website link — full width to match store buttons */
.ty-app-bottom .app-website-link {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 8px;
}

.ty-app-tagline {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.4;
}

.ty-app-store-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ty-app-store-btns .store-btn {
    width: 100%;
    justify-content: center;
}


/* ===== TABLET ===== */
@media (max-width: 860px) {
    .ty-grid { grid-template-columns: 1fr; max-width: 620px; }
    .ty-app-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 24px 28px;
        gap: 24px;
    }
    .ty-app-top { order: 0; margin-bottom: 12px; }
    .ty-app-screen {
        order: 2;
        flex: none;
        width: 120px;
        margin-bottom: 0;
    }
    .ty-app-screen::before { display: none; }
    .ty-app-bottom { order: 1; flex: 1; }
    .ty-app-store-btns { flex-direction: row; }
    .ty-app-store-btns .store-btn { width: auto; flex: 1; }
    .ty-phone-shell { width: 100%; }
}

/* ===== MOBILE ===== */
@media (max-width: 560px) {
    .ty-card { padding: 32px 20px; }
    .ty-title { font-size: 1.45rem; }
    .ty-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    .ty-app-card { flex-direction: column; }
}
@media (max-width: 400px) {
    .ty-actions { grid-template-columns: 1fr; }
    .ty-phone-link { font-size: 1rem; }
}
