/* Fondo / blobs */
.grid-tech {
    background-image: linear-gradient(transparent 96%, rgba(15, 23, 42, .04) 97%), linear-gradient(90deg, transparent 96%, rgba(15, 23, 42, .04) 97%);
    background-size: 30px 30px;
}

.mesh-blob {
    background: radial-gradient(60% 60% at 50% 50%, rgba(59, 130, 246, .25), rgba(99, 102, 241, .12) 60%, transparent 70%);
    filter: blur(12px);
}

/* Badges + glass */
.glass {
    backdrop-filter: blur(6px);
    border: 1px solid rgba(148, 163, 184, .25)
}

.badge-float {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .75rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e6ebf3;
}

/* Trustbar */
.trustbar {
    border: 1px solid #e6ebf3;
    border-radius: 1rem;
    background: #fff;
}

.trust-track {
    display: flex;
    gap: 16px;
    padding: 8px 12px;
    width: max-content;
    animation: trust 28s linear infinite;
}

.trustbar:hover .trust-track {
    animation-play-state: paused;
}

.trust-item {
    font-size: .85rem;
    color: #475569;
    border: 1px solid #e6ebf3;
    border-radius: 9999px;
    padding: .35rem .6rem;
    background: #fff
}

@keyframes trust {
    to {
        transform: translateX(-50%);
    }
}

/* Device / laptop */
.mockup-wrap {
    border: 1px solid #e6ebf3;
    border-radius: 1.25rem;
    background: #fff
}

.laptop {
    border-radius: .9rem;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    border: 1px solid #e5e7eb
}

.laptop-top {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
    border-bottom: 1px solid #e5e7eb
}

.laptop-top .dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #cbd5e1
}

.laptop-top .tabs {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.tab {
    font-size: .75rem;
    padding: .25rem .5rem;
    border-radius: .5rem;
    color: #475569
}

.tab.active {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #0f172a
}

.sidebar-skel .line {
    height: 8px;
    background: #e2e8f0;
    border-radius: .4rem
}

.card-skel {
    border: 1px solid #e6ebf3;
    background: #fff;
    border-radius: .8rem
}

.chart-skel {
    position: relative;
    height: 140px;
    border: 1px dashed #e2e8f0;
    border-radius: .6rem;
    background: linear-gradient(180deg, #f8fafc, #fff)
}

.spark,
.spark:before {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(37, 99, 235, .08));
    mask: linear-gradient(90deg, transparent 0, #000 20%, #000 80%, transparent 100%);
}

.spark {
    animation: glide 3.2s ease-in-out infinite;
}

.spark.d2 {
    animation-duration: 4s;
    animation-delay: .8s;
}

@keyframes glide {
    0% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(100%)
    }
}

.table-skel .row {
    height: 18px;
    border-radius: .35rem;
    background: linear-gradient(90deg, #eef2f7, #f7fafc 40%, #eef2f7 80%);
    background-size: 200% 100%;
    animation: shimmer 1.8s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: -200% 0
    }
}

.btn-pulse {
    position: relative;
}

.btn-pulse:after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: .6rem;
    border: 2px solid rgba(37, 99, 235, .45);
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
    0% {
        opacity: .7;
        transform: scale(.98)
    }

    100% {
        opacity: 0;
        transform: scale(1.2)
    }
}

.cursor-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #0ea5e9;
    box-shadow: 0 0 0 6px rgba(14, 165, 233, .25);
    left: 60%;
    top: 40%;
    animation: clicky 2.6s ease-in-out infinite;
}

@keyframes clicky {

    0%,
    70% {
        transform: translate(0, 0) scale(1)
    }

    10% {
        transform: translate(6px, 4px) scale(.9)
    }

    12% {
        transform: translate(6px, 4px) scale(1)
    }
}

/* Notificación */
.hero-bell {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #1d4ed8;
    color: #fff;
    border-radius: 9999px;
    padding: .25rem .5rem;
    font-size: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    box-shadow: 0 10px 24px rgba(29, 78, 216, .25);
}

.hero-bell i {
    animation: ring .9s ease-in-out infinite;
    transform-origin: 50% 0;
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0)
    }

    30% {
        transform: rotate(12deg)
    }

    60% {
        transform: rotate(-10deg)
    }
}

.reflection {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .24) 50%, transparent 60%);
    opacity: .35;
    mix-blend-mode: screen
}

/* Phone */
.phone {
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 220px;
    height: 420px;
    border-radius: 1.4rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 20px 50px rgba(2, 6, 23, .12);
}

.progress-shimmer {
    animation: shimmer 1.8s linear infinite
}

/* KPIs */
.kpi .val {
    letter-spacing: -.02em
}

/* Tech marquee */
.tech-carousel .tech-track {
    animation: tech 26s linear infinite;
    width: max-content
}

.tech-carousel:hover .tech-track {
    animation-play-state: paused;
}

.tech-item {
    font-size: .9rem;
    color: #475569;
    border: 1px solid #e6ebf3;
    border-radius: 9999px;
    padding: .35rem .7rem;
    background: #fff
}

@keyframes tech {
    to {
        transform: translateX(-50%);
    }
}

/* Scroll cue */
.scroll-cue {
    animation: bounce 1.4s ease-in-out infinite
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(3px)
    }
}

/* Accesibilidad motion */
@media (prefers-reduced-motion: reduce) {

    .trust-track,
    .tech-track,
    .spark,
    .spark.d2,
    .scroll-cue,
    .cursor-dot,
    .btn-pulse:after,
    .hero-bell i {
        animation: none !important
    }
}