/* Geometric Shapes Animation for Why VERTEX */

/* Sticky section wrapper */
.geometric-why-vertex {
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  z-index: 5;
}

.geometric-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.geometric-shape {
  position: absolute;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide 1 - Small Triangles top-right cluster */
.slide-1 .triangle-1 {
  top: 8%;
  right: 3%;
  width: 220px;
  height: 220px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
  opacity: 0.75;
  animation: float1 4s ease-in-out infinite;
}

.slide-1 .triangle-2 {
  top: 2%;
  right: 22%;
  width: 170px;
  height: 170px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0.6;
  animation: float2 5s ease-in-out infinite;
}

.slide-1 .triangle-3 {
  top: 30%;
  right: 8%;
  width: 190px;
  height: 190px;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  background: linear-gradient(135deg, #00ccff 0%, #0066ff 100%);
  opacity: 0.65;
  animation: float3 4.5s ease-in-out infinite;
}

.slide-1 .triangle-4 {
  bottom: 35%;
  right: 28%;
  width: 140px;
  height: 140px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  opacity: 0.5;
  animation: float4 5.5s ease-in-out infinite;
}

.slide-1 .triangle-5 {
  bottom: 12%;
  right: 5%;
  width: 180px;
  height: 180px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(135deg, #0066ff 0%, #6366f1 100%);
  opacity: 0.6;
  animation: float5 4.2s ease-in-out infinite;
}

/* Floating animations */
@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(-4deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes float4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-3deg); }
}

@keyframes float5 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

/* Slide 2 - MASSIVE Triangles filling screen */
.slide-2 .triangle-1 {
  top: -25%;
  right: -15%;
  width: 900px;
  height: 900px;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
  opacity: 0.85;
}

.slide-2 .triangle-2 {
  bottom: -20%;
  right: 5%;
  width: 700px;
  height: 700px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0.65;
}

.slide-2 .triangle-3 {
  top: 20%;
  right: 25%;
  width: 500px;
  height: 500px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: linear-gradient(135deg, #00ccff 0%, #0066ff 100%);
  opacity: 0.55;
}

.slide-2 .triangle-4 {
  top: 5%;
  left: 10%;
  width: 350px;
  height: 350px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  opacity: 0.45;
}

.slide-2 .triangle-5 {
  bottom: 5%;
  left: 30%;
  width: 280px;
  height: 280px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
  opacity: 0.35;
}

/* Slide 3 - Stacked Rectangles center */
.slide-3 .rect-1 {
  top: 15%;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  width: 600px;
  height: 200px;
  background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
  opacity: 0.7;
}

.slide-3 .rect-2 {
  top: 40%;
  left: 50%;
  transform: translateX(-50%) rotate(4deg);
  width: 550px;
  height: 180px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0.6;
}

.slide-3 .rect-3 {
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  width: 500px;
  height: 160px;
  background: linear-gradient(135deg, #00ccff 0%, #0066ff 100%);
  opacity: 0.5;
}

.slide-3 .triangle-1,
.slide-3 .triangle-2,
.slide-3 .triangle-3,
.slide-3 .triangle-4,
.slide-3 .triangle-5 {
  opacity: 0 !important;
}

/* Content positioning */
.geometric-content {
  position: relative;
  z-index: 15;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Backdrop blur card */
.geometric-content > div {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.geometric-content > div:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 102, 255, 0.4);
}

/* Navigation dots */
.geo-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.geo-dot {
  width: 50px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 3px;
}

.geo-dot.active {
  background: white;
}

.geo-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

