/* ========================================
   WHY-US SECTION - APPLE GLOSSY USP CARDS
   ======================================== */

#why-us {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(160deg, #F8F7FF 0%, #F0EBFF 50%, #EEF2FF 100%);
  overflow: hidden;
}

/* Wave Dividers */
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.wave-top {
  top: 0;
}

.wave-bottom {
  bottom: 0;
  z-index: 2;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Eyebrow */
.why-us-eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B3FA8;
  text-align: center;
  margin-bottom: 16px;
}

/* Title */
.why-us-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A2E;
  text-align: center;
  margin-bottom: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Shimmer Text Animation */
.why-us-title.shimmer-text {
  background: linear-gradient(
    90deg,
    #1A1A2E 0%,
    #1A1A2E 40%,
    #7B4BC8 50%,
    #1A1A2E 60%,
    #1A1A2E 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

/* Grid - 2x2 */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

/* Apple Glossy Cards */
.why-us-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px 36px;
  border: 1px solid rgba(123, 75, 200, 0.1);
  box-shadow: 
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 48px rgba(123, 75, 200, 0.1);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
  overflow: hidden;
}

/* Gradient Border Shine */
.why-us-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  padding: 1px;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.why-us-card:hover::after {
  opacity: 1;
}

.why-us-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 64px rgba(123, 75, 200, 0.18);
}

/* Card Icon */
.why-us-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-us-card-icon svg {
  color: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.why-us-card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-us-card:hover .why-us-card-icon {
  transform: translateY(-4px) scale(1.05);
  animation: iconBounce 0.6s ease;
}

.why-us-card:hover .why-us-card-icon img {
  transform: scale(1.1);
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(-4px) scale(1.05); }
  50% { transform: translateY(-8px) scale(1.08); }
}

/* Icon Gradients */
.icon-gradient-1 {
  background: linear-gradient(135deg, #4BC8C0, #3B7DD8);
}

.icon-gradient-2 {
  background: linear-gradient(135deg, #F4762A, #F0A050);
}

.icon-gradient-3 {
  background: linear-gradient(135deg, #7B4BC8, #A06BF0);
}

.icon-gradient-4 {
  background: linear-gradient(135deg, #4BC8C0, #2BB89A);
}

/* Card Title */
.why-us-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1A1A2E;
  margin-bottom: 12px;
}

/* Card Text */
.why-us-card-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

/* Bottom Tagline */
.why-us-tagline-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
  padding: 0 20px;
}

.tagline-accent-line {
  flex: 0 0 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #7B4BC8 50%, transparent 100%);
  opacity: 0.4;
}

.why-us-tagline {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #1A1A2E;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 2;
  letter-spacing: 0.02em;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  #why-us {
    padding: 88px 0 110px;
  }
  
  .why-us-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 56px;
  }
  
  .why-us-grid {
    gap: 24px;
    margin-bottom: 56px;
  }
  
  .why-us-card {
    padding: 36px 32px;
  }
  
  .why-us-card-icon {
    width: 56px;
    height: 56px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  #why-us {
    padding: 72px 0;
  }
  
  .wave-divider {
    height: 80px;
  }
  
  .why-us-eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .why-us-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 48px;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  
  .why-us-card {
    padding: 32px 28px;
    border-radius: 24px;
  }
  
  .why-us-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  
  .why-us-card-title {
    font-size: 20px;
  }
  
  .why-us-card-text {
    font-size: 14px;
  }
  
  .why-us-tagline-wrapper {
    margin-top: 48px;
    padding: 20px 16px;
    gap: 16px;
  }
  
  .tagline-accent-line {
    flex: 0 0 40px;
    height: 1.5px;
  }
  
  .why-us-tagline {
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 600;
  }
}
