/* ==========================================================================
   closing.css — testimonials, pricing, FAQ and the final light CTA card
   ========================================================================== */

/* ---------- Shared section heads ---------- */

.reviews,
.pricing,
.faq {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(76px, 9vw, 116px) 32px 0;
}

.reviews-head,
.pricing-head,
.faq-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.reviews-head h2,
.pricing-head h2,
.faq-head h2 {
  margin: 26px 0 16px;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

/* ---------- Testimonials ---------- */

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

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 26px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 77, 141, 0.4);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-ava {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.ava-1 { background: linear-gradient(135deg, #ff4d8d, #c026d3); }
.ava-2 { background: linear-gradient(135deg, #a855f7, #6366f1); }
.ava-3 { background: linear-gradient(135deg, #fb923c, #f43f5e); }
.ava-4 { background: linear-gradient(135deg, #38bdf8, #6366f1); }
.ava-5 { background: linear-gradient(135deg, #34d399, #0ea5e9); }
.ava-6 { background: linear-gradient(135deg, #f472b6, #8b5cf6); }
.ava-7 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.ava-8 { background: linear-gradient(135deg, #22d3ee, #8b5cf6); }

.reviews-cta {
  margin-top: 36px;
  text-align: center;
}

.review-who {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.review-who strong { font-size: 14px; font-weight: 700; }
.review-who small {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-text {
  margin: 0;
  color: #d6cde0;
  font-size: 13.5px;
  line-height: 1.75;
}

/* ---------- Pricing ---------- */

.pricing-sub {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.billing-toggle button.on {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 77, 141, 0.35);
}
.save-chip {
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10px;
  font-weight: 800;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
}

.price-popular {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(255, 77, 141, 0.4);
}

.price-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.price-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  min-height: 2.4em;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
}
.price-amount .amt {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-amount .price-per {
  color: var(--muted);
  font-size: 13px;
}
.price-note {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 12px;
  min-height: 1.4em;
}
.price-note .note-yearly { color: var(--accent); font-weight: 600; }

/* billing toggle visibility */
.amt-yearly,
.note-yearly { display: none; }
.pricing.billing-yearly .amt-monthly,
.pricing.billing-yearly .note-monthly { display: none; }
.pricing.billing-yearly .amt-yearly,
.pricing.billing-yearly .note-yearly { display: inline; }

.price-feats {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 22px 0 28px;
  flex: 1;
}
.price-feats li {
  position: relative;
  padding-left: 24px;
  color: #d6cde0;
  font-size: 13.5px;
  line-height: 1.5;
}
.price-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}
.price-card .btn { width: 100%; justify-content: center; }

.pricing-fine {
  margin: 26px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 12px;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-plus {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 16px;
  color: var(--accent);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.faq-list details[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.faq-list details p {
  margin: 0;
  padding: 0 48px 22px 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- Final CTA: dark cinematic card (layout per reference) ---------- */

.final-cta {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 9vw, 120px) 32px 80px;
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
  padding: clamp(40px, 5vw, 68px) clamp(28px, 4vw, 60px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255, 77, 141, 0.16), transparent 52%),
    radial-gradient(ellipse at 92% 92%, rgba(168, 85, 247, 0.14), transparent 55%),
    linear-gradient(180deg, #160f22, #0c0813);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.cta-art {
  position: relative;
  display: grid;
  place-items: center;
}
.cta-glow {
  position: absolute;
  inset: -12%;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 77, 141, 0.25), transparent 62%);
  filter: blur(34px);
}
.cta-photo {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(-3deg);
  border: 6px solid #fff;
  box-shadow: 0 30px 70px rgba(190, 60, 110, 0.3);
}
.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.cta-spark {
  position: absolute;
  z-index: 2;
  color: #ff4d8d;
  font-size: 20px;
  opacity: 0.85;
}
.spark-a { top: 6%; left: 8%; }
.spark-b { top: 22%; right: 4%; font-size: 15px; }
.spark-c { bottom: 12%; left: 2%; font-size: 16px; }
.cta-badge {
  position: absolute;
  z-index: 2;
  bottom: 4%;
  right: -4%;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(10, 7, 16, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}

.cta-copy { color: var(--text); }
.cta-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.cta-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  text-wrap: pretty;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.cta-fine {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 32px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand { font-size: 20px; }
.footer-brand > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-18 { color: var(--faint); font-size: 11px; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: rgba(255, 77, 141, 0.5);
  transform: translateY(-2px);
}
.footer-social svg { width: 15px; height: 15px; }

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 32px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}
.footer-bottom p {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
}
.footer-disclaimer {
  max-width: 560px;
  text-align: right;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-popular { order: -1; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-art { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .reviews, .pricing, .faq { padding: 64px 20px 0; }
  .reviews-head, .pricing-head, .faq-head { margin-bottom: 42px; }
  .reviews-summary { font-size: 12.5px; }

  .review-grid { grid-template-columns: 1fr; gap: 14px; }
  .review-card { padding: 20px 18px 22px; }
  .review-text { font-size: 13px; }

  .billing-toggle button { padding: 8px 15px; font-size: 12px; }
  .price-amount .amt { font-size: 38px; }
  .price-card { padding: 26px 22px; }
  .price-feats li { font-size: 13px; }

  .faq-list summary { font-size: 14px; padding: 18px 0; }
  .faq-list details p { font-size: 13px; padding-right: 8px; }

  .final-cta { padding: 64px 20px 56px; }
  .cta-card { border-radius: 22px; padding: 34px 22px 30px; }
  .cta-photo { width: min(230px, 100%); }
  .cta-badge { right: 0; bottom: 0; }
  .cta-copy h2 { font-size: 30px; }
  .cta-copy > p { font-size: 14.5px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 44px 20px 34px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-bottom { padding: 20px 20px 26px; justify-content: flex-start; }
  .footer-disclaimer { text-align: left; }
}
