/* Preview trial page. Scoped to .tr so the shared header and footer stay as they are. */

.tr {
  --navy: #071e36;
  --muted: #5e7380;
  --teal: #0e7490;
  --line: #d7e0e4;
  --card-line: #e6eee8;
  --hint: #6b7f8c;
  --paper: #fff;
  --wash: #e7f4f6;
  --wash-ico: #d3eef2;
  background: transparent;
  color: var(--navy);
  padding: 36px 24px 72px;
}

.tr,
.tr h1,
.tr h2,
.tr h3,
.tr p,
.tr a,
.tr span,
.tr label,
.tr input,
.tr select,
.tr button,
.tr li {
  font-family: "Poppins", sans-serif;
}

html[dir="rtl"] .tr,
html[dir="rtl"] .tr h1,
html[dir="rtl"] .tr h2,
html[dir="rtl"] .tr h3,
html[dir="rtl"] .tr p,
html[dir="rtl"] .tr a,
html[dir="rtl"] .tr span,
html[dir="rtl"] .tr label,
html[dir="rtl"] .tr input,
html[dir="rtl"] .tr select,
html[dir="rtl"] .tr button,
html[dir="rtl"] .tr li {
  font-family: "El Messiri", sans-serif;
}

.tr h1,
.tr h2,
.tr h3,
.tr p {
  margin: 0;
  padding: 0;
  color: inherit;
  text-transform: none;
}

.tr-hero {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}

.tr-hero h1 {
  color: var(--navy);
  font-size: clamp(26px, 2.3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

html[dir="rtl"] .tr-hero h1 {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: 0;
  line-height: 1.45;
}

.tr-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.tr-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tr-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  box-shadow: 0 1px 2px rgba(7, 30, 54, 0.04);
}

.tr-pills svg,
.tr-free svg,
.tr-why svg {
  display: block;
  flex-shrink: 0;
}

.tr-pills svg {
  color: var(--teal);
}

.tr-alert {
  max-width: 1080px;
  margin: 0 auto 16px;
  border-radius: 12px;
}

.tr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(280px, 0.92fr);
  gap: 22px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.tr-layout > * {
  min-width: 0;
}

.tr-card {
  border: 1px solid var(--card-line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(16, 40, 60, 0.06);
  padding: 26px 26px 20px;
}

.tr-card h2 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

html[dir="rtl"] .tr-card h2 {
  font-size: 22px;
  line-height: 1.45;
}

.tr-intro {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tr-section {
  margin: 22px 0 12px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.tr-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
}

.tr-field > label,
.tr .form-group > label {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.tr .text-danger,
.tr-req {
  color: #c4453c !important;
  font-weight: 600;
}

.tr-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  gap: 12px 14px;
  align-items: start;
}

.tr-split > * {
  min-width: 0;
}

.tr .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.tr-field input,
.tr .wa-local,
.tr .wa-country {
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  outline: none;
  box-shadow: none;
}

.tr-field input::placeholder,
.tr .wa-local::placeholder {
  color: #9aa8b3;
  font-weight: 400;
  opacity: 1;
}

.tr-field input:focus,
.tr .wa-local:focus,
.tr .wa-country:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.tr .wa-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin: 0;
}

.tr .wa-country {
  width: auto;
  min-width: 124px;
  max-width: 48%;
  flex: 0 1 auto;
  padding-inline-end: 28px;
  cursor: pointer;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23071e36' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

html[dir="rtl"] .tr .wa-country {
  background-position: left 10px center;
}

.tr .wa-local {
  flex: 1 1 auto;
  min-width: 0;
}

.tr-hint {
  margin: 8px 0 0;
  color: var(--hint);
  font-size: 12px;
  line-height: 1.45;
}

.tr .wa-error {
  margin-top: 6px;
  color: #c0392b;
  font-size: 12px;
  line-height: 1.4;
}

.tr-consent {
  margin-top: 6px;
}

.tr-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  color: #3c5160;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.tr-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  border: 1.5px solid #c5d0d4;
  border-radius: 4px;
  background: #fff center / 12px 12px no-repeat;
  cursor: pointer;
}

.tr-check input:checked {
  border-color: var(--teal);
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tr-check input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.tr-check a {
  color: var(--teal) !important;
  font-weight: 600;
  text-decoration: underline !important;
}

.tr-check a:hover {
  color: #0b6278 !important;
}

.tr-notes {
  margin: 6px 0 16px;
  padding: 12px 14px;
  border: 1px solid #e4ebe6;
  border-radius: 10px;
  background: #f7f6f2;
  color: #3c5160;
  font-size: 13px;
  line-height: 1.55;
  text-align: start;
}

.tr-notes p {
  margin: 0;
}

.tr-notes p + p {
  margin-top: 8px;
}

.tr-notes a {
  color: var(--teal) !important;
  font-weight: 600;
  text-decoration: underline !important;
}

.tr-notes a:hover {
  color: #0b6278 !important;
}

.tr-section--child {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #e4ebe6;
}

.tr-captcha {
  margin: 0;
  min-height: 0;
}

.tr-captcha .cf-turnstile {
  line-height: 0;
}

.tr .turnstile-fallback {
  margin: 8px 0 12px;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.45;
}

.tr .turnstile-fallback.d-none {
  display: none !important;
}

.tr .turnstile-retry-btn {
  margin-inline-start: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(185, 28, 28, 0.4);
  border-radius: 999px;
  background: #fff7f7;
  color: #7f1d1d;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tr .wa-unified {
  width: 100%;
}

.tr .wa-unified[hidden],
.tr .wa-row[hidden] {
  display: none !important;
}

.tr .wa-country-wrapper {
  position: relative;
  flex: 0 1 auto;
  min-width: 124px;
  max-width: 48%;
}

.tr .wa-country-search {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  box-sizing: border-box;
}

.tr .wa-country-search:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.tr .wa-country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 30, 54, 0.12);
}

.tr .wa-country-option {
  padding: 10px 12px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

.tr .wa-country-option:hover {
  background: #f4f8f9;
}

.tr .wa-unified .iti {
  display: block;
  width: 100%;
}

.tr .wa-unified .iti input[type="tel"] {
  width: 100%;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 8px 12px 8px 108px !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  box-shadow: none;
}

.tr .wa-unified .iti input[type="tel"]:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.tr .wa-unified .iti input[type="tel"]::placeholder {
  color: #9aa8b3;
  font-weight: 400;
  opacity: 1;
}

.tr .wa-unified .iti__flag-container,
.tr .wa-unified .iti__selected-flag {
  height: 100%;
}

.tr .wa-unified .iti__selected-flag {
  display: flex;
  align-items: center;
  padding: 0 8px 0 12px;
  border-radius: 8px 0 0 8px;
  background: transparent;
}

.tr .wa-unified .iti__selected-dial-code {
  margin-left: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

.tr .wa-unified .iti__arrow {
  width: 10px;
  height: 6px;
  margin-left: 8px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23071e36' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 6px no-repeat;
}

.tr .wa-unified .iti__arrow--up {
  transform: rotate(180deg);
}

.tr .wa-unified input:-webkit-autofill {
  animation-name: tr-tel-autofill;
  animation-duration: 0.01s;
}

@keyframes tr-tel-autofill {
  from {}
  to {}
}

.iti__country-list {
  z-index: 10050;
  max-width: min(320px, calc(100vw - 24px));
  max-height: min(240px, 50vh);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(7, 30, 54, 0.12);
}

.iti__country-list .iti__country {
  min-height: 40px;
}

.tr-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
}

html[dir="rtl"] .tr-submit {
  font-size: 18px;
}

.tr-submit:hover {
  background: var(--teal);
  color: #fff;
  opacity: 0.92;
}

.tr-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.tr-submit:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  opacity: 1;
}

.tr-reassure {
  margin-top: 12px;
  color: var(--hint);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.tr-next__lead {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.tr-steps {
  display: flex;
  flex-direction: column;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tr-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  position: relative;
  margin: 0;
  padding-bottom: 16px;
}

.tr-steps li:last-child {
  padding-bottom: 14px;
}

.tr-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 2px;
  left: 15px;
  width: 2px;
  background: #d5e8ec;
}

html[dir="rtl"] .tr-steps li:not(:last-child)::before {
  left: auto;
  right: 15px;
}

.tr-steps__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.tr-steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}

.tr-steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tr-free {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  border-radius: 12px;
  background: var(--wash);
}

.tr-free__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: var(--wash-ico);
  color: var(--teal);
}

.tr-free strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.tr-free p {
  color: #4d6472;
  font-size: 13px;
  line-height: 1.45;
}

.tr-why {
  max-width: 1080px;
  margin: 48px auto 0;
  text-align: center;
}

.tr-why h2 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

html[dir="rtl"] .tr-why h2 {
  font-size: 30px;
  line-height: 1.45;
}

.tr-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  text-align: start;
}

.tr-why__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 28px;
}

.tr-why__item + .tr-why__item {
  border-inline-start: 1px solid #e4ebe6;
}

.tr-why__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--teal);
}

.tr-why__item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.tr-why__item p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

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

@media (max-width: 991.98px) {
  .tr {
    padding: 28px 20px 56px;
  }

  .tr-layout {
    grid-template-columns: 1fr;
  }

  .tr-why__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tr-why__item {
    padding: 0;
  }

  .tr-why__item + .tr-why__item {
    border-inline-start: 0;
    padding-top: 18px;
    border-top: 1px solid #e4ebe6;
  }
}

@media (max-width: 640px) {
  .tr {
    padding: 22px 16px 48px;
  }

  .tr-hero h1,
  html[dir="rtl"] .tr-hero h1 {
    font-size: 24px;
  }

  .tr-lead {
    font-size: 15px;
  }

  .tr-pills {
    gap: 8px;
  }

  .tr-pills li {
    font-size: 13px;
  }

  .tr-card {
    padding: 20px 16px 16px;
  }

  .tr-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tr-phone {
    margin-bottom: 12px;
  }

  .tr-section {
    margin-top: 20px;
  }

  .tr-section--child {
    margin-top: 6px;
    padding-top: 18px;
  }

  .tr-notes {
    margin-top: 4px;
    margin-bottom: 14px;
  }

  .tr-submit {
    margin-top: 4px;
  }

  .tr-why h2,
  html[dir="rtl"] .tr-why h2 {
    font-size: 24px;
  }

  .tr-why__item {
    padding-top: 0;
  }
}

@media (max-width: 420px) {
  .tr .wa-row {
    flex-direction: column;
  }

  .tr .wa-country {
    width: 100%;
    max-width: none;
  }
}
