/* Interactive campaign phone extracted from the validated landing prototype. */
.hero-phone-stage {
  z-index: 20;
  perspective: 1200px;
  perspective-origin: 50% 45%;
}
.hero-phone-scroll {
  transform-origin: 50% 55%;
  will-change: transform, opacity;
}
.hero-phone-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.phone-app-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  background: #f4f7f5;
}
.phone-app-scroll::-webkit-scrollbar { display: none; }
.hero-phone-stage.is-scroll-locked,
.hero-phone-stage.is-scroll-locked * {
  pointer-events: none !important;
}
.hero-phone-stage.is-scroll-locked .phone-app-scroll {
  overflow-y: hidden;
  scroll-snap-type: none;
  overscroll-behavior: none;
  touch-action: none;
  user-select: none;
}
.phone-panel {
  position: relative;
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.phone-map-panel { overflow: hidden; background: #f8fafc; }
.phone-map-panel .map-canvas { bottom: auto; height: 370px; }
.phone-map-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 38px 45px -38px rgba(15, 23, 42, 0.35), inset 0 -90px 70px -65px rgba(15, 23, 42, 0.2);
}
.phone-map-panel .gm-style { font-family: 'Inter', sans-serif; }
.phone-app-header {
  position: absolute;
  top: 48px;
  left: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 13px;
  background: rgba(255,255,255,0.97);
  padding: 9px 10px;
  box-shadow: 0 12px 28px -12px rgba(15,23,42,0.32);
  backdrop-filter: blur(12px);
}
.phone-app-brand {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 7px rgba(255,121,0,0.24);
}
.phone-app-header__copy { min-width: 0; flex: 1; }
.phone-app-header__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 850; color: #0f172a; }
.phone-app-header__meta { margin-top: 2px; font-size: 7px; font-weight: 600; color: #64748b; }
.phone-live-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 5px 7px;
  font-size: 7px;
  font-weight: 850;
  text-transform: uppercase;
}
.phone-live-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.phone-map-controls {
  position: absolute;
  top: 118px;
  right: 12px;
  z-index: 5;
  display: grid;
  gap: 6px;
}
.phone-map-control {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: rgba(255,255,255,0.97);
  color: #334155;
  box-shadow: 0 8px 20px -10px rgba(15,23,42,0.48);
  cursor: pointer;
}
.phone-map-control svg { width: 14px; height: 14px; }
.phone-map-avatar {
  width: 29px;
  height: 29px;
  overflow: hidden;
  border: 3px solid white;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 12px rgba(15,23,42,0.35), 0 0 0 2px var(--marker-color, #10b981);
}
.phone-map-avatar img { width: 100%; height: 100%; object-fit: cover; }
.phone-start-marker {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 18px;
  padding: 0 6px 0 4px;
  border: 1px solid rgba(15,23,42,0.1);
  border-radius: 5px;
  background: rgba(255,255,255,0.96);
  color: #334155;
  font-size: 7px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(15,23,42,0.2);
}
.phone-start-marker::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--marker-color, #10b981);
  box-shadow: 0 0 0 1px var(--marker-color, #10b981);
  content: '';
}
.phone-tracking-sheet {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 366px;
  z-index: 6;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 17px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 20px 40px -16px rgba(15,23,42,0.4);
  padding: 6px 9px 8px;
  backdrop-filter: blur(14px);
}
.phone-sheet-handle { width: 30px; height: 3px; margin: 0 auto 5px; border-radius: 999px; background: #cbd5e1; }
.phone-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.phone-sheet-title { font-size: 10px; font-weight: 850; color: #0f172a; }
.phone-sheet-update { font-size: 7px; font-weight: 700; color: #059669; }
.phone-team-list { margin-top: 5px; display: grid; gap: 3px; }
.phone-team-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  background: #f8fafc;
  padding: 3px 6px 3px 4px;
}
.phone-team-avatar {
  width: 22px;
  height: 22px;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(15,23,42,0.16);
}
.phone-team-name { font-size: 8px; font-weight: 800; color: #0f172a; }
.phone-team-meta { margin-top: 1px; font-size: 6.5px; color: #64748b; }
.phone-team-count { text-align: right; }
.phone-team-count strong { display: block; font-size: 9px; color: #0f172a; }
.phone-team-count span { display: block; margin-top: 1px; font-size: 6px; color: #94a3b8; text-transform: uppercase; }
.phone-sheet-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #e2e8f0;
}
.phone-sheet-total strong { font-size: 12px; font-weight: 900; color: #059669; }
.phone-sheet-total span { margin-left: 3px; font-size: 7px; color: #64748b; }
.phone-sheet-action {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #047857;
  font: inherit;
  font-size: 7px;
  font-weight: 850;
  cursor: pointer;
}
.phone-sheet-action svg { width: 10px; height: 10px; }
.phone-report-panel {
  box-sizing: border-box;
  padding: 48px 14px 86px;
  background: #f4f7f5;
  color: #0f172a;
}
.phone-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.phone-report-title { font-size: 18px; line-height: 1.1; font-weight: 900; }
.phone-report-subtitle { margin-top: 4px; font-size: 9px; color: #64748b; }
.phone-report-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
  padding: 5px 8px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.phone-report-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}
.phone-report-metric {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  padding: 9px 7px;
}
.phone-report-metric strong { display: block; font-size: 13px; line-height: 1; }
.phone-report-metric span { display: block; margin-top: 4px; font-size: 7px; color: #64748b; text-transform: uppercase; }
.phone-proof-title { margin: 16px 0 8px; font-size: 10px; font-weight: 800; }
.phone-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.phone-proof {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 10px;
  background: #dbe4de;
}
.phone-proof img { width: 100%; height: 100%; object-fit: cover; }
.phone-proof span {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border-radius: 7px;
  background: rgba(15,23,42,0.82);
  color: white;
  padding: 5px 6px;
  font-size: 7px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.phone-timeline {
  margin-top: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  padding: 10px;
}
.phone-timeline-row { display: flex; align-items: center; gap: 8px; font-size: 8px; color: #475569; }
.phone-timeline-row + .phone-timeline-row { margin-top: 9px; }
.phone-timeline-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px #d1fae5; }
.phone-app-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(226,232,240,0.95);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  padding: 7px 18px 10px;
}
.phone-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}
.phone-nav-btn svg { width: 15px; height: 15px; }
.phone-nav-btn.is-active { color: #059669; }
