:root {
  --bg-dark: #111111;
  --bg-card: #1a1a1a;
  --text-main: #e0e0e0;
  --text-muted: #a0a0a0;
  --accent: #4ade80; /* A retro terminal green */
  --accent-glow: rgba(74, 222, 128, 0.2);
  --font-pixel: "VT323", monospace;
  --font-body: "Inter", sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.pixel-font {
  font-family: var(--font-pixel);
  text-transform: uppercase;
}

/* Navigation */
.navbar {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid #333;
}

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

.nav-logo {
  height: 50px; /* Adjust based on your logo preference */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Buttons */
.btn-primary {
  background-color: var(--accent);
  color: #000;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--accent-glow);
}

.btn-secondary {
  color: var(--text-main);
  padding: 10px 24px;
  border: 1px solid #333;
  border-radius: 4px;
  text-decoration: none;
  margin-left: 15px;
  transition: border-color 0.3s;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 5rem;
  line-height: 0.9;
  margin-bottom: 20px;
}

.hero .highlight {
  color: var(--accent);
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

/* Retro Grid Background Effect */
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Services Section */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  border-left: 5px solid var(--accent);
  padding-left: 20px;
}

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

.card {
  background: var(--bg-card);
  padding: 40px;
  border: 1px solid #333;
  transition:
    transform 0.3s,
    border-color 0.3s;
}

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

.card .icon {
  font-family: var(--font-pixel);
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-muted);
}

/* Footer */
footer {
  border-top: 1px solid #333;
  padding: 80px 0;
  background: #0a0a0a;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-right a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-right a:hover {
  color: var(--accent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .nav-links {
    display: none;
  } /* Simplified mobile view */
  .hero-content {
    padding-top: 60px;
  }
}
