/* =========================================================
   RoboThings Project Launchpad — Frontend Styles
   Design System: RoboThings Orange + Dark, Inter typeface
   ========================================================= */

/* ─── Custom Properties ─────────────────────────────────── */
:root {
  --rtpl-primary:      #FF6B00;
  --rtpl-primary-dark: #e05a00;
  --rtpl-primary-soft: #fff4ed;
  --rtpl-secondary:    #1a1a2e;
  --rtpl-bg:           #F8FAFC;
  --rtpl-surface:      #ffffff;
  --rtpl-border:       #e2e8f0;
  --rtpl-text:         #0f172a;
  --rtpl-text-muted:   #64748b;
  --rtpl-text-light:   #94a3b8;
  --rtpl-success:      #10b981;
  --rtpl-error:        #ef4444;
  --rtpl-warning:      #f59e0b;
  --rtpl-radius-sm:    8px;
  --rtpl-radius:       12px;
  --rtpl-radius-lg:    16px;
  --rtpl-radius-xl:    24px;
  --rtpl-shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --rtpl-shadow:       0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --rtpl-shadow-lg:    0 16px 48px rgba(0,0,0,.1), 0 4px 16px rgba(0,0,0,.06);
  --rtpl-transition:   all .2s cubic-bezier(.4,0,.2,1);
}
.rtpl-wizard-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ─── Wrapper ────────────────────────────────────────────── */
.rtpl-wizard-wrapper {
  background: var(--rtpl-bg);
  padding: 0 0 80px;
}

/* ─── Trust Strip ────────────────────────────────────────── */
.rtpl-trust-strip {
  background: linear-gradient(135deg, var(--rtpl-primary) 0%, var(--rtpl-primary-dark) 100%);
  padding: 16px 20px;
}
.rtpl-trust-strip__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.rtpl-trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 20px;
}
.rtpl-trust-stat__value {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.rtpl-trust-stat__label {
  font-size: 11px;
  color: rgba(255,255,255,.75);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.rtpl-trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.25);
}

/* ─── Wizard Container ───────────────────────────────────── */
.rtpl-wizard {
  max-width: 680px;
  margin: 32px auto 0;
  background: var(--rtpl-surface);
  border-radius: var(--rtpl-radius-xl);
  box-shadow: var(--rtpl-shadow-lg);
  overflow: hidden;
}

/* ─── Wizard Header ──────────────────────────────────────── */
.rtpl-wizard__header {
  background: linear-gradient(135deg, var(--rtpl-primary) 0%, var(--rtpl-primary-dark) 100%);
  padding: 32px 36px 28px;
}
.rtpl-wizard__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.rtpl-wizard__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.rtpl-wizard__free-badge {
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.rtpl-wizard__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.rtpl-wizard__subtitle {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,.8);
}

/* ─── Progress ───────────────────────────────────────────── */
.rtpl-progress-wrap {
  padding: 20px 36px 0;
  background: var(--rtpl-surface);
}
.rtpl-progress-bar {
  height: 6px;
  background: var(--rtpl-border);
  border-radius: 99px;
  overflow: hidden;
}
.rtpl-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rtpl-primary), var(--rtpl-secondary));
  border-radius: 99px;
  transition: width .4s cubic-bezier(.4,0,.2,1);
}
.rtpl-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: var(--rtpl-text-muted);
  padding-bottom: 4px;
}
#rtpl-step-name {
  font-weight: 600;
  color: var(--rtpl-primary);
}

/* ─── Steps ──────────────────────────────────────────────── */
.rtpl-step {
  display: none;
  padding: 28px 36px;
  animation: rtplFadeIn .25s ease;
}
.rtpl-step--active { display: block; }

@keyframes rtplFadeIn {
  from { opacity:0; transform:translateY(8px); }
  to   { opacity:1; transform:translateY(0); }
}

.rtpl-step__header {
  margin-bottom: 24px;
  text-align: center;
}
.rtpl-step__icon {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
  line-height: 1;
}
.rtpl-step__header h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--rtpl-text);
}
.rtpl-step__header p {
  margin: 0;
  color: var(--rtpl-text-muted);
  font-size: 14px;
}

/* ─── Project Type Grid ──────────────────────────────────── */
.rtpl-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rtpl-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px 14px;
  background: var(--rtpl-bg);
  border: 2px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius);
  cursor: pointer;
  transition: var(--rtpl-transition);
  text-align: center;
}
.rtpl-type-card:hover {
  border-color: var(--rtpl-primary);
  background: var(--rtpl-primary-soft);
  transform: translateY(-1px);
  box-shadow: var(--rtpl-shadow);
}
.rtpl-type-card--selected {
  border-color: var(--rtpl-primary) !important;
  background: var(--rtpl-primary-soft) !important;
  box-shadow: 0 0 0 4px rgba(15,98,254,.12) !important;
}
.rtpl-type-card__icon { font-size: 26px; margin-bottom: 6px; display: block; }
.rtpl-type-card__label { font-size: 13px; font-weight: 700; color: var(--rtpl-text); display: block; }
.rtpl-type-card__desc { font-size: 11px; color: var(--rtpl-text-muted); margin-top: 3px; display: block; line-height: 1.3; }
.rtpl-type-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--rtpl-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.rtpl-type-card--selected .rtpl-type-card__check { display: flex; }

/* ─── Choice Grid (Stages & Timelines) ───────────────────── */
.rtpl-choice-grid { display: grid; gap: 10px; }
.rtpl-choice-grid--2 { grid-template-columns: 1fr 1fr; }
.rtpl-choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--rtpl-bg);
  border: 2px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius);
  cursor: pointer;
  transition: var(--rtpl-transition);
}
.rtpl-choice-card:hover {
  border-color: var(--rtpl-primary);
  background: var(--rtpl-primary-soft);
}
.rtpl-choice-card--selected {
  border-color: var(--rtpl-primary) !important;
  background: var(--rtpl-primary-soft) !important;
  box-shadow: 0 0 0 4px rgba(15,98,254,.1) !important;
}
.rtpl-choice-card__icon { font-size: 24px; flex-shrink: 0; }
.rtpl-choice-card__content { flex: 1; }
.rtpl-choice-card__content strong { font-size: 14px; font-weight: 700; color: var(--rtpl-text); display: block; }
.rtpl-choice-card__content span { font-size: 12px; color: var(--rtpl-text-muted); }
.rtpl-choice-card__check {
  width: 22px;
  height: 22px;
  background: var(--rtpl-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.rtpl-choice-card--selected .rtpl-choice-card__check { display: flex; }

/* ─── Budget Options ─────────────────────────────────────── */
.rtpl-budget-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rtpl-budget-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: var(--rtpl-bg);
  border: 2px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius);
  cursor: pointer;
  transition: var(--rtpl-transition);
}
.rtpl-budget-card:hover {
  border-color: var(--rtpl-primary);
  background: var(--rtpl-primary-soft);
}
.rtpl-budget-card--selected {
  border-color: var(--rtpl-primary) !important;
  background: var(--rtpl-primary-soft) !important;
  box-shadow: 0 0 0 4px rgba(15,98,254,.1) !important;
}
.rtpl-budget-card__label { font-size: 16px; font-weight: 800; color: var(--rtpl-text); }
.rtpl-budget-card__desc { font-size: 12px; color: var(--rtpl-text-muted); margin-top: 4px; }
.rtpl-budget-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  background: var(--rtpl-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.rtpl-budget-card--selected .rtpl-budget-card__check { display: flex; }

/* ─── Text Area ──────────────────────────────────────────── */
.rtpl-textarea-wrap { position: relative; }
.rtpl-textarea-main {
  width: 100%;
  min-height: 160px;
  padding: 16px;
  border: 2px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--rtpl-text);
  background: var(--rtpl-bg);
  resize: vertical;
  transition: var(--rtpl-transition);
  box-sizing: border-box;
  line-height: 1.6;
}
.rtpl-textarea-main:focus {
  outline: none;
  border-color: var(--rtpl-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15,98,254,.1);
}
.rtpl-char-count {
  text-align: right;
  font-size: 12px;
  color: var(--rtpl-text-light);
  margin-top: 6px;
}
.rtpl-voice-upload {
  margin-top: 14px;
  display: flex;
  align-items: center;
}
.rtpl-voice-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--rtpl-primary);
  cursor: pointer;
  font-weight: 500;
}
.rtpl-voice-label:hover { text-decoration: underline; }

/* ─── Dropzone ───────────────────────────────────────────── */
.rtpl-dropzone {
  border: 2px dashed var(--rtpl-border);
  border-radius: var(--rtpl-radius-lg);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--rtpl-transition);
  background: var(--rtpl-bg);
}
.rtpl-dropzone:hover,
.rtpl-dropzone--dragover {
  border-color: var(--rtpl-primary);
  background: var(--rtpl-primary-soft);
}
.rtpl-dropzone__icon { margin-bottom: 12px; }
.rtpl-dropzone__text strong { display: block; font-size: 16px; color: var(--rtpl-text); }
.rtpl-dropzone__text span { display: block; font-size: 14px; color: var(--rtpl-primary); margin-top: 2px; }
.rtpl-dropzone__hint { font-size: 12px; color: var(--rtpl-text-muted); margin-top: 8px; }
.rtpl-dropzone__limit { font-size: 11px; color: var(--rtpl-text-light); margin-top: 4px; }

.rtpl-file-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.rtpl-file-preview {
  position: relative;
  background: var(--rtpl-bg);
  border: 1px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius-sm);
  padding: 10px;
  text-align: center;
}
.rtpl-file-preview img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; }
.rtpl-file-preview__icon { font-size: 28px; height: 70px; display: flex; align-items: center; justify-content: center; }
.rtpl-file-preview__name { font-size: 11px; color: var(--rtpl-text-muted); margin-top: 6px; word-break: break-all; }
.rtpl-file-preview__remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--rtpl-error);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.rtpl-file-preview__uploading { font-size: 11px; color: var(--rtpl-primary); margin-top: 4px; }

/* ─── Contact Form ───────────────────────────────────────── */
.rtpl-contact-form { }
.rtpl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.rtpl-form-group { display: flex; flex-direction: column; }
.rtpl-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--rtpl-text);
  margin-bottom: 6px;
}
.rtpl-required { color: var(--rtpl-error); margin-left: 2px; }
.rtpl-input {
  padding: 12px 14px;
  border: 2px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--rtpl-text);
  background: var(--rtpl-bg);
  transition: var(--rtpl-transition);
  width: 100%;
  box-sizing: border-box;
}
.rtpl-input:focus {
  outline: none;
  border-color: var(--rtpl-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,107,0,.12);
}
/* ── Phone input: clean flex badge, zero overlap possible ── */
.rtpl-phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius-sm);
  overflow: hidden;
  background: var(--rtpl-bg);
  transition: border-color .2s, box-shadow .2s;
}
.rtpl-phone-wrap:focus-within {
  border-color: var(--rtpl-primary);
  box-shadow: 0 0 0 4px rgba(255,107,0,.12);
  background: #fff;
}
.rtpl-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f1f5f9;
  border-right: 1.5px solid var(--rtpl-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--rtpl-text);
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}
.rtpl-phone-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 1;
  min-width: 0;
  padding-left: 12px !important;
}
.rtpl-phone-input:focus {
  outline: none;
  border: none !important;
  box-shadow: none !important;
}
/* keep old prefix classes for backward compat but neutralise them */
.rtpl-input-prefix-wrap { position: relative; }
.rtpl-input-prefix { display: none; }
.rtpl-input--prefixed { padding-left: 16px; }
.rtpl-same-as-phone {
  font-size: 12px;
  color: var(--rtpl-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-weight: 500;
  text-align: left;
}
.rtpl-same-as-phone:hover { text-decoration: underline; }

.rtpl-privacy-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--rtpl-radius-sm);
  font-size: 13px;
  color: #166534;
}

/* ─── Review Card ────────────────────────────────────────── */
.rtpl-review-card {
  background: var(--rtpl-bg);
  border: 1px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.rtpl-review-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--rtpl-border);
}
.rtpl-review-row:last-child { border-bottom: none; }
.rtpl-review-row__icon { font-size: 18px; margin-right: 12px; flex-shrink: 0; width: 24px; text-align: center; }
.rtpl-review-row__label { font-size: 12px; color: var(--rtpl-text-muted); display: block; }
.rtpl-review-row__value { font-size: 14px; font-weight: 600; color: var(--rtpl-text); display: block; margin-top: 1px; }

/* ─── Submit Button ──────────────────────────────────────── */
.rtpl-submit-wrap { text-align: center; }
.rtpl-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--rtpl-primary), var(--rtpl-primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--rtpl-radius);
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--rtpl-transition);
  width: 100%;
  max-width: 340px;
  box-shadow: 0 4px 16px rgba(15,98,254,.35);
}
.rtpl-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,98,254,.4);
}
.rtpl-submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}
.rtpl-submit-btn__text, .rtpl-submit-btn__loading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rtpl-submit-note {
  font-size: 12px;
  color: var(--rtpl-text-muted);
  margin-top: 10px;
}
.rtpl-spinner {
  animation: rtplSpin 1s linear infinite;
}
@keyframes rtplSpin { to { transform: rotate(360deg); } }

/* ─── Navigation ─────────────────────────────────────────── */
.rtpl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px 28px;
  border-top: 1px solid var(--rtpl-border);
}
.rtpl-btn-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: none;
  border: 2px solid var(--rtpl-border);
  border-radius: var(--rtpl-radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--rtpl-text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: var(--rtpl-transition);
}
.rtpl-btn-back:hover {
  border-color: var(--rtpl-text-muted);
  color: var(--rtpl-text);
}
.rtpl-btn-next {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: var(--rtpl-primary);
  color: #fff;
  border: none;
  border-radius: var(--rtpl-radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--rtpl-transition);
  box-shadow: 0 2px 8px rgba(15,98,254,.25);
}
.rtpl-btn-next:hover {
  background: var(--rtpl-primary-dark);
  transform: translateX(2px);
}

/* ─── Error ──────────────────────────────────────────────── */
.rtpl-error {
  font-size: 12px;
  color: var(--rtpl-error);
  margin-top: 5px;
  font-weight: 500;
  min-height: 16px;
}
.rtpl-input--error { border-color: var(--rtpl-error) !important; }

/* ─── Success Screen ─────────────────────────────────────── */
.rtpl-success {
  max-width: 540px;
  margin: 40px auto 0;
  background: var(--rtpl-surface);
  border-radius: var(--rtpl-radius-xl);
  box-shadow: var(--rtpl-shadow-lg);
  padding: 48px 40px 40px;
  text-align: center;
}
.rtpl-success__animation { margin-bottom: 24px; }
.rtpl-success__checkmark {
  width: 80px;
  height: 80px;
  stroke: var(--rtpl-success);
  stroke-width: 2;
}
.rtpl-success__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke: var(--rtpl-success);
  fill: none;
  animation: rtplCircle .6s ease-in-out forwards;
}
.rtpl-success__check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: rtplCheck .3s .6s ease-in-out forwards;
}
@keyframes rtplCircle { to { stroke-dashoffset: 0; } }
@keyframes rtplCheck { to { stroke-dashoffset: 0; } }

.rtpl-success__title { font-size: 28px; font-weight: 800; color: var(--rtpl-text); margin: 0 0 12px; }
.rtpl-success__subtitle { font-size: 15px; color: var(--rtpl-text-muted); margin: 0 0 16px; line-height: 1.6; }
.rtpl-success__ref {
  display: inline-block;
  background: var(--rtpl-primary-soft);
  color: var(--rtpl-primary);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.rtpl-success__actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.rtpl-wa-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: var(--rtpl-radius);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
  transition: var(--rtpl-transition);
}
.rtpl-wa-cta-btn:hover { background: #1da951; transform: translateY(-1px); }
.rtpl-reset-btn {
  background: none;
  border: none;
  color: var(--rtpl-text-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  padding: 6px;
}
.rtpl-reset-btn:hover { color: var(--rtpl-primary); }

.rtpl-success__steps { margin-top: 32px; text-align: left; }
.rtpl-success__steps h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--rtpl-text-muted); margin: 0 0 14px; }
.rtpl-next-step { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.rtpl-next-step span {
  width: 28px;
  height: 28px;
  background: var(--rtpl-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.rtpl-next-step p { margin: 4px 0 0; font-size: 14px; color: var(--rtpl-text); }

/* ─── Sticky CTA ─────────────────────────────────────────── */
.rtpl-sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: none;
}
.rtpl-sticky-cta__wa {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--rtpl-transition);
}
.rtpl-sticky-cta__wa:hover { transform: scale(1.04); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .rtpl-wizard { margin: 16px auto 0; border-radius: var(--rtpl-radius-lg); }
  .rtpl-wizard__header { padding: 24px 20px 20px; }
  .rtpl-wizard__title { font-size: 20px; }
  .rtpl-step { padding: 20px 16px; }
  .rtpl-nav { padding: 14px 16px 20px; }
  .rtpl-type-grid { grid-template-columns: repeat(2, 1fr); }
  .rtpl-choice-grid--2 { grid-template-columns: 1fr; }
  .rtpl-budget-options { grid-template-columns: 1fr; }
  .rtpl-form-row { grid-template-columns: 1fr; }
  .rtpl-trust-strip__inner { gap: 0; }
  .rtpl-trust-stat { padding: 4px 12px; }
  .rtpl-trust-stat__value { font-size: 16px; }
  .rtpl-trust-divider { height: 24px; }
  .rtpl-success { padding: 32px 20px 28px; margin: 20px 12px 0; }
  .rtpl-sticky-cta { display: flex; }
  .rtpl-review-card { padding: 14px 16px; }
}
@media (min-width: 641px) {
  .rtpl-sticky-cta { display: none !important; }
}


/* ═══════════════════════════════════════════════════════════
   PROJECT TRACKER — Popup Modal
   ═══════════════════════════════════════════════════════════ */

/* Track button on success screen */
.rtpl-track-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  color: var(--rtpl-primary);
  border: 2px solid var(--rtpl-primary);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--rtpl-transition);
}
.rtpl-track-btn:hover { background: var(--rtpl-primary-soft); }

/* Floating button — fixed bottom-left, always visible */
.rtpl-float-track-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #FF6B00 0%, #ff8c38 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255,107,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  letter-spacing: .2px;
}
.rtpl-float-track-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,107,0,.5);
}
.rtpl-float-track-btn svg { flex-shrink: 0; }

/* ── Overlay ── */
.rtpl-tracker-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}
.rtpl-tracker-overlay.rtpl-open {
  display: flex;
  animation: rtplOverlayIn .2s ease;
}
@keyframes rtplOverlayIn { from { opacity:0; } to { opacity:1; } }
@keyframes rtplModalIn   { from { opacity:0; transform:translateY(24px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes rtpl-spin     { to { transform: rotate(360deg); } }

/* ── Modal box ── */
.rtpl-tracker-modal {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.06);
  animation: rtplModalIn .25s cubic-bezier(.34,1.56,.64,1);
  scrollbar-width: thin;
}
.rtpl-tracker-modal::-webkit-scrollbar { width: 4px; }
.rtpl-tracker-modal::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

/* ── Modal Header — orange gradient ── */
.rtpl-tracker-header {
  background: linear-gradient(135deg, #FF6B00 0%, #ff9a4a 100%);
  padding: 28px 28px 24px;
  border-radius: 24px 24px 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.rtpl-tracker-header__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.rtpl-tracker-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -.3px;
}
.rtpl-tracker-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  margin: 0;
}
.rtpl-tracker-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s;
}
.rtpl-tracker-close:hover { background: rgba(255,255,255,.35); }

/* ── Search ── */
.rtpl-tracker-search { padding: 24px 28px 0; }
.rtpl-tracker-input-wrap {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.rtpl-tracker-input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.rtpl-tracker-input::placeholder { font-weight: 400; letter-spacing: 0; text-transform: none; color: #94a3b8; }
.rtpl-tracker-input:focus {
  border-color: #FF6B00;
  box-shadow: 0 0 0 4px rgba(255,107,0,.12);
  background: #fff;
}
.rtpl-tracker-search-btn {
  height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, #FF6B00, #ff8c38);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s, transform .1s;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255,107,0,.35);
}
.rtpl-tracker-search-btn:hover { opacity: .9; transform: translateY(-1px); }
.rtpl-tracker-search-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.rtpl-tracker-hint {
  font-size: 12px;
  color: #94a3b8;
  margin: 8px 0 0;
  line-height: 1.5;
}
.rtpl-tracker-error {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  font-size: 13px;
  color: #dc2626;
  font-weight: 600;
}

/* ── Result ── */
.rtpl-tracker-result { padding: 20px 28px 28px; }

/* Info card */
.rtpl-tracker-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.rtpl-tracker-info__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.rtpl-tracker-info__row:last-child { border-bottom: none; }
.rtpl-tracker-info__label { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: #94a3b8; font-weight: 700; }
.rtpl-tracker-info__val { font-size: 13px; font-weight: 700; color: #0f172a; text-align: right; }
.rtpl-tracker-ref { color: #FF6B00; font-size: 14px; letter-spacing: .5px; }

/* Status banner */
.rtpl-tracker-status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff4ed, #fff9f5);
  border: 1.5px solid rgba(255,107,0,.25);
}
.rtpl-tracker-status-banner.status-won  { background: linear-gradient(135deg,#f0fdf4,#f7fff9); border-color: #86efac; }
.rtpl-tracker-status-banner.status-lost { background: #fef2f2; border-color: #fecaca; }
.rtpl-tracker-status-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00, #ff9a4a);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,107,0,.3);
}
.rtpl-tracker-status-banner.status-won  .rtpl-tracker-status-icon { background: linear-gradient(135deg,#16a34a,#22c55e); box-shadow: 0 4px 12px rgba(22,163,74,.3); }
.rtpl-tracker-status-banner.status-lost .rtpl-tracker-status-icon { background: #dc2626; box-shadow: none; }
.rtpl-tracker-status-label { font-size: 16px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.rtpl-tracker-status-desc  { font-size: 13px; color: #64748b; line-height: 1.5; }

/* Pipeline steps */
.rtpl-tracker-pipeline {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
  padding: 0 2px;
}
.rtpl-pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.rtpl-pipeline-step span {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.rtpl-pipeline-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all .35s ease;
}
.rtpl-pipeline-step.done .rtpl-pipeline-dot {
  background: linear-gradient(135deg,#FF6B00,#ff9a4a);
  border-color: #FF6B00;
  color: #fff;
}
.rtpl-pipeline-step.done span { color: #FF6B00; }
.rtpl-pipeline-step.active .rtpl-pipeline-dot {
  background: #fff;
  border-color: #FF6B00;
  border-width: 3px;
  box-shadow: 0 0 0 5px rgba(255,107,0,.15);
}
.rtpl-pipeline-step.active span { color: #FF6B00; font-weight: 800; }
.rtpl-pipeline-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 14px 4px 0;
  transition: background .35s ease;
  border-radius: 2px;
}
.rtpl-pipeline-line.done { background: linear-gradient(90deg, #FF6B00, #ff9a4a); }

/* Timeline */
.rtpl-tracker-timeline { margin-bottom: 20px; }
.rtpl-tracker-timeline h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #94a3b8;
  font-weight: 800;
  margin: 0 0 12px;
}
.rtpl-tl-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f8fafc;
}
.rtpl-tl-item:last-child { border-bottom: none; }
.rtpl-tl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #FF6B00;
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,107,0,.15);
}
.rtpl-tl-action { font-size: 13px; font-weight: 700; color: #0f172a; }
.rtpl-tl-time   { font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* WhatsApp CTA inside modal */
.rtpl-tracker-cta {
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.rtpl-tracker-cta p { font-size: 13px; color: #64748b; margin: 0 0 12px; }
.rtpl-tracker-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
  transition: opacity .2s, transform .1s;
}
.rtpl-tracker-wa-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .rtpl-tracker-overlay { padding: 0; align-items: flex-end; }
  .rtpl-tracker-modal   { border-radius: 24px 24px 0 0; max-height: 94vh; }
  .rtpl-tracker-header  { border-radius: 24px 24px 0 0; padding: 24px 20px 20px; }
  .rtpl-tracker-search  { padding: 20px 20px 0; }
  .rtpl-tracker-result  { padding: 16px 20px 24px; }
  .rtpl-tracker-input-wrap { flex-direction: column; }
  .rtpl-tracker-search-btn { width: 100%; justify-content: center; height: 48px; }
  .rtpl-tracker-input   { height: 48px; }
  .rtpl-pipeline-step span { font-size: 9px; }
  .rtpl-float-track-btn span { display: none; }
  .rtpl-float-track-btn { padding: 13px; border-radius: 50%; }
}
