:root {
  --cursor-x: 50%;
  --cursor-y: 50%;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(
      circle at top left,
      rgba(168, 85, 247, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(244, 114, 182, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, #09040f 0%, #050505 100%);
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    320px circle at var(--cursor-x) var(--cursor-y),
    rgba(192, 132, 252, 0.12),
    transparent 60%
  );
}

video {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0); /* Força aceleração de hardware */
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, #f0abfc 45%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title-line {
  position: relative;
  display: inline-block;
}

.section-title-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 70%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c084fc, #f472b6, #60a5fa);
}

.floating-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.4;
  animation: floatBlob 10s ease-in-out infinite;
  pointer-events: none;
}

.blob-1 {
  width: 280px;
  height: 280px;
  background: rgba(168, 85, 247, 0.45);
  top: 10%;
  left: -80px;
}

.blob-2 {
  width: 220px;
  height: 220px;
  background: rgba(244, 114, 182, 0.28);
  bottom: 8%;
  right: -40px;
  animation-delay: -2s;
}

.blob-3 {
  width: 180px;
  height: 180px;
  background: rgba(96, 165, 250, 0.22);
  top: 32%;
  right: 12%;
  animation-delay: -4s;
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.08);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
  pointer-events: none;
}

.sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sparkles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: sparkleMove linear infinite;
}

@keyframes sparkleMove {
  0% {
    transform: translateY(20px) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120px) scale(1.15);
    opacity: 0;
  }
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  min-width: max-content;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.magnetic-btn {
  position: relative;
  overflow: hidden;
}

.magnetic-btn::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.magnetic-btn:hover::after {
  opacity: 1;
}

.tilt-card,
.impact-card,
.testimonial-card,
.stat-card,
.feature-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  will-change: transform;
}

.tilt-card:hover,
.impact-card:hover,
.testimonial-card:hover,
.stat-card:hover,
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 35px rgba(168, 85, 247, 0.15);
}

.shine-card {
  position: relative;
  overflow: hidden;
}

.shine-card::before {
  content: "";
  position: absolute;
  inset: -120% auto auto -40%;
  width: 60%;
  height: 300%;
  transform: rotate(20deg);
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transition: transform 0.9s ease;
}

.shine-card:hover::before {
  transform: rotate(20deg) translateX(240%);
}

.music-pill {
  animation: musicBeat 1.8s ease-in-out infinite;
}

.music-pill:nth-child(2) {
  animation-delay: -0.2s;
}
.music-pill:nth-child(3) {
  animation-delay: -0.4s;
}
.music-pill:nth-child(4) {
  animation-delay: -0.6s;
}

@keyframes musicBeat {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.6;
  }
  50% {
    transform: scaleY(1.2);
    opacity: 1;
  }
}

.nav-blur {
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.nav-hidden {
  transform: translateY(-120%);
  opacity: 0;
}

.about-slider {
  position: relative;
}

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.8s ease,
    transform 1s ease;
}

.about-slide.active {
  opacity: 1;
  transform: scale(1);
}

.about-dots button {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.25s ease;
}

.about-dots button.active {
  width: 28px;
  background: white;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(192, 132, 252, 0.6),
    rgba(244, 114, 182, 0.35),
    rgba(96, 165, 250, 0.35)
  );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.footer-link:hover,
.nav-link:hover {
  color: #f0abfc;
}

.hero-pill {
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .tilt-card:hover,
  .impact-card:hover,
  .testimonial-card:hover,
  .stat-card:hover,
  .feature-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  body::before {
    background: radial-gradient(
      180px circle at var(--cursor-x) var(--cursor-y),
      rgba(192, 132, 252, 0.1),
      transparent 60%
    );
  }

  .marquee-content {
    animation-duration: 18s;
  }

  .blob-1 {
    width: 180px;
    height: 180px;
    left: -60px;
  }

  .blob-2 {
    width: 160px;
    height: 160px;
    right: -50px;
  }

  .blob-3 {
    width: 120px;
    height: 120px;
    right: 4%;
    top: 24%;
  }

  .hero-grid {
    background-size: 30px 30px;
  }

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

  .about-dots {
    bottom: 1rem;
  }

  .about-dots button {
    width: 9px;
    height: 9px;
  }

  .about-dots button.active {
    width: 24px;
  }

  .glass-strong,
  .glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

@media (max-width: 640px) {
  .section-title-line::after {
    width: 58%;
    bottom: -8px;
    height: 3px;
  }
}

/* AJUSTES DA SEÇÃO SOBRE */
.about-slider {
  position: relative;
  width: 100%;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .about-slider {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .about-slider {
    min-height: 400px;
  }
}
