:root {
  /* Color Palette - Cyber Industrial */
  --bg-primary: #0a0a0c;
  --bg-secondary: #141418;
  --accent-primary: #00ff66; /* Neon Green */
  --accent-secondary: #00ccff; /* Cyber Blue */
  --text-primary: #f0f0f0;
  --text-muted: #88888e;
  --border-color: #2a2a32;
  --card-bg: #1c1c22;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Typography */
  --font-display: 'Syncopate', sans-serif;
  --font-body: 'JetBrains Mono', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;700&family=Syncopate:wght@400;700&display=swap');

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

section {
  margin-top: var(--space-2xl);
  position: relative;
}

main > section:first-child {
  margin-top: 0;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -1px 0 var(--accent-secondary);
  top: 0;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  animation: noise-anim 2s infinite linear alternate-reverse;
}

@keyframes noise-anim {
  0% { clip: rect(10px, 9999px, 20px, 0); }
  20% { clip: rect(45px, 9999px, 50px, 0); }
  40% { clip: rect(12px, 9999px, 90px, 0); }
  60% { clip: rect(80px, 9999px, 15px, 0); }
  80% { clip: rect(30px, 9999px, 40px, 0); }
  100% { clip: rect(60px, 9999px, 70px, 0); }
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
}

.btn-secondary {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.btn-secondary:hover {
  background: var(--accent-secondary);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.4);
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: 60%;
  border: 1px solid var(--border-color);
  background: linear-gradient(45deg, var(--card-bg), transparent);
  z-index: -1;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-primary);
  opacity: 0.2;
}

/* Grid Components */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: var(--space-lg);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.card-num {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 3rem;
  font-family: var(--font-display);
  opacity: 0.05;
  pointer-events: none;
}

.placeholder-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: #25252b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.placeholder-image::after {
  content: attr(data-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Footer */
footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-col h4 {
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--accent-primary);
}

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

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

/* Decorative Elements */
.scanner-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
  top: 0;
  left: 0;
  animation: scan 4s linear infinite;
  opacity: 0.3;
  pointer-events: none;
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

.tech-border {
  border-left: 4px solid var(--accent-primary);
  padding-left: var(--space-md);
}

/* Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th, td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: var(--bg-secondary);
  color: var(--accent-secondary);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.7rem;
}

tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
