/* slide-ask — Bizga nima kerak */

/* ---- Fon nuqtalari (slide-team dan o'xshash) ---- */
.slide-bg-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(33,150,243,0.12) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.5;
}

/* ---- Sarlavha ---- */
.slide-header { margin-bottom: 1.4rem; }

/* ---- Kartalar grid ---- */
.ask-grid {
    margin-bottom: 1.4rem;
    flex: 1;
    align-content: center;   /* kartalar kontentga moslashadi, blok vertikal markazda */
    align-items: stretch;    /* qatordagi kartalar bir xil balandlik */
}

/* Karta ichidagi p — boshqa kontentdan oldin nafas bersin */
.info-card p { margin-bottom: 0.2rem; }

/* Asosiy slayd — $30k kartas uchun alohida urg'u */
.ask-card-main {
    border-top-color: #42a5f5;
    background: linear-gradient(160deg, rgba(33,150,243,0.18) 0%, rgba(255,255,255,0.04) 100%);
}

.ask-card-main h3 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

/* "seed" belgisi */
.ask-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #0a1f3c;
    background: #42a5f5;
    border-radius: 6px;
    padding: 0.15rem 0.55rem;
    vertical-align: middle;
    line-height: 1.5;
}

/* Asosiy karta — meta ro'yxat ($30k karta) */
.ask-meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(33,150,243,0.22);
}

.ask-meta-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
}

.ask-meta-label { color: rgba(255,255,255,0.6); }

.ask-meta-val {
    font-weight: 800;
    color: var(--color-accent-light);
}

/* Xarajatlar ro'yxati */
.ask-spend-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.ask-spend-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.45;
}

.ask-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 6px rgba(33,150,243,0.6);
}

/* Milestone ro'yxati (runway karta) */
.ask-milestones { margin-top: auto; padding-top: 0.3rem; }

.ask-check {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: rgba(33,150,243,0.18);
    box-shadow: inset 0 0 0 1px rgba(33,150,243,0.45);
}
.ask-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--color-accent-light);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Allocation bar (Pul nimaga karta) */
.ask-alloc-bar {
    display: flex;
    width: 100%;
    height: 12px;
    border-radius: 7px;
    overflow: hidden;
    gap: 2px;
    margin: 0.1rem 0 0.4rem;
}
.ask-alloc-seg {
    display: block;
    height: 100%;
    border-radius: 3px;
}
.seg-1 { background: #42a5f5; }
.seg-2 { background: #2196f3; }
.seg-3 { background: rgba(33,150,243,0.4); }

.dot-1 { background: #42a5f5; }
.dot-2 { background: #2196f3; }
.dot-3 { background: rgba(33,150,243,0.55); box-shadow: 0 0 6px rgba(33,150,243,0.35); }

/* Foiz yorlig'i ro'yxat o'ng tomonida */
.ask-pct {
    margin-left: auto;
    font-weight: 800;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   CTA bloki
   ============================================ */

.ask-cta {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(33,150,243,0.22) 0%, rgba(21,101,192,0.18) 100%);
    border: 1px solid rgba(33,150,243,0.4);
    box-shadow: 0 8px 28px rgba(0,0,0,0.28), 0 0 36px rgba(33,150,243,0.18),
                inset 0 1px 0 rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    padding: 1.1rem 1.6rem;
}

.ask-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ask-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ask-cta-label {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.01em;
}

.ask-cta-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.ask-cta-actions {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Tugmalar */
.ask-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-base);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.65rem 1.3rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.ask-btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(33,150,243,0.45);
    border: none;
}

.ask-btn-primary:hover {
    background: #42a5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33,150,243,0.55);
}

.ask-btn-outline {
    background: transparent;
    color: var(--color-accent-light);
    border: 1.5px solid rgba(33,150,243,0.5);
}

.ask-btn-outline:hover {
    background: rgba(33,150,243,0.12);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* ============================================
   Animatsiyalar
   ============================================ */

body.active .ask-cta {
    animation: fadeUp 0.65s ease-out 0.55s both;
}

body.active .ask-btn-primary {
    animation: scaleIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.75s both;
}

body.active .ask-btn-outline {
    animation: scaleIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.88s both;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
    .ask-spend-list li { font-size: 1.02rem; }
    .ask-meta-list li { font-size: 0.98rem; }
    .ask-pct { font-size: 0.95rem; }
    .ask-cta-label { font-size: 1.1rem; }
}

@media (max-width: 850px) {
    .ask-cta-inner { flex-direction: column; align-items: flex-start; }
}
