@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #060d1a;
    --surface: #0d1a2d;
    --surface-alt: #102037;
    --border: #1e3553;
    --text: #e6edf8;
    --muted: #a6b6cc;
    --primary: #22d3ee;
    --primary-strong: #0ea5e9;
    --accent: #fb923c;
    --success: #22c55e;
    --danger: #ef4444;
    --shadow: 0 16px 56px rgba(0, 0, 0, 0.42);
    --radius-lg: 20px;
    --radius-sm: 12px;
    --transition: all 0.24s ease;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(80% 70% at 12% 12%, rgba(34, 211, 238, 0.12), transparent),
        radial-gradient(70% 65% at 88% 8%, rgba(167, 139, 250, 0.1), transparent),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 24px),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: -1;
}

body::before {
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 68%);
    filter: blur(12px);
    animation: orbFloat 16s ease-in-out infinite;
}

body::after {
    bottom: -180px;
    left: -150px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1), transparent 70%);
    filter: blur(14px);
    animation: orbFloat 18s ease-in-out infinite reverse;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

p {
    color: var(--muted);
}

strong {
    color: var(--text);
}

button,
input,
textarea {
    font-family: inherit;
}

::selection {
    background: rgba(34, 211, 238, 0.35);
    color: var(--text);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@keyframes orbFloat {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(16px, 22px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body::before,
    body::after {
        animation: none;
    }
}
