/* ============================================
   WHY IT WORKS VARIATION 3: Side-by-Side Split
   Alternating layout with visual emphasis
   ============================================ */

.why-v3 {
  padding: 7rem 0;
  background: linear-gradient(to bottom, white 0%, var(--background-secondary) 100%);
  position: relative;
}

.why-v3 .section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.why-v3 h2 {
  font-size: 3.25rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.why-v3 .features-container {
  max-width: 1100px;
  margin: 0 auto;
}

.why-v3 .feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  align-items: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.why-v3 .feature-row:nth-child(1) {
  animation-delay: 0.1s;
}

.why-v3 .feature-row:nth-child(2) {
  animation-delay: 0.2s;
}

.why-v3 .feature-row:nth-child(3) {
  animation-delay: 0.3s;
}

.why-v3 .feature-row:nth-child(4) {
  animation-delay: 0.4s;
}

.why-v3 .feature-row:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-v3 .feature-row:nth-child(even) .feature-visual {
  order: 1;
}

.why-v3 .feature-row:nth-child(even) .feature-text {
  order: 2;
}

.why-v3 .feature-text {
  padding: var(--spacing-lg);
  transition: transform var(--transition-base);
}

.why-v3 .feature-row:hover .feature-text {
  transform: translateX(8px);
}

.why-v3 .feature-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
}

.why-v3 .feature-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.why-v3 .feature-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.why-v3 .feature-visual {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  color: white;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-v3 .feature-row:hover .feature-visual {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(79, 70, 229, 0.4);
}

.why-v3 .feature-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform var(--transition-slow);
}

.why-v3 .feature-row:hover .feature-visual::before {
  transform: scale(1.3) translate(20px, 20px);
}

.why-v3 .visual-icon {
  font-size: 5rem;
  position: relative;
  z-index: 1;
  opacity: 0.95;
  transition: transform var(--transition-base);
}

.why-v3 .feature-row:hover .visual-icon {
  transform: scale(1.1) rotate(5deg);
}

@media (max-width: 968px) {
  .why-v3 {
    padding: 4rem 0;
  }
  
  .why-v3 h2 {
    font-size: 2.25rem;
  }
  
  .why-v3 .feature-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
  }
  
  .why-v3 .feature-row:nth-child(even) .feature-visual {
    order: 2;
  }
  
  .why-v3 .feature-row:nth-child(even) .feature-text {
    order: 1;
  }
  
  .why-v3 .feature-title {
    font-size: 1.5rem;
  }
  
  .why-v3 .feature-visual {
    min-height: 200px;
  }
  
  .why-v3 .visual-icon {
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .why-v3 {
    padding: 3rem 0;
  }
  
  .why-v3 h2 {
    font-size: 2rem;
  }
  
  .why-v3 .feature-text {
    padding: var(--spacing-md);
  }
  
  .why-v3 .feature-title {
    font-size: 1.25rem;
  }
  
  .why-v3 .feature-description {
    font-size: 1rem;
  }
  
  .why-v3 .feature-visual {
    min-height: 180px;
    padding: var(--spacing-xl);
  }
  
  .why-v3 .visual-icon {
    font-size: 3.5rem;
  }
  
  .why-v3 .feature-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
}

