/* Native scene panels — patent-explainer style, no raster slide embeds */

.step-illustration {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(42, 60, 79, 0.75);
  background: var(--surface-2);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(22, 224, 214, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.step-illustration img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.loop-diagram {
  margin: 0;
  padding: 24px 20px 20px;
  border-radius: 16px;
  border: 1px solid rgba(42, 60, 79, 0.55);
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 224, 214, 0.08), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, rgba(14, 27, 42, 0.4) 100%);
  overflow: hidden;
}

.loop-diagram img,
.loop-diagram svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.scene {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 70% 35%, rgba(22, 224, 214, 0.08), transparent 42%),
    linear-gradient(160deg, var(--surface-2) 0%, var(--midnight) 55%, #050a10 100%);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 18, 30, 0.85) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Seatback device */
.scene-device {
  position: absolute;
  z-index: 1;
  width: 46%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 2px solid rgba(42, 60, 79, 0.9);
  background: linear-gradient(180deg, #0a1520, #061018);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(22, 224, 214, 0.08);
}

.scene-device--right {
  right: 8%;
  top: 18%;
}

.scene-device--center {
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
}

.scene-device__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(42, 60, 79, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.scene-device__bar img {
  height: 12px;
  width: auto;
}

.scene-device__body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.scene-device__title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.scene-device__sub {
  font-size: 10px;
  color: var(--text-secondary);
}

.scene-device__qr {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid var(--teal-border);
  background:
    linear-gradient(90deg, var(--teal) 2px, transparent 2px) 0 0 / 12px 12px,
    linear-gradient(var(--teal) 2px, transparent 2px) 0 0 / 12px 12px;
  opacity: 0.35;
  margin-left: auto;
}

.scene-device__cta {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--midnight);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Phone mock */
.scene-phone {
  position: absolute;
  z-index: 3;
  width: 28%;
  max-width: 140px;
  aspect-ratio: 9 / 18;
  border-radius: 18px;
  border: 2px solid rgba(42, 60, 79, 0.95);
  background: linear-gradient(180deg, #0c1824, #07121e);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
  padding: 10px;
  display: grid;
  place-items: center;
  text-align: center;
}

.scene-phone--left {
  left: 10%;
  bottom: 14%;
}

.scene-phone__check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.scene-phone__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.scene-phone__hint {
  margin-top: 4px;
  font-size: 8px;
  color: var(--text-secondary);
}

/* Callout boxes */
.scene-callout {
  position: absolute;
  z-index: 4;
  max-width: 38%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--teal-border);
  background: rgba(14, 27, 42, 0.92);
  backdrop-filter: blur(8px);
  font-size: 10px;
  line-height: 1.4;
}

.scene-callout strong {
  display: block;
  color: var(--teal);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.scene-callout--tl { top: 10%; left: 6%; }
.scene-callout--tr { top: 12%; right: 6%; }
.scene-callout--bl { bottom: 12%; left: 6%; }
.scene-callout--br { bottom: 14%; right: 6%; }

/* Connector lines */
.scene-line {
  position: absolute;
  z-index: 2;
  background: var(--teal);
  opacity: 0.55;
}

.scene-line--h {
  height: 2px;
  width: 18%;
}

.scene-line--v {
  width: 2px;
  height: 14%;
}

.scene-dot {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

/* Geofence */
.scene-geofence {
  position: absolute;
  z-index: 0;
  left: 18%;
  top: 28%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(22, 224, 214, 0.45);
  animation: geofence-pulse 3s ease-in-out infinite;
}

.scene-geofence::before,
.scene-geofence::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(22, 224, 214, 0.2);
}

.scene-geofence::after {
  inset: -32px;
  opacity: 0.5;
}

@keyframes geofence-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 224, 214, 0.25); }
  50% { box-shadow: 0 0 24px 4px rgba(22, 224, 214, 0.15); }
}

.scene-poi {
  position: absolute;
  z-index: 1;
  left: 22%;
  top: 38%;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal);
}

/* Platform panel */
.scene-platform {
  position: absolute;
  z-index: 3;
  right: 8%;
  top: 16%;
  width: 44%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--teal-border);
  background: rgba(14, 27, 42, 0.94);
}

.scene-platform__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
}

.scene-platform__head img {
  height: 14px;
}

.scene-platform__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  font-size: 9px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(42, 60, 79, 0.5);
}

.scene-platform__row span:last-child {
  color: var(--teal);
  font-weight: 700;
}

.scene-platform__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.scene-platform__badge {
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 8px;
  text-align: center;
}

.scene-platform__badge strong {
  display: block;
  color: var(--teal);
  margin-bottom: 2px;
}

/* Overview loop cards */
.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin: 0;
  align-items: stretch;
}

.loop-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.loop-card {
  margin: 0;
  padding: var(--card-pad);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface) 0%, rgba(14, 27, 42, 0.55) 100%);
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.loop-card:hover {
  border-color: rgba(22, 224, 214, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(22, 224, 214, 0.08);
  transform: translateY(-2px);
}

.loop-card__num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.loop-card h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-weight: 700;
}

.loop-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1 1 auto;
}

.loop-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.loop-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Privacy section — intro + balanced split */
.privacy-panel {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

.privacy-panel__intro {
  max-width: none;
}

.privacy-panel__intro .lead {
  margin-top: 16px;
  max-width: none;
}

.privacy-panel__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
  align-items: stretch;
}

.privacy-panel__stack {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  height: 100%;
}

.privacy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--card-gap);
  height: 100%;
}

.privacy-card {
  padding: var(--card-pad);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.privacy-card__letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--teal-border);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.privacy-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.privacy-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  flex: 1 1 auto;
}

.privacy-banner {
  margin: 0;
  padding: var(--card-pad);
  border-radius: 14px;
  border: 1px solid var(--teal-border);
  background: rgba(22, 224, 214, 0.06);
  text-align: left;
}

.privacy-banner strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.privacy-banner span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 800;
}

.privacy-banner em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.privacy-audience {
  margin: 0;
  flex: 1 1 auto;
  padding: var(--card-pad);
  border: 1px solid rgba(22, 224, 214, 0.22);
  border-radius: 14px;
  background: rgba(14, 27, 42, 0.72);
  display: flex;
  flex-direction: column;
}

.privacy-audience h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.privacy-audience p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.privacy-audience__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

/* Hero device cluster */
.hero-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.hero-scene .scene-device {
  width: 58%;
  right: 0;
  top: 12%;
}

.hero-scene .scene-phone {
  width: 34%;
  left: 0;
  bottom: 18%;
}

.hero-scene .scene-callout {
  max-width: 46%;
  bottom: 8%;
  right: 4%;
}

@media (max-width: 1024px) {
  .loop-grid,
  .loop-grid--four { grid-template-columns: repeat(2, 1fr); }
  .privacy-panel__body { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .loop-grid,
  .loop-grid--four { grid-template-columns: 1fr; }
  .privacy-cards { grid-template-columns: 1fr; grid-template-rows: auto; }
  .privacy-card { min-height: auto; }
  .loop-diagram { padding: 16px 12px; }
  .scene { min-height: 280px; }
}

@media (max-width: 480px) {
  .loop-card { padding: var(--card-pad); }
  .privacy-banner span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-geofence { animation: none; }
}

/* Step 6 — geofence pulse scene with callout overlays */
.geofence-scene {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(42, 60, 79, 0.75);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(22, 224, 214, 0.06);
  background: #050a10;
}

.geofence-scene__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.geofence-scene__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.geofence-callout {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 34%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(22, 224, 214, 0.45);
  background: rgba(10, 18, 28, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.geofence-callout__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.geofence-callout strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: capitalize;
  color: var(--text);
  margin-bottom: 4px;
}

.geofence-callout p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.geofence-callout--1 { top: 8%; left: 4%; }
.geofence-callout--2 { top: 32%; left: 4%; max-width: 38%; }
.geofence-callout--3 { top: 56%; left: 4%; max-width: 38%; }

.geofence-tablet {
  position: absolute;
  top: 14%;
  right: 4%;
  width: 34%;
  max-width: 220px;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1a2a3a, #0a1520);
  border: 2px solid rgba(42, 60, 79, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.geofence-tablet__screen {
  border-radius: 8px;
  overflow: hidden;
  background: #061018;
  padding: 0 0 12px;
}

.geofence-tablet__hero {
  height: 72px;
  background:
    linear-gradient(135deg, rgba(22, 224, 214, 0.15), transparent 60%),
    linear-gradient(180deg, #1a1510 0%, #0a1520 100%);
  border-bottom: 1px solid rgba(42, 60, 79, 0.5);
}

.geofence-tablet__hero::after {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  margin: 18px auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c4a574, #6b4423);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.geofence-tablet__eyebrow {
  margin: 10px 12px 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.geofence-tablet__offer {
  margin: 4px 12px 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.geofence-tablet__cta {
  display: block;
  margin: 10px 12px 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--teal);
  color: #041018;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.geofence-payout {
  position: absolute;
  right: 4%;
  bottom: 16%;
  width: 36%;
  max-width: 240px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(22, 224, 214, 0.45);
  background: rgba(10, 18, 28, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.geofence-payout__label {
  grid-column: 1 / -1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.geofence-payout__amount {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.geofence-payout__check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: rgba(22, 224, 214, 0.1);
  display: grid;
  place-items: center;
  color: var(--teal);
}

.geofence-payout__check svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.geofence-flow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  padding: 12px 16px;
  background: rgba(7, 18, 30, 0.92);
  border-top: 1px solid rgba(42, 60, 79, 0.65);
  backdrop-filter: blur(8px);
}

.geofence-flow__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.geofence-flow__step svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.geofence-flow__chev {
  color: var(--teal);
  opacity: 0.55;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 900px) {
  .geofence-callout { max-width: 42%; padding: 10px 12px; }
  .geofence-callout--2 { left: 4%; top: auto; bottom: 38%; }
  .geofence-callout--3 { left: 4%; bottom: 22%; }
  .geofence-tablet { top: 12%; right: 4%; width: 38%; }
  .geofence-payout { bottom: 48%; right: 4%; width: 42%; }
}

@media (max-width: 640px) {
  .geofence-scene { aspect-ratio: auto; min-height: 520px; }
  .geofence-callout { max-width: 88%; left: 4% !important; right: 4%; }
  .geofence-callout--1 { top: 6%; }
  .geofence-callout--2 { bottom: auto; top: 28%; }
  .geofence-callout--3 { bottom: 38%; top: auto; }
  .geofence-tablet { top: 46%; left: 4%; right: auto; width: 44%; }
  .geofence-payout { bottom: 14%; width: 52%; }
  .geofence-flow { flex-wrap: wrap; gap: 6px; padding: 10px; }
  .geofence-flow__chev { display: none; }
}
