/* ===================== HERO ===================== */
.pricing-hero{ position: relative; overflow: hidden; }

.pricing-hero h1{
  font-family: var(--font-sans); font-weight: 600;
  font-size: clamp(40px, 5vw, 60px); line-height: 1.07;
  letter-spacing: -0.03em;   text-wrap: balance;
}

/* ===================== PLAN CARDS ===================== */
.plans-grid{
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; max-width: 1180px; margin: var(--space-8) auto 0;
  align-items: stretch;
}
.plan{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.plan.is-featured{
  border: 2px solid var(--blue-500);
}
.plan-badge{
  position: absolute; top: 16px; right: 16px;
  padding: 5px 9px; border-radius: var(--radius-sm);
  background: var(--blue-50); color: var(--blue-600);
  font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}

.plan-name{
  font-family: var(--font-sans); font-weight: 700;
  font-size: 28px; letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.plan-sub{
  color: var(--ink-500); font-size: 14px; line-height: 1.5;
  margin: 0 0 32px; min-height: 66px;
}

.plan-price{
  display: flex; align-items: baseline; gap: 8px;
  margin: 4px 0 4px;
  min-height: 64px;
}
.plan-price{ position: relative; }
.plan-price .price-from{
  position: absolute; left: 0; bottom: 100%; margin-bottom: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-500); white-space: nowrap;
}
.plan-price .currency{
  font-size: 20px; font-weight: 500; color: var(--ink-700);
  align-self: flex-start; margin-top: 8px;
}
.plan-price .amount{
  font-family: var(--font-sans); font-weight: 600;
  font-size: 60px; line-height: 1; letter-spacing: -0.025em;
  color: var(--ink-900);
}
.plan-price .period{
  color: var(--ink-500); font-size: 16px; font-weight: 500;
  margin-left: 2px;
}
.plan-price.is-quote .amount{ font-size: 44px; letter-spacing: -0.018em; }
.plan-price.is-quote .period{ display: none; }

.plan-equiv{
  color: var(--ink-500); font-size: 14px;
  margin: 0 0 22px; min-height: 20px;
  transition: opacity .2s;
}
.plan-equiv.is-hidden{ opacity: 0; }
.plan-equiv strong{ color: var(--ink-700); font-weight: 600; }

.plan-cta-wrap{ margin: 6px 0 14px; }
.plan-trial{
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--ink-500); font-size: 13px;
  margin: 10px 0 0;
}
.stripe-ic{ width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }

.plan-divider{
  height: 1px; background: var(--line);
  margin: 24px 0 22px;
}
.plan-feats-title{
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
  margin: 0 0 16px;
}
.jc-btn .wa-ic{ width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }
.plan-feats{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-feats li{
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  align-items: start;
  font-size: 14px; color: var(--ink-700); line-height: 1.45;
}
.plan-feats .check{
  width: 20px; height: 20px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-500);
  flex-shrink: 0;
}
.plan-feats .check svg{ width: 11px; height: 11px; }
.plan-feats li.is-pro::after{
  content: "Pro";
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  background: var(--blue-50); color: var(--blue-600);
  padding: 2px 6px; border-radius: var(--radius-sm);
  margin-left: 6px; align-self: center;
}

.plan-spacer{ flex: 1; }

/* Sub-line under plan cards */
.plans-foot{
  margin: 36px auto 0; text-align: center;
  color: var(--ink-700); font-size: 14px;
}
.plans-foot a{ color: var(--blue-600);
  font-weight: 500; }
.plans-foot a:hover{ text-decoration: underline; }

/* ===================== COMPARISON ===================== */

.compare-head h2{
  font-family: var(--font-sans); font-weight: 600;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1.09;
  letter-spacing: -0.025em; margin: 0 auto;
  max-width: 760px; text-wrap: balance;
  color: var(--ink-900);
  margin-left: 0;
  margin-right: 0;
}

.compare-head p{ margin: 14px auto 0; color: var(--ink-700); max-width: 560px; font-size: 16px;
  margin-left: 0;
  margin-right: 0;
}

.compare-table-wrap{
  margin-top: var(--space-8);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table{
  width: 100%; border-collapse: collapse;
  font-size: 16px;
}
.compare-table thead th{
  padding: 16px 18px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 14px; color: var(--ink-700);
  text-align: center; vertical-align: middle;
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--line);
}
.compare-table thead th:first-child{
  text-align: left; padding-left: 28px;
  background: var(--surface-sunken);
}
.compare-table thead th.is-us{
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 600;
}
.compare-table thead th.is-us .brand-mini{
  display: inline-flex; align-items: center; gap: 8px;
  justify-content: center;
}
.compare-table thead th.is-us img{ height: 18px; width: auto; }
.compare-table tbody td{
  padding: 12px 18px;
  text-align: center; vertical-align: middle;
  border-bottom: 1px solid var(--line);
  color: var(--ink-700);
}
.compare-table tbody tr:last-child td{ border-bottom: 0; }
.compare-table tbody td:first-child{
  text-align: left; padding-left: 28px;
  font-weight: 600; color: var(--ink-900);
  width: 36%;
}
.compare-table tbody td.is-us{
  background: var(--blue-50);
}
.compare-table tbody tr:hover td{ background: var(--surface-sunken); }
.compare-table tbody tr:hover td.is-us{ background: var(--blue-50); }

.ico-circle{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: var(--radius-full);
  font-size: 13px;
}
.ico-check{ background: var(--success-50); color: var(--success); }
.ico-x{ background: var(--danger-50); color: var(--danger); }
.ico-partial{
  background: var(--surface-sunken); color: var(--ink-700);
  width: auto; height: auto; padding: 4px 12px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
}

/* ===================== FEATURES (compact grid) ===================== */

.features-head h2{
  font-family: var(--font-sans); font-weight: 600;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1.09;
  letter-spacing: -0.025em; margin: 0 auto;
  max-width: 760px; text-wrap: balance;
  color: var(--ink-900);
  margin-left: 0;
  margin-right: 0;
}

.features-grid{
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; max-width: none;
  margin: 0 auto;
}
.feat-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: grid;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 10px;
  align-items: center;
  align-content: start;
}
.feat-card:hover{
  border-color: var(--blue-500);
}
.feat-icon{
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-500);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0;
}
.feat-icon svg{ width: 18px;
  height: 18px;
}
.feat-card h3{
  font-family: var(--font-sans); font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink-900);
  text-wrap: balance;
  line-height: 1.3;
}
.feat-card p{
  margin: 0; font-size: 13px;
  line-height: 1.5;
  color: var(--ink-700); text-wrap: pretty;
  grid-column: 1 / -1;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px){
  .plans-grid{ grid-template-columns: 1fr; max-width: 480px; }
  .plan.is-featured{ transform: none; }
  .features-grid{ grid-template-columns: 1fr 1fr; }

  .compare-table thead th, .compare-table tbody td{ padding: 14px 10px; font-size: 14px; }
  .compare-table tbody td:first-child, .compare-table thead th:first-child{ padding-left: 16px; }

}
@media (max-width: 560px){
  .features-grid{ grid-template-columns: 1fr; }

  
  .plan{ padding: 28px 24px; }
}

.pricing-hero .jc-overline, .compare-head .jc-overline, .features-head .jc-overline{ display: block; margin-bottom: 16px; }

.pricing-hero.jc-section{ padding-top: var(--space-12); }

.features-section{ padding-block: var(--space-8) var(--space-6); }
.features-head{ margin-bottom: var(--space-4); }
