/* ============================================================
   CHECKOUT.UZ — Liquid Glass 3D/4D Design System
   ============================================================ */

body {
    font-family: 'Inter', sans-serif;
}

.font-display {
    font-family: 'Sora', sans-serif;
}

.text-data {
    font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji", sans-serif;
}

/* ---------- Accessibility: qorong'i rejimda matn kontrasti ---------- */
/* text-zinc-500 (#71717a) bizning qora fonlarimizda (glass-3d/darkBg) WCAG AA
   4.5:1 talabiga yetmaydi (Lighthouse: 3.4-4.2). Qorong'i rejimda zinc-400ga
   ko'tarib qo'yamiz - yorug' rejimda esa zinc-500 fonlarimizda (oq/lightBg)
   allaqachon 4.5:1 dan o'tadi, shu sabab u yerga tegilmaydi. */
.dark .text-zinc-500 { color: #a1a1aa; }

/* ---------- Auth-uslub inputlar (login/register/forgot-password/reset-password sahifalarida umumiy) ---------- */
/* Diqqat: padding-left/right shu yerda belgilanmaydi — bu Tailwind'ning pl-12/pr-12
   klasslariga zid kelib, ikonka matn ustiga chiqib qolishiga sabab bo'ladi. */
.auth-input { width: 100%; background: rgba(120,120,120,0.06); border: 1px solid rgba(120,120,120,0.2); border-radius: 16px; padding-top: 14px; padding-bottom: 14px; outline: none; transition: 0.25s; font-size: 14px; }
.dark .auth-input { color: #fff; }
.light .auth-input { color: #18181b; border-color: rgba(0,0,0,0.1); }
.auth-input:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15); }
.toggle-password { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #94a3b8; transition: 0.2s; }

/* ---------- Gradient text / underline ---------- */
.grad-text {
    background-image: linear-gradient(90deg, #3b82f6, #7c3aed, #06b6d4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-underline { position: relative; }
.nav-underline::after {
    content: '';
    position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
    background-image: linear-gradient(90deg, #7c3aed, #06b6d4);
    transition: width 0.25s ease;
}
.nav-underline:hover::after { width: 100%; }

/* ---------- Desktop header nav pill (active page/section indicator) ---------- */
.nav-pill-link {
    position: relative;
    padding: 7px 16px;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-pill-link:hover { color: #a78bfa; }
.nav-pill-link.active {
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    color: #fff !important;
    box-shadow: 0 8px 20px -4px rgba(124, 58, 237, 0.45);
}

/* ---------- Flat card surface (oldin "Liquid Glass" - blur/3D butunlay olib
   tashlandi, faqat maksimal yengil/tez ishlashi uchun oddiy tekis karta qoldi) ---------- */
.glass-3d {
    position: relative;
    border-radius: 16px;
    background: #12121b;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.light .glass-3d {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Ochiladigan menyu/dropdown panellari - glass-3d'ga qaraganda quyuqroq, to'liq xira fon */
.dropdown-panel {
    background: #16161f !important;
}
.light .dropdown-panel {
    background: #ffffff !important;
}

/* Floating nav specific */
.nav-shell { border-radius: 9999px; transition: box-shadow 0.2s ease; }
.nav-shell.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* ---------- Shimmer buttons ---------- */
.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after {
    content: '';
    position: absolute; top: 0; left: -150%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn-shimmer:hover::after { left: 150%; }

/* ---------- Mobile floating nav ---------- */
.nav-link {
    position: relative;
    z-index: 1;
    width: 58px; height: 54px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #a1a1aa;
    --nav-active: 0;
}
.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(6,182,212,0.18));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    opacity: var(--nav-active);
    transition: opacity 0.08s linear;
    z-index: -1;
    pointer-events: none;
}
.nav-link.active {
    color: #a78bfa !important;
    --nav-active: 1;
}
.nav-link span { font-size: 8px; font-weight: 800; text-transform: uppercase; margin-top: 3px; opacity: 0.75; }
.nav-link.active span { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); opacity: 0; padding-top: 0; }
.faq-item.active .faq-answer { max-height: 500px; opacity: 1; padding-top: 15px; padding-bottom: 10px; }
.faq-item i { transition: transform 0.3s ease; }
.faq-item.active i { transform: rotate(45deg); color: #7c3aed; }

[x-cloak] { display: none !important; }
body.modal-open { overflow: hidden; }
.no-scrollbar::-webkit-scrollbar { display: none; }
