/* ========== MAIN STYLES (GLOBAL) ========== */
:root {
  /* Color Palette */
  --primary-dark: #08093E;
  --primary-accent: #FF0401;
  --secondary-gray: #747578;
  --pure-white: #FFFFFF;
  --pure-black: #000000;
  
  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #08093E 0%, #1A1C5E 100%);
  --gradient-accent: linear-gradient(135deg, #FF0401 0%, #FF6B6B 100%);
  --gradient-light: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  
  /* Glass Morphism Effects */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-accent: 0 4px 20px rgba(255, 4, 1, 0.3);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Spacing */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  
  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-xxl: 2rem;
  --text-xxxl: 3rem;
}

/* ========== BASE STYLES ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--pure-white);
  background: var(--gradient-dark);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-xxxl); }
h2 { font-size: var(--text-xxl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-md); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  color: var(--secondary-gray);
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--pure-white);
  text-decoration: underline;
}

.text-accent {
  color: var(--primary-accent);
}

.text-light {
  color: var(--pure-white);
}

.text-muted {
  color: var(--secondary-gray);
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.main-content {
  margin-left: 280px; /* Sidebar width */
  padding: var(--space-xl);
  min-height: 100vh;
  transition: margin 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section {
  padding: var(--space-xxl) 0;
}

.section-header {
  margin-bottom: var(--space-xxl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========== UTILITY CLASSES ========== */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.shadow-accent {
  box-shadow: var(--shadow-accent);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fade {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  :root {
    --space-xl: 24px;
    --space-xxl: 40px;
  }
  
  .main-content {
    margin-left: 80px; /* Collapsed sidebar width */
  }
}

@media (max-width: 992px) {
  .main-content {
    margin-left: 0;
    padding: var(--space-lg);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 20px;
    --space-xl: 24px;
    --text-xl: 1.25rem;
    --text-xxl: 1.75rem;
    --text-xxxl: 2.25rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 12px;
    --space-lg: 16px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}
