/* ============================================================
   VELTRIX STORE — CSS MOBILE-FIRST
   Paleta: #0f0f1e (fundo) · #00f7ff (cyan) · #0066ff (azul)
   Fontes: Orbitron (display) · Montserrat (corpo)
   ============================================================ */

:root {
  --cyan: #00f7ff;
  --blue: #0066ff;
  --bg: #0a0a18;
  --bg2: #0f0f1e;
  --surface: #141428;
  --text: #e8e8f0;
  --muted: #7878a0;
  --header-h: 60px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  overflow: hidden;
  height: 100dvh;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--cyan);
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10, 10, 24, 0.95), transparent);
}

/* Logo */
.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  cursor: pointer;
  user-select: none;
}

.logo span {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
}

/* Nav desktop */
.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 40px;
}

.nav-desktop ul li {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-desktop ul li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.25s var(--ease);
}

.nav-desktop ul li:hover,
.nav-desktop ul li.active {
  color: #fff;
}

.nav-desktop ul li:hover::after,
.nav-desktop ul li.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--cyan);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--cyan);
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: min(280px, 80vw);
  height: calc(100dvh - var(--header-h));
  background: rgba(10, 10, 28, 0.98);
  border-left: 1px solid rgba(0, 247, 255, 0.15);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 105;
  padding: 32px 0;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav ul li {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 32px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.mobile-nav ul li:hover,
.mobile-nav ul li.active {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(0, 247, 255, 0.05);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   BACKGROUND DECORATIVO
   ============================================================ */
.container {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, #111130 100%);
}

/* Glow central pulsante */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 247, 255, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  animation: pulse 5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse {
  0% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.7);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

/* Grid lines */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 247, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 247, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Círculos decorativos */
.tech-circle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 247, 255, 0.12);
}

.c1 {
  width: 160px;
  height: 160px;
  top: 8%;
  left: 6%;
  animation: float 7s ease-in-out infinite;
}

.c2 {
  width: 240px;
  height: 240px;
  top: 55%;
  left: 75%;
  animation: float 9s ease-in-out infinite reverse;
}

.c3 {
  width: 120px;
  height: 120px;
  top: 72%;
  left: 15%;
  animation: float 6s ease-in-out infinite 1s;
}

.c4 {
  width: 100px;
  height: 100px;
  top: 15%;
  left: 72%;
  animation: float 8s ease-in-out infinite 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

/* ============================================================
   SLIDER — MOBILE PRIMEIRO (coluna: imagem em cima, texto embaixo)
   ============================================================ */
.list {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  /* mobile: coluna */
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-h) + 12px) 6% 90px;
  gap: 12px;
  opacity: 0;
  transform: translateX(60px);
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
  pointer-events: none;
}

.item.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.item.exit {
  opacity: 0;
  transform: translateX(-60px);
}

/* ---- Imagem ---- */
.product-img {
  position: relative;
  width: 100%;
  max-width: 240px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 247, 255, 0.25) 0%, transparent 70%);
  filter: blur(30px);
  animation: pulse 4s ease-in-out infinite alternate;
}

.product-img img {
  position: relative;
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0, 247, 255, 0.35));
  /* animação de entrada */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease) 0.3s, transform 0.6s var(--ease) 0.3s;
}

.item.active .product-img img {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Conteúdo ---- */
.content {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* mobile: centralizado */
  text-align: center;
  gap: 8px;
}

.product-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease) 0.25s, transform 0.5s var(--ease) 0.25s;
}

.item.active .product-tag {
  opacity: 1;
  transform: translateY(0);
}

.product-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease) 0.35s, transform 0.5s var(--ease) 0.35s;
}

.item.active .product-name {
  opacity: 1;
  transform: translateY(0);
}

.description {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
  max-width: 340px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease) 0.45s, transform 0.5s var(--ease) 0.45s;
}

.item.active .description {
  opacity: 1;
  transform: translateY(0);
}

.price-tag {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.5s;
}

.price-tag strong {
  color: #fff;
  font-weight: 700;
}

.item.active .price-tag {
  opacity: 1;
}

/* Botão */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 11px 24px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border: none;
  border-radius: 40px;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.55s,
    transform 0.2s, box-shadow 0.2s;
}

.item.active .btn {
  opacity: 1;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.5), 0 0 40px rgba(0, 102, 255, 0.3);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.97);
}

/* ============================================================
   SETAS
   ============================================================ */
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0, 247, 255, 0.08);
  border: 1px solid rgba(0, 247, 255, 0.25);
  border-radius: 50%;
  color: var(--cyan);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
}

.arrow-btn svg {
  width: 16px;
  height: 16px;
}

.arrow-btn:hover {
  background: rgba(0, 247, 255, 0.18);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

#prev {
  left: 3%;
}

#next {
  right: 3%;
}

/* ============================================================
   INDICATORS
   ============================================================ */
.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.number-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'Orbitron', sans-serif;
}

.num-current {
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s;
}

.num-sep {
  font-size: 0.7rem;
  color: var(--muted);
}

.num-total {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  width: 40px;
}

/* Progress bar */
.progress-bar {
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 2px;
  transition: width linear;
}

/* ============================================================
   TABLET — 600px+
   ============================================================ */
@media (min-width: 600px) {
  :root {
    --header-h: 68px;
  }

  .logo {
    font-size: 1.6rem;
  }

  .product-img {
    max-width: 300px;
  }

  .product-img img {
    max-height: 260px;
  }

  .img-glow {
    width: 240px;
    height: 240px;
  }

  .description {
    font-size: 0.88rem;
    max-width: 380px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.85rem;
  }

  .arrow-btn {
    width: 46px;
    height: 46px;
  }

  .arrow-btn svg {
    width: 18px;
    height: 18px;
  }

  .dot {
    width: 36px;
  }

  .dot.active {
    width: 52px;
  }

  .num-current {
    font-size: 2rem;
  }

  .item {
    gap: 16px;
    padding-bottom: 110px;
  }
}

/* ============================================================
   DESKTOP — 900px+ (volta para layout lado a lado)
   ============================================================ */
@media (min-width: 900px) {
  :root {
    --header-h: 72px;
  }

  /* Mostra nav desktop, esconde hamburger */
  .nav-desktop {
    display: block;
  }

  .hamburger {
    display: none;
  }

  /* Slide vira linha */
  .item {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--header-h) 6% 0;
    gap: 0;
  }

  /* Imagem — lado esquerdo */
  .product-img {
    width: 45%;
    max-width: none;
    height: 100%;
    align-items: center;
    justify-content: center;
    order: 1;
  }

  .product-img img {
    max-height: 55vh;
    max-width: 85%;
  }

  .img-glow {
    width: 320px;
    height: 320px;
  }

  /* Conteúdo — lado direito */
  .content {
    width: 55%;
    max-width: none;
    align-items: flex-start;
    text-align: left;
    padding-right: 6%;
    order: 2;
    gap: 12px;
  }

  .description {
    font-size: 0.95rem;
    max-width: 420px;
  }

  .btn {
    font-size: 0.88rem;
  }

  /* Setas nas laterais */
  #prev {
    left: 1.5%;
  }

  #next {
    right: 1.5%;
  }

  .arrow-btn {
    width: 50px;
    height: 50px;
  }

  .indicators {
    bottom: 28px;
  }

  .num-current {
    font-size: 2.5rem;
  }
}

/* ============================================================
   WIDE — 1280px+
   ============================================================ */
@media (min-width: 1280px) {
  .product-img img {
    max-height: 60vh;
  }

  .description {
    font-size: 1rem;
    max-width: 500px;
  }

  .product-tag {
    font-size: 0.75rem;
  }

  .btn {
    padding: 13px 32px;
    font-size: 0.9rem;
  }
}