/* Pricing-page-specific styles, extends styles.css */

.pricing-hero {
  padding: 80px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--red-softer) 0%, transparent 70%),
    var(--bg);
}
.pricing-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 10px 0 18px;
}
.pricing-hero p {
  color: var(--ink-3);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cycle-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.cyc-btn {
  background: transparent;
  border: 0;
  padding: 9px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cyc-btn:hover { color: var(--ink); }
.cyc-btn.active {
  background: var(--ink);
  color: #fff;
}
.cyc-save {
  background: var(--red-soft);
  color: var(--red-darker);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.cyc-btn.active .cyc-save { background: var(--red); color: #fff; }

/* PLAN GRID */
.plans { padding: 40px 0 100px; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan-popular {
  border-color: var(--red);
  border-width: 2px;
  box-shadow: 0 20px 40px -20px rgba(211,58,44,.25);
}
.plan-popular:hover {
  box-shadow: 0 28px 56px -16px rgba(211,58,44,.35);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red), #FF6F4D);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 16px -4px rgba(211,58,44,.45);
}
.plan-dark {
  background: linear-gradient(180deg, #1F1D1A 0%, #2A2826 100%);
  color: #fff;
  border-color: rgba(255,255,255,.08);
}
.plan-dark .plan-head h3,
.plan-dark .plan-price .price { color: #fff; }
.plan-dark .plan-head p,
.plan-dark .plan-features li { color: rgba(255,255,255,.65); }
.plan-dark .plan-features i { color: #FF6F4D; }
.plan-dark .plan-features li.muted { color: rgba(255,255,255,.30); }
.plan-dark .plan-price .suf { color: rgba(255,255,255,.45); }

.plan-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.plan-head p {
  font-size: 13.5px;
  color: var(--slate-1);
  line-height: 1.5;
  min-height: 40px;
}
.plan-price {
  margin: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.price .cur { font-size: 22px; font-weight: 700; margin-right: 2px; color: var(--ink-3); }
.price .num { font-variant-numeric: tabular-nums; }
.plan-price .suf {
  font-size: 13px;
  color: var(--slate-1);
}

.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-on-dark {
  background: #fff;
  color: var(--ink);
  border-color: rgba(255,255,255,.20);
}
.btn-on-dark:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.plan-features {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.plan-features li i {
  margin-top: 4px;
  font-size: 10px;
  color: var(--red);
  flex-shrink: 0;
}
.plan-features li.muted { color: var(--slate-2); }
.plan-features li.muted i { color: var(--slate-2); }
.plan-features strong { color: var(--ink); font-weight: 600; }
.plan-dark .plan-features strong { color: #fff; }

/* COMPARISON TABLE */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}
.compare thead th {
  text-align: left;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--warm-bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
}
.compare th.hl,
.compare td.hl {
  background: var(--red-softer);
  color: var(--red-darker);
}
.compare tbody td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-3);
  vertical-align: top;
}
.compare tbody td:first-child {
  font-weight: 500;
  color: var(--ink-2);
}
.compare tr.grp td {
  background: #FAFAF7;
  font-weight: 700;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 20px;
}
.compare i.ok { color: var(--red); font-size: 13px; }
.compare tbody tr:hover td { background: rgba(211,58,44,.02); }
.compare tbody tr:hover td.hl { background: var(--red-soft); }

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details:hover { border-color: var(--red-soft); }
.faq details[open] {
  border-color: var(--red);
  box-shadow: 0 8px 24px -10px rgba(211,58,44,.18);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  color: var(--red);
  font-size: 12px;
  transition: transform .25s;
}
.faq details[open] summary i { transform: rotate(180deg); }
.faq p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.65;
}
.faq a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .plan-grid { grid-template-columns: 1fr; }
  .compare { font-size: 12.5px; }
  .compare thead th, .compare tbody td { padding: 12px 14px; }
}
