/* =====================================================
   MYFINDER - Styles CSS Modernes
   Theme sombre avec effets de transparence et ombres
   ===================================================== */

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

:root {
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent-color: #22d3ee;
    --accent-secondary: #f472b6;
    --accent-tertiary: #34d399;
    
    --bg-dark: #0f0f1a;
    --bg-card: rgba(30, 30, 50, 0.7);
    --bg-card-hover: rgba(40, 40, 70, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(99, 102, 241, 0.5);
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CORRECTION BUG: pointer-events none pour permettre les clics */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(244, 114, 182, 0.08) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(15, 15, 26, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-glow);
}

.logo-icon.finder-logo {
    background: transparent;
    box-shadow: 0 4px 15px rgba(90, 200, 250, 0.3);
    border-radius: 11px;
    overflow: hidden;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* =====================================================
   BOUTONS STYLE APPLE
   ===================================================== */
.btn {
    padding: 10px 20px;
    border-radius: 980px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 400;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 16px;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* =====================================================
   CARDS MODERNES
   ===================================================== */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    border-color: var(--border-glow);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.card-icon.purple { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.card-icon.cyan { background: linear-gradient(135deg, #22d3ee, #06b6d4); }
.card-icon.pink { background: linear-gradient(135deg, #f472b6, #ec4899); }
.card-icon.green { background: linear-gradient(135deg, #34d399, #10b981); }

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--accent-secondary));
}

/* =====================================================
   FORMULAIRES (Connexion/Inscription)
   ===================================================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 40px;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 48px;
    position: relative;
    z-index: 10;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-footer a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.alert-success {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #6ee7b7;
}

/* =====================================================
   DASHBOARD - STYLE APPLE
   ===================================================== */
.dashboard {
    padding-top: 100px;
    min-height: 100vh;
    padding-bottom: 60px;
}

.dashboard-header {
    margin-bottom: 48px;
    text-align: center;
}

.dashboard-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 17px;
}

/* Stats Grid - Style Apple */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    transition: all 0.2s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.stat-icon.purple { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.stat-icon.cyan { background: linear-gradient(135deg, #22d3ee, #06b6d4); }
.stat-icon.pink { background: linear-gradient(135deg, #f472b6, #ec4899); }
.stat-icon.green { background: linear-gradient(135deg, #34d399, #10b981); }

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Main Dashboard Layout */
.dashboard-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* Sidebar Profile */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    margin: 0 auto 16px;
    color: white;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-handle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.user-email {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.profile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

.subscription-label {
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.subscription-value {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 15px;
}

/* Quick Actions */
.quick-actions {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-actions-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.quick-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.action-btn span:first-child {
    font-size: 16px;
}

/* Files Section */
.files-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.02);
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.upload-zone.dragover {
    border-color: var(--accent-color);
    background: rgba(34, 211, 238, 0.08);
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.upload-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.upload-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Files Header */
.files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.files-title {
    font-size: 18px;
    font-weight: 600;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px;
    border-radius: 8px;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.view-btn:hover {
    color: var(--text-secondary);
}

.view-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

/* Category Tabs - Style Apple Segmented Control */
.category-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 24px;
}

.category-tab {
    padding: 8px 16px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
}

.category-tab:hover {
    color: var(--text-primary);
}

.category-tab.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Files List - Style Finder macOS */
.files-list {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.files-list-header {
    display: grid;
    grid-template-columns: 48px 1fr 100px 90px;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-row {
    display: grid;
    grid-template-columns: 48px 1fr 100px 90px;
    gap: 12px;
    padding: 10px 16px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.15s ease;
}

.file-row:last-child {
    border-bottom: none;
}

.file-row:hover {
    background: rgba(99, 102, 241, 0.08);
}

.file-row:active {
    background: rgba(99, 102, 241, 0.15);
}

.file-row.selected {
    background: rgba(99, 102, 241, 0.2);
}

.col-icon {
    display: flex;
    justify-content: center;
}

.file-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.file-icon-wrapper svg {
    width: 18px;
    height: 18px;
}

.file-icon-wrapper.photo {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: white;
}

.file-icon-wrapper.video {
    background: linear-gradient(135deg, #f472b6, #ec4899);
    color: white;
}

.file-icon-wrapper.document {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
}

.file-icon-wrapper.audio {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: white;
}

.file-icon-wrapper.autre {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.col-name {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-type {
    font-size: 12px;
    color: var(--text-secondary);
}

.col-size {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
}

/* Files Grid (alternative view) */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.file-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
    cursor: pointer;
}

.file-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.file-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.file-name {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 4px;
    word-break: break-word;
    line-height: 1.3;
}

.file-size {
    color: var(--text-muted);
    font-size: 12px;
}

/* Storage Bar */
.storage-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.storage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    animation: slideIn 0.3s ease;
    min-width: 300px;
}

.notification button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
}

.notification.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

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

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Demo Info Box */
.demo-info {
    margin-top: 24px;
    padding: 18px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.demo-info p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.demo-info strong {
    color: var(--primary-light);
}

.demo-info code {
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-main {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .files-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
}
