/* ============================================================
   Pricing page only — append after css/styles.css
   ============================================================ */

.pricing-section {
  padding-top: 1.5rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.plan-card--featured {
  background:
    linear-gradient(160deg, rgba(232, 68, 90, 0.14), transparent 55%),
    var(--surface);
  border-color: rgba(232, 68, 90, 0.4);
  box-shadow: 0 20px 50px rgba(232, 68, 90, 0.12);
}

.plan-card--best {
  background:
    linear-gradient(160deg, rgba(139, 92, 246, 0.14), transparent 55%),
    var(--surface);
  border-color: rgba(139, 92, 246, 0.35);
}

.plan-card__badge {
  position: absolute;
  top: -0.65rem;
  right: 1.1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--coral);
  color: #fff;
}

.plan-card__badge--best {
  background: linear-gradient(135deg, var(--purple), var(--coral));
}

.plan-card__label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.plan-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.plan-card__price {
  margin-bottom: 0.35rem;
}

.plan-card__price strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-card__price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 0.25rem;
}

.plan-card__note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}

.plan-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  flex: 1;
}

.plan-card__list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.plan-card--best .plan-card__list li::before {
  background: var(--purple);
}

.plan-card__list strong {
  color: var(--text);
  font-weight: 700;
}

.plan-card__cta {
  width: 100%;
}

.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.25);
}

.compare-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.compare-table td:not(:first-child) {
  color: var(--muted);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-footnote {
  color: var(--hint);
  font-size: 0.85rem;
  margin-top: 0.85rem;
}

.pricing-phone-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(139, 92, 246, 0.22), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(232, 68, 90, 0.18), transparent 45%),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-phone-band__visual {
  display: flex;
  justify-content: center;
}

.pricing-phone-band .phone-frame--static {
  transform: none;
  width: min(100%, 260px);
}

.pricing-faq {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.25rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--coral);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 1rem;
}

/* Mobile — Home pattern */
@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-card--featured {
    order: -1;
  }

  .pricing-phone-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.35rem;
  }

  .pricing-phone-band__visual {
    order: -1;
  }

  .pricing-phone-band .section__title,
  .pricing-phone-band .section__lead {
    margin-inline: auto;
  }

  .pricing-phone-band .btn {
    margin-inline: auto;
  }

  .pricing-phone-band .phone-frame--static {
    width: min(100%, 260px);
  }

  .compare-footnote {
    padding-inline: 0.15rem;
  }
}
