/* ============================================================
   INDEPENDENCIA 24 - Stylesheet Completo
   Do Zero ao Milhao em 24 Meses
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Cores Principais */
    --primary-dark: #1a1a2e;
    --primary: #0f3460;
    --primary-light: #16213e;
    --accent: #e9c46a;
    --accent-dark: #d4a843;
    --accent-light: #f0d78c;
    --success: #2a9d8f;
    --success-light: #e8f5f4;
    --warning: #f4a261;
    --danger: #e76f51;
    --danger-light: #fdf2f0;
    
    /* Cores de Fase */
    --phase-mindset: #6c5ce7;
    --phase-foundation: #0984e3;
    --phase-legal: #00b894;
    --phase-sales: #e9c46a;
    --phase-ops: #e17055;
    --phase-scale: #2a9d8f;
    --phase-div: #fdcb6e;
    --phase-freedom: #1a1a2e;
    
    /* Cores Neutras */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f4;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #bdc1c6;
    --gray-500: #9aa0a6;
    --gray-600: #80868b;
    --gray-700: #5f6368;
    --gray-800: #3c4043;
    --gray-900: #202124;
    
    /* Tipografia */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    
    /* Bordas */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Sidebar */
    --sidebar-width: 260px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; }

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-brand {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-icon { font-size: 1.5rem; }
.brand-text { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.5px; }

.sidebar-user {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.user-name { font-weight: 600; font-size: 0.9rem; }
.user-meta { font-size: 0.75rem; opacity: 0.7; margin-top: 2px; }

.sidebar-nav { flex: 1; padding: 12px 8px; overflow-y: auto; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 2px;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-link.active { background: rgba(233,196,106,0.15); color: var(--accent); }
.nav-icon { font-size: 1.1rem; line-height: 1; }
.nav-logout { color: rgba(231,111,81,0.8); }
.nav-logout:hover { background: rgba(231,111,81,0.15); color: var(--danger); }

.sidebar-footer { padding: 12px 8px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ===== MENU TOGGLE ===== */
.menu-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 101;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--radius);
    background: var(--primary-dark);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--shadow-lg);
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ===== SIDEBAR OVERLAY ===== */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }

/* ===== MAIN CONTENT ===== */
.main-content { margin-left: var(--sidebar-width); min-height: 100vh; padding: 0; }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,196,106,0.15) 0%, transparent 70%);
}
.page-header h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; position: relative; }
.page-header p { opacity: 0.7; font-size: 0.875rem; position: relative; }

/* ===== CONTENT AREA ===== */
.content-area { padding: 32px 36px; max-width: 1200px; }

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h2, .card-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }

/* ===== GRID ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== STATS / KPI CARDS ===== */
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--success));
}
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); font-weight: 600; margin-bottom: 8px; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--gray-900); letter-spacing: -0.5px; }
.stat-change { font-size: 0.8rem; margin-top: 6px; font-weight: 600; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ===== PHASE CARDS (DASHBOARD) ===== */
.phase-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}
.phase-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.phase-card.active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(233,196,106,0.2); }
.phase-card.locked { opacity: 0.5; cursor: not-allowed; }

.phase-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.phase-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--white);
}
.phase-mindset .phase-number { background: var(--phase-mindset); }
.phase-foundation .phase-number { background: var(--phase-foundation); }
.phase-legal .phase-number { background: var(--phase-legal); }
.phase-sales .phase-number { background: var(--phase-sales); color: var(--gray-900); }
.phase-ops .phase-number { background: var(--phase-ops); }
.phase-scale .phase-number { background: var(--phase-scale); }
.phase-div .phase-number { background: var(--phase-div); color: var(--gray-900); }
.phase-freedom .phase-number { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--primary-dark); }

.phase-status { font-size: 0.7rem; padding: 4px 10px; border-radius: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.phase-status.completed { background: var(--success-light); color: var(--success); }
.phase-status.in-progress { background: rgba(233,196,106,0.15); color: var(--accent-dark); }
.phase-status.locked { background: var(--gray-100); color: var(--gray-500); }

.phase-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.phase-card p { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 12px; }

.phase-meta { display: flex; gap: 16px; font-size: 0.75rem; color: var(--gray-500); }
.phase-meta span { display: flex; align-items: center; gap: 4px; }

/* Progress Bar */
.progress-bar-bg { height: 6px; background: var(--gray-100); border-radius: 10px; overflow: hidden; margin-top: 12px; }
.progress-bar-fill { height: 100%; border-radius: 10px; transition: width 0.5s ease; }
.phase-mindset .progress-bar-fill { background: linear-gradient(90deg, var(--phase-mindset), #a29bfe); }
.phase-foundation .progress-bar-fill { background: linear-gradient(90deg, var(--phase-foundation), #74b9ff); }
.phase-legal .progress-bar-fill { background: linear-gradient(90deg, var(--phase-legal), #55efc4); }
.phase-sales .progress-bar-fill { background: linear-gradient(90deg, var(--phase-sales), #ffeaa7); }
.phase-ops .progress-bar-fill { background: linear-gradient(90deg, var(--phase-ops), #fab1a0); }
.phase-scale .progress-bar-fill { background: linear-gradient(90deg, var(--phase-scale), #81ecec); }
.phase-div .progress-bar-fill { background: linear-gradient(90deg, var(--phase-div), #ffeaa7); }
.phase-freedom .progress-bar-fill { background: linear-gradient(90deg, var(--accent), var(--accent-dark)); }

/* ===== TASKS ===== */
.task-list { display: flex; flex-direction: column; gap: 12px; }
.task-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s;
}
.task-item:hover { border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.task-item.completed { opacity: 0.7; background: var(--success-light); border-color: var(--success); }
.task-item.completed .task-title { text-decoration: line-through; }

.task-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s;
    font-size: 0.8rem;
}
.task-checkbox:hover { border-color: var(--success); }
.task-checkbox.checked { background: var(--success); border-color: var(--success); color: white; }

.task-content { flex: 1; }
.task-title { font-weight: 600; color: var(--gray-900); font-size: 0.9rem; margin-bottom: 4px; }
.task-desc { font-size: 0.8rem; color: var(--gray-600); line-height: 1.5; }
.task-meta { display: flex; gap: 12px; margin-top: 10px; font-size: 0.75rem; }
.task-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.task-badge.acao { background: rgba(15,52,96,0.1); color: var(--primary); }
.task-badge.leitura { background: rgba(42,157,143,0.1); color: var(--success); }
.task-badge.video { background: rgba(231,111,81,0.1); color: var(--danger); }
.task-badge.exercicio { background: rgba(244,162,97,0.1); color: var(--warning); }
.task-badge.quiz { background: rgba(108,92,231,0.1); color: var(--phase-mindset); }
.task-badge.milestone { background: linear-gradient(135deg, rgba(233,196,106,0.2), rgba(233,196,106,0.1)); color: var(--accent-dark); }

.task-points { font-size: 0.75rem; color: var(--accent-dark); font-weight: 700; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: var(--white); }

.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--primary-dark); }
.btn-accent:hover { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: var(--primary-dark); }

.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #238b7f; color: var(--white); }

.btn-outline { background: transparent; border: 2px solid var(--gray-300); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-block { width: 100%; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-label span.required { color: var(--danger); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,196,106,0.15); }
.form-control::placeholder { color: var(--gray-400); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239aa0a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-text { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

/* ===== WIZARD STEPS ===== */
.wizard-steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.wizard-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    background: var(--gray-200);
    color: var(--gray-500);
    position: relative;
    transition: all 0.3s;
}
.wizard-step.active { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--primary-dark); box-shadow: 0 0 0 4px rgba(233,196,106,0.2); }
.wizard-step.completed { background: var(--success); color: var(--white); }

/* ===== LANDING PAGE ===== */
.landing { min-height: 100vh; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 40%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; padding: 40px 20px; position: relative; overflow: hidden; }
.landing::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(233,196,106,0.1) 0%, transparent 70%); }
.landing::after { content: ''; position: absolute; bottom: -150px; left: -150px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(42,157,143,0.08) 0%, transparent 70%); }

.landing-card { background: var(--white); border-radius: var(--radius-xl); padding: 48px; width: 100%; max-width: 480px; box-shadow: var(--shadow-xl); position: relative; z-index: 1; }
.landing-brand { text-align: center; margin-bottom: 32px; }
.landing-brand .brand-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.landing-brand h1 { font-size: 1.6rem; font-weight: 800; color: var(--gray-900); letter-spacing: -0.5px; }
.landing-brand p { color: var(--gray-500); font-size: 0.9rem; margin-top: 4px; }

.landing-tabs { display: flex; gap: 8px; margin-bottom: 28px; background: var(--gray-100); border-radius: var(--radius); padding: 4px; }
.landing-tab { flex: 1; padding: 10px; border: none; border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.85rem; font-weight: 600; cursor: pointer; background: transparent; color: var(--gray-500); transition: all 0.2s; text-align: center; }
.landing-tab.active { background: var(--white); color: var(--gray-900); box-shadow: var(--shadow-sm); }

/* ===== HERO (LANDING PUBLICA) ===== */
.hero { text-align: center; padding: 60px 20px 40px; max-width: 800px; }
.hero-badge { display: inline-block; padding: 8px 20px; border: 1px solid rgba(233,196,106,0.5); color: var(--accent); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 32px; border-radius: 4px; }
.hero h1 { font-size: 2.8rem; font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.7); font-weight: 300; line-height: 1.7; margin-bottom: 40px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 48px; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ===== ALERTS ===== */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.875rem; font-weight: 500; }
.alert-success { background: var(--success-light); color: #1a6b62; border: 1px solid #c3e8e4; }
.alert-warning { background: #fff8e6; color: #8a6d0b; border: 1px solid #f5e6b8; }
.alert-danger { background: var(--danger-light); color: #9b3d2b; border: 1px solid #f5d0c8; }
.alert-info { background: #e8f0fe; color: #1a56a0; border: 1px solid #c3d9f7; }

/* ===== TABLES ===== */
.table-container { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table thead th { padding: 12px 16px; text-align: left; font-weight: 600; color: var(--gray-700); background: var(--gray-50); border-bottom: 2px solid var(--gray-200); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.table tbody tr:hover { background: var(--gray-50); }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: #fff8e6; color: #8a6d0b; }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: #e8f0fe; color: #1a56a0; }

/* ===== MODAL ===== */
.modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.modal-content { background: var(--white); border-radius: var(--radius-lg); width: 90%; max-width: 600px; max-height: 85vh; overflow-y: auto; position: relative; z-index: 1; box-shadow: var(--shadow-xl); }
.modal-header { padding: 24px 24px 0; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-400); transition: color 0.2s; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { background: var(--gray-100); color: var(--gray-700); }
.modal-body { padding: 20px 24px; }
.modal-footer { padding: 16px 24px 24px; display: flex; justify-content: flex-end; gap: 8px; }

/* ===== SECTIONS ===== */
.section-title { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.section-title .icon { font-size: 1.3rem; }

/* ===== INSTRUCTIONS BOX ===== */
.instructions { background: #f8f9ff; border-left: 4px solid var(--phase-mindset); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 16px 0; }
.instructions ol, .instructions ul { padding-left: 20px; margin: 8px 0; }
.instructions li { margin-bottom: 6px; font-size: 0.875rem; color: var(--gray-700); }
.instructions strong { color: var(--gray-900); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 4rem; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-size: 1.1rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.empty-state p { font-size: 0.875rem; color: var(--gray-500); max-width: 400px; margin: 0 auto 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay.active { display: block; }
    .main-content { margin-left: 0; }
    .menu-toggle { display: flex; }
    .content-area { padding: 20px; }
    .page-header { padding: 24px 20px; margin-top: 60px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .landing-card { padding: 32px 24px; }
    .hero { padding-top: 100px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade { animation: fadeIn 0.4s ease forwards; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ===== PRINT ===== */
@media print {
    .sidebar, .menu-toggle, .btn { display: none !important; }
    .main-content { margin-left: 0 !important; }
}
