/* ── Тарифні картки ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
  max-width: 640px;
}
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.price-card.basic { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); }
.price-card.standard { background: rgba(108,62,244,0.08); border: 1px solid rgba(168,85,247,0.4); }

.price-card .pc-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(108,62,244,0.2); color: #A78BFA;
}
.price-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
.price-card .pc-price { font-size: 48px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.price-card.basic .pc-price { color: var(--text); }
.price-card.standard .pc-price { color: #A78BFA; }
.price-card .pc-period { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

.pc-list { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.pc-list li { font-size: 13px; color: var(--muted); padding: 8px 0 8px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); position: relative; line-height: 1.5; }
.pc-list li:last-child { border-bottom: none; }
.pc-list li::before { content: '✓'; position: absolute; left: 0; color: #4ADE80; font-weight: 500; }
.pc-list li.muted::before { content: '·'; color: #555; }

.pc-cta { display: block; text-align: center; padding: 14px; border-radius: 12px; font-size: 14px; font-weight: 500; text-decoration: none; transition: all .2s; margin-top: auto; }
.price-card.basic .pc-cta { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid rgba(255,255,255,0.12); }
.price-card.standard .pc-cta { background: rgba(108,62,244,0.2); color: #A78BFA; border: 1px solid rgba(168,85,247,0.3); }
.pc-cta:hover { transform: translateY(-1px); }

/* ── Тікер «ціна зростає» ── */
.price-ticker {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  padding: 10px 20px; border-radius: 100px;
  background: rgba(236,72,153,0.08); border: 1px solid rgba(236,72,153,0.25);
  font-size: 13px; color: var(--muted);
}
.price-ticker b { color: #F9A8D4; }
.price-ticker .pt-cd { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.price-ticker .pt-muted { color: #777; }

/* ── Розстрочка: правила ── */
.inst-rules {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 32px 0;
}
@media (max-width: 640px) { .inst-rules { grid-template-columns: 1fr 1fr; } }
.inst-rules .ir {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 16px; text-align: center;
}
.inst-rules .ir b { display: block; font-size: 22px; font-weight: 900; color: #A78BFA; margin-bottom: 4px; }
.inst-rules .ir span { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ── Розстрочка: калькулятор ── */
.inst-calc {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch;
  background: var(--card); border: 1px solid rgba(168,85,247,0.25); border-radius: 20px;
  padding: 28px; margin: 24px 0;
}
@media (max-width: 720px) { .inst-calc { grid-template-columns: 1fr; } }

.ic-field { margin-bottom: 26px; }
.ic-field:last-child { margin-bottom: 0; }
.ic-field > label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.ic-field > label b { color: var(--text); font-size: 16px; }
.ic-labels { display: flex; justify-content: space-between; font-size: 11px; color: #666; margin-top: 8px; }

/* range inputs */
.inst-calc input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px;
  background: rgba(255,255,255,0.1); outline: none; cursor: pointer;
}
.inst-calc input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg,#6C3EF4,#EC4899); border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(108,62,244,0.5);
}
.inst-calc input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff;
  background: linear-gradient(135deg,#6C3EF4,#EC4899); box-shadow: 0 2px 10px rgba(108,62,244,0.5);
}

.ic-result {
  background: linear-gradient(135deg, rgba(108,62,244,0.1), rgba(236,72,153,0.08));
  border: 1px solid rgba(168,85,247,0.3); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column;
}
.ic-monthly { text-align: center; margin-bottom: 18px; }
.ic-monthly span { font-size: 44px; font-weight: 900; color: #EC4899; line-height: 1; }
.ic-monthly small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.ic-break { list-style: none; padding: 0; margin: 0 0 14px; }
.ic-break li { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ic-break li b { color: var(--text); font-weight: 600; }
.ic-break li.ic-total b { color: #4ADE80; font-size: 16px; }
.ic-note { font-size: 12px; color: #A78BFA; margin: 0 0 16px; min-height: 16px; }
.ic-cta { background: linear-gradient(135deg,#6C3EF4,#EC4899) !important; color: #fff !important; border: none !important; }

.inst-tax { font-size: 12px; color: #666; text-align: center; margin-top: 8px; line-height: 1.5; }

/* ── What's included ── */
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
@media (max-width: 560px) { .included-grid { grid-template-columns: 1fr; } }
.inc-item { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.inc-icon { font-size: 20px; flex-shrink: 0; }
.inc-item h4 { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.inc-item p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── Порівняння ── */
.compare-pricing { width: 100%; border-collapse: collapse; font-size: 14px; margin: 32px 0 8px; }
.compare-pricing th { padding: 14px 16px; font-weight: 500; font-size: 13px; border-bottom: 1px solid rgba(168,85,247,0.2); text-align: center; }
.compare-pricing th:first-child { text-align: left; color: #555; }
.compare-pricing th.th-ours { color: #4ADE80; background: rgba(74,222,128,0.06); }
.compare-pricing th.th-lucky { color: #60A5FA; background: rgba(59,130,246,0.05); }
.compare-pricing th.th-insta { color: #f87171; background: rgba(239,68,68,0.05); }
.compare-pricing td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); text-align: center; color: var(--muted); font-size: 13px; }
.compare-pricing td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.compare-pricing .good { color: #4ADE80; font-weight: 600; }
.compare-pricing .bad { color: #f87171; }
.compare-pricing .mid { color: #FB923C; }
.compare-wrap-p { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; overflow-x: auto; padding: 4px; }
.compare-foot { font-size: 11px; color: #666; margin: 8px 4px 0; line-height: 1.5; }

/* ── Калькулятор економії ── */
.cost-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
@media (max-width: 560px) { .cost-calc { grid-template-columns: 1fr; } }
.cc-block { border-radius: 16px; padding: 24px; }
.cc-block.them { background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.2); }
.cc-block.us { background: rgba(74,222,128,0.05); border: 1px solid rgba(74,222,128,0.2); }
.cc-block h3 { font-size: 14px; font-weight: 800; margin-bottom: 16px; }
.cc-block.them h3 { color: #f87171; }
.cc-block.us h3 { color: #4ADE80; }
.cc-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 12px; flex-wrap: wrap; }
.cc-row:last-child { border-bottom: none; }
.cc-row .cv { font-weight: 500; white-space: nowrap; }
.cv.red { color: #f87171; } .cv.green { color: #4ADE80; } .cv.big { font-size: 20px; }

/* ── GYMS Start ── */
.start-card {
  background: linear-gradient(135deg, rgba(108,62,244,0.12), rgba(236,72,153,0.1));
  border: 1.5px solid rgba(236,72,153,0.4); border-radius: 24px; padding: 40px 32px; text-align: center;
}
.start-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #F9A8D4; background: rgba(236,72,153,0.15); padding: 6px 16px; border-radius: 100px; margin-bottom: 18px; }
.start-card h2 { font-size: clamp(24px,4vw,36px); font-weight: 900; margin-bottom: 12px; }
.start-card > p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.start-cond { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 560px; margin: 0 auto; }
@media (max-width: 560px) { .start-cond { grid-template-columns: 1fr; } }
.start-cond > div { background: rgba(0,0,0,0.2); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.start-cond b { display: block; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.start-cond span { font-size: 12px; color: var(--muted); }

/* ── FAQ ── */
.faq-item-p { border: 1px solid rgba(168,85,247,0.2); border-radius: 12px; padding: 20px; margin-bottom: 10px; }
.faq-item-p summary { font-weight: 500; font-size: 15px; cursor: pointer; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item-p summary::-webkit-details-marker { display: none; }
.faq-item-p .fi-icon { font-size: 20px; color: #A78BFA; flex-shrink: 0; }
.faq-item-p p, .faq-item-p ul { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-item-p ul { padding-left: 18px; }
.faq-item-p li { margin-bottom: 6px; }