:root {
  --ig-orange: #f58529;
  --ig-pink: #dd2a7b;
  --ig-purple: #8134af;
  --navy: #1a4d80;
  --bg: #eef2f8;
  --text: #111827;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(26, 77, 128, 0.12);
  --gradient: linear-gradient(135deg, var(--ig-orange), var(--ig-pink), var(--ig-purple));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  gap: 1.25rem;
}

.page-header {
  display: flex;
  justify-content: center;
  width: min(520px, 100%);
  animation: logo-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-logo {
  display: block;
  width: min(240px, 75%);
  height: auto;
  border-radius: 20px;
}

.demo-panel {
  width: min(520px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.demo-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.demo-panel__subtitle {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.offer-timer {
  margin-bottom: 1.15rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(135deg, rgba(245, 133, 41, 0.08), rgba(129, 52, 175, 0.08));
  border: 1px dashed rgba(129, 52, 175, 0.22);
  animation: offer-glow 3s ease-in-out infinite;
}

.offer-timer__text {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

.offer-timer__countdown {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

#offer-countdown {
  display: inline-block;
  min-width: 5.5ch;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ig-pink);
  animation: countdown-pulse 2.2s ease-in-out infinite;
}

@keyframes offer-glow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(225, 48, 108, 0);
  }

  50% {
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.06);
  }
}

@keyframes countdown-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.03);
  }
}

.modal__dialog--success {
  width: min(360px, 100%);
  padding: 1.35rem 1.25rem 1.25rem;
}

.success-modal__head {
  margin: 0;
  padding-right: 1.5rem;
}

.success-modal__title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.success-modal__subtitle {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.premium-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 133, 41, 0.08), rgba(129, 52, 175, 0.08));
  border: 1px dashed rgba(129, 52, 175, 0.35);
  font-size: 0.86rem;
  line-height: 1.5;
}

.premium-notice strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
}

.modal__dialog {
  position: relative;
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.25);
  animation: modal-in 0.2s ease-out;
}

.modal__dialog .premium-notice {
  margin: 0;
}

.modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover {
  background: #e5e7eb;
  color: var(--text);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-limit--premium {
  cursor: pointer;
}

.service-limit--premium:hover {
  border-color: rgba(129, 52, 175, 0.22);
}

.service-limit--premium:focus-visible {
  outline: 2px solid rgba(225, 48, 108, 0.35);
  outline-offset: 2px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input[type="url"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(26, 77, 128, 0.18);
  border-radius: 12px;
  font: inherit;
  background: #fbfcff;
}

.form-group input:focus {
  outline: 2px solid rgba(221, 42, 123, 0.25);
  border-color: var(--ig-pink);
}

.service-limits {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  position: relative;
  z-index: 2;
  padding: 0;
  border: 0;
  min-width: 0;
}

.service-limit {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: #f8faff;
  border: 1px solid rgba(26, 77, 128, 0.08);
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-limit.is-selected {
  border-color: rgba(225, 48, 108, 0.28);
  box-shadow: 0 0 0 1px rgba(225, 48, 108, 0.08);
}

.service-limit:not(.is-selected):not(.service-limit--disabled) .service-limit__head {
  opacity: 0.88;
}

.service-limit:not(.is-selected):not(.service-limit--disabled) .range-wrap {
  opacity: 1;
}

.service-limit--disabled {
  opacity: 0.55;
  background: #f3f5f9;
  cursor: not-allowed;
}

.service-limit--disabled.service-limit--premium {
  cursor: pointer;
}

.service-limit--disabled .service-limit__label {
  cursor: not-allowed;
  color: var(--muted);
}

.service-limit--disabled.service-limit--premium .service-limit__label {
  cursor: pointer;
}

.service-limit__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.service-limit__radio {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--ig-pink);
  cursor: pointer;
}

.service-limit__radio:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.service-limit__badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(245, 133, 41, 0.15), rgba(129, 52, 175, 0.15));
  border: 1px dashed rgba(129, 52, 175, 0.35);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.service-limit__label {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.service-limit__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.range-wrap {
  position: relative;
  margin-top: 0.15rem;
  touch-action: none;
}

.range-track {
  display: flex;
  align-items: center;
  width: 100%;
  height: 28px;
  pointer-events: none;
}

.service-limit.is-selected:not(.is-adjusted):not(.is-demo-animating) .range-free input[type="range"]:not(:disabled)::-webkit-slider-thumb {
  animation: thumb-nudge 1.4s ease-in-out infinite;
}

.service-limit.is-selected:not(.is-adjusted):not(.is-demo-animating) .range-free input[type="range"]:not(:disabled)::-moz-range-thumb {
  animation: thumb-nudge 1.4s ease-in-out infinite;
}

@keyframes thumb-nudge {
  0%, 100% { box-shadow: 0 1px 8px rgba(225, 48, 108, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(225, 48, 108, 0.18); }
}

.range-free {
  width: var(--free-zone);
  height: 8px;
  border-radius: 999px 0 0 999px;
  flex-shrink: 0;
  --fill-percent: 0%;
  background-color: #e3e9f2;
  background-image: linear-gradient(90deg, #f77737, #e1306c, #c13584);
  background-repeat: no-repeat;
  background-size: var(--fill-percent) 100%;
}

.range-control {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--free-zone);
  height: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
}

.range-control input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.range-control input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: transparent;
  border: 0;
}

.range-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -4px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  background: linear-gradient(135deg, #f77737, #e1306c);
  box-shadow: 0 1px 8px rgba(225, 48, 108, 0.45);
}

.range-control input[type="range"]::-moz-range-track {
  height: 8px;
  background: transparent;
  border: 0;
}

.range-control input[type="range"]::-moz-range-progress {
  background: transparent;
}

.range-control input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  background: linear-gradient(135deg, #f77737, #e1306c);
  box-shadow: 0 1px 8px rgba(225, 48, 108, 0.45);
}

.range-control input[type="range"]:disabled {
  cursor: not-allowed;
}

.range-control input[type="range"]:disabled::-webkit-slider-thumb {
  background: #c4cad4;
  box-shadow: none;
}

.range-control input[type="range"]:disabled::-moz-range-thumb {
  background: #c4cad4;
  box-shadow: none;
}

.service-limit--disabled .range-free {
  background-image: none;
}

.range-control input[type="range"]:focus {
  outline: none;
}

.range-control input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.22);
}

.range-control input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.22);
}

.range-divider {
  width: 0;
  height: 14px;
  margin: 0;
  border-left: 2px dashed rgba(193, 53, 132, 0.85);
  flex-shrink: 0;
  pointer-events: none;
}

.range-extra {
  flex: 1;
  height: 8px;
  border-radius: 0 999px 999px 0;
  background: #e3e9f2;
  opacity: 0.85;
  pointer-events: none;
}


.service-limit:last-child {
  margin-bottom: 0.25rem;
}

.demo-status {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}

.demo-status:not([hidden]) {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(221, 42, 123, 0.28);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(221, 42, 123, 0.34);
}

.btn--primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}


.paid-panel {
  width: min(520px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 1.65rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.paid-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.paid-panel__head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.paid-panel__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 133, 41, 0.12), rgba(129, 52, 175, 0.12));
  border: 1px solid rgba(129, 52, 175, 0.2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.paid-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}

.paid-panel__subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.paid-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.paid-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #fcfdff 0%, #f4f7fc 100%);
  border: 1px solid rgba(26, 77, 128, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.paid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 77, 128, 0.12);
  border-color: rgba(225, 48, 108, 0.22);
}

.paid-card__top {
  display: block;
}

.paid-card__name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
}

.paid-card__desc {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}


.paid-card__btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gradient);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paid-card__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(221, 42, 123, 0.3);
}

.modal__dialog--pricing {
  padding: 1.5rem 1.35rem 1.35rem;
  overflow: hidden;
}

.modal__dialog--pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.pricing-modal__head {
  margin-bottom: 1rem;
  padding-right: 1.5rem;
}

.pricing-modal__title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.pricing-modal__subtitle {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.pricing-option {
  width: 100%;
  border: 1.5px solid rgba(26, 77, 128, 0.12);
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  background: #f8faff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-option:hover {
  border-color: rgba(225, 48, 108, 0.35);
  transform: translateY(-1px);
}

.pricing-option.is-selected {
  border-color: transparent;
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.25);
}

.pricing-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.82rem 1rem;
  border: 1.5px solid rgba(225, 48, 108, 0.22);
  border-radius: 999px;
  background: #fbfcff;
  color: var(--navy);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26, 77, 128, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pricing-whatsapp__icon {
  width: 18px;
  height: 18px;
  color: #25d366;
  flex-shrink: 0;
}

.pricing-whatsapp:hover {
  transform: translateY(-1px);
  border-color: rgba(225, 48, 108, 0.38);
  background: #fff;
  box-shadow: 0 8px 20px rgba(26, 77, 128, 0.1);
}

@media (max-width: 640px) {
  .demo-panel {
    padding: 1.5rem 1.25rem;
  }

  .paid-panel {
    padding: 1.5rem 1.25rem;
  }

  .paid-panel__head {
    text-align: center;
  }

  .paid-card {
    text-align: left;
  }

  .demo-panel__title,
  .demo-panel__subtitle {
    text-align: center;
  }
}

