/* =========================================================
   Pricing / Packages page — conflict-proof layout
   Avoid bare Tailwind utility names (grid, card, wrap, etc.)
   ========================================================= */

.pricing-page {
  --pp-bg: #071126;
  --pp-ink: #e6eeff;
  --pp-muted: #a8b7d9;
  --pp-line: #2b3b66;
  --pp-card: #12244a;
  --pp-accent: #2f7bff;
  --pp-accent-2: #5a92ff;
  --pp-hero: radial-gradient(circle at top, #102650 0%, #071126 55%);
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--pp-ink);
  background: var(--pp-bg);
  overflow-x: clip;
}

.pricing-page *,
.pricing-page *::before,
.pricing-page *::after {
  box-sizing: border-box;
}

.pricing-page .pp-container {
  /* Match site header/footer .b2b-container (1200px) */
  display: block;
  width: min(1200px, calc(100% - 2.5rem));
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.pricing-page .pp-eyebrow {
  font-family: Inter, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pp-accent);
  margin: 0 0 0.75rem;
}

.pricing-page h1,
.pricing-page h2,
.pricing-page h3,
.pricing-page h4 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--pp-ink);
}

.pricing-page h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  max-width: none;
}

.pricing-page h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.pricing-page h3 { font-size: 1.3rem; }
.pricing-page h4 { font-size: 1.1rem; }

.pricing-page .pp-lead,
.pricing-page .pp-hero-excerpt {
  font-family: Inter, system-ui, sans-serif;
  color: var(--pp-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 62ch;
  margin: 0;
}

.pricing-page .pp-tag {
  display: inline-block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pp-accent);
  background: rgba(47, 123, 255, 0.12);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.pricing-page .pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid var(--pp-line);
  color: var(--pp-ink) !important;
  background: transparent;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  white-space: nowrap;
}

.pricing-page .pp-btn:hover {
  background: var(--pp-ink);
  color: var(--pp-bg) !important;
  transform: translateY(-1px);
}

.pricing-page .pp-btn-primary {
  background: linear-gradient(135deg, var(--pp-accent), var(--pp-accent-2));
  border-color: var(--pp-accent);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(47, 123, 255, 0.35);
}

.pricing-page .pp-btn-primary:hover {
  background: linear-gradient(135deg, #225fe8, var(--pp-accent));
  border-color: #225fe8;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(47, 123, 255, 0.45);
  transform: translateY(-1px);
}

.pricing-page .pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.pricing-page .pp-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--pp-muted);
  margin-bottom: 1.25rem;
}

.pricing-page .pp-crumbs a {
  color: var(--pp-accent);
  text-decoration: none;
}

/* Hero */
.pricing-page .pp-hero {
  display: block;
  width: 100%;
  background: var(--pp-hero);
  padding: 2.75rem 0 3.25rem;
  border-bottom: 1px solid var(--pp-line);
}

.pricing-page .pp-hero h1 {
  max-width: 22ch;
}

.pricing-page .pp-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
  max-width: 640px;
  width: 100%;
}

.pricing-page .pp-kpis > div {
  background: rgba(18, 36, 74, 0.85);
  border: 1px solid var(--pp-line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  min-width: 0;
}

.pricing-page .pp-kpis strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.pricing-page .pp-kpis span {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--pp-muted);
}

/* Body layout */
.pricing-page .pp-body {
  display: block;
  width: 100%;
  padding: 2.5rem 0 4rem;
}

.pricing-page .pp-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.pricing-page .pp-toc {
  position: sticky;
  top: 5rem;
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  border-radius: 1rem;
  padding: 1rem;
  width: 100%;
  min-width: 0;
}

.pricing-page .pp-toc-title {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pp-muted);
  margin: 0 0 0.75rem;
}

.pricing-page .pp-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pricing-page .pp-toc-link {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--pp-ink);
  text-decoration: none;
  display: block;
  padding: 0.35rem 0.4rem;
  border-radius: 0.4rem;
}

.pricing-page .pp-toc-link:hover {
  background: rgba(47, 123, 255, 0.12);
  color: #fff;
}

.pricing-page .pp-main {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.pricing-page .pp-section-head {
  margin-bottom: 1rem;
}

.pricing-page .pp-path {
  display: block;
  width: 100%;
  margin: 2rem 0 2.5rem;
  padding: 1.5rem;
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  border-radius: 1.25rem;
  min-width: 0;
  transition: border-color .22s ease, box-shadow .22s ease;
}

.pricing-page .pp-path:hover {
  border-color: rgba(47, 123, 255, 0.4);
  box-shadow: 0 12px 36px rgba(7, 17, 38, 0.35);
}

.pricing-page .pp-path-intro {
  margin-bottom: 1.25rem;
}

.pricing-page .pp-path-intro p {
  font-family: Inter, system-ui, sans-serif;
  color: var(--pp-muted);
  margin: 0;
  line-height: 1.55;
}

/* Card grids — explicit, no Tailwind .grid collision */
.pricing-page .pp-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem;
  width: 100%;
}

.pricing-page .pp-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.pricing-page .pp-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(18, 36, 74, 0.95) 0%, rgba(12, 26, 54, 0.98) 100%);
  border: 1px solid var(--pp-line);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
  min-width: 0;
  width: 100%;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.pricing-page .pp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 123, 255, 0.5);
  box-shadow: 0 16px 36px rgba(47, 123, 255, 0.16);
}

.pricing-page .pp-card ul {
  font-family: Inter, system-ui, sans-serif;
  margin: 0.85rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--pp-muted);
  line-height: 1.55;
  flex: 1;
}

.pricing-page .pp-card p {
  font-family: Inter, system-ui, sans-serif;
  color: var(--pp-muted);
  margin: 0;
}

.pricing-page .pp-card h4 small,
.pricing-page .pp-card strong small {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--pp-muted);
}

.pricing-page .pp-card-featured {
  border-color: var(--pp-accent);
  box-shadow: 0 12px 30px rgba(47, 123, 255, 0.2);
}

.pricing-page .pp-card-featured:hover {
  box-shadow: 0 18px 40px rgba(47, 123, 255, 0.28);
}

.pricing-page .pp-card .pp-btn {
  margin-top: auto;
  align-self: flex-start;
}

.pricing-page .pp-price-label {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--pp-ink);
}

/* Volume widget */
.pricing-page .pp-volume-widget {
  display: block;
  width: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(47, 123, 255, 0.16), transparent 55%),
    linear-gradient(165deg, rgba(18, 36, 74, 0.95) 0%, rgba(10, 22, 48, 0.98) 100%);
  border: 1px solid var(--pp-line);
  border-radius: 1.15rem;
  padding: 1.4rem 1.45rem 1.25rem;
  margin-bottom: 1.25rem;
  min-width: 0;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pricing-page .pp-volume-widget:hover {
  border-color: rgba(47, 123, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(47, 123, 255, 0.12),
    0 18px 44px rgba(47, 123, 255, 0.2);
  transform: translateY(-2px);
}

.pricing-page .pp-volume-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.pricing-page .pp-volume-stat {
  min-width: 0;
}

.pricing-page .pp-volume-label {
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pp-muted);
  margin-bottom: 0.35rem;
}

.pricing-page #volume-leads,
.pricing-page .pp-volume-price strong {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

.pricing-page .pp-volume-price strong {
  background: linear-gradient(135deg, #fff 0%, #9ec0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-page .pp-slider-wrap {
  position: relative;
  padding: 0.55rem 0.15rem 0.35rem;
  width: 100%;
  min-width: 0;
}

/* Custom professional range slider */
.pricing-page #volume-range {
  --pp-slider-pct: 0%;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}

.pricing-page #volume-range:active {
  cursor: grabbing;
}

.pricing-page #volume-range:focus {
  outline: none;
}

.pricing-page #volume-range:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 0 0 4px rgba(47, 123, 255, 0.28),
    0 8px 22px rgba(47, 123, 255, 0.5);
}

.pricing-page #volume-range:focus-visible::-moz-range-thumb {
  box-shadow:
    0 0 0 4px rgba(47, 123, 255, 0.28),
    0 8px 22px rgba(47, 123, 255, 0.5);
}

.pricing-page #volume-range::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(90, 146, 255, 0.25);
  background: linear-gradient(
    to right,
    #2f7bff 0%,
    #5a92ff var(--pp-slider-pct),
    rgba(26, 45, 85, 0.95) var(--pp-slider-pct),
    rgba(26, 45, 85, 0.95) 100%
  );
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.pricing-page #volume-range::-moz-range-track {
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(90, 146, 255, 0.25);
  background: rgba(26, 45, 85, 0.95);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.pricing-page #volume-range::-moz-range-progress {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f7bff, #5a92ff);
}

.pricing-page #volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -12px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8.5 8.5L5 12l3.5 3.5M15.5 8.5L19 12l-3.5 3.5' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat,
    linear-gradient(145deg, #5a92ff 0%, #2f7bff 55%, #1e5fd4 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.25) inset,
    0 6px 18px rgba(47, 123, 255, 0.55),
    0 0 0 1px rgba(30, 95, 212, 0.4);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  z-index: 2;
}

.pricing-page #volume-range::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8.5 8.5L5 12l3.5 3.5M15.5 8.5L19 12l-3.5 3.5' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat,
    linear-gradient(145deg, #5a92ff 0%, #2f7bff 55%, #1e5fd4 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.25) inset,
    0 6px 18px rgba(47, 123, 255, 0.55),
    0 0 0 1px rgba(30, 95, 212, 0.4);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: grab;
}

.pricing-page .pp-volume-widget:hover #volume-range::-webkit-slider-thumb,
.pricing-page #volume-range:hover::-webkit-slider-thumb,
.pricing-page #volume-range:active::-webkit-slider-thumb {
  transform: scale(1.12);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.3) inset,
    0 10px 26px rgba(47, 123, 255, 0.65),
    0 0 0 4px rgba(47, 123, 255, 0.2);
}

.pricing-page .pp-volume-widget:hover #volume-range::-moz-range-thumb,
.pricing-page #volume-range:hover::-moz-range-thumb,
.pricing-page #volume-range:active::-moz-range-thumb {
  transform: scale(1.12);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.3) inset,
    0 10px 26px rgba(47, 123, 255, 0.65),
    0 0 0 4px rgba(47, 123, 255, 0.2);
}

.pricing-page .pp-tick-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.pricing-page .pp-tick {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.65rem;
  color: var(--pp-muted);
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.85;
  transition: color .15s ease, opacity .15s ease;
}

.pricing-page .pp-volume-widget:hover .pp-tick {
  opacity: 1;
  color: #c5d4f5;
}

.pricing-page .pp-tick i {
  display: block;
  width: 1px;
  height: 8px;
  background: var(--pp-line);
  margin: 0 auto 0.15rem;
}

.pricing-page .pp-volume-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--pp-muted);
  margin-top: 1rem;
  width: 100%;
}

.pricing-page .pp-volume-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(7, 17, 38, 0.55);
  border: 1px solid rgba(43, 59, 102, 0.9);
  border-radius: 999px;
  padding: 0.35rem 0.8rem 0.35rem 0.65rem;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.pricing-page .pp-volume-meta span svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--pp-accent-2);
}

.pricing-page .pp-volume-meta span:hover {
  border-color: rgba(47, 123, 255, 0.55);
  background: rgba(47, 123, 255, 0.12);
  color: #e6eeff;
  transform: translateY(-1px);
}

.pricing-page .pp-volume-name,
.pricing-page .pp-volume-copy {
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--pp-muted);
  margin-bottom: 0.35rem;
}

.pricing-page .pp-notice {
  background: rgba(47, 123, 255, 0.08);
  border: 1px solid rgba(47, 123, 255, 0.35);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
  width: 100%;
}

.pricing-page .pp-notice strong {
  display: block;
  margin-bottom: 0.4rem;
}

.pricing-page .pp-notice p {
  font-family: Inter, system-ui, sans-serif;
  color: var(--pp-muted);
  margin: 0;
  line-height: 1.55;
}

.pricing-page .pp-info-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem;
  margin: 2rem 0;
  width: 100%;
}

.pricing-page .pp-info-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.pricing-page .pp-panel {
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  border-radius: 1.25rem;
  padding: 1.35rem;
  min-width: 0;
  width: 100%;
}

.pricing-page .pp-panel ul {
  font-family: Inter, system-ui, sans-serif;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--pp-muted);
  line-height: 1.55;
}

.pricing-page .pp-faq {
  width: 100%;
}

.pricing-page .pp-faq details {
  border-bottom: 1px solid var(--pp-line);
  padding: 0.85rem 0;
}

.pricing-page .pp-faq details:last-child { border-bottom: 0; }

.pricing-page .pp-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.pricing-page .pp-faq summary::-webkit-details-marker { display: none; }
.pricing-page .pp-faq summary span::before {
  content: "+";
  color: var(--pp-accent);
  font-size: 1.2rem;
}
.pricing-page .pp-faq details[open] summary span::before { content: "–"; }

.pricing-page .pp-faq p {
  font-family: Inter, system-ui, sans-serif;
  color: var(--pp-muted);
  margin: 0.65rem 0 0;
  line-height: 1.55;
}

.pricing-page .pp-final {
  width: 100%;
}

.pricing-page .pp-final .pp-panel {
  text-align: center;
}

.pricing-page .pp-final .pp-lead {
  margin-inline: auto;
}

.pricing-page .pp-final .pp-actions {
  justify-content: center;
}

.pricing-page .pp-note {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--pp-muted);
  margin-top: 1rem;
}

.pricing-page .pp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Breakpoints */
@media (max-width: 1100px) {
  .pricing-page .pp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 960px) {
  .pricing-page .pp-layout {
    grid-template-columns: 1fr !important;
  }

  .pricing-page .pp-toc {
    position: static;
  }

  .pricing-page .pp-grid-3,
  .pricing-page .pp-info-row,
  .pricing-page .pp-info-row-2,
  .pricing-page .pp-kpis {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .pricing-page .pp-grid-4 {
    grid-template-columns: 1fr !important;
  }

  .pricing-page .pp-path {
    padding: 1rem;
  }

  .pricing-page .pp-tick:nth-child(2n) {
    visibility: hidden;
  }
}
