/* ==========================================================================
   GLOBAL STYLES & UTILITIES
   ========================================================================== */
[x-cloak] { display: none !important; }

::selection { 
    background: #52525b; 
    color: #ffffff; 
}

body { 
    background-color: #000000; 
    color: #f8fafc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #52525b; }

.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(29, 78, 216, 0.3); border-radius: 10px; }

.text-glow {
    background: linear-gradient(180deg, #ffffff 0%, #d4d4d8 50%, #52525b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   COMPONENTS (CARDS & WRAPPERS)
   ========================================================================== */
.glass-card {
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.6) 0%, rgba(9, 9, 11, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 32px -8px rgba(255, 255, 255, 0.05);
}

.glass-card img {
    image-rendering: -webkit-optimize-contrast;
    object-fit: contain;
    padding: 4px;
}

.showcase-wrapper {
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   SHARD SHOWCASE (ORBIT & DYNAMIC MOCKUP)
   ========================================================================== */

/* Animación de rotación global para ambas órbitas */
@keyframes orbit-rotate { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

/* 1. Órbita Principal (Izquierda) */
.orbit-ring-bw {
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    position: absolute;
}
.ring-1-bw { width: 150px; height: 150px; animation: orbit-rotate 12s linear infinite; }
.ring-2-bw { width: 240px; height: 240px; animation: orbit-rotate 18s linear infinite reverse; }
.ring-3-bw { width: 330px; height: 330px; animation: orbit-rotate 24s linear infinite; }

.orbit-icon-bw {
    position: absolute;
    background: #000; 
    border: 1px solid #ffffff; 
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 14px;
    color: #ffffff; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

/* 2. Órbita Miniatura (Mockup Derecha) */
.orbit-system-mini {
    position: relative; width: 140px; height: 140px; display: flex; justify-content: center; align-items: center;
}
.orbit-ring-bw-mini { border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 50%; position: absolute; }
.ring-1-bw-mini { width: 100px; height: 100px; animation: orbit-rotate 15s linear infinite; }
.ring-2-bw-mini { width: 160px; height: 160px; animation: orbit-rotate 20s linear infinite reverse; }

.orbit-icon-bw-mini {
    position: absolute; background: #000; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
    width: 24px; height: 24px; font-size: 10px; color: #ffffff;
    display: flex; justify-content: center; align-items: center;
}

/* 3. Estilos del Mockup y Carrusel */
.dynamic-mockup {
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
.mockup-screen-bw {
    background-color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}
.progress-bar-carrousel {
    background: #0f0f0f; height: 32px; border-radius: 6px; margin-bottom: 10px;
    display: flex; align-items: center; padding: 0 12px; color: rgba(255, 255, 255, 0.5);
    position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.05);
}
.progress-bar-carrousel.completed { border-color: rgba(255,255,255,0.15); color: #ffffff; }
.progress-bar-carrousel .content-carrousel { z-index: 2; position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 11px; }

/* ==========================================================================
   CTA, MARQUEES & PAYMENTS
   ========================================================================== */
.cta-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, #27272a 1px, transparent 1px),
        linear-gradient(to bottom, #27272a 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.reviews-marquee {
    display: flex; 
    overflow: hidden; 
    position: relative; 
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.reviews-track {
    display: flex; 
    gap: 1.5rem; 
    width: max-content;
    animation: scrollReviews 40s linear infinite;
}

@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.review-item { 
    width: 350px; 
    flex-shrink: 0; 
}

.payments-marquee { 
    display: flex; 
    overflow: hidden; 
    position: relative; 
    width: 100%; 
    max-width: 700px; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
}

.payments-track { 
    display: flex; 
    align-items: center; 
    gap: 4rem; 
    width: max-content; 
    animation: scrollPayments 35s linear infinite; 
}

.pay-item { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    opacity: 0.25; 
    filter: grayscale(100%); 
    transition: all 0.3s ease; 
    color: #94a3b8; 
    font-size: 0.875rem; 
    font-weight: 600; 
    cursor: default; 
}

.pay-item:hover { 
    opacity: 1; 
    filter: grayscale(0%); 
    color: #ffffff; 
}

.pay-item img { 
    height: 20px; 
    object-fit: contain; 
}