/* Dedicated pricing page. Orange stays the brand accent. */

.td-price-page {
  background: #0d0d0d;
  color: #fff;
}

.td-price-page [id] {
  scroll-margin-top: 96px;
}

.px-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.px-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 12px;
  border: 1px solid rgba(253, 120, 5, 0.55);
  border-radius: 999px;
  color: #fd7805;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.px-lead {
  max-width: 62ch;
  margin: 0 auto;
  color: #b9b9b9;
  font-size: 17px;
  line-height: 1.55;
}

.px-section {
  position: relative;
  padding: 72px 0;
}

.px-section h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.px-center {
  text-align: center;
}

.px-center .px-lead {
  margin-bottom: 28px;
}

.px-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.td-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.td-dots canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.px-has-dots {
  position: relative;
}

.px-has-dots > .px-wrap,
.px-cta.px-has-dots > h2,
.px-cta.px-has-dots > .px-lead,
.px-cta.px-has-dots > .px-actions {
  position: relative;
  z-index: 1;
}

/* Hero */
.px-hero {
  padding: 132px 0 36px;
  background:
    radial-gradient(520px 280px at 50% 18%, rgba(255, 121, 0, 0.2), transparent 70%),
    #0d0d0d;
  text-align: center;
}

.px-hero h1 {
  max-width: 16ch;
  margin: 0 auto 14px;
  color: #fff;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.px-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.px-chips li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.px-chips li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ff7900;
}

.px-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 0 64px;
  background: #0d0d0d;
}

.px-stat {
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%), #141414;
}

.px-stat strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.px-stat span {
  color: #b9b9b9;
  font-size: 13px;
  line-height: 1.4;
}

/* Plans */
.px-plans {
  background: #0d0d0d;
  padding-top: 28px;
}

.px-bill {
  display: inline-flex;
  gap: 4px;
  margin: 0 auto 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: #141414;
}

.px-bill button {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.px-bill button.is-on {
  background: #ff7900;
  color: #1a1a1a;
}

.px-bill-note {
  margin: 0 0 28px;
  color: #8d8d8d;
  font-size: 13px;
}

.px-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.px-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 120px),
    #141414;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.px-plan:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 121, 0, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.px-plan.is-pop {
  border-color: rgba(255, 121, 0, 0.75);
  box-shadow: 0 0 0 1px rgba(255, 121, 0, 0.25), 0 16px 50px rgba(255, 121, 0, 0.12);
}

.px-pop {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 121, 0, 0.16);
  color: #ff7900;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.px-plan h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.px-plan .px-seats {
  margin: 4px 0 10px;
  color: #ffb067;
  font-size: 13px;
  font-weight: 700;
}

.px-amount {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin: 0;
  color: #fff;
}

.px-amount b {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.px-amount span {
  margin-bottom: 6px;
  color: #b9b9b9;
  font-size: 14px;
}

.px-plan .px-desc {
  min-height: 66px;
  margin: 10px 0 14px;
  color: #b9b9b9;
  font-size: 14px;
  line-height: 1.5;
}

.px-plan .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.px-plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-plan li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #e8e8e8;
  font-size: 14px;
  line-height: 1.4;
}

.px-plan li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: #ff7900;
}

/* Comparison */
.px-compare {
  background: #111111;
}

.px-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.px-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.px-table th,
.px-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 14px;
}

.px-table th:first-child,
.px-table td:first-child {
  text-align: left;
  color: #fff;
  font-weight: 700;
}

.px-table thead th {
  color: #ffb067;
  background: #171717;
}

.px-table .px-group td {
  padding-top: 18px;
  color: #ff7900;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  background: #141414;
}

.px-yes { color: #ff7900; font-weight: 800; }
.px-no { color: #6f6f6f; }
.px-custom { color: #f5d0a8; font-weight: 700; }

.px-acc { display: none; }

.px-acc details {
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #141414;
}

.px-acc summary {
  padding: 14px 16px;
  color: #ff7900;
  font-weight: 800;
  cursor: pointer;
}

.px-acc li {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 6px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  list-style: none;
}

.px-acc ul { margin: 0; padding: 0; }
.px-acc li span:not(:first-child) { text-align: center; color: #d0d0d0; }
.px-acc-head { color: #ffb067; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }

/* Calculator channel colors on this page */
.td-price-page .td-cost-channel .td-cost-ico { color: var(--mark, #ff7900); }
.td-price-page .td-cost-channel[data-ch="whatsapp"] { --mark: #25d366; }
.td-price-page .td-cost-channel[data-ch="messenger"] { --mark: #0084ff; }
.td-price-page .td-cost-channel[data-ch="instagram"] { --mark: #e1306c; }
.td-price-page .td-cost-channel[data-ch="email"] { --mark: #f59e0b; }
.td-price-page .td-cost-channel[data-ch="sms"] { --mark: #3b82f6; }
.td-price-page .td-cost-channel[data-ch="voice"] { --mark: #06b6d4; }
.td-price-page .td-cost-channel[data-ch="ai"] { --mark: #8b5cf6; }
.td-price-page .td-cost-row[data-ch] > span:first-child { display: flex; align-items: center; gap: 8px; }
.td-price-page .td-cost-row[data-ch] > span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mark, #ff7900);
}
.td-price-page .td-cost-row[data-ch="whatsapp"] { --mark: #25d366; }
.td-price-page .td-cost-row[data-ch="messenger"] { --mark: #0084ff; }
.td-price-page .td-cost-row[data-ch="instagram"] { --mark: #e1306c; }
.td-price-page .td-cost-row[data-ch="email"] { --mark: #f59e0b; }
.td-price-page .td-cost-row[data-ch="sms"] { --mark: #3b82f6; }
.td-price-page .td-cost-row[data-ch="voice"] { --mark: #06b6d4; }
.td-price-page .td-cost-row[data-ch="ai"] { --mark: #8b5cf6; }

.px-calc { background: #0d0d0d; }
.px-calc .px-lead { margin-bottom: 22px; }

/* Bento */
.px-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  grid-template-areas:
    "inbox assign context"
    "inbox notes filters"
    "replies tags live";
  gap: 12px;
}

.px-tile {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: #141414;
}

.px-tile h3 { margin: 0 0 6px; color: #fff; font-size: 20px; }
.px-tile p { margin: 0; color: #b9b9b9; font-size: 14px; line-height: 1.45; }
.px-inbox { grid-area: inbox; background: linear-gradient(180deg, rgba(255, 121, 0, 0.08), transparent 40%), #141414; }
.px-assign { grid-area: assign; }
.px-context { grid-area: context; }
.px-notes { grid-area: notes; }
.px-filters { grid-area: filters; }
.px-replies { grid-area: replies; }
.px-tags { grid-area: tags; }
.px-live { grid-area: live; }

.px-mini {
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  background: #0e0e0e;
}

.px-mini b { display: block; margin-bottom: 6px; font-size: 12px; color: #ffb067; }
.px-mini span, .px-mini p { color: #d7d7d7; font-size: 13px; }
.px-bubble {
  margin: 6px 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: #1c1c1c;
}
.px-bubble.is-out { background: rgba(255, 121, 0, 0.16); }
.px-people { display: flex; gap: 8px; margin-top: 12px; }
.px-people i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.px-people i.on { box-shadow: 0 0 0 2px #22c55e; }

/* Omnichannel */
.px-omni { background: #101010; }
.px-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
.px-sources, .px-dest {
  display: grid;
  gap: 8px;
}
.px-ch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #141414;
  color: #fff;
  font-weight: 700;
}
.px-ch i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c, #ff7900);
  box-shadow: 0 0 10px var(--c, #ff7900);
}
.px-hub {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px solid rgba(255, 121, 0, 0.5);
  background: radial-gradient(circle, rgba(255, 121, 0, 0.2), #141414 70%);
  text-align: center;
}
.px-hub strong { color: #fff; font-size: 16px; }
.px-hub span { display: block; color: #ffb067; font-size: 12px; }
.px-hub::before,
.px-hub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff7900);
}
.px-hub::before { right: 100%; }
.px-hub::after { left: 100%; transform: scaleX(-1); }
.px-ch.wa { --c: #25d366; }
.px-ch.ig { --c: #e1306c; }
.px-ch.ms { --c: #0084ff; }
.px-ch.em { --c: #3b82f6; }
.px-ch.web { --c: #8b5cf6; }
.px-ch.voice { --c: #06b6d4; }

/* AI */
.px-ai {
  background:
    radial-gradient(420px 220px at 80% 20%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(380px 200px at 10% 80%, rgba(255, 121, 0, 0.12), transparent 70%),
    #0d0d0d;
}
.px-ai-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.px-ai-list { margin: 16px 0 0; padding: 0; list-style: none; }
.px-ai-list li { display: flex; gap: 10px; padding: 8px 0; color: #e8e8e8; }
.px-ai-list i {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--d, #ff7900);
}
.px-ai-ui {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #141414;
}
.px-ai-ui .who { display: flex; justify-content: space-between; color: #fff; font-weight: 700; }
.px-ai-ui .who span { color: #25d366; font-size: 12px; }
.px-ai-panel {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #fff8f3;
  color: #1c1c1c;
}
.px-ai-panel b { color: #6d28d9; font-size: 12px; }
.px-ai-actions { display: flex; gap: 8px; margin-top: 10px; }
.px-ai-actions span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}
.px-ai-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.px-ai-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #1c1c1c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.px-ai-meta span:nth-child(1) { box-shadow: inset 0 0 0 1px #8b5cf6; }
.px-ai-meta span:nth-child(2) { box-shadow: inset 0 0 0 1px #3b82f6; }
.px-ai-meta span:nth-child(3) { box-shadow: inset 0 0 0 1px #22c55e; }

/* Meta journey */
.px-light {
  background:
    radial-gradient(420px 180px at 10% 0%, rgba(255, 121, 0, 0.12), transparent 70%),
    #f6f1ea;
  color: #171717;
}
.px-light h2, .px-light h3 { color: #171717; }
.px-light .px-lead { color: #3a3a3a; }
.px-light .px-kicker { background: #fff; }
.px-journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.px-journey li {
  position: relative;
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(80, 40, 0, 0.05);
}
.px-journey b {
  display: block;
  margin-bottom: 6px;
  color: #c2410c;
  font-size: 12px;
}
.px-journey strong { display: block; margin-bottom: 4px; }
.px-journey span { color: #4b4b4b; font-size: 13px; line-height: 1.4; }
.px-journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #ff7900;
  border-bottom: 2px solid #ff7900;
  transform: rotate(-45deg);
}

/* Usage */
.px-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.px-usage-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--line, #ff7900);
  border-radius: 18px;
  background: #141414;
}
.px-usage-grid h3 { margin: 0 0 8px; color: #fff; font-size: 18px; }
.px-usage-grid p { margin: 0; color: #b9b9b9; font-size: 14px; line-height: 1.5; }
.px-usage-grid .wa { --line: #25d366; }
.px-usage-grid .sms { --line: #3b82f6; }
.px-usage-grid .voice { --line: #06b6d4; }
.px-usage-grid .em { --line: #f59e0b; }
.px-usage-grid .meta { --line: #0084ff; }
.px-usage-grid .ai { --line: #8b5cf6; }

/* Integrations */
.px-int { background: #101010; }
.px-int-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.px-int-grid a, .px-int-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #141414;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.px-int-core {
  border-color: rgba(255, 121, 0, 0.7);
  background: radial-gradient(circle, rgba(255, 121, 0, 0.2), #141414 70%);
  color: #fff;
}
.px-int-grid a i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c, #ff7900);
}
.px-int-grid a:hover { border-color: var(--c, #ff7900); }

/* Enterprise */
.px-ent {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #ff7900, #c2410c);
  color: #1a1a1a;
}
.px-ent h2, .px-ent p { color: #1a1a1a; }
.px-ent .px-lead { color: rgba(26, 26, 26, 0.82); margin: 0; }
.px-ent-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.px-ent-points li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 700;
}
.px-ent .btn {
  background: #141414;
  color: #fff;
  border-color: #141414;
}

/* FAQ */
.px-faq { display: grid; gap: 8px; }
.px-faq article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #141414;
}
.px-faq button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.px-faq button::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 2px solid #ff7900;
  border-bottom: 2px solid #ff7900;
  transform: rotate(45deg);
}
.px-faq button[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 10px; }
.px-faq .px-faq-a { padding: 0 18px 16px; color: #b9b9b9; font-size: 15px; line-height: 1.55; }
.px-faq .px-faq-a[hidden] { display: none; }

/* Final CTA */
.px-cta {
  margin: 0 0 48px;
  padding: 48px 28px;
  border-radius: 28px;
  background:
    radial-gradient(420px 160px at 80% 0%, rgba(255, 255, 255, 0.2), transparent 60%),
    linear-gradient(135deg, #ff8a1e, #e26500);
  text-align: center;
  overflow: hidden;
}
.px-cta h2, .px-cta p { color: #1a1a1a; }
.px-cta .px-lead { color: rgba(26, 26, 26, 0.84); }
.px-cta .btn-brand-4-medium {
  background: #141414 !important;
  background-color: #141414 !important;
  border-color: #141414 !important;
  color: #fff !important;
}
.px-cta .btn-brand-4-medium:hover {
  background: #fff !important;
  background-color: #fff !important;
  border-color: #fff !important;
  color: #141414 !important;
}
.px-cta .btn-brand-5 { background: transparent; color: #1a1a1a; border-color: rgba(26, 26, 26, 0.35); }

.px-rise { opacity: 0; transform: translateY(12px); animation: px-rise 0.6s ease forwards; }
@keyframes px-rise { to { opacity: 1; transform: none; } }

@media (max-width: 991px) {
  .px-stats, .px-plan-grid, .px-usage-grid { grid-template-columns: 1fr 1fr; }
  .px-bento, .px-ai-grid, .px-ent, .px-flow { grid-template-columns: 1fr; }
  .px-bento { grid-template-areas: "inbox" "assign" "context" "notes" "filters" "replies" "tags" "live"; }
  .px-journey { grid-template-columns: 1fr 1fr 1fr; }
  .px-hub { margin: 8px auto; }
  .px-hub::before, .px-hub::after { display: none; }
}

@media (max-width: 767px) {
  .px-wrap { width: min(1120px, calc(100% - 28px)); }
  .px-section { padding: 52px 0; }
  .px-hero { padding-top: 112px; }
  .px-plan-grid, .px-usage-grid, .px-journey, .px-int-grid { grid-template-columns: 1fr; }
  .px-stats { grid-template-columns: 1fr 1fr; }
  .px-table-wrap { display: none; }
  .px-acc { display: block; }
  .px-plan .px-desc { min-height: 0; }
  .px-journey li:not(:last-child)::after { display: none; }
  .px-amount b { font-size: 38px; }
  .px-ent, .px-cta { padding: 22px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .px-plan, .px-rise { animation: none; transition: none; transform: none; opacity: 1; }
}
