/* ============================================================
   EVO3 Design Tokens — shared across all HTML pages
   Do not duplicate these rules inline; edit only here.
   ============================================================ */

/* ── Background grid ──────────────────────────────────────── */
.tech-grid {
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ── Gradient text ────────────────────────────────────────── */
.text-gradient {
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Glass surface ────────────────────────────────────────── */
.glass {
    background: rgba(10, 14, 30, 0.55);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 4px 32px rgba(0, 0, 0, 0.35);
}

/* ── Glass card hover lift ────────────────────────────────── */
.glass-card {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 40px rgba(56, 189, 248, 0.15),
        0 0 0 1px rgba(56, 189, 248, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 4px 32px rgba(0, 0, 0, 0.35);
}

/* ── Floating orb (decorative background blobs) ───────────── */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 14s ease-in-out infinite;
}
@keyframes floatOrb {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-24px) scale(1.05); }
}

/* ── CTA buttons ──────────────────────────────────────────── */
.cta-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    color: #000 !important;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.cta-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
    filter: brightness(1.08);
}
.cta-secondary {
    background: rgba(10, 14, 30, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cta-secondary:hover {
    background: rgba(56, 189, 248, 0.10);
    border-color: rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
}

/* ── Motion & accessibility ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .orb,
    .marquee-track        { animation: none !important; }
    .glass-card           { transition: none !important; }
    [data-reveal]         { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Print: strip backdrop filters ───────────────────────── */
@media print {
    .glass,
    .glass-card,
    .orb { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}
