:root {
  --primary: #f25f45;
  --primary-glow: rgba(242, 95, 69, 0.6);
  --bg-color: #050505;
  --text-color: #ffffff;
  --accent-color: #ff5e3a;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.1);
  --font-main: "Outfit", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- UI ELEMENTS --- */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transition: 0.3s ease;
  }

  &:hover::before {
    width: 100%;
  }

  &:hover {
    color: white;
    box-shadow: 0 0 20px rgba(255, 94, 58, 0.4);
  }

  span {
    margin-top: 1px;
  }
}

/* --- HERO SECTION (Circuit Background) --- */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  img {
    margin: 0 auto;
    width: 60px;
  }
  .company {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 16px;
  }
  .content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 32px;
    animation: fadeIn Up 1s ease-out;
  }
  h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    span {
      color: var(--primary);
      text-shadow: 0 0 20px var(--primary-glow);
    }
  }
  .subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 24px;
    font-weight: 600;
  }
}

#circuit-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  nav {
    padding: 20px;
  }

  #apps {
    padding: 80px 20px;
  }

  .contact-link {
    font-size: 1.5rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
