/* ============================================
   MEETS TUTOR - CORE STYLES
   Aurora Neutrals + Electric Accents
   ============================================ */

/* CSS Variables - Color Palette */
:root {
    /* Background Colors */
    --color-bg-deep: #0a0e17;
    --color-bg-surface: #151922;
    --color-bg-elevated: #1e242f;
    --color-bg-hover: #252c3a;
    
    /* Text Colors */
    --color-text-primary: #e8edf5;
    --color-text-secondary: #9ba5b7;
    --color-text-tertiary: #6b7689;
    
    /* Electric Accents */
    --color-accent-primary: #00d9ff;
    --color-accent-hover: #00f0ff;
    --color-accent-glow: rgba(0, 217, 255, 0.3);
    --color-success: #00ff88;
    --color-danger: #ff3366;
    --color-warning: #ffbb00;
    
    /* Gradients */
    --gradient-accent: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-hover));
    --gradient-glow: radial-gradient(circle, var(--color-accent-glow), transparent);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px var(--color-accent-glow);
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Stage Management */
.stage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.stage.active {
    opacity: 1;
    visibility: visible;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Base Styles */
button {
    font-family: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Input Base Styles */
input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: transparent;
    color: var(--color-text-primary);
}

textarea {
    resize: none;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-hover);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-tertiary);
}

/* Focus Visible Styles */
*:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
}

/* Selection Styles */
::selection {
    background-color: var(--color-accent-primary);
    color: var(--color-bg-deep);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-text-primary: #ffffff;
        --color-bg-deep: #000000;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

