/* ================================================================
   custom.css — Only non-Tailwind styles
   Tailwind handles layout/spacing/colors. This handles:
   keyframes, gradient-clip text, canvas, WOW.js, scrollbar
   ================================================================ */

/* ---- Gradient clip text ---- */
.grad-text {
    background: linear-gradient(135deg, #00d2ff 0%, #0099cc 50%, #f0b429 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-text-cyan {
    background: linear-gradient(135deg, #00d2ff, #00e676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-text-gold {
    background: linear-gradient(135deg, #f0b429, #ff8c00, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-text-green {
    background: linear-gradient(135deg, #00e676, #00ccaa, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-text-purple {
    background: linear-gradient(135deg, #a06ef5, #cc44ff, #f0b429);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-text-stat {
    background: linear-gradient(135deg, #00d2ff, #f0b429);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Grid overlay ---- */
.grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 210, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ---- Canvas ---- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ---- Glow blobs ---- */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

/* ---- Card top accent bar ---- */
.card-accent-cyan {
    position: relative;
}

.card-accent-cyan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d2ff, #00e676);
    border-radius: 16px 16px 0 0;
}

.card-accent-gold {
    position: relative;
}

.card-accent-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f0b429, #ff8c00, #00d2ff);
    border-radius: 16px 16px 0 0;
}

.card-accent-purple {
    position: relative;
}

.card-accent-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #a06ef5, #cc44ff, #f0b429);
    border-radius: 16px 16px 0 0;
}

.card-accent-green {
    position: relative;
}

.card-accent-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00e676, #00ccaa, #00d2ff);
    border-radius: 16px 16px 0 0;
}

/* ---- Progress fill animation ---- */
.prog-fill {
    height: 100%;
    border-radius: 3px;
    animation: fillBar 2s ease forwards;
}

@keyframes fillBar {
    from {
        width: 0 !important;
    }
}

/* ---- Float animation ---- */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.float-anim {
    animation: floatY 6s ease-in-out infinite;
}

/* ---- Score ring spin-in ---- */
@keyframes ringDraw {
    from {
        stroke-dashoffset: 320;
    }

    to {
        stroke-dashoffset: 50;
    }
}

.ring-animate {
    animation: ringDraw 2s ease forwards;
}

/* ---- WOW.js ---- */
.wow {
    visibility: hidden;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.35);
    border-radius: 3px;
}

/* ---- Timeline line ---- */
.timeline-line {
    position: absolute;
    left: -18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #f0b429, #00d2ff, transparent);
}

/* ---- Comparison table ---- */
.comp-table th {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.comp-table td,
.comp-table th {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.comp-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ---- Tag label ---- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---- Process connector ---- */
.process-connector {
    position: absolute;
    top: 28px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 1px;
    background: linear-gradient(90deg, #00d2ff, rgba(0, 210, 255, 0.05));
}

/* ---- Pulse dot ---- */
@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 230, 118, 0);
    }
}

.pulse-dot {
    animation: pulse-dot 2s infinite;
}