:root {
    --bg-main: #f4f6f8;
    --bg-sidebar: #1e293b;
    --bg-card: #ffffff;
    --text-primary: #334155;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    
    --brand-blue: #3b82f6;
    --brand-blue-hover: #2563eb;
    --brand-indigo: #6366f1;
    --brand-pink: #ec4899;
    
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { background-color: var(--bg-main); color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; display: flex; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* Dashboard Sidebar */
.sidebar { width: 260px; background-color: var(--bg-sidebar); color: #fff; padding: 30px 20px; position: fixed; height: 100vh; overflow-y: auto; z-index: 100; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.brand-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--brand-indigo), var(--brand-pink)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }

.nav-menu { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; color: #cbd5e1; font-weight: 500; font-size: 14px; transition: 0.2s; }
.nav-item:hover { background-color: rgba(255,255,255,0.05); color: #fff; }
.nav-item.active { background-color: var(--brand-blue); color: #fff; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }

.sidebar-stats { background: rgba(0,0,0,0.2); border-radius: 8px; padding: 16px; margin-top: auto; }
.sidebar-stat-item { margin-bottom: 12px; }
.sidebar-stat-item:last-child { margin-bottom: 0; }
.stat-label { font-size: 12px; color: #94a3b8; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-val { font-size: 18px; font-weight: 700; color: #fff; }

/* Main Content */
.main-wrapper { flex: 1; margin-left: 260px; padding: 40px; max-width: 1400px; }
.top-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.page-title { font-size: 28px; font-weight: 700; color: var(--text-dark); letter-spacing: -0.5px; }
.header-actions { display: flex; gap: 12px; }
.btn { padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s; }
.btn-primary { background-color: var(--brand-blue); color: #fff; border: 1px solid var(--brand-blue); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: var(--brand-blue-hover); }
.btn-outline { background-color: #fff; color: var(--text-dark); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background-color: #f8fafc; }

/* Dashboard Cards (Hero & About) */
.dash-row { display: flex; gap: 24px; margin-bottom: 30px; }
.card { background: var(--bg-card); border-radius: 12px; padding: 30px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.card-hero { flex: 2; display: flex; flex-direction: column; justify-content: center; }
.card-hero h2 { font-size: 36px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; line-height: 1.2; letter-spacing: -1px; }
.card-hero p { font-size: 16px; color: var(--text-primary); margin-bottom: 30px; max-width: 500px; }
.card-side { flex: 1; background: linear-gradient(135deg, var(--brand-indigo), var(--brand-blue)); color: #fff; border: none; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.card-side::after { content: ''; position: absolute; right: -20px; bottom: -20px; width: 150px; height: 150px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.card-side h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.card-side p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* Data Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.stat-card { background: var(--bg-card); border-radius: 12px; padding: 24px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 48px; height: 48px; background: #eff6ff; color: var(--brand-blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.stat-info h4 { font-size: 24px; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.stat-info span { font-size: 13px; color: var(--text-light); font-weight: 500; }

/* Features Table/Grid */
.section-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.feat-card { background: var(--bg-card); border-radius: 8px; padding: 24px; border: 1px solid var(--border-color); transition: 0.2s; }
.feat-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-title { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.feat-title::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-pink); }
.feat-desc { font-size: 13px; color: var(--text-primary); line-height: 1.6; }

/* Image Data Viz */
.data-vis { background: var(--bg-card); border-radius: 12px; padding: 24px; border: 1px solid var(--border-color); margin-bottom: 40px; }
.data-vis img { width: 100%; border-radius: 8px; border: 1px solid var(--border-color); }

/* Guide List */
.guide-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.guide-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px 24px; display: flex; align-items: center; gap: 20px; }
.guide-step { background: #f1f5f9; color: var(--brand-blue); font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 6px; }
.guide-text h4 { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.guide-text p { font-size: 13px; color: var(--text-primary); }

/* FAQ Accordion Style */
.faq-list { margin-bottom: 40px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 12px; padding: 20px 24px; }
.faq-q { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.faq-a { font-size: 14px; color: var(--text-primary); line-height: 1.6; border-left: 3px solid var(--border-color); padding-left: 16px; margin-top: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--border-color); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-light); }
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: var(--text-dark); }

@media (max-width: 1024px) {
    .dash-row { flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .sidebar { width: 100%; height: auto; position: static; padding: 20px; }
    .nav-menu { flex-direction: row; flex-wrap: wrap; margin-bottom: 20px; }
    .nav-item { padding: 8px 12px; }
    .main-wrapper { margin-left: 0; padding: 20px; }
    .top-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
}