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

:root {
  --title-color: #999;
  --shade-color: #666;
  --text-color: #bbb;
  --heading-color: #98c379;
  --active-color: #429aef;
  --dark-bg: #0a0a0a;
  --dark-panel: rgba(40, 44, 52, 0.5);
  --neon-cyan: #00ffff;
  --neon-magenta: #ff00ff;
  --neon-green: #00ff00;
  --neon-yellow: #ffff00;
}

body {
  font-family: "Oxanium", "Courier New", monospace;
  background: var(--dark-bg);
  background: url(/metal-wallpaper.jpg);
  background-position-x: center;
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

  &:hover {
    text-shadow: 0 0 5px var(--active-color);
  }
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;

  .logo {
    display: flex;
    justify-content: center;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;

    h1 {
      font-family: "Ethnocentric";
      text-shadow: 0 0 2rem var(--dark-bg);

      font-size: 3rem;

      span {
        background: linear-gradient(
          to bottom,
          var(--title-color) 50%,
          var(--shade-color) 50%
        );
        background-clip: text;
        color: transparent;
      }
    }

    .tagline {
      font-family: "Orbitron";
      font-size: 2rem;
      color: var(--heading-color);
      text-shadow: 0 0 2rem var(--dark-bg);
      margin-bottom: 2rem;
    }

    .subtitle {
      font-size: 1.2rem;
      max-width: 800px;
      margin: 0 auto 3rem;
      color: var(--text-color);
      line-height: 1.8;
    }
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 6rem;
  padding: 0 20px;

  h2 {
    font-family: "Orbitron";
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--heading-color);
    text-shadow: 0 0 2rem var(--dark-bg);
    text-transform: uppercase;
  }

  .quote {
    font-family: "Oxanium";
    font-style: italic;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    font-size: 1.2rem;
  }

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

    .principle {
      margin-bottom: 1rem;
      padding: 1rem;
      background-color: var(--dark-panel);
      box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24);
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 25px rgba(0, 255, 255, 0.5);
      }

      h3 {
        color: var(--neon-magenta);
        margin-bottom: 1rem;
        font-size: 1.5rem;
        text-transform: uppercase;
      }

      p {
        /* color: var(--neon-cyan); */
        font-size: 1rem;
      }
    }
  }

  .clients {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;

    .client {
      display: block;
      width: 8rem;
      height: 8rem;
      border: 1px solid var(--neon-green);
      padding: 1rem;
      background: rgba(0, 255, 0, 0.25);
      /* background: white; */
      transition: all 0.3s ease;
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        width: 6rem;
        object-fit: contain;
        max-height: 6rem;
      }

      &.featured {
        width: 10rem;
        height: 10rem;

        img {
          width: 8rem;
          object-fit: contain;
          max-height: 8rem;
        }
      }

      &:hover {
        background: rgba(0, 255, 0, 0.5);
        box-shadow: 0 0 25px var(--neon-green);
      }
    }
  }

  .services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;

    .service {
      text-align: center;
      padding: 1rem;
      /* border: 1px solid var(--active-color); */
      background-color: var(--dark-panel);
      transition: all 0.3s ease;

      &:hover {
        border-color: var(--neon-cyan);
        box-shadow: 0 0 20px rgba(255, 255, 0, 0.4);
      }

      h3 {
        font-family: "Orbitron";
        color: var(--heading-color);
        margin-bottom: 1rem;
        font-size: 1.3rem;
      }
    }
  }

  .tech-badge {
    text-align: center;
    padding: 3rem;
    background: var(--dark-panel);
    border: 1px solid var(--active-color);
  }
}

.cta {
  text-align: center;

  .cta-button {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    color: var(--dark-bg);
    background: var(--neon-cyan);
    border: none;
    text-decoration: none;
    font-family: "Courier New", monospace;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 30px var(--neon-cyan);
    transition: all 0.3s ease;
    cursor: pointer;

    &:hover {
      background: var(--neon-magenta);
      box-shadow: 0 0 40px var(--neon-magenta);
      transform: scale(1.05);
    }
  }

  .contact-info {
    font-size: 1.1rem;
  }
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  color: var(--title-color);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  main {
    .hero {
      h1 {
        font-size: 2.5rem;
      }

      .tagline {
        font-size: 1.5rem;
      }
    }
  }
}
