table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 16px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

thead {
    background: var(--blue);
    color: white;
}

th,
td {
    padding: 16px 20px;
    text-align: left;
}

tbody tr:nth-child(even) {
    background: var(--light-grey);
}

tbody tr:hover {
    background: rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

td:last-child,
th:last-child {
    white-space: nowrap;
    font-weight: 600;
}

.text-span {
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    transition: background-size 1s ease;
}

.word {
    display: inline-block;
    white-space: nowrap;
}

.text-span .letter {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

[animate="grid"]>* {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.overlay {
    opacity: 0;
    transform: translateY(60px);
    animation:
        slideUp 1s ease forwards,
        floatUpDown 4s ease-in-out infinite;
}

.overlay:nth-child(3) {
    animation-delay: 0s, 1s;
}

.overlay:nth-child(2) {
    animation-delay: 0.4s, 1.4s;
}

.overlay:nth-child(1) {
    animation-delay: 0.8s, 1.8s;
}

.container.center[animate="stacked"] {
    display: grid;
    position: relative;
}

.container.center[animate="stacked"]>.w-layout-grid._2-col.v2 {
    position: sticky;
    top: 100px;
    will-change: transform, opacity;
    transform-origin: center center;
}

.container.center[animate="stacked"]>.w-layout-grid._2-col.v2:nth-child(5) {
    z-index: 5;
}

.container.center[animate="stacked"]>.w-layout-grid._2-col.v2:nth-child(4) {
    z-index: 4;
}

.container.center[animate="stacked"]>.w-layout-grid._2-col.v2:nth-child(3) {
    z-index: 3;
}

.container.center[animate="stacked"]>.w-layout-grid._2-col.v2:nth-child(2) {
    z-index: 2;
}

.container.center[animate="stacked"]>.w-layout-grid._2-col.v2:nth-child(1) {
    z-index: 1;
}

[animate="pulse"] {
    animation: pulseAnim 1.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulseAnim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}


@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}