/* ==========================================================================
   Sağlık & Wellness — kapsam kartları (2.section)
   features.tsx prompt'una göre: sade üst başlık + 3 kart, her kartın
   altında küçük bir "mockup" illüstrasyon (hover'da hafif hareket eder).
   ========================================================================== */

.swkapsam {
  background: var(--bg-tint);
  padding: 84px 0;
}

.swkapsam__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.swkapsam__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 10px;
}

.swkapsam__title {
  font-weight: 800;
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.swkapsam__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.swkapsam__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 26px 26px 0;
  overflow: hidden;
}

.swkapsam__icon {
  display: inline-flex;
  color: var(--indigo);
  margin-bottom: 18px;
}

.swkapsam__icon svg {
  width: 22px;
  height: 22px;
}

.swkapsam__card-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.swkapsam__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

/* --- mockup illustrations ------------------------------------------------- */

.swkapsam__mock {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.swkapsam__mock--meet {
  margin-top: 28px;
  padding: 16px;
  aspect-ratio: 16 / 9.5;
}

.swkapsam__mock-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.swkapsam__mock-time {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.swkapsam__mock-avatars {
  display: flex;
  margin-bottom: 8px;
}

.swkapsam__mock-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  font-size: 10px;
  font-weight: 700;
  margin-right: -8px;
}

.swkapsam__mock-avatar--sm {
  width: 24px;
  height: 24px;
  margin-right: 0;
  border: none;
  flex-shrink: 0;
}

.swkapsam__mock-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.swkapsam__mock-wrap {
  position: relative;
  margin-top: 24px;
  height: 170px;
}

.swkapsam__mock--pay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 82%;
  padding: 14px;
  transform: translateY(12px);
  transition: transform .3s ease;
}

.swkapsam__card--group:hover .swkapsam__mock--pay {
  transform: translateY(12px) rotate(-3deg);
}

.swkapsam__mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.swkapsam__mock-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.swkapsam__mock-ago {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

.swkapsam__mock-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.swkapsam__mock-bars span {
  display: block;
  height: 7px;
  width: 100%;
  border-radius: 99px;
  background: var(--line-2);
}

.swkapsam__mock--paycheck {
  position: absolute;
  top: 0;
  right: 4%;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(12px);
  transition: transform .3s ease;
}

.swkapsam__card--group:hover .swkapsam__mock--paycheck {
  transform: translateY(12px) rotate(4deg);
}

.swkapsam__mock--paycheck svg {
  width: 24px;
  height: 24px;
  color: #1E6B37;
  z-index: 1;
}

.swkapsam__mock-click-ring {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid #1E6B37;
  opacity: 0;
  animation: swkapsam-click-ring 2.6s ease-in-out infinite;
}

@keyframes swkapsam-click-ring {
  0%, 8% { transform: scale(1); opacity: 0; }
  14% { opacity: .5; }
  40% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.swkapsam__mock-float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card);
  color: var(--indigo);
}

.swkapsam__mock-float--lira {
  top: 4px;
  right: calc(4% + 58px);
  font-size: 18px;
  font-weight: 800;
}

.swkapsam__mock-float--link {
  top: 58px;
  right: calc(4% + 66px);
  color: var(--pink-deep);
}

.swkapsam__mock-float--link svg {
  width: 18px;
  height: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .swkapsam__mock-click-ring {
    animation: none;
  }
}

.swkapsam__mock--task {
  margin-top: 28px;
  padding: 16px;
  padding-bottom: 18px;
  transform: translateY(14px);
  transition: transform .3s ease;
}

.swkapsam__card--group:hover .swkapsam__mock--task {
  transform: translateY(0);
}

.swkapsam__mock-q {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 14px;
}

.swkapsam__mock-inputbar {
  background: var(--bg-tint);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.swkapsam__mock-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.swkapsam__mock-inputrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swkapsam__mock-chip {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--white);
}

.swkapsam__mock-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  margin-left: auto;
}

.swkapsam__mock-send svg {
  width: 14px;
  height: 14px;
}

/* --- istatistik + CTA bloğu (Merak edilenler'den taşındı) ----------------- */

.swkapsam__stats {
  margin-top: 80px;
}

.swkapsam__stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.swkapsam__stats-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px;
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--bg-tint);
}

.swkapsam__stats-eyebrow {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.swkapsam__stats-value {
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.swkapsam__stats-desc {
  font-size: 15px;
  color: var(--ink);
  opacity: .8;
  margin: 6px 0 0;
}

.swkapsam__stats-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px 0;
}

.swkapsam__stats-headline {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
  max-width: 640px;
}

.swkapsam__stats-lede {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
}

.swkapsam__stats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  border-radius: var(--r-pill);
  background: var(--indigo);
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  transition: background .2s ease, transform .2s ease;
}

.swkapsam__stats-btn:hover {
  background: var(--pink-deep);
  transform: translateY(-2px);
}

.swkapsam__stats-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .swkapsam {
    padding: 44px 0;
  }

  .swkapsam__grid {
    grid-template-columns: 1fr;
  }

  .swkapsam__stats {
    margin-top: 56px;
  }

  .swkapsam__stats-cards {
    grid-template-columns: 1fr;
  }

  .swkapsam__stats-card {
    height: auto;
    min-height: 160px;
  }

  .swkapsam__stats-cta {
    padding-top: 48px;
  }

  /* Mobilde hover olmadığı için, görünür olunca (IntersectionObserver ile
     eklenen .is-inview) hover ile aynı efektler otomatik oynar. */
  .swkapsam__card--group.is-inview .swkapsam__mock--pay {
    transform: translateY(12px) rotate(-3deg);
  }

  .swkapsam__card--group.is-inview .swkapsam__mock--paycheck {
    transform: translateY(12px) rotate(4deg);
  }

  .swkapsam__card--group.is-inview .swkapsam__mock--task {
    transform: translateY(0);
  }
}
