/* ==========================================================================
   Pulsar IT — Pricing page only (R7.1): plan comparison table, "What's not
   included" panel. Loaded by pricing.html; uses the tokens from style.css.
   ========================================================================== */

/* ---- Comparison table -------------------------------------------------- */
.compare-cue {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
}
.compare-cue svg { width: 18px; height: 18px; }

/* Scrolls inside its own box on narrow screens; the page itself never scrolls sideways.
   The shadows on the left/right edges show there is more to see (pure CSS, no script). */
.compare-scroll {
  margin-top: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius, 14px);
  background:
    linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(11, 22, 48, .16), rgba(11, 22, 48, 0)) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(11, 22, 48, .16), rgba(11, 22, 48, 0)) right center / 14px 100% no-repeat scroll,
    #fff;
}
.compare-scroll:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.compare-table caption {
  padding: 16px 20px 0;
  text-align: left;
  font-size: 14px;
  color: var(--muted);
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare-table tbody tr:last-child > * { border-bottom: 0; }

.compare-table thead th { vertical-align: bottom; padding-top: 20px; padding-bottom: 18px; border-bottom-color: var(--line-strong); }
.compare-table__plan { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.compare-table__price { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--muted); }
.compare-table__price [data-price-ref] { font-weight: 700; color: var(--ink); }
.compare-table__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
}

/* Feature names stay visible while the plans scroll */
.compare-table tbody th,
.compare-table__corner {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 30%;
  min-width: 200px;
  background: #fff;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 1px 0 0 var(--line);
}
.compare-table__corner { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Recommended plan column */
.compare-table .is-featured { background: var(--blue-50); }
.compare-table thead .is-featured { box-shadow: inset 0 3px 0 var(--blue-600); }

/* Every cell has words, not just an icon */
.compare-table td { position: relative; padding-left: 42px; }
.compare-table__icon { position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; }
.compare-table .is-yes .compare-table__icon { color: var(--blue-600); stroke-width: 2.4; }
.compare-table .is-yes { color: var(--ink); font-weight: 600; }
.compare-table .is-add .compare-table__icon { color: var(--blue-500); }
.compare-table .is-no { color: var(--muted); }
.compare-table .is-no .compare-table__icon { color: var(--line-strong); }
.compare-table [data-price-ref] { white-space: nowrap; }

/* ---- What's not included ----------------------------------------------- */
.not-included {
  max-width: 880px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 14px);
  background: #fff;
}
.not-included__title { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.not-included__intro { margin-top: 8px; color: var(--muted); }
.not-included__sub { margin-top: 24px; font-weight: 600; color: var(--ink); }
.not-included__list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.not-included__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.not-included__list svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.not-included__list strong { color: var(--ink); }
.not-included__list--plan { margin-top: 10px; }

@media (max-width: 900px) {
  .compare-cue { display: flex; }
}
@media (max-width: 600px) {
  .not-included { padding: 24px 20px; }
  .compare-table { min-width: 620px; font-size: 14px; }
  /* Caption wraps inside the visible part of the scroll box instead of being cut off */
  .compare-table caption { max-width: calc(100vw - 72px); padding: 14px 14px 0; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .compare-table td { padding-left: 34px; }
  .compare-table__icon { left: 10px; top: 14px; width: 16px; height: 16px; }
  .compare-table tbody th, .compare-table__corner { width: 120px; min-width: 120px; max-width: 120px; font-size: 13.5px; hyphens: auto; }
}
