﻿:root {
    color-scheme: light;
}

html,`nbody {`n    margin: 0;`n    background: #0b1220;`n}

canvas {
    display: block;
}

.section-reveal {
    opacity: 0;
    transform: translateY(24px);
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-reveal[data-delay] {
    transition-delay: var(--reveal-delay, 0ms);
}

.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(12px);
}

.grid-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -25px rgba(15, 23, 42, 0.7);
}

.mega-panel {
    transform-origin: top left;
    animation: megaFade 0.18s ease;
}

.icon-shell {
    position: relative;
    display: grid;
    place-items: center;
}

.icon-shell::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 18px;
    border: 1px dashed rgba(47, 107, 255, 0.35);
    animation: spin 8s linear infinite;
}

.icon-anim {
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
    animation: draw 1.4s ease forwards;
}

.illustration {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
}

.illustration path,
.illustration circle,
.illustration rect {
    stroke: currentColor;
}

.bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bg-blobs span {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.45;
    animation: float 18s ease-in-out infinite;
}

.bg-blobs .blob-1 {
    width: 220px;
    height: 220px;
    background: rgba(47, 107, 255, 0.35);
    top: -40px;
    left: -20px;
}

.bg-blobs .blob-2 {
    width: 260px;
    height: 260px;
    background: rgba(110, 231, 183, 0.25);
    bottom: -60px;
    right: 10%;
    animation-delay: 3s;
}

.bg-blobs .blob-3 {
    width: 180px;
    height: 180px;
    background: rgba(248, 113, 113, 0.2);
    top: 30%;
    right: -40px;
    animation-delay: 6s;
}

.accent-sky {
    color: #38bdf8;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 60%);
}

.accent-indigo {
    color: #818cf8;
    background: radial-gradient(circle at top, rgba(129, 140, 248, 0.25), transparent 60%);
}

.accent-rose {
    color: #fb7185;
    background: radial-gradient(circle at top, rgba(251, 113, 133, 0.25), transparent 60%);
}

.accent-amber {
    color: #fbbf24;
    background: radial-gradient(circle at top, rgba(251, 191, 36, 0.25), transparent 60%);
}

.accent-emerald {
    color: #34d399;
    background: radial-gradient(circle at top, rgba(52, 211, 153, 0.25), transparent 60%);
}

.accent-cyan {
    color: #22d3ee;
    background: radial-gradient(circle at top, rgba(34, 211, 238, 0.25), transparent 60%);
}

.accent-orange {
    color: #fb923c;
    background: radial-gradient(circle at top, rgba(251, 146, 60, 0.25), transparent 60%);
}

.accent-fuchsia {
    color: #e879f9;
    background: radial-gradient(circle at top, rgba(232, 121, 249, 0.25), transparent 60%);
}

.accent-violet {
    color: #a78bfa;
    background: radial-gradient(circle at top, rgba(167, 139, 250, 0.25), transparent 60%);
}

.accent-teal {
    color: #2dd4bf;
    background: radial-gradient(circle at top, rgba(45, 212, 191, 0.25), transparent 60%);
}

@keyframes megaFade {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-18px) translateX(12px);
    }
}

