/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --bg-base: #0a0a0b;
  --primary: #5c47f4;
  --secondary: #8879f3;
  --white: #ffffff;
  --off-white: #e5e4e4;
  --gray: #b2b2b2;
  --border: rgba(255, 255, 255, 0.13);
  --glass: rgba(255, 255, 255, 0.05);
  --shadow-purple: 0px 6px 25px rgba(136, 121, 243, 0.6);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background-color: var(--bg-base);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   UTILITY
   ============================================================ */
.max-w-1280 { max-width: 1280px; margin-inline: auto; }
.max-w-1080 { max-width: 1080px; margin-inline: auto; }
.text-center { text-align: center; }
.text-purple { color: var(--secondary); }

/* ============================================================
   TYPOGRAPHY   background: linear-gradient(90deg, rgba(229, 228, 228, 0.55) 25%, rgba(92, 71, 244, 0.55) 77%);

   ============================================================ */
.heading-xl {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -5px;
  color: var(--off-white);
}
.heading-xl--white { color: var(--white); }

.heading-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 400;
  letter-spacing: -3px;
  line-height: 1.1;
  color: var(--off-white);
}
.heading-lg--white { color: var(--white); }

.heading-md {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 3.5vw, 60px);
  font-weight: 400;
  letter-spacing: -3px;
  color: var(--white);
  line-height: normal;
}
.heading-md--bold {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--secondary);
}

.label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 14.4px;
  color: var(--secondary);
  text-transform: uppercase;
}

.body-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 35px;
  color: var(--off-white);
}
.body-text--gray { color: var(--gray); }
.body-text--white { color: var(--white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.48px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn--primary {
  /*background: white;*/
  color: rgb(255, 255, 255);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-purple);
}
.btn--white {
  background: var(--white);
  color: var(--bg-base);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 990px;
  padding: 20px 30px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-purple);
}

.btn--glow {
  position: relative;
  z-index: 0;
  border: none;
  isolation: isolate;
}

.btn--glow::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  z-index: -2;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  background: linear-gradient(
    45deg,
    #3b0764, #5c47f4, #a855f7, #c4b5fd, #8879f3, #7c3aed, #3b0764
  );
  background-size: 400%;
  filter: blur(8px);
  border-radius: inherit;
  animation: glowing 12s linear infinite;
}

.btn--glow::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
}

@keyframes glowing {
  0%   { background-position: 0% 0; }
  50%  { background-position: 400% 0; }
  100% { background-position: 0% 0; }
}

.btn--white-pill {
  background: var(--white);
  color: var(--bg-base);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-purple);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 16px;
  padding: 10px 20px;
  backdrop-filter: blur(10px);
}
.btn--lg { font-size: clamp(18px, 2vw, 24px); }
.btn__icon { width: 20px; height: 20px; object-fit: contain; color: #000; }
.icon { width: 20px; height: 20px;}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(75px);
  -webkit-backdrop-filter: blur(75px);
  border-radius: 20px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px;
}
.nav__inner {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin-inline: auto;
  padding: 20px;
  border-radius: 999px;
  overflow: hidden;
  gap: 20px;
}
/* Only this pill background fades in/out on scroll — logo and button stay put in front, always visible */
.nav__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  opacity: 0;
}
.nav__inner.is-visible::before {
  opacity: 1;
}
.nav__logo {
  position: relative;
  flex: 1 0 0;
  max-width: 200px;
  min-width: 80px;
  display: flex;
  align-items: center;
}
.nav__logo-img {
  transition: opacity 0.35s ease;
}
.nav__logo-img--default {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
}
/* Compact isologo swaps in once scrolled — same trigger as the pill background */
.nav__logo-img--scrolled {
  position: absolute;
  left: 0;
  height: 32px;
  width: auto;
  display: block;
  opacity: 0;
}
.nav__inner.is-visible .nav__logo-img--default { opacity: 0; }
.nav__inner.is-visible .nav__logo-img--scrolled { opacity: 1; }
.nav__app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 10px 20px;
  background: var(--bg-base);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__app-btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: 50px 20px;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
.section__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-inline: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1050px;
  overflow: hidden;
  padding: 100px 20px;
  background: linear-gradient(to bottom, #310062 0%, #0a0a0b 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  width: 100%;
  padding: 50px 20px 0px 20px;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 0%, #0a0a0b 100%);
  pointer-events: none;
}

/*highlight cards hero*/
.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  max-width: 1080px;
  margin-top: 10px;
}

.highlight-card {
  flex: 1 1 220px;
  min-width: 0;
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.highlight-card__text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: rgb(227, 223, 255);
}

@media (max-width: 600px) {
  .hero__highlights {
    flex-direction: column;
  }
  .highlight-card {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* --- Mesh gradient de fondo (optimizado: sin scale animado, blur reducido, 3 blobs) --- */
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  contain: layout paint style;
  isolation: isolate; /* evita que mix-blend-mode obligue a recomponer fuera del hero */
  pointer-events: none;
}

.hero__mesh-blob {
  position: absolute;
  width: 48vw;
  height: 48vw;
  max-width: 560px;
  max-height: 560px;
  min-width: 340px;
  min-height: 340px;
  border-radius: 50%;
  filter: blur(48px);
  mix-blend-mode: screen;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero__mesh-blob--1 {
  top: -10%;
  left: -5%;
  background: radial-gradient(circle at 30% 30%, #a855f7 0%, #6d28d9 55%, transparent 75%);
  animation: mesh-drift-1 10s ease-in-out infinite;
}

.hero__mesh-blob--2 {
  top: calc(50% - 240px);
  left: calc(50% - 240px);
  background: radial-gradient(circle at 60% 40%, #5c47f4 0%, #4c1d95 55%, transparent 75%);
  animation: mesh-drift-2 12s ease-in-out infinite;
}

.hero__mesh-blob--3 {
  bottom: -15%;
  left: 10%;
  background: radial-gradient(circle at 40% 60%, #7c3aed 0%, #3b0764 55%, transparent 75%);
  animation: mesh-drift-3 13s ease-in-out infinite;
}

.hero__mesh-blob--4 {
  bottom: 0%;
  right: 15%;
  background: radial-gradient(circle at 50% 50%, #9333ea 0%, #581c87 55%, transparent 75%);
  animation: mesh-drift-4 9s ease-in-out infinite;
}

/* Solo se anima "transform: translate" (barato para el compositor).
   La versión anterior también animaba "scale", lo que obligaba a recalcular
   el filtro blur en cada frame — esa combinación era la causa real de la lentitud. */
@keyframes mesh-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33%      { transform: translate3d(18%, 22%, 0); }
  66%      { transform: translate3d(-14%, 14%, 0); }
}

@keyframes mesh-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(36vw, -400px, 0); }
}

@keyframes mesh-drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33%      { transform: translate3d(16%, -18%, 0); }
  66%      { transform: translate3d(22%, 10%, 0); }
}

@keyframes mesh-drift-4 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33%      { transform: translate3d(-18%, -14%, 0); }
  66%      { transform: translate3d(14%, 18%, 0); }
}

@media (max-width: 640px) {
  .hero__mesh-blob {
    filter: blur(28px);
  }
}

/* --- Texto como "ventana" al fondo (Opción B) --- */
.hero__heading {
  isolation: isolate; /* crea contexto de blend propio, no afecta el resto del hero */
  position: relative;
  z-index: 2;
}

.hero__heading .grad-text {
  color: #fff;
  mix-blend-mode: difference;
}

.hero__heading .grad-text strong {
  font-weight: 800;
}

/* --- Accesibilidad --- */
@media (prefers-reduced-motion: reduce) {
  .hero__mesh-blob,
  .hero__cta,
  .hero__cta::before, /* sigue igual, ahora apaga "glowing" en vez de "border-spin" */
  .logos-track,
  .logos-track--reverse,
  .artists__track--left,
  .artists__track--right,
  .hero__highlights { 
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  width: 100%;
  padding: 50px 20px;
}

.hero__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(60px, 6.25vw, 90px);
  line-height: 100px;
  letter-spacing: -4.5px;
  text-align: center;
  width: 100%;
}
.hero__heading strong { font-weight: 700; }
.hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 35px;
  color: rgba(227, 223, 255, 0.8);
  max-width: 700px;
}

/* ---- Entrance: fade + rise, staggered heading → paragraph → button (< 1s total) ---- */
/* .hero__cta-wrap (not the button itself) carries the entrance, so its held "forwards"
   transform doesn't linger on the same element as :hover and block the lift-on-hover */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__heading,
.hero__sub,
.hero__cta-wrap {
  opacity: 0;
  animation-name: hero-fade-up;
  animation-duration: 0.45s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
.hero__heading   { animation-delay: 0s; }
.hero__sub       { animation-delay: 0.15s; }
.hero__cta-wrap  { animation-delay: 0.3s; }

/* ---- Button glow pulse — shadow only, no size change; starts once the entrance settles ---- */
@keyframes cta-glow-pulse {
  0%, 100% { box-shadow: 0px 6px 25px rgba(136, 121, 243, 0.6); }
  50%      { box-shadow: 0px 6px 38px rgba(136, 121, 243, 0.85); }
}
.hero__cta {
  animation: cta-glow-pulse 3.6s ease-in-out 0.75s infinite;
}

.hero__cta {
  position: relative;
  z-index: 0;
  border: none;
  isolation: isolate;
}

.hero__cta::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  z-index: -2;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  background: linear-gradient(
    45deg,
    #3b0764, #5c47f4, #a855f7, #c4b5fd, #8879f3, #7c3aed, #3b0764
  );
  background-size: 400%;
  filter: blur(8px);
  border-radius: inherit;
  animation: glowing 12s linear infinite;
}

.hero__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: inherit; /* toma el blanco de .btn--primary */
}

@keyframes glowing {
  0%   { background-position: 0% 0; }
  50%  { background-position: 400% 0; }
  100% { background-position: 0% 0; }
}

/* ============================================================
   SPLIT SECTION
   ============================================================ */
.section--split .section__inner {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 0;
}
.split__col {
  flex: 1 0 340px;
  min-width: 340px;
}
.split__col--text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 550px;
}
.split__col--img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 706px;
}
.platform-img { width: 100%; height: 100%; max-width: 680px; object-fit: contain; }

.section--gradient-blue {
  background: linear-gradient(180deg, var(--bg-base) 0%, #5c47f4 76%, #8879f3 100%);
}
.section--gradient-blue .split__col--text h2,
.section--gradient-blue .split__col--text p:not(.label) { color: var(--white); }

#tecnologia {
  padding-bottom: 0;
  overflow: visible;
}
#tecnologia .split__col--img {
  justify-content: flex-end;
  align-self: stretch;
  height: auto;
  overflow: visible;
}

/* ============================================================
   FLUJO DE CARGA
   ============================================================ */
.section--flujo {
  background: var(--secondary);
  padding-top: 100px;
  padding-bottom: 100px;
}
.flujo {
  gap: 50px;
}
.flujo__heading {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  width: 100%;
}
.flujo__title {
  flex: 1 1 340px;
  min-width: 300px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -2.5px;
  line-height: 1.1;
  color: var(--bg-base);
}
.flujo__title strong { font-weight: 700; }
.flujo__desc {
  flex: 1 1 340px;
  min-width: 300px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 35px;
  color: var(--bg-base);
}

.flujo__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.flujo__row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}
.flujo__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 0 340px;
  max-width: 400px;
}

.flujo-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(75px);
  -webkit-backdrop-filter: blur(75px);
  border-radius: 20px;
  width: 100%;
}
.flujo-card__icon { width: 50px; height: 50px; object-fit: contain; }
.flujo-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-base);
}
.flujo-card__text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 25px;
  color: var(--bg-base);
}

.flujo-shot {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
.flujo-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flujo-shot--wide {
  width: 100%;
}
/* Each wide shot holds a different image with its own native ratio — set per row so neither collapses to 0 height (mobile) or gets needlessly cropped */
.flujo__row:nth-child(1) .flujo-shot--wide { aspect-ratio: 1546 / 936; }
.flujo__row:nth-child(2) .flujo-shot--wide { aspect-ratio: 1080 / 900; }

/* ============================================================
   LOGOS — INFINITE SCROLL
   ============================================================ */
.section--logos {
  background: var(--bg-base);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.logos-track-wrapper {
  overflow: hidden;
  padding: 10px 0;
}
.logos-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}
.logos-track--reverse {
  animation: scroll-right 30s linear infinite;
}
.logos-track img {
  height: 75px;
  width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ============================================================
   COMMUNITY / STATS
   ============================================================ */
.section--community {
  background: radial-gradient(ellipse at 5% 5%, rgba(212, 0, 255, 0.2) 0%, rgba(92, 71, 244, 0.2) 100%),
              radial-gradient(ellipse at 55% 100%, rgba(92, 71, 244, 1) 0%, rgba(51, 41, 128, 0.5) 50%, var(--bg-base) 100%);
}
.section--community .section__inner {
  align-items: center;
}
.community__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0px;
  justify-content: center;
  max-width: 1080px;
  margin-inline: auto;
  padding: 0px;
}
.community__globe { flex-shrink: 0; }
.community__globe img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  filter: drop-shadow(0 0 60px var(--secondary));
}
.community__heading h2 {
  flex: 1 0 344px;
  min-width: 344px;
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.stats__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1080px;
  margin-inline: auto;
  width: 100%;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(75px);
  -webkit-backdrop-filter: blur(75px);
  flex: 1 0 360px;
  max-width: 400px;
}
.stat-card--wide { flex: 1 0 360px; max-width: 520px; }
.stat-card__icon { width: 80px; height: 80px; object-fit: cover; flex-shrink: 0; }
.stat-card__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: -2.5px;
  color: var(--white);
  line-height: 1;
}
.stat-card__number--sm {
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -1.5px;
}
.stat-card__label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--white);
  line-height: 1.4;
}
.stat-card__label strong { font-weight: 700; }
.stat-card__label small { font-size: 11px; color: var(--gray); }

.community__cta-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: var(--white);
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.divider { width: 100%; max-width: 1080px; margin-inline: auto; height: 2px; overflow: hidden; }
.divider img { width: 100%; height: 2px; display: block; object-fit: fill; }

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  max-width: 1080px;
  margin-inline: auto;
  width: 100%;
}
.testimonials__heading {
  flex: 1 0 30px;
  min-width: 300px;
}
.testimonials__carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  width: 530px;
  max-width: 100%;
}
.video-stack {
  position: relative;
  height: 412px;
  width: 100%;
  overflow-x: hidden;
}
.video-card {
  position: absolute;
  height: 412px;
  width: 250px;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 145%;
  height: 145%;
  transform: translate(-50%, -50%);
  border: none;
  display: block;
}
.video-card--left {
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(10px);
  opacity: 0.6;
}
.video-card--right {
  left: 265px;
  top: -0.5px;
  filter: blur(10px);
  opacity: 0.6;
}
.video-card--main {
  left: 140px;
  top: 0;
  filter: none;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(92, 71, 244, 0.4);
}
.carousel-btns { display: flex; gap: 10px; }
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(75px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.carousel-btn:hover { opacity: 0.7; }
.carousel-btn__icon { width: 10px; height: 10px; object-fit: contain; }
.carousel-btn__icon--flip { transform: rotate(180deg); }

/* ============================================================
   CASOS DE ÉXITO
   ============================================================ */
.section--success {
  background:
    radial-gradient(ellipse at 4% 5%, rgba(255,255,255,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 110%, rgba(212,0,255,1) 0%, rgba(111,5,133,1) 30%, rgba(61,8,72,1) 55%, var(--bg-base) 80%);
}
.success__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.success-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 0 300px;
  max-width: 320px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s ease;
}
.success-card:hover { transform: translateY(-4px); }
.success-card__img-wrap {
  height: 246px;
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: -40px;
  position: relative;
  flex-shrink: 0;
}
.success-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.success-card__info {
  width: 320px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.success-card__link {
  position: absolute;
  top: 20px;
  right: 20px;
}
.success-card__link img { width: 15px; height: 15px; }
.success-card__info h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.48px;
  color: var(--white);
  white-space: nowrap;
}
.success-card__info p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 25px;
  color: var(--gray);
  text-align: center;
}

/* ============================================================
   OVERLAY — CASOS DE ÉXITO
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 300;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.overlay__scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}
.overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
  max-width: 1280px;
  height: max-content;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.overlay.is-open .overlay__inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(75px);
  -webkit-backdrop-filter: blur(75px);
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.overlay__close:hover { opacity: 0.8; transform: rotate(90deg); }
.overlay__close svg { width: 20px; height: 20px; }

.overlay__row {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.overlay__media {
  flex-shrink: 0;
  width: 500px;
  height: 351px;
  border-radius: 20px;
  overflow: hidden;
}
.overlay__media img,
.overlay__media iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: none; }
.overlay__media--wide { width: 700px; height: 386px; }

.overlay__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1 0 0;
  min-width: 0;
}
.overlay__content--wide { gap: 20px; }
.overlay__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--secondary);
}
.overlay__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.6px;
  color: var(--white);
}
.overlay__text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 35px;
  color: var(--white);
}

/* ============================================================
   ARTISTAS
   ============================================================ */
.section--artists {
  background: var(--bg-base);
  padding: 50px 0;
  overflow: hidden;
}

.artists__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 50px;
}

.artists__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -3px;
  color: var(--white);
}

.artists__logo { height: 27px; width: auto; }

.artists__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.artists__row-wrap {
  overflow: hidden;
  width: 100%;
}

.artists__track {
  display: flex;
  gap: 10px;
  width: max-content;
}

.artists__track--left {
  animation: scroll-left 45s linear infinite;
}

.artists__track--right {
  animation: scroll-right 45s linear infinite;
}

.artist-card {
  flex-shrink: 0;
  width: 208px;
  height: 312px;
  position: relative;
}

.artist-card__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.artist-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.artist-card__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-base) 95%);
  border-radius: inherit;
  pointer-events: none;
}

.artist-card__text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.artist-card__genre {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--secondary);
  letter-spacing: -0.8px;
}

.artist-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.8px;
}

/* ============================================================
   PLAYLISTS
   ============================================================ */
.section--playlists {
  background: radial-gradient(ellipse 57% 385px at 50% 100%,
    rgba(92,71,244,1)   0%,
    rgba(114,96,243,1)  16.5%,
    rgba(136,121,243,1) 33%,
    rgba(104,93,185,1)  49.8%,
    rgba(73,65,127,1)   66.5%,
    rgba(57,52,98,1)    74.9%,
    rgba(41,38,69,1)    83.3%,
    rgba(26,24,40,1)    91.6%,
    rgba(18,17,25,1)    95.8%,
    rgba(10,10,11,1)    100%
  );
}

.section--playlists .section__inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.playlists__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.playlists__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--white);
}

.playlists__icon {
  width: 50px;
  height: 46px;
  object-fit: contain;
}

.playlists__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.playlists__row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.playlists__item {
  flex: 1;
  min-width: 0;
}
@media (max-width: 600px) {
  .playlists__row {
    flex-direction: column;
  }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.section--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 50px 20px;
  text-align: center;
  max-width: 1080px;
  margin-inline: auto;
  width: 100%;
}
.cta-box__anim img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}
.cta-box__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 300;
  letter-spacing: -1px;
  color: var(--white);
}

/* ============================================================
   LEGAL PAGES (Privacidad, Términos)
   ============================================================ */
.section--legal {
  padding-top: 160px;
  min-height: 70vh;
}
.legal {
  align-items: flex-start;
  gap: 30px;
  text-align: left;
}
.legal__back {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray);
  transition: color 0.2s;
}
.legal__back:hover { color: var(--white); }
.legal__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal__header .heading-lg { text-align: left; }
.legal__updated {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray);
}
.legal__intro {
  max-width: 760px;
  text-align: left;
}
.legal__section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.legal__section .body-text { max-width: 760px; text-align: left; }
.legal__section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
}
.legal__section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--secondary);
  margin-top: 6px;
}
.legal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  padding-left: 22px;
  list-style: disc;
}
.legal__list li {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
}
.legal__list li strong { color: var(--off-white); }
.legal__section a,
.legal__intro a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__section a:hover,
.legal__intro a:hover { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0;
  overflow: hidden;
}

.footer__logo-wrap {
  width: 100%;
  aspect-ratio: 1241 / 177;
  position: relative;
}

.footer__logo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.footer__cont {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  max-width: 1080px;
  width: 100%;
  padding: 50px 20px;
}

.footer__socials {
  display: flex;
  gap: 30px;
  align-items: center;
}

.footer__socials a { display: flex; align-items: center; justify-content: center; }

.footer__socials img {
  height: 25px;
  width: 25px;
}
.footer__socials .ytradio img {
 height: 25px;
 width: 35px;
}

.footer__contact-btn {
  background: var(--white);
  color: var(--bg-base);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  padding: 10px 20px;
  border-radius: 20px;
}

.footer__links {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  max-width: 1080px;
  width: 100%;
  padding: 0 20px;
}

.footer__links a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: var(--gray);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--white); }

.footer__copy {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: var(--gray);
  padding-top: 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .section--split .section__inner {
    flex-direction: column;
  }
  .split__col { min-width: 100%; max-width: 100%; }
  .split__col--img { height: auto; }
  #tecnologia .split__col--text { order: -1; }
  .flujo__row { flex-direction: column; }
  .flujo__cards { flex: none; max-width: 100%; width: 100%; }
  .flujo-shot { flex: none; width: 100%; }
  .testimonials { flex-direction: column; }
  .testimonials__carousel { width: 100%; }
  .video-stack { height: 300px; }
  .video-card { height: 300px; width: 180px; }
  .video-card--right { left: 195px; }
  .video-card--main { left: 100px; }
  .overlay__scroll { padding: 70px 20px 40px; }
  .overlay__row { flex-direction: column; gap: 20px; }
  .overlay__media { width: 100%; height: auto; aspect-ratio: 500 / 351; }
  .overlay__media--wide { width: 100%; height: auto; aspect-ratio: 700 / 386; }
}

@media (max-width: 600px) {
  .hero__heading { letter-spacing: -2px; line-height: 1.1; }
  .flujo__title { letter-spacing: -1.2px; }
  .stat-card { flex: 1 0 100%; max-width: 100%; }
  .success-card { max-width: 100%; width: 100%; }
  .success-card__img-wrap { width: 100%; }
  .success-card__info { width: 100%; }
  .section--cta { padding: 30px 20px; }
  .footer__cont { flex-direction: column; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__blob--1,
  .hero__blob--2,
  .hero__blob--3,
  .hero__blob-wrap--2,
  .hero__orbs,
  .hero__orbs::before,
  .hero__orbs::after,
  .hero__cta,
  .logos-track,
  .logos-track--reverse,
  .artists__track--left,
  .artists__track--right {
    animation: none !important;
  }
  .hero__blobs { transition: none !important; }
  .hero__heading,
  .hero__sub,
  .hero__cta-wrap {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
