:root {
  --primary: #F59E0B;
  --primary-dark: #865606;
  --accent: #8B5CF6;
  --accent-hover: #6f49c4;
  --bg-primary: #0F172A;
  --bg-secondary: #0e1628;
  --bg-card: #fff;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --border-color: #334155;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --hud-color: #00FFFF;
  --dark-blue: #1A2A3A;
  --tech-orange: #FF6F00;
  --light-text: #F5F5F5;
  --tech-gradient: linear-gradient(135deg, #0F172A 0%, #1A2A3A 100%);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--light-text);
  background: var(--dark-blue);
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--light-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--hud-color) 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--light-text);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--hud-color) 0%, var(--tech-orange) 100%);
  box-shadow: 0 0 10px var(--hud-color);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--hud-color);
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.9);
}

a {
  color: var(--hud-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--tech-orange);
  text-shadow: 0 0 5px var(--tech-orange);
}

/* Layout utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

.section-dark {
  background: var(--bg-primary);
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.section-secondary {
  background: var(--bg-secondary);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.flex {
  display: flex;
}

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

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

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Responsive visibility */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--hud-color);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--hud-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--tech-orange);
}

/* Responsive breakpoints */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .grid {
    gap: 1.5rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  p {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2rem 0;
  }
  
  .container {
    padding: 0 0.5rem;
  }
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px var(--hud-color);
  }
  50% {
    box-shadow: 0 0 20px var(--hud-color), 0 0 40px var(--hud-color);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Utility animations */
.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}