/* layout grid */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* cards */
.spec-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    transition: .35s;
    position: relative;
}

.spec-card:hover {
    transform: translateY(-6px);
    border-color: #0284c7;
    box-shadow: 0 24px 60px rgba(2, 132, 199, 0.18);
}

/* different sizes */
.large {
    grid-column: span 2;
}

.wide {
    grid-column: span 3;
}

/* title */
.spec-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

/* subtitle */
.spec-sub {
    color: #4b5563;
    margin-top: 8px;
}

/* badges */
.spec-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.spec-badges li {
    list-style: none;
    background: #eef6ff;
    color: #0369a1;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
}

/* moving tech background */
.tech-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(2, 132, 199, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
    background-size: 120px 120px;
    animation: moveGrid 35s linear infinite;
    z-index: -1;
}

@keyframes moveGrid {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(120px)
    }
}

.gradient-dark {
    background: linear-gradient(90deg, #0284c7, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* responsive */
@media(max-width:900px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }

    .large,
    .wide {
        grid-column: span 1;
    }
}