/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-section {
  padding: 60px 0;
  position: relative;
  overflow: visible;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.35);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: #9333ea;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #ffffff;
}

.section-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6, #f97316);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover::after {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(6, 182, 212, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
  border: 1.5px solid rgba(6, 182, 212, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06b6d4;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.15) rotate(-5deg);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.3));
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.benefit-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.6 !important;
  margin: 0;
  font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .why-section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 34px;
  }

  .section-description {
    font-size: 14px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .benefit-card {
    padding: 20px 16px;
    border-radius: 18px;
    gap: 12px;
  }

  .benefit-card:hover {
    transform: translateY(-3px) scale(1.01);
  }

  .benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .benefit-icon svg {
    width: 20px;
    height: 20px;
  }

  .benefit-card h3 {
    font-size: 14px;
    line-height: 1.3;
  }

  .benefit-card p {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 480px) {
  .why-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .section-description {
    font-size: 13px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .benefit-card {
    padding: 18px 14px;
    border-radius: 16px;
    gap: 10px;
  }

  .benefit-card:hover {
    transform: translateY(-2px) scale(1.01);
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .benefit-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
  }

  .benefit-card h3 {
    font-size: 13px;
    line-height: 1.3;
  }

  .benefit-card p {
    font-size: 10px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 360px) {
  .benefits-grid {
    gap: 8px;
  }

  .benefit-card {
    padding: 16px 12px;
  }

  .benefit-icon {
    width: 38px;
    height: 38px;
  }

  .benefit-icon svg {
    width: 17px;
    height: 17px;
  }

  .benefit-card h3 {
    font-size: 12px;
  }

  .benefit-card p {
    font-size: 9.5px !important;
  }
}

/* ========================================
   BENEFIT MODAL
   ======================================== */

.benefit-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.benefit-modal.active {
  display: flex;
}

.benefit-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.benefit-modal-content {
  position: relative;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.benefit-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.benefit-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
  border: 2px solid rgba(6, 182, 212, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06b6d4;
  animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.modal-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
}

.modal-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.modal-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.modal-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.modal-stat:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}

.modal-stat-value {
  font-size: 32px;
  font-weight: 900;
  color: #06b6d4;
  margin-bottom: 8px;
}

.modal-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.modal-features {
  margin: 32px 0;
}

.modal-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.modal-feature:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateX(4px);
}

.modal-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.modal-feature-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.modal-feature-content p {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.5 !important;
  margin: 0;
}

.modal-cta {
  text-align: center;
  margin-top: 32px;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.5);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconPop {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Mobile Modal */
@media (max-width: 768px) {
  .benefit-modal-content {
    padding: 32px 24px;
    max-height: 90vh;
  }

  .modal-icon {
    width: 64px;
    height: 64px;
  }

  .modal-icon svg {
    width: 32px;
    height: 32px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-subtitle {
    font-size: 14px;
  }

  .modal-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-stat {
    padding: 16px;
  }

  .modal-stat-value {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .benefit-modal {
    padding: 10px;
  }

  .benefit-modal-content {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-feature {
    padding: 16px;
    gap: 12px;
  }

  .modal-feature-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .modal-btn {
    width: 100%;
    justify-content: center;
  }
}
