/* Modern CSS with Glass Morphism and Neon Effects */
:root {
  --primary: #2563eb;
  --secondary: #0ea5e9;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --light: #f8fafc;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(15, 23, 42, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--dark), #1e293b);
  color: var(--light);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background: var(--glass-dark);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  display: none;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 0;
}

.section-content {
  background: var(--glass-dark);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.section-content:hover {
  transform: translateY(-5px);
}

.highlights-box {
  background: rgba(43, 63, 148, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  margin: 2rem 0;
}

.highlights-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--light);
  background: linear-gradient(to right, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlights-list {
  list-style: none;
  padding: 0;
}

.highlights-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.highlights-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.highlight-value {
  font-weight: 600;
  color: var(--light);
}

.highlight-note {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.3rem;
  display: block;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Charts */
.chart-container {
  width: 100%;
  height: 400px;
  margin-bottom: 2rem;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.positive-change {
  color: var(--success);
}

.negative-change {
  color: var(--danger);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

/* Neon glowing effects */
.neon-accent {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.4;
}

.neon-1 {
  background: var(--primary);
  width: 200px;
  height: 200px;
  top: 20%;
  left: 10%;
}

.neon-2 {
  background: var(--secondary);
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 5%;
}

.neon-3 {
  background: var(--accent);
  width: 250px;
  height: 250px;
  top: 60%;
  left: 60%;
}

/* Dashboard Navigation */
.dashboard {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-dark);
  backdrop-filter: blur(15px);
  z-index: 1000;
  padding: 1rem;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dashboard-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1200px;
  padding: 0 1rem;
}

.dashboard-button {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--light);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-button:hover, .dashboard-button.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.dashboard-button.active {
  background: linear-gradient(to right, rgba(37, 99, 235, 0.2), rgba(139, 92, 246, 0.2));
  border-color: rgba(255, 255, 255, 0.25);
}

.dashboard-button i {
  font-size: 1rem;
}

.dashboard-spacer {
  height: 65px; /* Match dashboard height */
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .chart-container {
    height: 300px;
  }
  
  .comparison-table th, .comparison-table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .dashboard-button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .chart-container {
    height: 250px;
  }
  
  .dashboard-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .dashboard-container {
    gap: 0.5rem;
  }
}

/* Animation utilities */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.7s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}