/* ===== Decorative Shapes & Particles ===== */

/* Scene container overlay for sections/hero */
.app-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

/* Particles layer */
.data-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

/* Sequential particles using staggered animation */
.p1, .p2, .p3, .p4, .p5, .p6, .p7, .p8, .p9, .p10 {
  animation: float-particle 10s infinite alternate ease-in-out;
}

@keyframes float-particle {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, 20px); }
}

/* Soft blurred decorative circles - DESACTIVADOS */
.decorative-circles .circle {
  display: none !important;
}

/* Use a dedicated keyframe name to avoid collisions */
@keyframes shapes-float-slow {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-20px, -10px) rotate(5deg); }
  100% { transform: translate(20px, 10px) rotate(-5deg); }
}

/* Continuous spin for geometric squares (preserve initial orientation) */
@keyframes spin45 {
  from { transform: rotate(45deg); }
  to   { transform: rotate(405deg); }
}

@keyframes spin20 {
  from { transform: rotate(20deg); }
  to   { transform: rotate(380deg); }
}

@keyframes spin60 {
  from { transform: rotate(60deg); }
  to   { transform: rotate(420deg); }
}

/* Todos los círculos decorativos desactivados */
.decorative-circles .circle1,
.decorative-circles .circle2,
.decorative-circles .circle3 {
  display: none !important;
}

/* Floating dots */
.floating-dots .dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.4);
  animation: float-dot 8s infinite alternate ease-in-out;
}

.floating-dots .dot1 { top: 20%; left: 10%; animation-delay: 0s; }
.floating-dots .dot2 { top: 40%; left: 20%; animation-delay: 1s; background: rgba(99, 102, 241, 0.4); }
.floating-dots .dot3 { top: 15%; right: 25%; animation-delay: 2s; background: rgba(139, 92, 246, 0.4); }
.floating-dots .dot4 { bottom: 30%; right: 10%; animation-delay: 3s; background: rgba(14, 165, 233, 0.4); }
.floating-dots .dot5 { bottom: 10%; left: 30%; animation-delay: 4s; background: rgba(56, 189, 248, 0.4); }
.floating-dots .dot6 { top: 50%; right: 15%; animation-delay: 5s; background: rgba(96, 165, 250, 0.4); }

@keyframes float-dot {
  0% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(-6px, -6px); opacity: 1; }
  100% { transform: translate(6px, 6px); opacity: 0.7; }
}

/* CTA section decorative helpers (replace inline styles) */
.cta-section .decor-layer { z-index: 0; }
.cta-section .circle-1 { width: 200px; height: 200px; top: -100px; left: -100px; }
.cta-section .circle-2 { width: 300px; height: 300px; bottom: -150px; right: -150px; }
.cta-section .content-layer { z-index: 1; }

/* Geometric elements container and base */
.geometric-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.geometric-elements .geo {
  position: absolute;
}

/* Thin geometric frames */
.geometric-elements .geo1 {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(79, 70, 229, 0.15);
  border-radius: 30px;
  top: 15%;
  right: 10%;
  animation: spin45 20s linear infinite;
}

.geometric-elements .geo2 {
  width: 150px;
  height: 150px;
  border: 2px solid rgba(56, 189, 248, 0.12);
  border-radius: 20px;
  bottom: 20%;
  left: 8%;
  animation: spin20 25s linear infinite reverse;
}

.geometric-elements .geo3 {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(129, 140, 248, 0.1);
  top: 60%;
  left: 30%;
  animation: spin60 15s linear infinite;
}
