/* ==========================================================================
   KORAI STUDIO — CUXIAL-INSPIRED ULTRA PREMIUM DESIGN SYSTEM
   Inspirado en la arquitectura visual de cuxial.com con la identidad de KORAI STUDIO.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=JetBrains+Mono:wght@400;500;600;700&family=Orbitron:wght@600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --cx-bg: #06060b;
  --cx-surface: #0a0a10;
  --cx-card: rgba(10, 10, 16, 0.72);
  --cx-card-hover: rgba(16, 16, 26, 0.85);
  --cx-red: #ff2a3b;
  --cx-red-hover: #ff4757;
  --cx-red-glow: rgba(255, 42, 59, 0.4);
  --cx-text: #f5f5f7;
  --cx-muted: rgba(255, 255, 255, 0.45);
  --cx-dim: rgba(255, 255, 255, 0.25);
  --cx-border: rgba(255, 255, 255, 0.12);
  --cx-border-dashed: rgba(255, 255, 255, 0.08);
  
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Barlow Condensed', 'Orbitron', Impact, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--cx-bg);
}

body {
  color: var(--cx-text);
  background: var(--cx-bg);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

button, input {
  font: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}

::selection {
  background: var(--cx-red);
  color: #fff;
}

/* ==========================================================================
   AMBIENT VIDEO & SCANLINE EFFECTS
   ========================================================================== */
.video-bg-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.28;
  filter: contrast(1.2) brightness(0.65) saturate(1.2);
}
.video-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 20%, rgba(255, 42, 59, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 6, 11, 0.6) 0%, rgba(6, 6, 11, 0.85) 50%, var(--cx-bg) 100%);
  pointer-events: none;
}
.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  opacity: 0.15;
}

/* ==========================================================================
   CUXIAL SIGNATURE FLOATING PILL NAVBAR
   ========================================================================== */
.cx-nav-fixed {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cx-nav-pill {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  background: rgba(6, 6, 11, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 3px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  padding: 0 4px;
}
.cx-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 100%;
  flex-shrink: 0;
}
.cx-brand-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 42, 59, 0.5));
  transition: transform 0.3s ease;
}
.cx-nav-brand:hover .cx-brand-logo {
  transform: scale(1.12);
}
.cx-brand-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
}
.cx-brand-accent {
  color: var(--cx-red);
}
.cx-brand-dot {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 4px;
  font-size: 11px;
}
.cx-brand-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.cx-divider {
  height: 20px;
  border-left: 1px dashed var(--cx-border-dashed);
}

.cx-nav-menu {
  display: flex;
  align-items: center;
  height: 100%;
}
.cx-nav-item {
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cx-muted);
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.cx-nav-item:hover, .cx-nav-item.active {
  color: #fff;
}
.cx-nav-item.active {
  color: var(--cx-red);
}

.cx-nav-actions {
  display: flex;
  align-items: center;
  height: 100%;
}
.cx-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 48px;
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cx-muted);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.cx-nav-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.cx-nav-btn svg {
  stroke: currentColor;
}
.cart-badge {
  background: var(--cx-red);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  margin-left: 4px;
  box-shadow: 0 0 10px var(--cx-red-glow);
}
.cx-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.cx-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 3px 0;
}

/* ==========================================================================
   MAIN LAYOUT WRAPPER
   ========================================================================== */
.site-main {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   CUXIAL STYLE HERO SECTION
   ========================================================================== */
.hero-cuxial {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 42, 59, 0.08);
  border: 1px solid rgba(255, 42, 59, 0.35);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cx-red);
}
.pulse-red {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cx-red);
  box-shadow: 0 0 12px var(--cx-red);
  animation: pulseAnim 2s infinite ease-in-out;
}
@keyframes pulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.65); opacity: 0.4; }
}

.hero-brand-title {
  font-family: var(--font-display);
  font-size: clamp(68px, 8vw, 110px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.title-chrome {
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}
.title-red {
  color: var(--cx-red);
  text-shadow: 0 0 35px var(--cx-red-glow);
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.8vw, 18px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 22px;
}

.hero-sep-line {
  display: block;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--cx-muted);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-cuxial-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cx-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(255, 42, 59, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-cuxial-primary:hover {
  background: var(--cx-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 42, 59, 0.5);
}

.btn-cuxial-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 3px;
  transition: all 0.2s ease;
}
.btn-cuxial-secondary:hover {
  background: #5865f2;
  border-color: #5865f2;
  outline-color: rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.35);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.hero-stat-lbl {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cx-dim);
  margin-top: 4px;
}

/* Hero Right Featured Banner Frame */
.hero-visual-cuxial {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 59, 0.4);
  outline: 1px dashed rgba(255, 42, 59, 0.25);
  outline-offset: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 42, 59, 0.2);
  transition: transform 0.4s ease, border-color 0.4s ease;
  background: #000;
}
.hero-visual-cuxial:hover {
  transform: translateY(-5px);
  border-color: var(--cx-red);
}
.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-visual-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 6, 11, 0.85);
  border: 1px solid rgba(255, 42, 59, 0.5);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--cx-red);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   STORY / SECTION HEADINGS
   ========================================================================== */
.story-chapter {
  padding: 85px 0 40px;
  scroll-margin-top: 70px;
}
.story-header {
  margin-bottom: 34px;
}
.story-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cx-red);
  margin-bottom: 10px;
}
.story-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 64px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.story-title em {
  color: var(--cx-red);
  font-style: italic;
}
.story-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--cx-muted);
  max-width: 600px;
}

/* ==========================================================================
   CUXIAL TOOLBAR & FILTERS
   ========================================================================== */
.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cuxial-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cuxial-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 2px;
  border-radius: 6px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cx-muted);
  transition: all 0.2s ease;
}
.cuxial-filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.cuxial-filter-btn.active {
  background: var(--cx-red);
  border-color: var(--cx-red);
  outline-color: rgba(255, 42, 59, 0.4);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 42, 59, 0.3);
}

.cuxial-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 2px;
  border-radius: 6px;
  padding: 0 16px;
  height: 42px;
  min-width: 260px;
}
.cuxial-search svg {
  stroke: var(--cx-muted);
  flex-shrink: 0;
}
.cuxial-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  width: 100%;
}
.cuxial-search input::placeholder {
  color: var(--cx-dim);
}

/* ==========================================================================
   MODULE BANNERS (WITH OFFICIAL ARTWORK)
   ========================================================================== */
.category-modules-container {
  display: flex;
  flex-direction: column;
  gap: 65px;
}
.category-module {
  scroll-margin-top: 100px;
}
.module-banner-cuxial {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 10, 16, 0.85);
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 3px;
  padding: 28px 34px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.module-banner-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.module-banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.35;
  filter: contrast(1.15) brightness(0.65);
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.category-module:hover .module-banner-bg-img {
  transform: scale(1.03);
  opacity: 0.48;
}
.module-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #06060b 0%, rgba(6, 6, 11, 0.85) 45%, rgba(6, 6, 11, 0.5) 100%);
}
.module-content-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.module-code-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cx-red);
  text-transform: uppercase;
}
.module-headline {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0;
}
.module-desc-text {
  font-size: 13px;
  color: var(--cx-muted);
  max-width: 580px;
}
.module-content-right {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.module-stock-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cx-border);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

/* ==========================================================================
   CUXIAL SIGNATURE PRODUCT CARDS (THE MASTER CARD ARCHITECTURE)
   ========================================================================== */
.product-grid-cuxial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cuxial-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  outline: 1px dashed rgba(255, 255, 255, 0.1);
  outline-offset: 3px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, outline-color 0.25s ease;
  will-change: transform;
}
.cuxial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 42, 59, 0.6);
  outline-color: rgba(255, 42, 59, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 42, 59, 0.15);
}

.cuxial-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.cuxial-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.9) contrast(1.05);
}
.cuxial-card:hover .cuxial-card-img {
  transform: scale(1.06);
  filter: brightness(1) contrast(1.1);
}
.cuxial-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 6, 11, 0.8) 100%);
  pointer-events: none;
}
.cuxial-card-logo-watermark {
  position: absolute;
  bottom: 10px;
  right: 12px;
  height: 22px;
  width: auto;
  opacity: 0.8;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
  pointer-events: none;
}

.cuxial-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cuxial-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.tag-studio {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cx-red);
  border: 1px solid rgba(255, 42, 59, 0.35);
  background: rgba(255, 42, 59, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}
.tag-category {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 8px;
  border-radius: 4px;
}

.cuxial-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #fff;
  transition: color 0.2s;
}
.cuxial-card:hover .cuxial-card-title {
  color: #fff;
}
.cuxial-card-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--cx-muted);
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.cuxial-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cuxial-card-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--cx-red);
  letter-spacing: 0.5px;
}
.btn-cuxial-add {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cx-border);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  transition: all 0.2s ease;
}
.btn-cuxial-add:hover {
  background: var(--cx-red);
  border-color: var(--cx-red);
  box-shadow: 0 4px 15px rgba(255, 42, 59, 0.35);
}

/* ==========================================================================
   CUXIAL "STACK TECNOLÓGICO" SECTION
   ========================================================================== */
.stack-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.tech-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tech-chip {
  background: rgba(10, 10, 16, 0.75);
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 3px;
  border-radius: 8px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}
.tech-chip:hover {
  border-color: var(--cx-red);
  outline-color: rgba(255, 42, 59, 0.3);
  transform: translateY(-2px);
  color: var(--cx-red);
}
.tech-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cx-red);
  box-shadow: 0 0 8px var(--cx-red);
}

/* ==========================================================================
   CUXIAL "POR QUÉ KORAI" (WHY SECTION & STATS)
   ========================================================================== */
.why-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.why-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.why-stat-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 3px;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.why-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 42, 59, 0.5);
}
.why-stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-style: italic;
  font-weight: 900;
  color: var(--cx-red);
  line-height: 1;
  margin-bottom: 6px;
}
.why-stat-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cx-muted);
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-feature-box {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 3px;
  border-radius: 10px;
  padding: 26px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.why-feature-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 42, 59, 0.45);
}
.why-feature-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.why-feature-big {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
  color: #fff;
}
.why-feature-small {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cx-red);
}
.why-feature-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cx-muted);
}

/* ==========================================================================
   CUXIAL "COMUNIDAD & GARAGE" SECTION (WITH ROBOT MASCOT)
   ========================================================================== */
.community-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.community-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  background: radial-gradient(ellipse at 85% 50%, rgba(255, 42, 59, 0.12) 0%, rgba(10, 10, 16, 0.95) 60%, rgba(6, 6, 11, 0.98) 100%);
  border: 1px solid rgba(255, 42, 59, 0.35);
  outline: 1px dashed rgba(255, 42, 59, 0.2);
  outline-offset: 4px;
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
.community-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}
.community-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cx-border);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mascot-frame-cuxial {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 59, 0.45);
  outline: 1px dashed rgba(255, 42, 59, 0.25);
  outline-offset: 3px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.8), 0 0 35px var(--cx-red-glow);
  background: #000;
  transition: transform 0.3s ease;
}
.mascot-frame-cuxial:hover {
  transform: translateY(-4px);
}
.mascot-frame-cuxial img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.mascot-badge-cuxial {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(6, 6, 11, 0.85);
  border: 1px solid rgba(255, 42, 59, 0.4);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   CUXIAL FOOTER
   ========================================================================== */
.cx-footer {
  position: relative;
  padding: 70px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #040407;
  z-index: 2;
}
.cx-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 35px;
}
.cx-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cx-footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 42, 59, 0.4));
}
.cx-footer-copy {
  display: flex;
  flex-direction: column;
}
.cx-footer-copy strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
}
.cx-footer-copy span {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cx-muted);
}

.cx-footer-nav {
  display: flex;
  gap: 24px;
}
.cx-footer-nav a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cx-muted);
  transition: color 0.2s;
}
.cx-footer-nav a:hover {
  color: #fff;
}

.cx-trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.cx-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cx-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.cx-trust-item svg {
  color: var(--cx-red);
}

.cx-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: var(--cx-dim);
  flex-wrap: wrap;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #22c55e;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s infinite ease-in-out;
}

/* ==========================================================================
   CART DRAWER & MODAL
   ========================================================================== */
.drawer-backdrop, .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 120;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: #09090f;
  border-left: 1px solid var(--cx-border);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8);
  z-index: 130;
  transform: translateX(102%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 900;
  margin: 0;
}
.drawer-header h2 span {
  color: var(--cx-red);
}
.close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cx-border);
  border-radius: 6px;
  color: #fff;
  width: 36px;
  height: 36px;
  font-size: 22px;
  display: grid;
  place-items: center;
}
.cart-items {
  padding: 20px 24px;
  flex: 1;
  overflow-y: auto;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  color: var(--cx-muted);
  gap: 12px;
}
.cart-empty-logo {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 0 16px var(--cx-red-glow));
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cart-item-symbol {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--cx-border);
  background: #000;
  flex-shrink: 0;
}
.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-name {
  flex: 1;
  font-weight: 700;
  font-size: 13px;
}
.cart-item-name span {
  display: block;
  font-size: 11px;
  color: var(--cx-muted);
  margin-top: 4px;
}
.cart-remove {
  color: var(--cx-muted);
  font-size: 20px;
  padding: 6px;
}
.cart-remove:hover {
  color: var(--cx-red);
}
.cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.4);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.cart-total strong {
  font-size: 28px;
  font-weight: 900;
  color: var(--cx-red);
}
.checkout-button {
  width: 100%;
  justify-content: center;
}
.cart-footer p {
  text-align: center;
  color: var(--cx-dim);
  font-size: 11px;
  margin-top: 12px;
}

.dialog {
  position: relative;
  width: min(480px, 92vw);
  background: #09090f;
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 4px;
  border-radius: 12px;
  padding: 36px 32px;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.dialog-logo-wrap {
  margin-bottom: 16px;
}
.dialog-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 16px var(--cx-red-glow));
}
.dialog h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
  font-weight: 900;
  margin: 12px 0 10px;
}
.dialog p {
  color: var(--cx-muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.modal-backdrop {
  display: grid;
  place-items: center;
}

.lock-scroll {
  overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media(max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .product-grid-cuxial {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack-grid,
  .community-card {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 768px) {
  .cx-nav-menu,
  .cx-divider:nth-child(2) {
    display: none;
  }
  .cx-mobile-toggle {
    display: flex;
  }
  .product-grid-cuxial {
    grid-template-columns: 1fr;
  }
  .why-features-grid {
    grid-template-columns: 1fr;
  }
  .community-card {
    padding: 30px 20px;
  }
  .hero-brand-title {
    font-size: clamp(54px, 14vw, 76px);
  }
  .cx-footer-top,
  .cx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   CUSTOM CYBERPUNK CURSOR
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  body, a, button, input, select, textarea, [role="button"], .cuxial-card, .cuxial-filter-btn {
    cursor: none !important;
  }
  .cx-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--cx-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--cx-red), 0 0 20px var(--cx-red);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  }
  .cx-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255, 42, 59, 0.65);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.2s ease, 
                background 0.2s ease;
    box-shadow: 0 0 12px rgba(255, 42, 59, 0.2);
  }
  .cx-cursor-ring.active-hover {
    width: 50px;
    height: 50px;
    border-color: rgba(255, 42, 59, 0.95);
    background: rgba(255, 42, 59, 0.08);
    box-shadow: 0 0 22px rgba(255, 42, 59, 0.45);
  }
  .cx-cursor-ring.active-click {
    transform: translate(-50%, -50%) scale(0.7);
    background: rgba(255, 42, 59, 0.25);
  }
}

@media (hover: none) or (pointer: coarse) {
  .cx-cursor-dot, .cx-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   FLOATING AUDIO EXPERIENCE WIDGET
   ========================================================================== */
.audio-player-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
}
.audio-toggle-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(6, 6, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--cx-border);
  outline: 1px dashed var(--cx-border-dashed);
  outline-offset: 3px;
  border-radius: 30px;
  padding: 8px 18px 8px 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  transition: all 0.25s ease;
}
.audio-toggle-btn:hover {
  border-color: rgba(255, 42, 59, 0.65);
  outline-color: rgba(255, 42, 59, 0.35);
  box-shadow: 0 10px 35px rgba(255, 42, 59, 0.3);
  transform: translateY(-2px);
}
.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  width: 18px;
}
.equalizer-bars .bar {
  width: 2.5px;
  background: var(--cx-red);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}
.equalizer-bars.playing .bar-1 { animation: eqAnim1 0.7s infinite alternate ease-in-out; }
.equalizer-bars.playing .bar-2 { animation: eqAnim2 0.5s infinite alternate ease-in-out; }
.equalizer-bars.playing .bar-3 { animation: eqAnim3 0.8s infinite alternate ease-in-out; }
.equalizer-bars.playing .bar-4 { animation: eqAnim4 0.6s infinite alternate ease-in-out; }

@keyframes eqAnim1 { 0% { height: 4px; } 100% { height: 16px; } }
@keyframes eqAnim2 { 0% { height: 6px; } 100% { height: 18px; } }
@keyframes eqAnim3 { 0% { height: 3px; } 100% { height: 14px; } }
@keyframes eqAnim4 { 0% { height: 5px; } 100% { height: 17px; } }

.audio-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.audio-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1.1;
}
.audio-status {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cx-red);
}

@media(max-width: 580px) {
  .audio-player-widget {
    bottom: 16px;
    left: 16px;
  }
}

