/* ===========================================
   WHY URBANCE V2 — Premium Bento Grid
   Creative, editorial, trust-building
   =========================================== */

/* ========== SECTION ========== */

.wu-section {
  background: #F8FAFC;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient texture */
.wu-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.wu-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.wu-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ========== HEADER ========== */

.wu-header {
  text-align: center;
  margin-bottom: 56px;
}

.wu-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}

.wu-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2F80ED;
  animation: wu-dot-pulse 2.5s ease-in-out infinite;
}

@keyframes wu-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

.wu-title {
  font-size: 48px;
  font-weight: 850;
  color: #111827;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}

.wu-title-accent {
  position: relative;
  background: linear-gradient(135deg, #2F80ED 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== BENTO GRID ========== */

.wu-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ========== CARD BASE ========== */

.wu-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 32px 28px 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.wu-card:hover {
  border-color: rgba(47, 128, 237, 0.12);
  box-shadow:
    0 8px 40px rgba(47, 128, 237, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.03);
  transform: translateY(-4px);
}

/* Subtle glow on hover */
.wu-card__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 128, 237, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.wu-card:hover .wu-card__glow {
  opacity: 1;
}

/* ========== ICON WRAPS ========== */

.wu-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wu-card__icon-wrap--blue {
  background: linear-gradient(135deg, #EBF4FF 0%, #DBEAFE 100%);
  color: #2F80ED;
  border: 1px solid rgba(47, 128, 237, 0.08);
}
.wu-card:hover .wu-card__icon-wrap--blue {
  background: linear-gradient(135deg, #2F80ED 0%, #1D6FD3 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(47, 128, 237, 0.3);
  border-color: transparent;
  transform: scale(1.08);
}

.wu-card__icon-wrap--green {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.08);
}
.wu-card:hover .wu-card__icon-wrap--green {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
  border-color: transparent;
  transform: scale(1.08);
}

.wu-card__icon-wrap--amber {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.08);
}
.wu-card:hover .wu-card__icon-wrap--amber {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
  border-color: transparent;
  transform: scale(1.08);
}

.wu-card__icon-wrap--purple {
  background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
  color: #7C3AED;
  border: 1px solid rgba(124, 58, 237, 0.08);
}
.wu-card:hover .wu-card__icon-wrap--purple {
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  border-color: transparent;
  transform: scale(1.08);
}

.wu-card__icon-wrap--rose {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  color: #E11D48;
  border: 1px solid rgba(225, 29, 72, 0.08);
}
.wu-card:hover .wu-card__icon-wrap--rose {
  background: linear-gradient(135deg, #E11D48 0%, #F43F5E 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.3);
  border-color: transparent;
  transform: scale(1.08);
}

/* ========== TEXT ========== */

.wu-card__title {
  font-size: 18px;
  font-weight: 750;
  color: #111827;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.wu-card__desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}

/* ========== FEATURE CARD (2-col span) ========== */

.wu-card--feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px 36px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
}

.wu-card--feature .wu-card__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.wu-card--feature .wu-card__desc {
  font-size: 15px;
  max-width: 380px;
  margin-bottom: 20px;
}

/* Metric inside feature card */
.wu-card__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.wu-card__metric-num {
  font-size: 28px;
  font-weight: 850;
  color: #2F80ED;
  letter-spacing: -0.02em;
}

.wu-card__metric-label {
  font-size: 13px;
  color: #9CA3AF;
  font-weight: 500;
}

/* Shield visual */
.wu-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  position: relative;
}

.wu-shield {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wu-shield__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 128, 237, 0.1);
}

.wu-shield__ring--1 {
  width: 160px;
  height: 160px;
  animation: wu-ring-rotate 25s linear infinite;
  border-style: dashed;
  border-color: rgba(47, 128, 237, 0.12);
}

.wu-shield__ring--2 {
  width: 120px;
  height: 120px;
  animation: wu-ring-rotate 18s linear infinite reverse;
  border-style: dashed;
  border-color: rgba(124, 58, 237, 0.08);
}

@keyframes wu-ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.wu-shield__core {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2F80ED 0%, #1D6FD3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 32px rgba(47, 128, 237, 0.3),
    0 0 0 6px rgba(47, 128, 237, 0.08);
  animation: wu-core-breathe 4s ease-in-out infinite;
}

@keyframes wu-core-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(47, 128, 237, 0.3), 0 0 0 6px rgba(47, 128, 237, 0.08); }
  50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(47, 128, 237, 0.4), 0 0 0 10px rgba(47, 128, 237, 0.06); }
}

/* ========== STANDARD CARD ========== */

.wu-card--standard {
  display: flex;
  flex-direction: column;
}

.wu-card--standard .wu-card__desc {
  margin-bottom: 16px;
  flex: 1;
}

/* Pill tags */
.wu-card__pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.wu-pill {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
}

.wu-card:hover .wu-pill {
  background: #D1FAE5;
  color: #047857;
}

/* Stars */
.wu-card__stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.wu-card__stars span:first-child {
  font-size: 16px;
  color: #FBBF24;
  letter-spacing: 2px;
}

.wu-card__stars-num {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

/* Mini stat */
.wu-card__mini-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.wu-card__mini-stat-num {
  font-size: 22px;
  font-weight: 850;
  color: #7C3AED;
  letter-spacing: -0.02em;
}

.wu-card__mini-stat-label {
  font-size: 12px;
  color: #9CA3AF;
  font-weight: 500;
}

/* ========== WIDE CARD (2-col span) ========== */

/* Support card — stacked, single column, fills row 2's last slot */
.wu-card--support {
  display: flex;
  flex-direction: column;
}

.wu-card--support .wu-card__desc {
  margin-bottom: 16px;
}

.wu-card--support .wu-card__tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.wu-card--support .wu-card__mini-stat--rose {
  margin-top: auto;
}

.wu-card__mini-stat--rose .wu-card__mini-stat-num {
  color: #E11D48;
}

/* Tags */
.wu-card__tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wu-tag {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  background: #F3F4F6;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.1px;
  transition: all 0.25s ease;
}

.wu-card:hover .wu-tag {
  background: #E5E7EB;
}

.wu-tag--accent {
  background: #EBF4FF !important;
  color: #2F80ED !important;
}

.wu-card:hover .wu-tag--accent {
  background: #DBEAFE !important;
  color: #1D6FD3 !important;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .wu-section {
    padding: 80px 0 72px;
  }

  .wu-title {
    font-size: 40px;
  }

  .wu-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .wu-card--feature {
    grid-column: span 2;
  }

  .wu-card__visual {
    width: 140px;
    height: 140px;
  }

  .wu-shield__ring--1 {
    width: 130px;
    height: 130px;
  }

  .wu-shield__ring--2 {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .wu-section {
    padding: 64px 0 56px;
  }

  .wu-container {
    padding: 0 20px;
  }

  .wu-header {
    margin-bottom: 40px;
  }

  .wu-title {
    font-size: 32px;
  }

  .wu-bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wu-card--feature {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .wu-card--feature .wu-card__title {
    font-size: 20px;
  }

  .wu-card--feature .wu-card__desc {
    font-size: 14px;
  }

  .wu-card__visual {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .wu-shield__ring--1 {
    width: 110px;
    height: 110px;
  }

  .wu-shield__ring--2 {
    width: 80px;
    height: 80px;
  }

  .wu-shield__core {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .wu-shield__core svg {
    width: 30px;
    height: 30px;
  }

  .wu-card {
    padding: 24px 22px 22px;
  }

  .wu-card__title {
    font-size: 17px;
  }

  .wu-card__metric-num {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .wu-section {
    padding: 48px 0 44px;
  }

  .wu-container {
    padding: 0 16px;
  }

  .wu-title {
    font-size: 28px;
  }

  .wu-card {
    padding: 22px 18px 20px;
    border-radius: 18px;
  }

  .wu-card__icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .wu-card__visual {
    display: none;
  }

  .wu-card__metric {
    flex-direction: column;
    gap: 2px;
  }
}
