section {
  position: relative;
  z-index: 1;
}
.section-head {
  text-align: center;
  margin-bottom: 4.5rem;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(6, 182, 212, 0.1)
  );
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}
.section-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--muted);
  margin-top: 0.8rem;
  font-size: 1.05rem;
}

#services {
  padding: 8rem 6%;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #131314;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.22, 0.68, 0, 1.2);
  cursor: default;
  box-shadow: 0 2px 20px rgba(99, 102, 241, 0.06);
}
.service-card .glow-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  top: -50px;
  left: -50px;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--accent);
  box-shadow: 0 25px 60px rgba(99, 102, 241, 0.18);
}
.service-card:hover .glow-bg {
  opacity: 1;
}
.s-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.service-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}
.s-price {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
}

#stack {
  padding: 6rem 6%;
  overflow: hidden;
}
.marquee-wrap {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee {
  display: flex;
  gap: 1.5rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee2 {
  animation-direction: reverse;
  margin-top: 1rem;
}
.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #0f2d86;
  border: 1.5px solid var(--border);
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.tech-pill:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}
.tdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
