:root {
    /* Fundo Profundo */
    --bg-abyss: #020712;
    --bg-deep: #040C1E;
    --bg-surface: #060F26;
    --bg-elevated: #0A152E;
    --bg-card: #0D1A36;
    --bg-card-hover: #111F3E;
    --bg-card-active: #162548;

    /* Bordas */
    --border-ghost: rgba(30, 108, 240, 0.08);
    --border-subtle: rgba(30, 108, 240, 0.12);
    --border-default: rgba(30, 108, 240, 0.18);
    --border-hover: rgba(30, 108, 240, 0.28);
    --border-active: rgba(30, 108, 240, 0.40);
    --border-glow: rgba(0, 198, 255, 0.30);

    /* Glow */
    --glow-primary: #1E6CF0;
    --glow-secondary: #00C6FF;
    --glow-accent: #3B82F6;
    --glow-soft: rgba(30, 108, 240, 0.15);
    --glow-medium: rgba(30, 108, 240, 0.25);
    --glow-strong: rgba(0, 198, 255, 0.4);

    /* Texto */
    --text-primary: #E8EDF5;
    --text-secondary: #6B7FA3;
    --text-muted: #435678;
    --text-disabled: #2A3A58;

    /* Bordas arredondadas */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px rgba(30, 108, 240, 0.15);

    /* Transições */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-abyss);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Scrollbar Premium */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--bg-abyss);
}
::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--border-active);
}

/* Overlays */
.depth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99998;
    background: radial-gradient(ellipse at 50% 0%, rgba(30, 108, 240, 0.03) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(0, 198, 255, 0.02) 0%, transparent 50%);
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image: 
        linear-gradient(rgba(30, 108, 240, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 108, 240, 0.3) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Canvas Partículas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Seleção */
::selection {
    background: rgba(30, 108, 240, 0.3);
    color: var(--text-primary);
}