.driver-experience { background: var(--bg-alt); padding: 110px 32px; }
.driver-experience-inner {
  max-width: 1180px;
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.driver-experience-copy { flex: 1 1 400px; min-width: 300px; }
.driver-experience-copy h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 14px 0 0;
  color: var(--ink);
}
.driver-experience-copy > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 16px 0 0;
  max-width: 460px;
}

.driver-experience-visual {
  flex: 1 1 440px;
  min-width: 300px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 24px 0 64px;
  overflow: visible;
  /* Shared viewing depth for .phone-frame's 3D tilt + .phone-frame-elevated's
     translateZ (see css/journey/phone-mockup.css). */
  perspective: 1200px;
}

/* Rings scaled up from the icon-scale default to roughly frame the phone's
   own height instead of getting lost behind it. */
.driver-experience-visual .orbit-ring--1 { width: 440px; height: 440px; }
.driver-experience-visual .orbit-ring--2 { width: 540px; height: 540px; }

.driver-watermark {
  bottom: -2px;
  font-size: clamp(48px, 7vw, 88px);
  color: rgba(10, 10, 12, .04);
}

.driver-bus-photo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .28);
}

.driver-phone {
  position: relative;
  z-index: 2;
  margin-right: 120px;
}

/* The whole start/active card is the piece that lifts off the screen (see
   js/sections/driver-experience.js) -- it's effectively the entire "app",
   so it's centered on the screen rather than offset like the parent card. */
.driver-phone .phone-frame-elevated { top: 50%; }

/* Now the content of .phone-frame-elevated (see phone-mockup.js/css)
   rather than filling the screen's own flex column, so it's sized to its
   own content instead of stretching to the phone's full height. */
.driver-screen { display: flex; flex-direction: column; padding: 0 4px; }

/* Flat "live map" hint behind the elevated card, filling the screen's
   normal flex column exactly like the old .driver-screen used to. */
.driver-screen-bg {
  flex: 1;
  margin: 8px 12px 12px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--bg-alt), var(--border-3));
}

.driver-start-card {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  margin-top: 12px;
}
.driver-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .55);
}
.driver-route-name { font-size: 22px; font-weight: 800; margin-top: 8px; }
.driver-meta-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  font-weight: 600;
}
/* Illustrative state indicators, not real controls -- the screen plays on
   an ambient loop (js/behaviors/driver-trip-loop.js). `.is-tapping` fakes a
   brief press right before each state change so the loop reads as "someone
   just tapped this" rather than an abrupt swap. */
.driver-start-btn {
  width: 100%;
  margin-top: 20px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px;
  border-radius: 11px;
  transition: filter .15s ease, transform .15s ease;
}
.driver-start-btn.is-tapping,
.driver-confirm-btn.is-tapping { filter: brightness(1.15); transform: scale(.96); }

.driver-active-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.driver-screen[data-trip="active"] .driver-start-card { display: none; }
.driver-screen[data-trip="active"] .driver-active-panel { display: flex; animation: fadeUp .4s ease both; }

.driver-active-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.driver-active-label { color: var(--text-faint); font-weight: 600; }
.driver-active-value { color: var(--ink); font-weight: 700; }

.driver-progress-track {
  height: 6px;
  border-radius: 9999px;
  background: var(--border);
  overflow: hidden;
}
.driver-progress-fill {
  height: 100%;
  width: 12%;
  border-radius: 9999px;
  background: var(--accent);
  transition: width 1.1s cubic-bezier(.4, 0, .2, 1);
}
.driver-screen[data-trip="active"] .driver-progress-fill { width: 62%; }

.driver-confirm-btn {
  text-align: center;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 10px;
  transition: filter .15s ease, transform .15s ease, background .2s ease;
}
.driver-confirm-btn.is-confirmed { background: var(--green); }

@media (prefers-reduced-motion: reduce) {
  .driver-screen[data-trip="active"] .driver-active-panel { animation: none; }
  .driver-start-btn.is-tapping,
  .driver-confirm-btn.is-tapping { transform: none; }
}

@media (max-width: 900px) {
  .driver-experience { padding: 72px 20px; }
  .driver-experience-inner { flex-direction: column-reverse; text-align: center; }
  .driver-experience-copy > p { margin-inline: auto; }
  .driver-experience-visual { min-height: 380px; }
  .driver-bus-photo { width: 220px; }
  .driver-phone { margin-right: 80px; }
  .driver-experience-visual .orbit-ring--1 { width: 320px; height: 320px; }
  .driver-experience-visual .orbit-ring--2 { width: 400px; height: 400px; }
  .driver-watermark { font-size: clamp(36px, 12vw, 56px); }
}

@media (max-width: 480px) {
  .driver-experience { padding: 56px 14px; }
  .driver-bus-photo { display: none; }
  .driver-phone { margin-right: 0; }
}
