:root {
  --primary: #1E3A8A;
  --primary-light: #1E40AF;
  --primary-dark: #1A3070;
  --secondary: #F97316;
  --secondary-light: #FB923C;
  --secondary-dark: #EA580C;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
}

* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: #F3F4F6 !important;
}

.section-title-blue {
  color: #1E3A8A !important;
}

.icon-blue {
  color: #1E3A8A !important;
}

.bg-primary {
  background-color: #1E3A8A !important;
}

a {
  color: #1E3A8A;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #F97316;
}

.glass-effect {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-footer {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

footer {
  background-color: #152960 !important;
}

.crystal-btn {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.crystal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 58, 138, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.crystal-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 15px rgba(30, 58, 138, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.article-card {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.shadow-glass {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

.tag-item {
  transition: all 0.3s ease;
}
.tag-item.active {
  background: var(--primary);
  color: white;
}
.tag-item:hover:not(.active) {
  background: var(--gray-100);
}

.team-card {
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.timeline-item {
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 0;
  height: 100%;
  width: 2px;
  background: rgba(30, 58, 138, 0.2);
}
.timeline-item::after {
  content: '';
  position: absolute;
  left: -32px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.category-link {
  transition: all 0.3s ease;
  cursor: pointer;
}
.category-link:hover {
  background: var(--primary);
  color: white;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}
.category-link:hover .category-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
.category-link.active {
  background: var(--primary) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
  transform: translateX(4px);
}
.category-link.active .category-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: white !important;
}

.category-count {
  background: rgba(249, 115, 22, 0.2);
  color: var(--secondary);
  transition: all 0.3s ease;
}

.article-content h2 {
  color: var(--gray-800);
  font-weight: bold;
  margin: 1.5rem 0 1rem;
  border-left: 4px solid var(--primary);
  padding-left: 0.75rem;
}

.article-content h3 {
  color: var(--gray-800);
  font-weight: 600;
  margin: 1.25rem 0 0.75rem;
}

.article-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.article-content ul, .article-content ol {
  color: var(--gray-600);
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.article-content code {
  background: var(--gray-100);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.article-content pre {
  background: var(--gray-900);
  color: var(--gray-100);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

.article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.article-content blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--gray-600);
  font-style: italic;
}

.sidebar-link {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-link.active {
  background-color: rgba(30, 58, 138, 0.1);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 500;
}

.sidebar-link:hover:not(.active) {
  background-color: var(--primary);
  color: white;
}

.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-badge.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}

.status-badge.warning {
  background: rgba(249, 115, 22, 0.1);
  color: var(--secondary);
}

.status-badge.error {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.status-badge.info {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}
