/* Fonts loaded via <link> in HTML — @import removed to avoid render-blocking */

:root {
  --bg: #020810;
  --surface: #0a1628;
  --surface-2: #0f1f3a;
  --neon-yellow: #F5E642;
  --neon-yellow-dim: rgba(245, 230, 66, 0.15);
  --neon-purple: #B44DFF;
  --neon-purple-dim: rgba(180, 77, 255, 0.18);
  --neon-cyan: #00E5FF;
  --neon-cyan-dim: rgba(0, 229, 255, 0.12);
  --neon-pink: #FF2D78;
  --neon-pink-dim: rgba(255, 45, 120, 0.15);
  --text: #F0EEF8;
  --muted: #B8B8C8;
  --border: rgba(180, 77, 255, 0.35);
  --border-yellow: rgba(245, 230, 66, 0.35);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  --glow-yellow: 0 0 30px rgba(245, 230, 66, 0.6), 0 0 60px rgba(245, 230, 66, 0.3);
  --glow-purple: 0 0 25px rgba(180, 77, 255, 0.6), 0 0 50px rgba(180, 77, 255, 0.25);
  --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.5), 0 0 40px rgba(0, 229, 255, 0.2);
  --glow-pink: 0 0 20px rgba(255, 45, 120, 0.5);
}

/*  RESET & BASE  */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  font-style: italic;
  vertical-align: middle;
}

iframe,
object,
embed {
  max-width: 100%;
}

.container {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

/*  FONDO ESTÁTICO (optimizado para equipos lentos)  */
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(245, 230, 66, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 230, 66, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse at 20% 0%, rgba(180, 77, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 229, 255, 0.15) 0%, transparent 50%);
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
  color: var(--text);
  line-height: 1.7;
  font-size: 1.06rem;
  position: relative;
  overflow-x: hidden;
}

/* Particles simplificado para rendimiento */
body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(245, 230, 66, 0.4), transparent),
    radial-gradient(2px 2px at 80% 60%, rgba(0, 229, 255, 0.3), transparent);
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

/* Scanlines removido por rendimiento */

/*  SCROLLBAR NEN  */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-purple);
  border-radius: 3px;
  box-shadow: var(--glow-purple);
}

/*  HEADER / NAVEGACIN  */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 8, 16, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 0 rgba(180, 77, 255, 0.25), 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Lnea estática en header */
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--neon-cyan) 50%,
      transparent 100%);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand:hover span {
  color: var(--neon-yellow);
  text-shadow: var(--glow-yellow);
}

.brand-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 0 20px rgba(245, 230, 66, 0.8)) drop-shadow(0 0 40px rgba(245, 230, 66, 0.4)) brightness(1.2);
  transform: scale(1.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.nav-links.nav-links-extended {
  gap: 0.72rem;
}

.nav-links.nav-links-extended a {
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s, text-shadow 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--neon-yellow);
  box-shadow: var(--glow-yellow);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--neon-yellow);
  text-shadow: 0 0 10px rgba(245, 230, 66, 0.5);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--neon-yellow);
  text-shadow: 0 0 15px rgba(245, 230, 66, 0.6);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-auth-item {
  display: none;
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  padding: 0;
  color: var(--text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-indent: -9999px;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--neon-purple);
  border-radius: 99px;
  transform: translate(-50%, -50%);
  box-shadow: 0 -6px 0 var(--neon-purple), 0 6px 0 var(--neon-purple);
}

/*  BOTONES NEN CON CHISPAS  */
.btn {
  border-radius: 6px;
  padding: 1rem 1.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.btn:hover::before {
  left: 150%;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
}

.btn-primary {
  background: var(--neon-yellow);
  color: #0a0a0a;
  border-color: var(--neon-yellow);
  box-shadow: 0 0 20px rgba(245, 230, 66, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #ffea00;
  box-shadow: var(--glow-yellow), 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Efecto chispa en botones al hover */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  animation: sparkle 0.6s ease-out 0.2s;
}

@keyframes sparkle {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(15) translate(20px, -15px);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(25) translate(40px, -30px);
  }
}

.btn-secondary {
  background: transparent;
  color: var(--neon-purple);
  border-color: var(--neon-purple);
  box-shadow: 0 0 10px rgba(180, 77, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(180, 77, 255, 0.12);
  box-shadow: var(--glow-purple), 0 0 20px rgba(180, 77, 255, 0.4);
  color: #fff;
}

.btn-login {
  background: transparent;
  color: var(--neon-purple);
  border-color: var(--neon-purple);
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.6rem 1rem;
}

.btn-login:hover {
  background: var(--neon-purple);
  color: #fff;
  box-shadow: var(--glow-purple);
}

.btn-light {
  background: var(--bg);
  color: var(--neon-yellow);
  border-color: var(--neon-yellow);
}

.btn-light:hover {
  background: var(--neon-yellow);
  color: #0d0b14;
  box-shadow: var(--glow-yellow);
}

/*  HERO CON EFECTO 3D Y GLOW  */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid {
  position: relative;
}

/* Aurora blob en hero */
.hero-grid::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 77, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: blobPulse 7s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  z-index: 1;
}

.hero h1 {
  font-family: "Orbitron", sans-serif;
  margin: 0 0 0.7rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  position: relative;
}

/* Glitch efecto deshabilitado por rendimiento */

.hero .section-subtitle {
  color: var(--neon-yellow);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  opacity: 0.85;
  animation: heroRise 0.4s ease both;
}

.hero p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  animation: heroRise 0.4s ease both 0.08s;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/*  HERO BADGES  */
.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--neon-cyan);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  animation: badgeReveal 0.5s ease forwards;
}

/* Los badges aparecen en cascada cuando la página carga */
.badge-item:nth-child(1) {
  animation-delay: 0.35s;
}

.badge-item:nth-child(2) {
  animation-delay: 0.52s;
}

.badge-item:nth-child(3) {
  animation-delay: 0.69s;
}

@keyframes badgeReveal {
  to {
    opacity: 1;
    transform: none;
  }
}

/*  STATS ICONS  */

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  animation: heroRise 0.4s ease both 0.16s;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(180, 77, 255, 0.08);
  border: 1px solid rgba(180, 77, 255, 0.35);
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.05em;
}

.hero-highlights li::before {
  content: "";
  color: var(--neon-yellow);
  font-size: 0.75rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0d3366 0%, #061836 100%);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.hero-image {
  max-width: 100%;
  max-height: 340px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

/* Orphan block removed — was missing selector, broke CSS parser */

.hero-image.is-switching {
  /* Dos fases: salida (0-180ms) → entrada (160-380ms) */
  /* Sobreescribe heroFloat mientras dura el cambio */
  animation:
    heroPhoneExit 0.18s ease-in forwards,
    heroPhoneEnter 0.22s ease-out 0.16s both;
}

.visual-card {
  width: min(90%, 300px);
  background: rgba(18, 16, 26, 0.95);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  animation: floatCard 3s ease-in-out infinite;
}

.visual-title {
  margin: 0 0 0.3rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--neon-yellow);
  text-transform: uppercase;
}

.visual-card p:not(.visual-title) {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/*  STATS STRIP  */
.stats-strip {
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.stat-card {
  background: var(--surface-2);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
}

.stat-card::before {
  display: none;
}

.stat-card:hover {
  background: var(--surface-2);
}

.stat-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-value {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--neon-yellow);
  letter-spacing: -0.02em;
}

.stat-label {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.04em;
}

/*  SECTIONS  */
.section {
  padding: 5rem 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(13, 36, 71, 0.85) 0%, rgba(18, 45, 92, 0.95) 100%);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.section-soft::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(182, 106, 255, 0.05) 0px,
      rgba(182, 106, 255, 0.05) 1px,
      transparent 1px,
      transparent 60px),
    linear-gradient(180deg, transparent 0%, rgba(0, 229, 255, 0.03) 100%);
  pointer-events: none;
}

/*  TTULOS CON GRADIENTE ANIMADO  */
.section-title {
  font-family: "Orbitron", sans-serif;
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--neon-yellow);
  position: relative;
  display: inline-block;
}

@keyframes titleShimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

.section-title::after {
  content: "";
  display: block;
  margin-top: 0.5rem;
  height: 3px;
  width: 70%;
  background: linear-gradient(90deg, var(--neon-yellow), var(--neon-purple), transparent);
  box-shadow: 0 0 12px rgba(245, 230, 66, 0.6);
  animation: borderDraw 1.5s ease-out both;
}

@keyframes borderDraw {
  0% {
    width: 0;
  }

  100% {
    width: 70%;
  }
}

.section-subtitle {
  margin: 0.5rem 0 1.8rem;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 200ch;
  line-height: 1.8;
}

/*  TARJETAS CON EFECTO 3D + GLOW  */
.cards-grid,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--border);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.shop-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.shop-card {
  background: var(--surface);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.card {
  background: linear-gradient(145deg, var(--surface) 0%, rgba(15, 31, 58, 0.8) 100%);
}

.card::before,
.shop-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover,
.shop-card:hover {
  background: var(--surface-2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.card:hover {
  border-color: var(--neon-cyan);
}

.card:hover::before,
.shop-card:hover::before {
  opacity: 1;
}

.card-link,
.shop-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-link:focus-visible,
.shop-card-link:focus-visible {
  outline: 3px solid var(--neon-yellow);
  outline-offset: 4px;
}

/* Imágenes de tarjetas */
.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
  background: #091f4a;
  margin-bottom: 0.5rem;
  transition: transform 0.4s ease;
}

/* Zoom suave en imagen de tienda al hover */
.shop-card:hover .card-image {
  transform: scale(1.06);
}

/* Stagger de entrada para cards (asignado vía JS) */
.card-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-stagger.in {
  opacity: 1;
  transform: none;
}

/* Icono de servicio con efecto giro al hover */
.card-service-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.card:hover .card-service-icon {
  transform: rotate(-8deg) scale(1.12);
  box-shadow: 0 0 20px rgba(180, 77, 255, 0.5);
}

/* Hero */
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0d3366 0%, #061836 100%);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.hero-image {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  animation: heroFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(180, 77, 255, 0.25));
}

@keyframes heroFloat {

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

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

/* Tiendas - imágenes más pequeñas */
.shop-grid .card-image {
  height: 140px;
  overflow: hidden;
}

/* Wrapper para el overflow del zoom en tiendas */
.shop-card {
  overflow: hidden;
}

/* Ping pulse en botón CTA */
.btn-light {
  background: var(--bg);
  color: var(--neon-yellow);
  border-color: var(--neon-yellow);
  position: relative;
}

.btn-light::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 2px solid var(--neon-yellow);
  opacity: 0;
  animation: ctaPing 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes ctaPing {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.card h3,
.shop-card h3 {
  margin: 0.5rem 0 0.3rem;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--neon-yellow);
}

.card-service-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card-service-icon img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

/*  RESERVA RÁPIDA HOME  */
.glass-card {
  background: rgba(15, 31, 58, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(180, 77, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .grid-form {
    grid-template-columns: 1fr;
  }
}

.card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.25rem;
}

.card p,
.shop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-tag {
  margin-top: 0.8rem;
  display: inline-block;
  font-family: "Share Tech Mono", monospace;
  font-size: 1rem;
  color: var(--neon-yellow);
  letter-spacing: 0.06em;
  text-shadow: 0 0 8px rgba(245, 230, 66, 0.4);
  border-left: 2px solid var(--neon-yellow);
  padding-left: 0.6rem;
}

.shop-card p+p {
  margin-top: 0.4rem;
}

/*  SERVICES HIGHLIGHT  */
.services-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(180, 77, 255, 0.1) 100%);
  border: 1px solid var(--neon-cyan);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 0 0 1.5rem;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.services-icon {
  font-size: 1.5rem;
}

.services-text {
  font-family: "Share Tech Mono", monospace;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.03em;
}

.services-text strong {
  color: var(--neon-cyan);
}

/*  BADGE  */
.badge {
  margin: 1.4rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--neon-yellow-dim);
  border: 1px solid var(--border-yellow);
  color: var(--neon-yellow);
  font-family: "Share Tech Mono", monospace;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 3px;
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
  box-shadow: 0 0 15px rgba(255, 240, 75, 0.2);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 240, 75, 0.2);
  }

  50% {
    box-shadow: 0 0 25px rgba(255, 240, 75, 0.4);
  }
}

/*  CTA STRIP  */
.cta-strip {
  background: linear-gradient(90deg, #091f4a 0%, #0c3975 50%, #091f4a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 100px;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.cta-content p {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/*  CONTACT FORM  */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  font: inherit;
  color: var(--text);
  border: 1px solid rgba(180, 77, 255, 0.3);
  border-radius: 2px;
  padding: 0.74rem 0.9rem;
  background: rgba(9, 31, 74, 0.85);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--neon-yellow);
  box-shadow: 0 0 0 2px rgba(245, 230, 66, 0.15), 0 0 20px rgba(245, 230, 66, 0.1);
  background: rgba(15, 31, 58, 0.95);
}

.form-message {
  margin: 0;
  min-height: 1.4rem;
  color: var(--neon-yellow);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  grid-column: 1 / -1;
}

/*  FOOTER  */
.site-footer {
  padding: 2rem 0;
  background: #091f4a;
  border-top: 1px solid var(--border);
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: auto 200px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--neon-yellow);
}

.site-footer p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Orphan block removed — was missing selector, broke CSS parser */

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-family: "Share Tech Mono", monospace;
  transition: color 0.2s, text-shadow 0.2s;
}

.footer-links a:hover {
  color: var(--neon-yellow);
  text-shadow: 0 0 8px rgba(245, 230, 66, 0.4);
}

/*  WHATSAPP FLOAT  */
.whatsapp-float {
  position: fixed !important;
  right: 18px;
  bottom: 18px;
  z-index: 10001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.45), 0 8px 20px rgba(0, 0, 0, 0.4);
  animation: whatsappFloat 2.6s ease-in-out infinite;
}

/* Duplicate .hero-image + floatAnim removed — consolidated in lines ~585-598 and ~913-934 */

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

.whatsapp-float span {
  display: none;
}

.whatsapp-float:hover {
  background: #25d366;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.7);
  transform: translateY(-3px) scale(1.05);
}

/*  REVEAL ANIMATION (opcional)  */
/* ── SCROLL REVEAL ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero ya está en pantalla → anima sin delay */
.hero.reveal {
  transition-duration: 0.4s;
}

/* Stagger para las secciones siguientes */
.stats-strip.reveal {
  transition-delay: 0.05s;
}

#servicios.reveal {
  transition-delay: 0.08s;
}

.section-soft.reveal {
  transition-delay: 0.08s;
}

.cta-strip.reveal {
  transition-delay: 0.08s;
}

/*  CUSTOM CURSOR  */
.cyber-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-yellow);
  box-shadow: 0 0 10px rgba(245, 230, 66, 0.8);
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/*  MOTION FLOAT  */
.motion-float {
  animation: cardFloat 4s ease-in-out infinite;
}

.motion-float:nth-child(even) {
  animation-duration: 4.8s;
}

/*  STORE / PRODUCT SPECIFIC  */
.store-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 1.2rem;
  align-items: start;
}

.store-sidebar {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.store-sidebar h3 {
  margin: 0.35rem 0 0.6rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.88rem;
  color: var(--neon-yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.45rem 0;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.product-gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem;
}

.product-main-image {
  width: 100%;
  height: 380px;
  object-fit: contain;
  background: #091f4a;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.product-thumbs {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.product-thumb {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.2rem;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.2s;
}

.product-thumb:hover {
  border-color: var(--neon-yellow);
}

.product-thumb img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  border-radius: 1px;
}

/* Reacondicionados */
.reacondicionados-grid .card-image {
  object-fit: contain;
  background: #091f4a;
  padding: 0.7rem;
}

.service-toggle {
  margin-top: 0.8rem;
}

.service-extra {
  margin-top: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface-2);
}

.service-extra p+p {
  margin-top: 0.45rem;
}

.tracking-result {
  margin-top: 1rem;
}

.store-item {
  cursor: pointer;
}

.store-item[data-type="accesorio"] .card-image {
  object-fit: contain;
  background: #091f4a;
  padding: 0.55rem;
}

.store-item .btn {
  margin-top: 0.8rem;
}

/*  GALLERY  */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.35s ease;
  animation: revealZoom 0.6s ease both;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}

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

.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--neon-yellow);
  box-shadow: 0 0 30px rgba(255, 240, 75, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) saturate(1.2);
}

.gallery-large {
  grid-row: span 2;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgba(6, 26, 51, 0.95) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: "Orbitron", sans-serif;
  font-size: 0.95rem;
  color: var(--neon-yellow);
  letter-spacing: 0.05em;
  text-shadow: var(--glow-yellow);
}

/*  PAGE MAIN  */
.page-main {
  padding: 0;
}

/*  IFRAME RESPONSIVE  */
.iframe-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  margin-top: 1rem;
}

.iframe-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 4px;
  margin-top: 1rem;
}

/*  TABLE RESPONSIVE  */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 300px;
}

@media (max-width: 760px) {
  table {
    font-size: 0.9rem;
  }

  .table-responsive {
    border: 1px solid var(--border);
    border-radius: 4px;
  }
}

/* 
   KEYFRAMES
    */

/* Aurora shift */
@keyframes auroraShift {

  0%,
  100% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }

  33% {
    background-position: 100% 0%, 0% 100%, 50% 20%;
  }

  66% {
    background-position: 0% 100%, 100% 0%, 80% 80%;
  }
}

/* Partculas float */
@keyframes particlesFloat {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(10px, -15px);
  }

  50% {
    transform: translate(-5px, -25px);
  }

  75% {
    transform: translate(15px, -10px);
  }

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

/* Scanline scroll */
@keyframes scanlineScroll {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100vh);
  }
}

/* Header line */
@keyframes headerLine {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* Bracket pulse */
@keyframes bracketPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* Background blob */
@keyframes blobPulse {

  0%,
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.1) translate(-15px, 15px);
    opacity: 1;
  }
}

/* Frame pulse */
@keyframes framePulse {

  0%,
  100% {
    box-shadow: var(--shadow), inset 0 0 60px rgba(180, 106, 255, 0.08);
    border-color: rgba(180, 106, 255, 0.4);
  }

  50% {
    box-shadow: var(--shadow), inset 0 0 80px rgba(180, 106, 255, 0.15), 0 0 40px rgba(0, 229, 255, 0.15);
    border-color: rgba(180, 106, 255, 0.7);
  }
}

/* Hero rise */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card float */
@keyframes floatCard {

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

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

@keyframes cardFloat {

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

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

/* Glitch A */
@keyframes glitchA {

  0%,
  94%,
  100% {
    opacity: 0;
    transform: translate(0);
    clip-path: inset(0 0 100% 0);
  }

  94.5% {
    opacity: 0.6;
    transform: translate(-2px, -1px);
    clip-path: inset(10% 0 55% 0);
  }

  96.8% {
    opacity: 0.5;
    transform: translate(2px, 1px);
    clip-path: inset(60% 0 15% 0);
  }
}

/* Glitch B */
@keyframes glitchB {

  0%,
  95%,
  100% {
    opacity: 0;
    transform: translate(0);
    clip-path: inset(0 0 100% 0);
  }

  95.5% {
    opacity: 0.55;
    transform: translate(2px, -1px);
    clip-path: inset(25% 0 40% 0);
  }

  97.5% {
    opacity: 0.45;
    transform: translate(-2px, 1px);
    clip-path: inset(70% 0 5% 0);
  }
}

/* CTA sweep */
@keyframes ctaSweep {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Glow pulse */
@keyframes glowPulse {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.3);
  }
}

/* WhatsApp float */
@keyframes whatsappFloat {

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

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

/* Phone switch — glitch salida */
@keyframes heroPhoneExit {
  0% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(180, 77, 255, 0.25));
  }

  20% {
    transform: scale(0.97) translate(-4px, 1px);
    filter:
      drop-shadow(-5px 0 rgba(0, 229, 255, 0.8)) drop-shadow(5px 0 rgba(255, 45, 120, 0.8)) brightness(1.4) saturate(1.6);
  }

  45% {
    transform: scale(0.93) translate(3px, -2px);
    filter:
      drop-shadow(4px 0 rgba(0, 229, 255, 0.9)) drop-shadow(-4px 0 rgba(255, 45, 120, 0.9)) brightness(1.8) hue-rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: scale(0.85) translate(0, 8px);
    filter: brightness(2.5) saturate(0);
  }
}

/* Phone switch — glitch entrada */
@keyframes heroPhoneEnter {
  0% {
    opacity: 0;
    transform: scale(0.87) translate(0, -8px);
    filter: brightness(2.5) saturate(0) hue-rotate(180deg);
  }

  35% {
    opacity: 0.7;
    transform: scale(1.03) translate(-3px, 2px);
    filter:
      drop-shadow(-6px 0 rgba(0, 229, 255, 0.7)) drop-shadow(6px 0 rgba(255, 45, 120, 0.7)) brightness(1.6) saturate(1.8) hue-rotate(-30deg);
  }

  65% {
    opacity: 0.9;
    transform: scale(0.98) translate(2px, -1px);
    filter:
      drop-shadow(3px 0 rgba(0, 229, 255, 0.5)) drop-shadow(-3px 0 rgba(255, 45, 120, 0.5)) brightness(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(180, 77, 255, 0.25));
  }
}

/* Glitch wrapper para el hero visual */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.1s;
}

.hero-visual.is-glitching::before {
  opacity: 1;
  animation: heroGlitchOverlay 0.38s steps(4) forwards;
}

@keyframes heroGlitchOverlay {

  0%,
  100% {
    background: transparent;
  }

  15% {
    background: rgba(0, 229, 255, 0.15);
    clip-path: inset(0 0 85% 0);
  }

  30% {
    background: rgba(255, 45, 120, 0.12);
    clip-path: inset(40% 0 30% 0);
  }

  50% {
    background: rgba(245, 230, 66, 0.18);
    clip-path: inset(70% 0 0 0);
  }

  70% {
    background: rgba(0, 229, 255, 0.10);
    clip-path: inset(20% 0 50% 0);
  }
}

/* Reveal zoom */
@keyframes revealZoom {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*  RESPONSIVE DESIGN  */

/* Large screens - 1400px and up */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  }

  .section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }

  .card-image {
    height: clamp(240px, 32vw, 320px);
  }

  .hero-visual {
    min-height: 450px;
  }
}

/* Tablets and small desktops - up to 1200px */
@media (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
}

/* Tablets - up to 980px */
@media (max-width: 980px) {

  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    background: none;
    border: none;
    gap: 1px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-layout {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    position: static;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-main-image {
    height: 300px;
  }
}

/* Large phones - up to 760px */
@media (max-width: 760px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-visual {
    min-height: 280px;
    padding: 20px;
  }

  .hero-image {
    max-height: 220px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    line-height: 1.2;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .card-image {
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item {
    height: 180px;
  }

  .gallery-large {
    grid-row: auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .btn-login {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(9, 31, 74, 0.98);
    border: none;
    border-bottom: 2px solid var(--border);
    border-radius: 0;
    padding: 1rem 1.5rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    z-index: 99;
  }

  .nav-auth-item {
    display: list-item;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    transition: background 0.2s;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: rgba(180, 77, 255, 0.15);
  }

  .cards-grid,
  .contact-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-card {
    padding: 1.2rem;
  }

  .stat-card+.stat-card {
    border-top: 1px solid var(--border);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .badge-item {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }

  .btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  input,
  select,
  textarea {
    padding: 0.8rem;
    font-size: 16px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}

/* Small phones - up to 480px */
@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  body {
    font-size: 0.95rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }

  .hero-visual {
    min-height: 220px;
    padding: 15px;
  }

  .hero-image {
    max-height: 180px;
  }

  .brand-logo {
    width: 140px;
  }

  .nav {
    min-height: 65px;
    gap: 0.5rem;
  }

  .cards-grid {
    gap: 0.75rem;
  }

  .card,
  .shop-card {
    padding: 1.2rem;
  }

  .card-image,
  .shop-grid .card-image {
    height: 160px;
  }

  .card h3,
  .shop-card h3 {
    font-size: 0.95rem;
  }

  .stat-value {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .services-highlight {
    flex-direction: column;
    text-align: center;
    padding: 0.8rem 1rem;
  }

  .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .product-main-image {
    height: 250px;
  }

  .product-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .product-thumb img {
    height: 60px;
  }

  .store-sidebar {
    padding: 0.8rem;
  }

  .filter-row {
    font-size: 0.85rem;
  }

  .gallery-item {
    height: 150px;
  }

  .site-footer p {
    font-size: 0.8rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .visual-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
  }
}

/* Very small phones - up to 360px */
@media (max-width: 360px) {
  .hero h1 {
    font-size: clamp(1.3rem, 9vw, 1.8rem);
  }

  .section-title {
    font-size: clamp(1.2rem, 8vw, 1.6rem);
  }

  .brand-logo {
    width: 120px;
  }

  .card,
  .shop-card {
    padding: 1rem;
  }

  .card-image,
  .shop-grid .card-image {
    height: 140px;
  }

  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero-actions .btn {
    padding: 0.8rem 1rem;
  }

  .badge-item {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 2rem 0;
  }

  .hero-visual {
    min-height: 180px;
  }

  .hero-image {
    max-height: 150px;
  }

  .nav-links {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

  .btn,
  .nav-links a,
  .card,
  .shop-card {
    min-height: 44px;
    min-width: 44px;
  }

  .btn:hover {
    transform: none;
  }

  .card:hover,
  .shop-card:hover {
    transform: none;
    box-shadow: none;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .brand-logo {
    image-rendering: -webkit-optimize-contrast;
  }
}

/*  REDUCED MOTION  */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Animaciones para edición visual */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Estilos para elementos editables visuales */
[data-editable-img] {
  transition: outline 0.3s ease;
}

[data-style] {
  transition: outline 0.3s ease;
}

.btn-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: transparent;
  border: 1px solid var(--neon-purple);
  border-radius: 6px;
  color: var(--neon-purple);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-dashboard:hover {
  background: rgba(180, 77, 255, 0.12);
  box-shadow: 0 0 16px rgba(180, 77, 255, 0.4);
}

/* ── CALCULADORA DE PRESUPUESTO ─────────────────── */
.calc-container {
  max-width: 900px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.calc-search {
  width: 100%;
  padding: 0.74rem 0.9rem;
  font: inherit;
  color: var(--text);
  border: 1px solid rgba(180, 77, 255, 0.3);
  border-radius: 2px;
  background: rgba(9, 31, 74, 0.85);
  margin-bottom: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-search:focus {
  outline: none;
  border-color: var(--neon-yellow);
  box-shadow: 0 0 0 2px rgba(245, 230, 66, 0.15);
}

.calc-select {
  width: 100%;
  padding: 0.74rem 0.9rem;
  font: inherit;
  color: var(--text);
  border: 1px solid rgba(180, 77, 255, 0.3);
  border-radius: 2px;
  background: rgba(9, 31, 74, 0.85);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.calc-select:focus {
  outline: none;
  border-color: var(--neon-yellow);
  box-shadow: 0 0 0 2px rgba(245, 230, 66, 0.15);
}

.calc-select option {
  background: var(--surface);
  color: var(--text);
}

.calc-select optgroup {
  font-weight: 700;
  color: var(--neon-cyan);
}

.calc-result {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
  animation: calcReveal 0.5s ease both;
  position: relative;
  overflow: hidden;
}

.calc-result::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-yellow), var(--neon-purple));
  box-shadow: 0 0 12px rgba(245, 230, 66, 0.5);
}

.calc-result-inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.calc-result-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  color: var(--neon-yellow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.calc-result-model {
  font-family: "Share Tech Mono", monospace;
  font-size: 1rem;
  color: var(--neon-cyan);
  letter-spacing: 0.04em;
}

.calc-result-issue {
  font-size: 0.95rem;
  color: var(--muted);
}

.calc-result-price {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--neon-yellow);
  text-shadow: 0 0 20px rgba(245, 230, 66, 0.4);
  letter-spacing: -0.02em;
}

.calc-result-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.calc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.calc-meta-label {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calc-meta-value {
  font-size: 0.95rem;
  color: var(--text);
}

.calc-reserve-btn {
  margin-top: 0.8rem;
  text-align: center;
}

@keyframes calcReveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── SEGUIMIENTO PÚBLICO ─────────────────────────── */
.tracking-container {
  max-width: 800px;
  margin: 0 auto;
}

.tracking-form {
  margin-top: 1.5rem;
}

.field-tracking {
  display: flex;
  gap: 0.8rem;
  align-items: flex-end;
}

.tracking-input {
  flex: 1;
  padding: 0.74rem 0.9rem;
  font: inherit;
  color: var(--text);
  border: 1px solid rgba(180, 77, 255, 0.3);
  border-radius: 2px;
  background: rgba(9, 31, 74, 0.85);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tracking-input:focus {
  outline: none;
  border-color: var(--neon-yellow);
  box-shadow: 0 0 0 2px rgba(245, 230, 66, 0.15);
}

.tracking-result {
  margin-top: 2rem;
  animation: trackingReveal 0.6s ease both;
}

@keyframes trackingReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tracking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tracking-header h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  margin: 0;
}

.tracking-order {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.9rem;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--neon-cyan);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
}

/* Stepper horizontal */
.stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 2rem 0;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.4s ease;
}

.stepper-step.active .stepper-circle {
  background: var(--neon-yellow);
  border-color: var(--neon-yellow);
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(245, 230, 66, 0.5);
}

.stepper-step.completed .stepper-circle {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: #0a0a0a;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.stepper-label {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
  transition: color 0.4s ease;
}

.stepper-step.active .stepper-label {
  color: var(--neon-yellow);
}

.stepper-step.completed .stepper-label {
  color: var(--neon-cyan);
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: 18px;
  transition: background 0.4s ease;
}

.stepper-line.completed {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

/* Tracking details */
.tracking-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.tracking-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tracking-detail-label {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tracking-detail-value {
  font-size: 1rem;
  color: var(--text);
}

.tracking-not-found {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 45, 120, 0.08);
  border: 1px solid rgba(255, 45, 120, 0.3);
  border-radius: 8px;
  text-align: center;
}

.tracking-not-found p {
  margin: 0.5rem 0;
  color: var(--muted);
}

.tracking-not-found .btn {
  margin-top: 0.8rem;
}

/* Responsive: stepper vertical en móvil */
@media (max-width: 760px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-result-meta {
    grid-template-columns: 1fr;
  }

  .field-tracking {
    flex-direction: column;
    align-items: stretch;
  }

  .stepper {
    flex-direction: column;
    gap: 0;
    padding: 1rem;
  }

  .stepper-step {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
  }

  .stepper-circle {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .stepper-label {
    text-align: left;
  }

  .stepper-line {
    width: 2px;
    height: 24px;
    margin-left: 17px;
    margin-top: 0;
  }

  .tracking-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .calc-result-price {
    font-size: 1.6rem;
  }

  .stepper-circle {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .stepper-label {
    font-size: 0.72rem;
  }
}

[data-icon] {
  transition: all 0.3s ease;
}

[data-effect] {
  transition: all 0.3s ease;
}

/* Resaltado de elementos editables */
[data-editable-img] {
  transition: outline 0.3s ease;
}

.user-dashboard {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.user-orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.order-card-mini {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.order-card-mini:hover {
  transform: translateX(5px);
  border-color: var(--neon-cyan);
}

.order-info-mini {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.order-code-mini {
  font-family: "Orbitron", sans-serif;
  color: var(--neon-cyan);
  font-size: 0.9rem;
}

.order-status-mini {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.order-date-mini {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .order-card-mini {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ══ LIVE ACTIVITY TOASTS ══════════════════════════════════ */
.activity-toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.activity-toast {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-left: 3px solid var(--neon-cyan);
  padding: 12px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
    toastOut 0.5s 4.5s ease forwards;
  transform: translateX(-120%);
}

@keyframes toastIn {
  to {
    transform: translateX(0);
  }
}

@keyframes toastOut {
  to {
    transform: translateX(-120%);
    opacity: 0;
  }
}

.toast-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.toast-content {
  font-size: 0.85rem;
  color: var(--text);
}

.toast-content b {
  color: var(--neon-cyan);
}

/* ══ CYBER DIAGNOSTIC TOOL ════════════════════════════════ */
.diagnostic-scanner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.scanner-header {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 229, 255, 0.05), transparent);
}

.scanner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 2rem;
}

.symptom-card {
  padding: 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.symptom-card:hover,
.symptom-card.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.symptom-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.scan-btn {
  width: 100%;
  padding: 1.5rem;
  background: var(--neon-cyan);
  color: #000;
  border: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s;
}

.scan-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.scan-btn:hover:not(:disabled) {
  background: #fff;
  box-shadow: 0 0 30px var(--neon-cyan);
}

.scanning-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 10, 0.95);
  display: none;
  /* OCULTO POR DEFECTO */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(5px);
}

.scanning-overlay.active {
  display: flex;
  /* SOLO SE MUESTRA CON ESTA CLASE */
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
  animation: scanAnim 2s linear infinite;
}

@keyframes scanAnim {
  0% {
    top: 0;
  }

  100% {
    top: 100%;
  }
}

.diag-results {
  padding: 2.5rem;
  text-align: center;
}

.diag-report {
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
  margin: 1.5rem 0;
  font-family: "Share Tech Mono", monospace;
}

/* ══ CYBER MARQUEE ════════════════════════════════════════ */
.cyber-marquee {
  width: 100%;
  background: var(--surface-2);
  border-bottom: 1px solid var(--neon-cyan);
  height: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1001;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.7rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  gap: 4rem;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--neon-pink);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--neon-pink);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ══ ADVANCED REVEAL EFFECTS (3D CYBER) ══════════════════ */
.reveal {
  opacity: 0;
  transform: perspective(1200px) rotateX(10deg) translateY(40px);
  transition: opacity 0.8s ease-out,
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: perspective(1200px) rotateX(0deg) translateY(0);
}

/* Staggered Children */
.cards-grid>*,
.shop-grid>*,
.stats-grid>* {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.active>* {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.reveal.active>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal.active>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal.active>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal.active>*:nth-child(4) {
  transition-delay: 0.4s;
}

/* 3D Card Hover */
.card,
.shop-card,
.glass-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.card:hover,
.shop-card:hover {
  transform: translateY(-10px) scale(1.02) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
  border-color: var(--neon-cyan);
}

/* Cyber Scanning Background */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, transparent 0%, rgba(0, 229, 255, 0.02) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: scanBG 10s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes scanBG {
  0% {
    background-position: 0% 200%;
  }

  100% {
    background-position: 0% -200%;
  }
}

/* Button Glitch Pulse */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}


/* Variación para elementos laterales */
.reveal-left {
  transform: translateX(-50px) skewX(-5deg);
}

.reveal-right {
  transform: translateX(50px) skewX(5deg);
}

.reveal-left.active,
.reveal-right.active {
  transform: translateX(0) skewX(0);
}

.glass-hover {
  transition: all 0.4s ease;
}

/* ══ SPLASH LOADING SCREEN ════════════════════════════════ */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #050508;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-logo {
  width: 120px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 15px var(--neon-cyan));
  animation: logoPulse 2s infinite ease-in-out;
}

.splash-loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.splash-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: width 0.4s ease;
}

.splash-text {
  margin-top: 1rem;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.8rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* ══ CUSTOM CURSOR GLOW ══════════════════════════════════ */
.cursor-glow {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  width: 90%;
  max-width: 450px;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.popup-overlay.active .popup-box {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-close:hover {
  color: var(--text);
}

.popup-icon {
  width: 64px;
  height: 64px;
  background: rgba(245, 230, 66, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.popup-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.popup-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.popup-code-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed var(--neon-yellow);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 2rem;
}

.popup-code-label {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.popup-code-value {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  color: var(--neon-yellow);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.popup-code-copy {
  background: rgba(245, 230, 66, 0.1);
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.popup-code-copy:hover {
  background: var(--neon-yellow);
  color: #000;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup-btn-primary {
  background: var(--neon-cyan);
  color: #000;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s;
}

.popup-btn-primary:hover {
  transform: scale(1.02);
}

.popup-btn-secondary {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.popup-btn-secondary:hover {
  color: var(--text);
}

/* --- PERFORMANCE OPTIMIZATIONS --- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(180, 77, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  mix-blend-mode: screen;
}

.card,
.hero-image,
.reveal,
.activity-toast {
  will-change: transform, opacity;
}
