/* slide-3 — Yechim (ikki ustunli: kartalar + telefon mockup) */

.slide-body { overflow: hidden; padding: 3vh 5vw; }
.slide-header { margin-bottom: 1rem; }

/* ===== Ikki ustunli asosiy layout ===== */
.solution-layout {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 0.68fr;
    gap: 2rem;
    align-items: center;
}

/* ===== Chap ustun ===== */
.solution-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.lead {
    font-size: 1.6rem;
    line-height: 1.65;
    margin-bottom: 0;
    padding: 0.9rem 1.1rem;
}

/* 2x2 karta grid */
.solution-left .card-grid.cols-2 {
    flex: 1;
    gap: 0.9rem;
}

.solution-left .info-card {
    gap: 0.9rem;
    padding: 1.8rem 1.6rem;
}

.solution-left .info-card-icon {
    width: 66px;
    height: 66px;
    border-radius: 16px;
}
.solution-left .info-card-icon svg {
    width: 34px;
    height: 34px;
}

.solution-left .info-card h3 {
    font-size: 1.75rem;
}

.solution-left .info-card p {
    font-size: 1.28rem;
    line-height: 1.6;
}

/* ===== O'ng ustun ===== */
.solution-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Telefon ramkasi ===== */
.phone {
    position: relative;
    width: 290px;
    background: #0d1b2e;
    border: 8px solid #0b1322;
    border-radius: 38px;
    padding: 0;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(33, 150, 243, 0.28),
        inset 0 0 0 2px rgba(33, 150, 243, 0.25);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 20px;
    background: #0b1322;
    border-radius: 0 0 14px 14px;
    z-index: 3;
}

/* ===== Ilova ekrani (och fon) ===== */
.app-screen {
    background: #f4f7fb;
    color: #1f2937;
    padding: 1.5rem 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-family: "Nunito", sans-serif;
    /* ichki scroll — kontent oshib ketsa */
    max-height: 76vh;
    overflow-y: auto;
    scrollbar-width: none;
}
.app-screen::-webkit-scrollbar { display: none; }

/* Status qatori */
.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.app-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #2196f3;
}
.app-loc svg { width: 13px; height: 13px; }

.app-bell {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #44474f;
}
.app-bell svg { width: 15px; height: 15px; }
.app-bell-dot {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    border: 1.5px solid #fff;
}

/* Salom bloki */
.app-hello { margin-top: 0.05rem; }
.app-hi { font-size: 1.3rem; font-weight: 900; color: #111827; line-height: 1; }
.app-subhi { font-size: 0.72rem; font-weight: 600; color: #6b7280; margin-top: 0.2rem; }

/* Qidiruv */
.app-search {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    color: #9aa3af;
    font-weight: 600;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 11px;
    padding: 0.5rem 0.7rem;
}
.app-search svg { width: 13px; height: 13px; color: #9aa3af; flex-shrink: 0; }

/* CTA banner */
.app-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
    border-radius: 13px;
    padding: 0.55rem 0.7rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.35);
}
.app-cta-plus {
    width: 30px; height: 30px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700; line-height: 1;
}
.app-cta-text { display: flex; flex-direction: column; flex: 1; }
.app-cta-text strong { font-size: 0.85rem; font-weight: 800; }
.app-cta-text span { font-size: 0.65rem; opacity: 0.85; }
.app-cta-arrow { font-size: 1rem; font-weight: 700; }

/* Bo'lim sarlavhalari */
.app-section {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 0.1rem;
}
.app-section span { font-size: 0.88rem; font-weight: 900; color: #111827; }
.app-section a { font-size: 0.68rem; font-weight: 700; color: #2196f3; cursor: pointer; }

/* Kategoriyalar */
.app-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
}
.app-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 11px;
    padding: 0.4rem 0.15rem;
}
.app-cat span { font-size: 0.55rem; font-weight: 700; color: #4b5563; text-align: center; }

.ci {
    width: 30px; height: 30px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    font-style: normal;
}
.c-blue   { background: #e3f2fd; }
.c-yellow { background: #fff8e1; }
.c-pink   { background: #fce4ec; }
.c-gray   { background: #eceff1; }
.c-orange { background: #fff3e0; }
.c-cyan   { background: #e0f7fa; }
.c-brown  { background: #efebe9; }
.c-rose   { background: #fde7ef; }

/* Xodim kartalar */
.app-worker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.aw-avatar {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 900; color: #fff;
}
.av-blue  { background: #42a5f5; }
.av-green { background: #66bb6a; }
.av-pink  { background: #ec407a; }

.aw-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.08rem; }
.aw-name {
    display: flex; align-items: center; gap: 0.2rem;
    font-size: 0.75rem; font-weight: 800; color: #111827;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.aw-verified {
    width: 12px; height: 12px;
    background: #2196f3; color: #fff;
    border-radius: 50%;
    font-size: 0.55rem; font-style: normal;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.aw-role { font-size: 0.63rem; color: #6b7280; font-weight: 600; }
.aw-meta {
    display: flex; align-items: center; gap: 0.25rem;
    font-size: 0.63rem; color: #4b5563; font-weight: 600;
}
.aw-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.aw-star { color: #f59e0b; font-weight: 800; }

.aw-price {
    flex-shrink: 0;
    text-align: right;
    font-size: 0.88rem; font-weight: 900; color: #1565c0;
    display: flex; flex-direction: column; line-height: 1.1;
}
.aw-price span { font-size: 0.55rem; font-weight: 700; color: #9aa3af; }

/* ===== Animatsiyalar ===== */
body.active .phone {
    animation: scaleIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
               phoneFloat 6s ease-in-out 1.3s infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ===== Media queries ===== */
@media (max-width: 1300px) {
    .phone { width: 270px; }
    .solution-layout { gap: 2rem; }
}

@media (max-width: 1100px) {
    .phone { width: 250px; }
    .app-hi { font-size: 1.1rem; }
    .solution-left .info-card h3 { font-size: 1.4rem; }
    .solution-left .info-card p  { font-size: 1.1rem; }
}

@media (max-width: 850px) {
    .solution-layout { grid-template-columns: 1fr; }
    .solution-right   { display: none; }
    .solution-left .card-grid.cols-2 { grid-template-columns: repeat(4, 1fr); }
}
