/* ============================================
   Technology Stack Marquee
   ============================================ */

.tech {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: linear-gradient(180deg, rgba(16, 16, 19, 0.92) 0%, rgba(16, 16, 19, 0.98) 100%);
  color: var(--color-text-on-dark);
}

.tech__wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(var(--space-10), 6vw, var(--space-14));
}

.tech__header {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tech__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 247, 250, 0.65);
}

.tech__title {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

.tech__subtitle {
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-lg));
  line-height: 1.6;
  color: rgba(246, 247, 250, 0.75);
  margin: 0;
}

.tech__marquee {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(22, 22, 26, 0.7);
  padding: clamp(var(--space-4), 4vw, var(--space-6)) 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.tech__track {
  display: inline-flex;
  gap: clamp(var(--space-6), 4vw, var(--space-10));
  align-items: center;
  animation: techMarquee 36s linear infinite;
  white-space: nowrap;
  will-change: transform;
  min-width: max-content;
}

.tech__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: clamp(var(--font-size-sm), 1.6vw, var(--font-size-base));
  color: rgba(246, 247, 250, 0.85);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tech__item i {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: rgba(244, 194, 44, 0.85);
  text-shadow: 0 0 12px rgba(244, 194, 44, 0.35);
}

.tech__marquee::before,
.tech__marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tech__marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(16, 16, 19, 0.98) 0%, rgba(16, 16, 19, 0) 100%);
}

.tech__marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(16, 16, 19, 0.98) 0%, rgba(16, 16, 19, 0) 100%);
}

@keyframes techMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 639px) {
  .tech__track {
    animation-duration: 35s;
  }

  .tech__item {
    gap: var(--space-1);
  }
}
