/* ============================================
   APEX NEXUS - MetaHive System Showcase
   Advanced CSS with 3D Transforms & Complex Animations
   ============================================ */

:root {
  /* Core Palette */
  --primary: #00f5d4;
  --secondary: #ff6b6b;
  --accent: #7209b7;
  --warning: #f9c74f;
  --success: #90be6d;
  --danger: #f94144;
  
  /* Neutrals */
  --dark-100: #0a0a0b;
  --dark-200: #141416;
  --dark-300: #1e1e21;
  --dark-400: #28282c;
  --light-100: #f8f9fa;
  --light-200: #e9ecef;
  --light-300: #dee2e6;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--warning));
  --gradient-dark: linear-gradient(135deg, var(--dark-100), var(--dark-300));
  --gradient-neon: linear-gradient(45deg, #00f5d4, #ff6b6b, #7209b7, #f9c74f);
  
  /* Typography */
  --font-heading: 'Orbitron', monospace;
  --font-body: 'JetBrains Mono', monospace;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 245, 212, 0.1);
  --shadow-medium: 0 8px 32px rgba(0, 245, 212, 0.2);
  --shadow-strong: 0 16px 48px rgba(0, 245, 212, 0.3);
  --shadow-glow: 0 0 30px rgba(0, 245, 212, 0.5);
  
  /* Dimensions */
  --nav-height: 80px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  
  /* Animation */
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
  --easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   Global Reset & Base Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--dark-100);
  color: var(--light-100);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary);
  color: var(--dark-100);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-200);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* ============================================
   Canvas Background
   ============================================ */

#system-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
}

/* ============================================
   Navigation - Glassmorphism Effect
   ============================================ */

.nav-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(20, 20, 22, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 245, 212, 0.1);
  z-index: 1000;
  transition: all var(--duration-normal) var(--easing-smooth);
}

.nav-glass.hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.logo-icon {
  font-size: 2rem;
  animation: rotate-slow 10s linear infinite;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-version {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--primary);
  background: rgba(0, 245, 212, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

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

.nav-link {
  position: relative;
  color: var(--light-300);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: color var(--duration-fast) var(--easing-smooth);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--duration-normal) var(--easing-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

/* ============================================
   Hero Section - 3D Perspective
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  perspective: 1000px;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
  transform-style: preserve-3d;
}

.hero-title {
  margin-bottom: 2rem;
  transform: translateZ(50px);
}

.title-main {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: 4px;
  position: relative;
  background: var(--gradient-neon);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 8s ease infinite;
  margin-bottom: 1rem;
}

@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.title-main::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-neon);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
  animation: gradient-flow 8s ease infinite, pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.title-sub {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--light-200);
  letter-spacing: 2px;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--light-300);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.metric {
  text-align: center;
  position: relative;
}

.metric::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: var(--border-radius);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--easing-smooth);
}

.metric:hover::before {
  opacity: 1;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--light-300);
  letter-spacing: 1px;
}

/* ============================================
   3D System Visualization
   ============================================ */

.system-viz {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.viz-core {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotate-3d 20s linear infinite;
}

@keyframes rotate-3d {
  from { transform: rotateX(15deg) rotateY(0deg); }
  to { transform: rotateX(15deg) rotateY(360deg); }
}

.core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  animation: pulse-core 3s ease-in-out infinite;
}

@keyframes pulse-core {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0, 245, 212, 0.3);
  border-radius: 50%;
  animation: rotate-reverse 15s linear infinite;
}

.ring-1 {
  width: 120px;
  height: 120px;
  border-color: rgba(0, 245, 212, 0.5);
  animation-duration: 25s;
}

.ring-2 {
  width: 180px;
  height: 180px;
  border-color: rgba(255, 107, 107, 0.4);
  animation-duration: 35s;
}

.ring-3 {
  width: 240px;
  height: 240px;
  border-color: rgba(114, 9, 183, 0.3);
  animation-duration: 45s;
}

@keyframes rotate-reverse {
  from { transform: translate(-50%, -50%) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateZ(-360deg); }
}

.viz-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle)));
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  animation: fade-in-labels 2s var(--duration-slow) forwards;
}

@keyframes fade-in-labels {
  to { opacity: 0.8; }
}

/* ============================================
   Section Styles
   ============================================ */

.section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.section:nth-child(even) {
  background: rgba(20, 20, 22, 0.3);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Architecture Grid
   ============================================ */

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.arch-card {
  position: relative;
  padding: 2.5rem;
  background: rgba(30, 30, 33, 0.5);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transition: all var(--duration-normal) var(--easing-smooth);
  overflow: hidden;
}

.arch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--easing-smooth);
  z-index: -1;
}

.arch-card:hover::before {
  opacity: 0.1;
}

.arch-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 245, 212, 0.5);
  box-shadow: var(--shadow-medium);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform var(--duration-fast) var(--easing-bounce);
}

.arch-card:hover .card-icon {
  transform: scale(1.2) rotate(10deg);
}

.arch-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.arch-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--light-300);
  margin-bottom: 2rem;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 245, 212, 0.2);
}

.card-stats span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
  font-family: var(--font-body);
}

/* ============================================
   Toolkit Section
   ============================================ */

.tool-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(30, 30, 33, 0.7);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: var(--border-radius-sm);
  color: var(--light-300);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing-smooth);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--dark-100);
  border-color: var(--primary);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  padding: 1.5rem;
  background: rgba(30, 30, 33, 0.7);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: var(--border-radius-sm);
  transition: all var(--duration-fast) var(--easing-smooth);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: tool-fade-in 0.5s var(--easing-smooth) forwards;
}

@keyframes tool-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tool-card.hidden {
  display: none;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.tool-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.tool-card p {
  font-size: 0.9rem;
  color: var(--light-300);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tool-card .tool-category {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 245, 212, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: 600;
}

/* ============================================
   Memory Visualization
   ============================================ */

.memory-viz {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .memory-viz {
    grid-template-columns: 1fr;
  }
}

.memory-layer {
  padding: 2rem;
  background: rgba(30, 30, 33, 0.7);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: var(--border-radius);
  transition: all var(--duration-normal) var(--easing-smooth);
}

.memory-layer:hover {
  border-color: rgba(0, 245, 212, 0.5);
  transform: translateY(-5px);
}

.memory-layer h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.layer-visual {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: var(--dark-200);
}

.layer-visual canvas {
  width: 100%;
  height: 200px;
  display: block;
}

.layer-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
}

/* ============================================
   Evolution Timeline
   ============================================ */

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  opacity: 0.3;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  padding: 2rem;
  background: rgba(30, 30, 33, 0.7);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: var(--border-radius);
  margin: 0 2rem;
  transition: all var(--duration-normal) var(--easing-smooth);
}

.timeline-content:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: var(--shadow-medium);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 4rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 4rem;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  z-index: 1;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--light-100);
  margin-bottom: 0.75rem;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--light-300);
}

/* ============================================
   Live Dashboard
   ============================================ */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.dashboard-card {
  padding: 2rem;
  background: rgba(30, 30, 33, 0.7);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: var(--border-radius);
  transition: all var(--duration-normal) var(--easing-smooth);
}

.dashboard-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.dashboard-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-card h3::before {
  content: '◈';
  font-size: 1rem;
  animation: rotate-slow 3s linear infinite;
}

.session-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(20, 20, 22, 0.7);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 245, 212, 0.1);
}

.info-item span {
  font-size: 0.9rem;
  color: var(--light-300);
}

.info-item code {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 245, 212, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.process-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(20, 20, 22, 0.7);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 245, 212, 0.1);
}

.process-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.running {
  background: var(--success);
  animation: pulse-success 2s infinite;
}

.status-dot.pending {
  background: var(--warning);
}

.status-dot.completed {
  background: var(--primary);
}

.resource-monitor {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resource-item span {
  width: 60px;
  font-size: 0.9rem;
  color: var(--light-300);
}

.resource-bar {
  flex: 1;
  height: 8px;
  background: var(--dark-300);
  border-radius: 4px;
  overflow: hidden;
}

.resource-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: var(--width);
  transition: width var(--duration-normal) var(--easing-smooth);
  position: relative;
}

.resource-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.resource-item > span:last-child {
  width: auto;
  color: var(--primary);
  font-weight: 600;
}

.activity-log {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 300px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(20, 20, 22, 0.7);
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--primary);
  font-size: 0.85rem;
  line-height: 1.5;
}

.activity-item .timestamp {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.activity-item .message {
  color: var(--light-300);
  flex: 1;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: rgba(20, 20, 22, 0.9);
  border-top: 1px solid rgba(0, 245, 212, 0.2);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: var(--light-300);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  color: var(--light-300);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.footer-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 245, 212, 0.2);
  color: var(--light-300);
  font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .system-status span {
    display: none;
  }
  
  .hero-metrics {
    flex-direction: column;
    gap: 2rem;
  }
  
  .system-viz {
    display: none;
  }
  
  .arch-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: column;
  }
  
  .timeline-content {
    margin: 0 !important;
  }
  
  .timeline-dot {
    display: none;
  }
  
  .timeline-line {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .title-main {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Scroll Animations
   ============================================ */

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--easing-smooth);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate.stagger {
  transition-delay: calc(var(--index) * 0.1s);
}

/* ============================================
   Loading States
   ============================================ */

.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}