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

/* ---------- Aurora animated background (persists behind SPA content) ---------- */
.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;
    will-change: transform;
    animation: auroraDrift 18s ease-in-out infinite alternate;
}
.dark .aurora-blob { opacity: 0.45; }
.aurora-blob.a1 { width: 560px; height: 560px; top: -12%; left: -10%; background: radial-gradient(circle, #7c3aed, transparent 70%); animation-duration: 22s; }
.aurora-blob.a2 { width: 480px; height: 480px; top: 30%; right: -12%; background: radial-gradient(circle, #06b6d4, transparent 70%); animation-duration: 26s; animation-delay: -6s; }
.aurora-blob.a3 { width: 460px; height: 460px; bottom: -15%; left: 30%; background: radial-gradient(circle, #d946ef, transparent 70%); animation-duration: 20s; animation-delay: -3s; }
@keyframes auroraDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -50px) scale(1.15); }
    100% { transform: translate(-30px, 30px) scale(0.95); }
}
.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%; }

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

/* 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;
    width: 58px; height: 54px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #a1a1aa;
}
.nav-link.active {
    background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(6,182,212,0.18));
    color: #a78bfa !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.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; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
