/**
 * Why MediaSnap campaign page — premium landing style.
 * Uses design tokens from index (--bg0, --text, --muted, --stroke, --accent, --radius, etc.).
 */

.why-mediasnap-page {
  --why-max: 1100px;
  --why-radius: 18px;
  --why-glow: rgba(139, 92, 246, 0.15);
}

/* ----- A) HERO ----- */
.why-hero {
  position: relative;
  padding: 72px 24px 64px;
  text-align: center;
  overflow: hidden;
}
.why-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 40%);
  pointer-events: none;
}
.why-hero__inner {
  position: relative;
  max-width: var(--why-max);
  margin: 0 auto;
}
.why-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 16px;
}
.why-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.why-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.why-hero__ctas .btn {
  display: inline-flex;
  min-width: 140px;
  justify-content: center;
}
.why-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.why-hero__pill {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}
@media (max-width: 480px) {
  .why-hero {
    padding: 48px 20px 56px;
  }
  .why-hero__ctas {
    flex-direction: column;
    width: 100%;
  }
  .why-hero__ctas .btn {
    width: 100%;
  }
}

/* ----- B) THE PROBLEM ----- */
.why-section {
  padding: 48px 24px 56px;
}
.why-container {
  max-width: var(--why-max);
  margin: 0 auto;
}
.why-section__title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 24px;
  text-align: center;
}
.why-section__body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.why-problem__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  max-width: 400px;
  display: grid;
  gap: 12px;
}
.why-problem__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
  padding: 12px 18px;
  background: rgba(26, 26, 30, 0.5);
  border: 1px solid var(--stroke);
  border-radius: 12px;
}
.why-problem__list li i {
  color: rgba(139, 92, 246, 0.8);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

/* ----- C) COMPARISON CARDS ----- */
.why-comparison {
  padding: 32px 24px 64px;
}
.why-comparison__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}
.why-comparison__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  align-self: center;
  margin: 0 -8px;
  z-index: 1;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .why-comparison__row {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .why-comparison__vs {
    margin: 0;
    padding: 10px 20px;
  }
}
.why-card {
  padding: 28px 24px;
  border-radius: var(--why-radius);
  border: 1px solid var(--stroke);
  background: rgba(26, 26, 30, 0.6);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.why-card--stacked {
  border-color: rgba(255, 255, 255, 0.08);
}
.why-card--pro {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 32px var(--why-glow);
  background: rgba(28, 24, 42, 0.5);
}
.why-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.why-card__lines {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 20px;
}
.why-card__lines li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: var(--muted);
}
.why-card__lines li:last-child {
  border-bottom: none;
}
.why-card__lines li i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.why-card__lines li span {
  flex: 1;
}
.why-card__lines li strong {
  color: var(--text);
  font-weight: 600;
}
.why-card__total {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  margin-bottom: 10px;
  text-align: center;
}
.why-card__total-meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.why-card__disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  font-style: italic;
  line-height: 1.4;
}
.why-card__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 20px;
}
.why-card__benefits li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}
.why-card__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #8b5cf6), var(--accent2, #6366f1));
  opacity: 0.9;
}
.why-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  padding: 16px 20px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -0.02em;
}
.why-card__price-meta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.why-card__chip {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(139, 92, 246, 0.95);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* ----- D) PERSONAS ----- */
.why-personas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .why-personas__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}
.why-persona {
  padding: 28px 24px;
  background: rgba(26, 26, 30, 0.5);
  border: 1px solid var(--stroke);
  border-radius: var(--why-radius);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.why-persona:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.why-persona__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.15);
  color: rgba(139, 92, 246, 0.95);
  font-size: 1.25rem;
}
.why-persona__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.why-persona p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ----- E) FINAL CTA ----- */
.why-cta {
  padding: 56px 24px 64px;
  background: linear-gradient(180deg, rgba(22, 24, 32, 0.5) 0%, rgba(18, 18, 26, 0.8) 100%);
  border-top: 1px solid var(--stroke);
  text-align: center;
}
.why-cta__inner {
  max-width: var(--why-max);
  margin: 0 auto;
}
.why-cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.why-cta__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.why-cta__btns .btn {
  display: inline-flex;
}
@media (max-width: 480px) {
  .why-cta__btns {
    flex-direction: column;
    width: 100%;
  }
  .why-cta__btns .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- FAQ ----- */
.why-faq {
  padding: 48px 24px 80px;
}
.why-faq .why-section__title {
  margin-bottom: 28px;
}
.why-faq-list {
  max-width: 640px;
  margin: 0 auto;
}
.why-faq-item {
  background: rgba(26, 26, 30, 0.6);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.why-faq-item:last-child {
  margin-bottom: 0;
}
.why-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.why-faq-trigger:hover {
  color: var(--accent, #8b5cf6);
}
.why-faq-trigger i {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.28s ease;
}
.why-faq-item[aria-expanded="true"] .why-faq-trigger i {
  transform: rotate(180deg);
}
.why-faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.why-faq-item[aria-expanded="true"] .why-faq-panel {
  max-height: 280px;
}
.why-faq-panel p {
  padding: 0 20px 20px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}
