:root {
  --primary: #0a192f;
  --secondary: #172a45;
  --background: #0a192f;
  --footer-bg: #020c1b;
  --accent: #64ffda;
  --section-1: #112240;
  --section-2: #233554;
  --section-3: #1e2a47;
  --section-4: #2d3b5a;
  --section-5: #3a4b6c;
  --text-primary: #e6f1ff;
  --text-secondary: #8892b0;
  --font-main: 'Rajdhani', 'Orbitron', sans-serif;
  --font-mono: 'Fira Code', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;500&family=Fira+Code:wght@300;400&display=swap');

body {
  background-color: var(--background);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.8;
  letter-spacing: 0.5px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

h2:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
}

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

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(100, 255, 218, 0.1);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.btn:hover::before {
  left: 0;
}

.section-bg-1 {
  background-color: var(--section-1);
  position: relative;
}

.section-bg-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23172a45" stroke-width="0.5"/></svg>');
  opacity: 0.1;
  pointer-events: none;
}

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

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

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

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

.card {
  background: var(--secondary);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(100, 255, 218, 0.1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.05) 0%, rgba(100, 255, 218, 0) 100%);
  z-index: 0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(100, 255, 218, 0.3);
}

footer {
  background-color: var(--footer-bg);
  padding: 3rem 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

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

.digital-pulse {
  animation: pulse 3s infinite ease-in-out;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
  }
}