@font-face {
    font-family: 'Quadrillion';
    src: url('../font/quadrillion.semi-bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;

    --primary-50: #eef5ff;
    --primary-100: #d9e8ff;
    --primary-200: #bcd6ff;
    --primary-300: #8ebdff;
    --primary-400: #5999ff;
    --primary-500: #3371ff;
    --primary-600: #1d4ed8;
    --primary-700: #1e3a8a;
    --primary-800: #1e2d5f;
    --primary-900: #0f172a;

    --secondary-50: #ecfeff;
    --secondary-100: #cffafe;
    --secondary-200: #a5f3fc;
    --secondary-300: #67e8f9;
    --secondary-400: #22d3ee;
    --secondary-500: #06b6d4;
    --secondary-600: #0891b2;
    --secondary-700: #0e7490;
    --secondary-800: #155e75;
    --secondary-900: #164e63;

    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-200: #a7f3d0;
    --success-300: #6ee7b7;
    --success-400: #34d399;
    --success-500: #10b981;
    --success-600: #059669;
    --success-700: #047857;
    --success-800: #065f46;
    --success-900: #064e3b;

    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-200: #fde68a;
    --warning-300: #fcd34d;
    --warning-400: #fbbf24;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;
    --warning-800: #92400e;
    --warning-900: #78350f;

    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-200: #fecaca;
    --error-300: #fca5a5;
    --error-400: #f87171;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #b91c1c;
    --error-800: #991b1b;
    --error-900: #7f1d1d;

    --info-50: #f0f9ff;
    --info-100: #e0f2fe;
    --info-200: #bae6fd;
    --info-300: #7dd3fc;
    --info-400: #38bdf8;
    --info-500: #0ea5e9;
    --info-600: #0284c7;
    --info-700: #0369a1;
    --info-800: #075985;
    --info-900: #0c4a6e;

    --gradient-primary: linear-gradient(120deg, #214eca 0%, #1d4ed8 55%, #0891b2 100%);
    --gradient-secondary: linear-gradient(120deg, #155e75 0%, #0891b2 55%, #22d3ee 100%);
    --gradient-success: linear-gradient(125deg, #065f46 0%, #059669 55%, #34d399 100%);
    --gradient-premium-blue: linear-gradient(115deg, #172554 0%, #1d4ed8 60%, #38bdf8 100%);
    --gradient-premium-purple: linear-gradient(125deg, #312e81 0%, #6d28d9 55%, #c084fc 100%);
    --gradient-ocean-depth: linear-gradient(145deg, #082f49 0%, #075985 55%, #06b6d4 100%);
    --gradient-cyber-teal: linear-gradient(120deg, #042f2e 0%, #0f766e 55%, #2dd4bf 100%);
    --gradient-premium-gold: linear-gradient(125deg, #713f12 0%, #b45309 55%, #fcd34d 100%);
    --gradient-sunset-glow: linear-gradient(120deg, #7f1d1d 0%, #ea580c 55%, #fb7185 100%);
    --gradient-dark-premium: linear-gradient(130deg, #080808 0%, #202020 55%, #404040 100%);
    --gradient-holographic: linear-gradient(115deg, #2563eb 0%, #7c3aed 33%, #db2777 66%, #06b6d4 100%);

    --header-bg: rgba(255, 255, 255, 0.32);
    --message-bg: rgba(255, 255, 255, 0.94);
    --bg-primary: var(--neutral-50);
    --bg-secondary: var(--neutral-100);
    --bg-tertiary: var(--neutral-200);
    --bg-elevated: #ffffff;
    --bg-glass: rgba(241, 245, 249, 0.94);
    --bg-overlay: rgba(15, 23, 42, 0.58);
    --bg-accent: linear-gradient(120deg, #eff6ff 0%, #ecfeff 100%);

    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-700);
    --text-tertiary: var(--neutral-600);
    --text-disabled: var(--neutral-400);
    --text-inverse: #ffffff;
    --text-link: var(--primary-600);
    --text-link-hover: var(--primary-700);

    --border-primary: #b8b8b8;
    --border-secondary: #737373;
    --border-focus: var(--primary-500);
    --border-error: var(--error-700);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 6px 22px rgba(0, 0, 0, 0.22);
    --shadow-all-around: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 20px rgba(0, 0, 0, 0.16), 0 0 40px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 20px 60px rgba(29, 78, 216, 0.15), 0 8px 24px rgba(29, 78, 216, 0.12);
    --shadow-glow: 0 0 20px rgba(51, 113, 255, 0.3), 0 0 40px rgba(51, 113, 255, 0.15);
    --shadow-inner: inset 0 2px 8px 1px rgba(0, 0, 0, 0.24), inset 0 -1px 4px rgba(0, 0, 0, 0.12);

    --font-heading: 'Geologica', sans-serif;
    --font-body: 'Inter', sans-serif;
    --unb: 'Unbounded', sans-serif;
    --fredoka: 'Fredoka', var(--unb);
    --cod: 'Quadrillion', sans-serif;

    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1100;
    --z-fixed: 1200;
    --z-modal-backdrop: 1300;
    --z-modal: 1400;
    --z-popover: 1500;
    --z-tooltip: 1600;
    --z-notification: 1700;
    --z-onload: 99999;

    --transition-fast: 120ms cubic-bezier(0.2, 0, 0, 1);
    --transition-base: 200ms cubic-bezier(0.2, 0, 0.2, 1);
    --transition-slow: 320ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slower: 500ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-premium-slow: 500ms cubic-bezier(0.87, 0, 0.3, 1);
    --transition-premium: 1s cubic-bezier(0.87, 0, 0.3, 1);

    --breakpoint-xs: 0;
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

html[data-theme='dark'] {
    color-scheme: dark;

    --header-bg: rgba(0, 0, 0, 0.36);
    --message-bg: rgba(28, 28, 28, 0.96);
    --bg-primary: #000000;
    --bg-secondary: #141414;
    --bg-tertiary: #242424;
    --bg-elevated: #1c1c1c;
    --bg-glass: rgba(28, 28, 28, 0.96);
    --bg-overlay: rgba(0, 0, 0, 0.8);
    --bg-accent: linear-gradient(120deg, #080808 0%, #141414 50%, #242424 100%);

    --text-primary: #fafafa;
    --text-secondary: #e5e5e5;
    --text-tertiary: #d4d4d4;
    --text-disabled: #a3a3a3;
    --text-inverse: var(--neutral-900);
    --text-link: var(--primary-400);
    --text-link-hover: var(--primary-300);

    --border-primary: #404040;
    --border-secondary: #737373;
    --border-focus: var(--primary-400);
    --border-error: var(--error-400);

    --shadow-sm: 0 2px 8px rgba(255, 255, 255, 0.13);
    --shadow-md: 0 4px 14px rgba(255, 255, 255, 0.16);
    --shadow-lg: 0 6px 22px rgba(255, 255, 255, 0.2);

    --shadow-all-around: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 20px 2px rgba(255, 255, 255, 0.14), 0 0 40px 4px rgba(255, 255, 255, 0.06);
    --shadow-premium: 0 20px 60px rgba(51, 113, 255, 0.2), 0 8px 24px rgba(51, 113, 255, 0.15);
    --shadow-glow: 0 0 20px rgba(89, 153, 255, 0.4), 0 0 40px rgba(89, 153, 255, 0.2);
    --shadow-inner: inset 0 2px 8px 1px rgba(255, 255, 255, 0.24), inset 0 -1px 4px rgba(255, 255, 255, 0.12);

    --gradient-primary: linear-gradient(120deg, #0f2b88 0%, #2563eb 55%, #22d3ee 100%);
    --gradient-secondary: linear-gradient(120deg, #083344 0%, #0e7490 55%, #67e8f9 100%);
    --gradient-success: linear-gradient(125deg, #022c22 0%, #047857 55%, #6ee7b7 100%);
    --gradient-premium-blue: linear-gradient(115deg, #0b1e46 0%, #1d4ed8 60%, #7dd3fc 100%);
    --gradient-premium-purple: linear-gradient(125deg, #1e1b4b 0%, #7c3aed 55%, #d8b4fe 100%);
    --gradient-ocean-depth: linear-gradient(145deg, #020617 0%, #075985 55%, #38bdf8 100%);
    --gradient-cyber-teal: linear-gradient(120deg, #042f2e 0%, #0d9488 55%, #5eead4 100%);
    --gradient-premium-gold: linear-gradient(125deg, #422006 0%, #b45309 55%, #fde68a 100%);
    --gradient-sunset-glow: linear-gradient(120deg, #450a0a 0%, #c2410c 55%, #fda4af 100%);
    --gradient-dark-premium: linear-gradient(130deg, #000000 0%, #121212 55%, #303030 100%);
    --gradient-holographic: linear-gradient(115deg, #172554 0%, #6d28d9 33%, #be185d 66%, #0e7490 100%);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

html,
body {
    max-width: 100%;
    overflow-x: clip !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    transition: background-color var(--transition-base), color var(--transition-base);
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    isolation: isolate
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

video,
canvas,
svg {
    max-width: 100%;
}

button:disabled {
    cursor: not-allowed;
}

p,
li {
    overflow-wrap: break-word;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-700);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

::-webkit-scrollbar-thumb:active {
    background: var(--secondary-600);
}

:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    body {
        transition: none;
    }
}

#codvion-site-particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
    pointer-events: none !important;
    user-select: none
}

.particles-visible {
    background: transparent
}