/**
 * فایل: assets/css/sections/positioning.css
 * کاربرد: استایل بخش موقعیت‌یابی، USP و کارت‌های چرا ما
 */

/* Sprint 3 — Positioning & USP */

.hero__title {
  font-size: clamp(1.75rem, 4.2vw, 2.85rem);
}

/* 6-card why grid */
.why-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
  .why-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Warum keine Standard-Agentur */
.section-compare {
  padding: clamp(72px, 10vw, 100px) 0;
  background:
    radial-gradient(circle at 12% 40%, rgba(249, 115, 22, 0.06), transparent 38%),
    linear-gradient(180deg, #0d1829 0%, #0a1524 100%);
}

.compare-table {
  margin-top: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 18, 30, 0.75);
}

.compare-table__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.85);
}

.compare-table__cell {
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table__cell--others {
  color: rgba(226, 232, 240, 0.55);
  border-right: 1px solid var(--line);
}

.compare-table__cell--armaweb {
  color: #93c5fd;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row__others,
.compare-row__armaweb {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.compare-row__others {
  color: rgba(226, 232, 240, 0.62);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.35);
}

.compare-row__armaweb {
  color: var(--text-soft);
  background: rgba(37, 99, 235, 0.06);
}

.compare-row__mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.compare-row__mark--no {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.compare-row__mark--yes {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

.compare-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 44px);
}

/* Für wen ist ArmaWeb */
.section-for-whom {
  padding: clamp(72px, 10vw, 100px) 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(59, 130, 246, 0.08), transparent 40%),
    linear-gradient(180deg, #0a1524 0%, #0f1c2f 100%);
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 20px);
  margin-top: clamp(28px, 4vw, 40px);
}

@media (min-width: 900px) {
  .for-whom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .for-whom-grid {
    grid-template-columns: 1fr;
  }

  .compare-table__head,
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-table__cell--others,
  .compare-row__others {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

.for-whom-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.for-whom-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.32);
}

.for-whom-card__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.for-whom-card__title {
  margin: 10px 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}

.for-whom-card__body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

.for-whom-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 44px);
}

.site-footer__tagline {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.62);
  max-width: 28ch;
}

@media (prefers-reduced-motion: reduce) {
  .for-whom-card {
    transition: none;
  }

  .for-whom-card:hover {
    transform: none;
  }
}
