/* Ocultar elementos viejos si todavía quedan en el DOM/CSS */
#canvas {
  display: none !important;
}

.video-progress {
  display: none !important;
}

.hero-overlay {
  display: none !important;
}

/* ── COLOR OVERRIDES ── */
:root {
  --accent: #00e5ff;
  /* Global accent cambia a cian */
}

body {
  background: #05050B !important;
}

/* Hero text específico a Violeta vibrante */
.hero-tag {
  color: #a855f7 !important;
}

.hero-title span {
  color: #a855f7 !important;
}

/* ── HERO VIDEO Y OVERLAY ── */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom,
      rgba(7, 7, 15, 0.40) 0%,
      rgba(7, 7, 15, 0.02) 35%,
      rgba(7, 7, 15, 0.02) 65%,
      rgba(7, 7, 15, 0.50) 100%),
    linear-gradient(135deg,
      rgba(0, 60, 140, 0.15) 0%,
      rgba(0, 229, 255, 0.02) 50%,
      rgba(15, 0, 60, 0.10) 100%);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ── HERO LAYOUT DESKTOP ── */
.hero-content {
  text-align: left !important;
  max-width: 100% !important;
  width: 100%;
  padding: 0 4rem !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem) !important;
  line-height: 1 !important;
  margin-bottom: 0.5rem;
}

.hero-left {
  flex: 0 0 550px;
  max-width: 550px;
}

.hero-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-cta {
  justify-content: flex-start !important;
}

.cta-primary {
  background: var(--white);
  color: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.cta-primary:hover {
  background: transparent;
  color: var(--white);
}

/* ── FLOATING CARD ── */
.hero-floating-card {
  background: rgba(13, 13, 28, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 229, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

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

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

.hfc-icon {
  font-size: 2.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border-radius: 12px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.hfc-data {
  display: flex;
  flex-direction: column;
}

.hfc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hfc-lbl {
  font-size: 0.85rem;
  color: rgba(240, 236, 227, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.4rem;
  font-weight: 500;
}

/* ── MOBILE REPONSIVE ── */
@media (max-width: 768px) {
  .hero-tag {
    display: none !important;
  }

  .hero-content {
    height: 100%;
    padding: 0 1.5rem !important;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding-top: 22vh;
    padding-bottom: 12vh;
    text-align: center;
    max-width: 100%;
    transform: none;
    /* Reset vertical push on mobile */
  }

  .hero-right {
    display: none !important;
  }

  .hero-cta {
    justify-content: center !important;
    margin-top: auto;
  }

  .cta-primary {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.8rem !important;
  }

  .cta-primary svg {
    width: 18px !important;
    height: 18px !important;
  }
}