/* ============================================================
   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;
}

/* ---------- 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; }

/* ---------- Aurora background (statik, mobil unumdorlik uchun animatsiyasiz) ---------- */
.aurora-layer {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}
.aurora-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(110px);
    opacity: 0.55;
}
.dark .aurora-blob { opacity: 0.45; }
.aurora-blob.a1 { width: 560px; height: 560px; top: -12%; left: -10%; background: radial-gradient(circle, #7c3aed, transparent 70%); }
.aurora-blob.a2 { width: 480px; height: 480px; top: 30%; right: -12%; background: radial-gradient(circle, #06b6d4, transparent 70%); }
.aurora-blob.a3 { width: 460px; height: 460px; bottom: -15%; left: 30%; background: radial-gradient(circle, #d946ef, transparent 70%); }
.grain-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Gradient text / underline ---------- */
.grad-text {
    background-image: linear-gradient(90deg, #d946ef, #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);
}

/* ---------- Liquid Glass core surface ---------- */
.glass-3d {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(150deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        0 12px 40px rgba(3, 3, 12, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(255,255,255,0.04);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.light .glass-3d {
    background: linear-gradient(150deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow:
        0 12px 34px rgba(124, 58, 237, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.glass-3d:hover {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow:
        0 22px 55px rgba(124, 58, 237, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.28);
}

/* Ochiladigan menyu/dropdown panellari — orqa fondagi matnlar ko'rinib, oldingi
   matnlar bilan aralashib ketmasligi uchun glass-3d'ga qaraganda quyuqroq fon */
.dropdown-panel {
    background: rgba(17, 17, 26, 0.98) !important;
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
}
.light .dropdown-panel {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* Floating nav specific */
.nav-shell { border-radius: 9999px; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.nav-shell.scrolled { box-shadow: 0 16px 45px rgba(3,3,12,0.5), inset 0 1px 0 rgba(255,255,255,0.22); }

/* ---------- 3D tilt interaction (JS toggles transform inline) ---------- */
[data-tilt] { transform-style: preserve-3d; will-change: transform; transition: transform 0.15s ease-out; }

/* ---------- 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; }
.nav-link-overlay {
    position: absolute;
    inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #a78bfa;
    pointer-events: none;
    z-index: 2;
    clip-path: inset(0 100% 0 0);
}
.nav-link-overlay span { font-size: 8px; font-weight: 800; text-transform: uppercase; margin-top: 3px; }
.nav-link-floater {
    position: absolute;
    top: 0; left: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(124,58,237,0.32), rgba(6,182,212,0.26));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 14px rgba(124,58,237,0.25);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* ---------- 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; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
