:root {
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-soft: rgba(2, 132, 199, 0.10);
  --bg-app: #F4F6F9;
  --surface: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --success: #10B981;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-float: 0 12px 32px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 20% 20%, #1E293B 0%, #090D16 70%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

/* Desktop Demo Control Bar */
.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #CBD5E1;
  font-size: 12px;
}

.toolbar-label {
  font-weight: 600;
  opacity: 0.75;
  margin-right: 4px;
}

.toolbar-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.toolbar-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.toolbar-btn.push-btn {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.35);
  color: #FDE68A;
}

/* iPhone 16 Pro Shell */
.phone-frame {
  width: 100%;
  max-width: 406px;
  height: 830px;
  max-height: 91vh;
  background: var(--bg-app);
  border-radius: 46px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.65), 0 0 0 9px #18181B, 0 0 0 11px #3F3F46;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* iOS Push Notification Toast */
.push-toast {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  z-index: 50;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(-130%);
  opacity: 0;
  transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.push-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.push-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.push-content {
  flex: 1;
  min-width: 0;
}

.push-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #94A3B8;
  margin-bottom: 2px;
}

.push-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.push-body {
  font-size: 11.5px;
  color: #CBD5E1;
  margin-top: 2px;
  line-height: 1.35;
}

/* Status Bar with Dynamic Island */
.status-bar {
  height: 40px;
  padding: 10px 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface);
  color: var(--text-main);
  flex-shrink: 0;
}

.dynamic-island {
  width: 102px;
  height: 24px;
  background: #09090B;
  border-radius: 999px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Branded Header */
.app-header {
  background: var(--surface);
  padding: 10px 18px 13px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px var(--primary-soft);
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-info {
  min-width: 0;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FEF3C7;
  color: #B45309;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.lang-toggle {
  background: var(--bg-app);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-weight: 700;
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}

/* Interactive Demo Disclaimer Banner */
.demo-notice {
  background: linear-gradient(90deg, #0F172A, #1E293B);
  color: #E2E8F0;
  padding: 6px 14px;
  font-size: 10.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-notice svg {
  color: #FBBF24;
  flex-shrink: 0;
}

/* Progress Bar */
.step-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px 4px;
  background: var(--bg-app);
  flex-shrink: 0;
}

.step-bar.hidden {
  display: none;
}

.step-seg {
  flex: 1;
  height: 3.5px;
  border-radius: 999px;
  background: #CBD5E1;
  transition: background 0.3s ease;
}

.step-seg.active {
  background: var(--primary);
}

/* Main Content */
.app-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 96px;
  scroll-behavior: smooth;
}

.app-content::-webkit-scrollbar {
  width: 0;
}

.screen {
  display: none;
  animation: fadeSlide 0.22s ease;
}

.screen.active {
  display: block;
}

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

/* Screen Header */
.screen-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.back-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

[dir="rtl"] .back-btn svg {
  transform: scaleX(-1);
}

.screen-title {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.screen-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero Banner with Luxury Photo */
.hero-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 162px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #0F172A, var(--primary-dark));
  box-shadow: var(--shadow-float);
}

.hero-top-pill {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  color: #FDE68A;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 3;
}

/* Trust & Speed Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-card);
}

/* Digital Loyalty Card */
.loyalty-card {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-card);
}

.loyalty-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
}

.loyalty-title {
  font-size: 12.5px;
  font-weight: 800;
}

.loyalty-sub {
  font-size: 11px;
  font-weight: 700;
  color: #FDE68A;
}

.loyalty-stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.stamp {
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  color: #94A3B8;
}

.stamp.done {
  background: var(--primary);
  border: none;
  color: #FFFFFF;
}

.stamp.gift {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #FDE68A;
}

/* Completed Order Extras: Before/After + Google Review */
.photo-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  background: #F1F5F9;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 8px;
}

.booking-actions {
  display: flex;
  gap: 7px;
}

.review-btn {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 15%, rgba(15, 23, 42, 0.25) 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
}

.hero-badge {
  align-self: flex-start;
  background: var(--primary);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.hero-overlay h2 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.hero-overlay p {
  font-size: 11.5px;
  color: #CBD5E1;
  margin-top: 4px;
}

/* Vehicle / Property Size Selector */
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[dir="rtl"] .section-label {
  letter-spacing: 0;
}

.size-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.size-pill {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-pill.active {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.size-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.size-extra {
  font-size: 10.5px;
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 2px;
}

/* Service Cards with Real Photos */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.service-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 11px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.service-card.selected {
  border-color: var(--primary);
  background: linear-gradient(to bottom right, #FFFFFF, var(--primary-soft));
  box-shadow: 0 12px 28px var(--primary-soft);
  transform: translateY(-2px);
}

.captain-row {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed rgba(2, 132, 199, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
}

.service-thumb {
  width: 78px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  background: #E2E8F0;
  flex-shrink: 0;
}

.service-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.service-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.service-badge {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.service-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.service-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
}

/* Real Leaflet Map Screen */
.area-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.area-chips::-webkit-scrollbar {
  display: none;
}

.area-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-card);
}

.area-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.map-wrapper {
  position: relative;
  height: 270px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
  background: #E2E8F0;
}

#leafletMap {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gps-btn {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: var(--shadow-float);
  z-index: 400;
  font-family: inherit;
}

.address-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.address-pin-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-label {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.address-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

.input-field {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
}

.input-field:focus {
  border-color: var(--primary);
}

/* Date & Time */
.date-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
}

.date-strip::-webkit-scrollbar {
  display: none;
}

.date-pill {
  min-width: 64px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

.date-pill.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.date-day { font-size: 11px; opacity: 0.75; font-weight: 600; }
.date-num { font-size: 17px; font-weight: 800; margin: 2px 0; }
.date-month { font-size: 10.5px; opacity: 0.8; }

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.time-slot {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.time-slot.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.time-slot.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Summary & Payment */
.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 15px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-key { color: var(--text-muted); font-weight: 600; }
.summary-val { font-weight: 700; text-align: end; }
.summary-total { font-size: 17px; font-weight: 800; color: var(--primary-dark); }

.payment-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.payment-option {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.payment-option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.payment-left {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 700;
}

.pay-badge {
  width: 34px;
  height: 24px;
  border-radius: 6px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-badge.cash { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.pay-badge.stripe { background: #EEF2FF; color: #4F46E5; border: 1px solid #C7D2FE; }

.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-option.selected .radio-dot { border-color: var(--primary); }
.payment-option.selected .radio-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

/* My Bookings */
.booking-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}

.booking-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.booking-id { font-size: 11.5px; font-weight: 700; color: var(--text-muted); }

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #15803D;
}

.status-badge.upcoming {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.booking-title { font-size: 15px; font-weight: 800; margin-bottom: 5px; }

.booking-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.booking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.rebook-btn {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Live Technician ETA Timeline */
.live-tracker {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(2, 132, 199, 0.18);
}

.tracker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  margin-inline-end: 6px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.tracker-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.tracker-step.done {
  color: var(--primary-dark);
}

.tracker-line {
  flex: 1;
  height: 2px;
  background: #CBD5E1;
}

.tracker-line.done {
  background: var(--primary);
}

/* Promo Code Row */
.promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.promo-btn {
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

.promo-msg {
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  margin: -8px 0 12px;
}

/* Sticky CTA & Bottom Nav */
.sticky-cta-wrap {
  position: absolute;
  bottom: 62px;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, var(--bg-app) 78%, rgba(244, 246, 249, 0));
  z-index: 15;
}

.sticky-cta-wrap.hidden { display: none; }

.primary-btn {
  width: 100%;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px var(--primary-soft);
}

.primary-btn.center-only { justify-content: center; }

.bottom-nav {
  height: 62px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  z-index: 16;
}

.nav-item {
  flex: 1;
  height: 100%;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
}

.nav-item.active { color: var(--primary-dark); }

/* Confirmation Modal */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.modal-overlay.show { display: flex; }

.modal-card {
  width: 100%;
  background: var(--surface);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.modal-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.modal-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 18px; }

@media (max-width: 480px) {
  body { padding: 0; background: var(--bg-app); }
  .demo-toolbar { display: none; }
  .phone-frame { max-width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; box-shadow: none; }
  .status-bar { display: none; }
}
