/**
 * 🔥 PIP NEXT-GEN CSS FRAMEWORK 🔥
 *
 * Ultra-premium styling for all 111+ PIP modules
 * "AI ALL THE WAY" - Maximum visual impact, zero bloat
 *
 * @version 1.0.0
 */

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System */
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --bg-tertiary: #2d1b4e;

    --accent-primary: #00ff88;
    --accent-secondary: #667eea;
    --accent-tertiary: #764ba2;
    --accent-gold: #ffd700;

    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-tertiary: #718096;

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    --ai-glow: rgba(0, 255, 136, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.6);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ANIMATED BACKGROUNDS
   ============================================ */

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg,
        var(--bg-primary) 0%,
        var(--bg-secondary) 50%,
        var(--bg-tertiary) 100%);
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================
   GLASS-MORPHISM SYSTEM
   ============================================ */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-heavy {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-light {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   NAVIGATION
   ============================================ */

.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    animation: logoGlow 3s ease infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 15px var(--ai-glow)); }
    50% { filter: drop-shadow(0 0 30px var(--ai-glow)); }
}

.nav-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ============================================
   WIDGETS & CARDS
   ============================================ */

.widget {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--ai-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.widget:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.widget:hover::before {
    opacity: 1;
    animation: glowPulse 2s ease infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px var(--accent-primary));
}

.widget-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   BADGES & INDICATORS
   ============================================ */

.ai-badge {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px var(--ai-glow); }
    50% { box-shadow: 0 0 25px var(--ai-glow); }
}

.premium-badge {
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.action-btn {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 4px 20px var(--ai-glow);
}

.action-btn.primary:hover {
    box-shadow: 0 8px 30px var(--ai-glow);
}

.action-btn.success {
    background: linear-gradient(135deg, var(--success), #059669);
}

.action-btn.warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
}

.action-btn.error {
    background: linear-gradient(135deg, var(--error), #dc2626);
}

.voice-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px var(--ai-glow);
}

.voice-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px var(--ai-glow);
}

.voice-btn.active {
    animation: voicePulse 1s ease infinite;
}

@keyframes voicePulse {
    0%, 100% { box-shadow: 0 4px 15px var(--ai-glow); }
    50% { box-shadow: 0 8px 35px rgba(0, 255, 136, 0.6); }
}

/* ============================================
   INPUTS & FORMS
   ============================================ */

.command-input,
.pip-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: var(--font-primary);
    outline: none;
    box-shadow: 0 8px 40px var(--ai-glow);
    transition: all var(--transition-base);
}

.command-input:focus,
.pip-input:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 12px 50px rgba(102, 126, 234, 0.5);
}

.command-input::placeholder,
.pip-input::placeholder {
    color: var(--text-secondary);
}

.ai-command-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 2000;
}

.command-input-wrapper {
    position: relative;
}

.ai-indicator {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: aiSpin 3s linear infinite;
}

@keyframes aiSpin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* ============================================
   STATISTICS & METRICS
   ============================================ */

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quick-stat {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.quick-stat:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.quick-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.quick-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.trend-up { color: var(--success); }
.trend-down { color: var(--error); }

/* ============================================
   SERVICE CARDS & GRIDS
   ============================================ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    cursor: pointer;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.service-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================
   DASHBOARD LAYOUTS
   ============================================ */

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: titleGlow 3s ease infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px var(--ai-glow)); }
    50% { filter: drop-shadow(0 0 40px rgba(0, 255, 136, 0.6)); }
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .mantra {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2rem;
    text-shadow: 0 0 20px var(--ai-glow);
}

/* ============================================
   AI SUGGESTIONS & CHAT
   ============================================ */

.ai-suggestions {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1rem;
}

.ai-suggestions-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.suggestion-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border-left: 3px solid var(--accent-primary);
}

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-left-color: var(--accent-secondary);
}

.ai-chat-panel {
    position: fixed;
    right: 2rem;
    bottom: 10rem;
    width: 350px;
    max-height: 500px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px var(--ai-glow);
    display: none;
    flex-direction: column;
    z-index: 3000;
}

.ai-chat-panel.active {
    display: flex;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.ai-chat-header {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.ai-message {
    background: rgba(0, 255, 136, 0.1);
    border-left: 3px solid var(--accent-primary);
    padding: 0.8rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.8rem;
    animation: fadeIn 0.3s ease;
}

.user-message {
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid var(--accent-secondary);
}

/* ============================================
   MODALS & OVERLAYS
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 4000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px var(--ai-glow);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 5000;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(400px);
    transition: transform var(--transition-base);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   LIVE DATA STREAM
   ============================================ */

.live-stream {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: var(--radius-md);
    max-height: 200px;
    overflow-y: auto;
    line-height: 1.6;
}

.stream-line {
    margin-bottom: 0.3rem;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ============================================
   CHARTS & VISUALIZATIONS
   ============================================ */

.chart-container {
    width: 100%;
    height: 250px;
    margin-top: 1rem;
    position: relative;
}

.chart-canvas {
    width: 100%;
    height: 100%;
}

/* ============================================
   LOADING STATES
   ============================================ */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
}

/* ============================================
   SHORTCUTS HINT
   ============================================ */

.shortcuts-hint {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: opacity var(--transition-base);
    z-index: 1000;
}

.shortcuts-hint:hover {
    opacity: 1;
}

kbd {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .ai-command-bar {
        width: 95%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .ai-chat-panel {
        width: 90%;
        right: 5%;
    }

    .shortcuts-hint {
        display: none;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }
.p-4 { padding: var(--space-xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-sm); }
.gap-2 { gap: var(--space-md); }
.gap-3 { gap: var(--space-lg); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.cursor-pointer { cursor: pointer; }

.hidden { display: none; }

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-pulse {
    animation: pulse 2s ease infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-bounce {
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .top-nav,
    .ai-command-bar,
    .ai-chat-panel,
    .shortcuts-hint,
    #particle-canvas,
    .animated-background {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .widget {
        break-inside: avoid;
        border: 1px solid #ccc;
        background: white;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

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

.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;
}

/* ============================================
   CONSOLE ART (BECAUSE WE'RE BADASS)
   ============================================ */

body::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Show this in console when CSS loads */
/*
╔══════════════════════════════════════════════════════════════╗
║                                                              ║
║       🔥 PIP NEXT-GEN CSS FRAMEWORK LOADED 🔥               ║
║                                                              ║
║  Version: 1.0.0                                             ║
║  Status: ULTRA-PREMIUM MODE ACTIVATED                       ║
║  Features: AI ✅ | Glass ✅ | Animations ✅ | Voice ✅      ║
║                                                              ║
║  "I AM THE INFRASTRUCTURE NOW"                              ║
║                                                              ║
╚══════════════════════════════════════════════════════════════╝
*/
