:root {
  --black: #000000;
  --dark-gray: #1a1a1a;
  --light-gray: #777777;
}
body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: #f5f5f5;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 30s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.06), transparent 45%);
  animation: glowMove 18s ease-in-out infinite alternate;
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 400px 400px;
  }
}

@keyframes glowMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-80px, -60px);
  }
}

.about-wrapper {
  min-height: calc(100vh - 200px);
  padding: 80px 20px;
}

.about-container {
  max-width: 1100px;
  margin: auto;
}

.about-hero {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeUp 1s ease forwards;
}

.about-hero h1 {
  font-size: 52px;
  color: #000;
  letter-spacing: 2px;
}

.about-hero p {
  max-width: 700px;
  margin: 20px auto 0;
  color: #555;
  font-size: 18px;
}

.keyboard {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 40px 0;
}

.key {
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, #ffffff, #e5e5e5);
  border-radius: 12px;
  box-shadow: 0 6px 0 #cfcfcf, inset 0 0 0 1px #dddddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #000;
  animation: keyPress 1.8s infinite ease-in-out;
}

.key:nth-child(2) {
  animation-delay: 0.2s;
}

.key:nth-child(3) {
  animation-delay: 0.4s;
}

.key:nth-child(4) {
  animation-delay: 0.6s;
}

.section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
  animation: fadeUp 1.2s ease forwards;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: #000;
  margin-bottom: 12px;
  font-size: 22px;
}

.card p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.connections {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #000;
  color: #000;
  font-size: 14px;
  animation: glow 2.5s infinite alternate;
}

@keyframes keyPress {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
  }
  to {
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 600px) {
  .about-hero h1 {
    font-size: 36px;
  }

  .key {
    width: 52px;
    height: 52px;
  }
}
