:root {
  --at-theme-red: #E31E24;
  --at-theme-red-rgb: 227, 30, 36;
  --at-theme-red-dark: #B3151A;
  --at-theme-blue: #0B3D91;
  --at-theme-blue-rgb: 11, 61, 145;
  --at-theme-blue-light: #1857C4;
  --at-theme-blue-dark: #072A66;
}

/*----------------------------------------*/
/*  Website Pricing Calculator
/*----------------------------------------*/
.tps-calc {
  --tps-red: var(--at-theme-red);
  --tps-blue: var(--at-theme-blue);
  padding-block: 40px 60px;
}
.tps-calc__shell {
  background: var(--at-neutral-0);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  padding: 50px 25px;
}
@media (min-width: 768px) {
  .tps-calc__shell {
    padding: 60px 60px;
  }
}
.tps-calc__intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

/* Progress indicator */
.tps-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 8px;
  max-width: 420px;
  margin: 36px auto 44px;
  padding: 0;
}
.tps-progress__step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  position: relative;
}
.tps-progress__step:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--at-neutral-100);
  margin-inline: 6px;
  transition: background 0.3s ease;
}
.tps-progress__step.is-done:not(:last-child)::after {
  background: var(--tps-blue);
}
.tps-progress__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--at-neutral-500);
  background: var(--at-neutral-50);
  border: 1px solid var(--at-neutral-100);
  transition: all 0.25s ease;
}
.tps-progress__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--at-neutral-500);
  white-space: nowrap;
  display: none;
}
@media (min-width: 576px) {
  .tps-progress__label {
    display: inline;
  }
}
.tps-progress__step.is-active .tps-progress__dot {
  background: var(--tps-blue);
  border-color: var(--tps-blue);
  color: #fff;
}
.tps-progress__step.is-active .tps-progress__label {
  color: var(--at-neutral-900);
}
.tps-progress__step.is-done .tps-progress__dot {
  background: var(--tps-blue);
  border-color: var(--tps-blue);
  color: #fff;
}

/* Shared panel bits */
.tps-panel {
  position: relative;
}

.tps-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--at-neutral-500);
  cursor: pointer;
  transition: color 0.2s ease;
}
.tps-back:hover {
  color: var(--tps-red);
}
.tps-back:focus-visible {
  outline: 2px solid var(--tps-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Step 1 — mode selection */
.tps-mode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 760px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .tps-mode-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tps-mode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  background: var(--at-neutral-50);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 32px 28px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.tps-mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--tps-blue);
}
.tps-mode-card:focus-visible {
  outline: 2px solid var(--tps-blue);
  outline-offset: 3px;
}
.tps-mode-card:nth-child(2):hover {
  border-color: var(--tps-red);
}
.tps-mode-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--tps-blue), var(--at-theme-blue-light));
}
.tps-mode-card:nth-child(2) .tps-mode-card__icon {
  background: linear-gradient(135deg, var(--tps-red), var(--at-theme-red-dark));
}
.tps-mode-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--at-neutral-900);
}
.tps-mode-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--at-neutral-500);
}

/* Step 2a — budget mode */
.tps-budget-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
  background: var(--at-neutral-50);
  border: 2px solid var(--at-neutral-100);
  border-radius: 16px;
  padding: 14px 20px;
  transition: border-color 0.2s ease;
}
.tps-budget-input-wrap:focus-within {
  border-color: var(--tps-blue);
}

.tps-budget-input-prefix {
  font-size: 22px;
  font-weight: 700;
  color: var(--at-neutral-500);
}

.tps-budget-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 26px;
  font-weight: 700;
  color: var(--at-neutral-900);
  text-align: left;
}
.tps-budget-input:focus {
  outline: none;
}

.tps-budget-error {
  max-width: 420px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--tps-red);
}

.tps-quick-budgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 24px auto 0;
}

.tps-quick-budget {
  background: var(--at-neutral-50);
  border: 1px solid var(--at-neutral-100);
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--at-neutral-700);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tps-quick-budget:hover {
  border-color: var(--tps-blue);
  color: var(--tps-blue);
}
.tps-quick-budget:focus-visible {
  outline: 2px solid var(--tps-blue);
  outline-offset: 2px;
}
.tps-quick-budget.is-active {
  background: var(--tps-blue);
  border-color: var(--tps-blue);
  color: #fff;
}

/* Step 2b — feature mode */
.tps-feature-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 992px) {
  .tps-feature-layout {
    grid-template-columns: 1fr 320px;
  }
}

.tps-category {
  border: 0;
  padding: 0;
  margin: 0 0 36px;
}
.tps-category__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--tps-blue);
  padding: 0 0 14px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--at-neutral-100);
  width: 100%;
}

.tps-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 576px) {
  .tps-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tps-feature-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--at-neutral-50);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tps-feature-card:hover {
  border-color: var(--at-neutral-200);
}
.tps-feature-card.is-checked {
  border-color: var(--tps-blue);
  background: rgba(var(--at-theme-blue-rgb), 0.06);
}
.tps-feature-card.is-locked {
  cursor: default;
}
.tps-feature-card__input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--tps-blue);
}
.tps-feature-card__input:focus-visible {
  outline: 2px solid var(--tps-blue);
  outline-offset: 2px;
}
.tps-feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tps-feature-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--at-neutral-900);
}
.tps-feature-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--at-neutral-500);
}
.tps-feature-card__badge {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--tps-blue);
  padding: 3px 8px;
  border-radius: 9999px;
}
.tps-feature-card.is-locked .tps-feature-card__badge {
  display: inline-block;
}

/* Sticky summary (desktop) */
.tps-summary {
  position: sticky;
  top: 24px;
  background: linear-gradient(160deg, var(--tps-blue), var(--at-theme-blue-dark));
  border-radius: 20px;
  padding: 28px 26px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(var(--at-theme-blue-rgb), 0.25);
}
.tps-summary__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0.8;
  margin-bottom: 6px;
}
.tps-summary__value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
  word-break: break-word;
}
.tps-summary__count {
  font-size: 13px;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 0;
}

.tps-reset {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: 0;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  text-decoration: underline;
}
.tps-reset:hover {
  color: #fff;
}

/* Mobile sticky bottom bar */
.tps-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--at-neutral-0);
  border-top: 1px solid var(--at-neutral-100);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  padding: 14px 20px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}
@media (min-width: 992px) {
  .tps-sticky-bar {
    display: none !important;
  }
}
.tps-sticky-bar__info {
  display: flex;
  flex-direction: column;
}
.tps-sticky-bar__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--at-neutral-500);
}
.tps-sticky-bar__value {
  font-size: 18px;
  font-weight: 800;
  color: var(--at-neutral-900);
}

/* Step 3 — results */
.tps-results {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.tps-results__eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tps-red);
}
.tps-results__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--at-neutral-900);
  margin: 10px 0 12px;
}
.tps-results__desc {
  font-size: 16px;
  color: var(--at-neutral-500);
  max-width: 620px;
  margin: 0 auto 40px;
}
.tps-results__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: left;
}
@media (min-width: 768px) {
  .tps-results__body {
    grid-template-columns: 1fr 340px;
  }
}
.tps-results__features {
  background: var(--at-neutral-50);
  border-radius: 20px;
  padding: 30px;
}
.tps-results__features-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tps-blue);
  margin-bottom: 18px;
}
.tps-results__price {
  background: linear-gradient(160deg, var(--tps-red), var(--at-theme-red-dark));
  border-radius: 20px;
  padding: 30px;
  color: #fff;
  text-align: center;
}
.tps-results__price-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 6px;
}
.tps-results__price-value {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  word-break: break-word;
}
.tps-results__disclaimer {
  font-size: 12px;
  color: #fff;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 0;
}

.tps-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 480px) {
  .tps-check-list {
    grid-template-columns: 1fr 1fr;
  }
}
.tps-check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--at-neutral-900);
}
.tps-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tps-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
}

.tps-whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 13px 20px;
  border-radius: 9999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #128C4A;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tps-whatsapp-link svg {
  color: #25D366;
}
.tps-whatsapp-link:hover {
  color: #128C4A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tps-results__price .tps-whatsapp-link,
.tps-summary .tps-whatsapp-link {
  background: rgba(255, 255, 255, 0.95);
}

.tps-lead-thankyou .tps-whatsapp-link {
  background: rgba(37, 211, 102, 0.1);
  color: #128C4A;
}

/* Lead capture modal */
.tps-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tps-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(2px);
}
.tps-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--at-neutral-0);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.tps-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--at-neutral-50);
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--at-neutral-700);
  cursor: pointer;
}
.tps-modal__close:hover {
  background: var(--at-neutral-100);
}
.tps-modal__close:focus-visible {
  outline: 2px solid var(--tps-blue);
  outline-offset: 2px;
}

.tps-lead-form__field {
  margin-bottom: 16px;
}
.tps-lead-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--at-neutral-700);
  margin-bottom: 6px;
}
.tps-lead-form__field input,
.tps-lead-form__field textarea {
  width: 100%;
  border: 1px solid var(--at-neutral-100);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--at-neutral-900);
  background: var(--at-neutral-50);
  transition: border-color 0.2s ease;
}
.tps-lead-form__field input:focus,
.tps-lead-form__field textarea:focus {
  outline: none;
  border-color: var(--tps-blue);
}
.tps-lead-form__optional {
  font-weight: 400;
  color: var(--at-neutral-500);
}
.tps-lead-form__error {
  font-size: 13px;
  color: var(--tps-red);
  margin-bottom: 12px;
}

.tps-lead-thankyou {
  text-align: center;
  padding: 10px 0;
}
.tps-lead-thankyou__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--tps-blue);
  background: rgba(var(--at-theme-blue-rgb), 0.1);
  margin-bottom: 16px;
}
.tps-lead-thankyou p {
  color: var(--at-neutral-500);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .tps-calc {
    padding-bottom: 100px;
  }
}

/*----------------------------------------*/
/*  Packages & Pricing table
/*----------------------------------------*/
.tps-plans {
  background: var(--at-neutral-0);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}
.tps-plans__scroll-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--at-theme-blue);
  margin-bottom: 10px;
}
.tps-plans__table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  -webkit-overflow-scrolling: touch;
}
.tps-plans__table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--at-neutral-0);
}
.tps-plans__table thead th {
  padding: 22px 16px;
  text-align: center;
  background: var(--at-neutral-950);
  color: #fff;
  vertical-align: bottom;
}
.tps-plans__table tbody th {
  text-align: left;
  font-weight: 500;
  font-size: 15px;
  color: var(--at-neutral-900);
  padding: 14px 20px;
  white-space: nowrap;
  position: sticky;
  left: 0;
  background: var(--at-neutral-0);
  border-bottom: 1px solid var(--at-neutral-100);
}
.tps-plans__table tbody td {
  text-align: center;
  padding: 14px 12px;
  border-bottom: 1px solid var(--at-neutral-100);
}
.tps-plans__table tbody tr:last-child th,
.tps-plans__table tbody tr:last-child td {
  border-bottom: 0;
}
.tps-plans__table tbody tr:nth-child(odd) th,
.tps-plans__table tbody tr:nth-child(odd) td {
  background-color: var(--at-neutral-50);
}
.tps-plans__table tbody tr:nth-child(odd) th {
  background-color: var(--at-neutral-50);
}
.tps-plans__col-label {
  text-align: left !important;
  background: var(--at-neutral-950) !important;
}
.tps-plans__label-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.tps-plans__col {
  min-width: 140px;
  position: relative;
}
.tps-plans__col.tps-plans__col--single {
  background: var(--at-theme-blue-light);
}
.tps-plans__col.tps-plans__col--dynamic {
  background: var(--at-theme-blue);
}
.tps-plans__col.tps-plans__col--ecommerce {
  background: var(--at-theme-red);
}
.tps-plans__col.tps-plans__col--3d {
  background: var(--at-theme-blue-dark);
}
.tps-plans__col-badge {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--at-theme-red);
  background: #fff;
  border-radius: 9999px;
  padding: 3px 10px;
  margin: 0 auto 8px;
  width: -moz-fit-content;
  width: fit-content;
}
.tps-plans__col-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.tps-plans__col-price {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-top: 6px;
}
.tps-plans__yes, .tps-plans__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.tps-plans__yes {
  background: var(--at-theme-blue);
}
.tps-plans__yes::after {
  content: "";
  width: 10px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.tps-plans__no {
  background: var(--at-neutral-100);
}
.tps-plans__no::after {
  content: "";
  width: 8px;
  height: 2px;
  background: var(--at-theme-red);
}
.tps-plans__trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--at-theme-blue);
  background: rgba(var(--at-theme-blue-rgb), 0.08);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 575px) {
  .tps-plans__table-wrap {
    margin-inline: -5px;
  }
}
