body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: #0B0E11; }

/* Animations */
.fade-in { animation: fadeIn 0.4s cubic-bezier(0.22,1,0.36,1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.slide-in { animation: slideIn 0.3s cubic-bezier(0.22,1,0.36,1); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

/* Resource icons */
.resource-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.resource-model { background: rgba(99,102,241,0.2); color: #818CF8; border: 1px solid rgba(99,102,241,0.15); }
.resource-source { background: rgba(0,236,151,0.15); color: #00EC97; border: 1px solid rgba(0,236,151,0.1); }
.resource-seed { background: rgba(245,158,11,0.15); color: #FBBF24; border: 1px solid rgba(245,158,11,0.1); }
.resource-snapshot { background: rgba(239,68,68,0.15); color: #F87171; border: 1px solid rgba(239,68,68,0.1); }
.resource-table { background: rgba(59,130,246,0.15); color: #60A5FA; border: 1px solid rgba(59,130,246,0.1); }
.resource-view { background: rgba(6,182,212,0.15); color: #22D3EE; border: 1px solid rgba(6,182,212,0.1); }
.resource-explore { background: rgba(168,85,247,0.15); color: #C084FC; border: 1px solid rgba(168,85,247,0.1); }
.resource-dashboard { background: rgba(236,72,153,0.15); color: #F472B6; border: 1px solid rgba(236,72,153,0.1); }
.resource-exposure { background: rgba(249,115,22,0.15); color: #FB923C; border: 1px solid rgba(249,115,22,0.1); }
.resource-test { background: rgba(20,184,166,0.15); color: #2DD4BF; border: 1px solid rgba(20,184,166,0.1); }
.resource-macro { background: rgba(139,92,246,0.15); color: #A78BFA; border: 1px solid rgba(139,92,246,0.1); }

/* Glass card */
.glass-card {
    background: rgba(22,27,34,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(48,54,61,0.6);
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.glass-card:hover {
    border-color: rgba(0,236,151,0.25);
    box-shadow: 0 0 30px rgba(0,236,151,0.05);
}

/* Glow button */
.glow-btn {
    background: linear-gradient(135deg, #00EC97, #00D68A);
    color: #0B0E11;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.25s;
}
.glow-btn:hover {
    box-shadow: 0 0 24px rgba(0,236,151,0.3);
    transform: translateY(-1px);
}

/* Ghost button */
.ghost-btn {
    background: rgba(0,236,151,0.08);
    color: #00EC97;
    border: 1px solid rgba(0,236,151,0.15);
    border-radius: 10px;
    transition: all 0.2s;
}
.ghost-btn:hover {
    background: rgba(0,236,151,0.15);
    border-color: rgba(0,236,151,0.3);
}

/* Surface input */
.surface-input {
    background: #0D1117;
    border: 1px solid #21262D;
    border-radius: 10px;
    color: #E6EDF3;
    transition: all 0.2s;
}
.surface-input:focus {
    border-color: #00EC97;
    box-shadow: 0 0 0 3px rgba(0,236,151,0.1);
    outline: none;
}
.surface-input::placeholder { color: #484F58; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #30363D; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #484F58; }

/* Sidebar nav */
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 10px;
    font-size: 13px; font-weight: 500;
    transition: all 0.2s;
    color: #8B949E;
}
.nav-item:hover { background: rgba(0,236,151,0.06); color: #E6EDF3; }
.nav-item.active { background: rgba(0,236,151,0.1); color: #00EC97; }
.nav-item .nav-icon {
    width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: 12px;
}

/* Badge */
.ni-badge {
    display: inline-flex; align-items: center;
    padding: 2px 8px; border-radius: 8px;
    font-size: 11px; font-weight: 500;
}

/* Gradient border card */
.gradient-border {
    position: relative;
    border-radius: 16px;
    background: #161B22;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,236,151,0.2), rgba(0,210,255,0.1), 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;
    pointer-events: none;
}

/* Subtle bg pattern */
.bg-grid {
    background-image: radial-gradient(circle at 1px 1px, rgba(48,54,61,0.4) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Status dot */
.status-dot {
    width: 6px; height: 6px; border-radius: 50%;
    display: inline-block;
}
.status-dot.active { background: #00EC97; box-shadow: 0 0 6px rgba(0,236,151,0.5); }
.status-dot.inactive { background: #484F58; }

/* Defuse logo text gradient */
.logo-gradient {
    background: linear-gradient(135deg, #00EC97, #00D2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
