/* ===================== SCREENS SECTION ===================== */
.section-screens { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.screens-note {
  text-align: center; font-size: .82rem; color: var(--muted);
  font-weight: 600; margin: -1rem auto 2.4rem; max-width: 40ch;
}

.phones {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: flex-end; gap: clamp(1.4rem, 3vw, 2.6rem);
  max-width: 630px; margin-inline: auto;
}
.phone-wrap { display: flex; flex-direction: column; align-items: center; }

/* ---- iPhone frame ---- */
.phone {
  --pw: 260px;
  position: relative; width: var(--pw); flex: 0 0 auto;
  aspect-ratio: 260 / 545;
  background: #10141b;
  border-radius: 40px;
  padding: 11px;
  box-shadow:
    0 0 0 2px #2b3340,
    0 30px 60px rgba(46,60,78,.28),
    inset 0 0 3px rgba(255,255,255,.15);
  transition: transform .3s ease;
}
.phone:hover { transform: translateY(-8px); }
.phone.featured { --pw: 288px; z-index: 2; }
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 30px; overflow: hidden;
  background: #cfd8dc;
  font-size: 11px; line-height: 1.35;
}
/* notch / dynamic island */
.phone-island {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 18px; background: #10141b; border-radius: 12px; z-index: 40;
}
.phone-label {
  margin-top: 1rem; text-align: center;
  font-family: var(--font-head); font-weight: 700; color: var(--dusk);
  font-size: 1rem;
}
.phone-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: var(--muted); }

/* status bar */
.sb {
  position: absolute; top: 0; left: 0; right: 0; height: 34px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 0 20px; font-weight: 700; font-size: 11px; color: #1c2430;
}
.sb-right { display: flex; align-items: center; gap: 5px; }
.sig { display:inline-block; width:15px; height:11px;
  background:
    linear-gradient(currentColor,currentColor) 0 100%/3px 4px no-repeat,
    linear-gradient(currentColor,currentColor) 4px 100%/3px 7px no-repeat,
    linear-gradient(currentColor,currentColor) 8px 100%/3px 9px no-repeat,
    linear-gradient(currentColor,currentColor) 12px 100%/3px 11px no-repeat; }
.batt { display:inline-block; width:17px; height:9px; border:1.4px solid currentColor;
  border-radius:3px; position:relative; opacity:.9; }
.batt::before { content:""; position:absolute; inset:1.4px; width:72%; background:currentColor; border-radius:1px; }
.batt::after { content:""; position:absolute; right:-3px; top:2.5px; width:2px; height:3px;
  background:currentColor; border-radius:0 2px 2px 0; }
.sb.on-dark, .sb.on-dark * { color: #fff; }

/* generic pill/card bits */
.mk-pill {
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
  border-radius: 12px; padding: 6px 9px; box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

/* ===== NAV / MAP SCREEN ===== */
.scr-map { position: absolute; inset: 0; }
.map-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(248,201,106,.28), transparent 55%),
    linear-gradient(200deg, #dfe7d6 0%, #cdd9cf 45%, #bcd0d8 100%);
}
.map-bg::before {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(120,140,130,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,140,130,.18) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-route {
  position: absolute; top: 40px; bottom: -10px; left: 50%;
  width: 12px; transform: translateX(-50%);
  background: linear-gradient(#3f7fd6, #2e6dc0);
  border-radius: 8px; box-shadow: 0 0 0 3px rgba(63,127,214,.25);
}
.map-route.bend { transform: translateX(-50%) rotate(8deg); border-radius: 40%; }
.map-pin {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 11px;
  box-shadow: 0 3px 8px rgba(0,0,0,.28); border: 2px solid #fff;
}
.map-badge {
  position:absolute; font-size:9px; font-weight:800; color:#fff;
  padding:1px 5px; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,.25);
}

/* turn banner */
.nav-banner {
  position: absolute; top: 40px; left: 12px; right: 12px; z-index: 20;
  background: #2b6a3f; color: #fff; border-radius: 16px;
  padding: 10px 12px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}
.nav-banner .arrow { font-size: 22px; line-height: 1; }
.nav-banner .nb-dist { font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.nav-banner .nb-instr { font-size: 10.5px; opacity: .95; }
.nav-banner .nb-then { margin-left: auto; text-align: right; font-size: 9px; opacity: .8; }

.town-pill {
  position: absolute; top: 96px; left: 12px; z-index: 20;
  display: flex; align-items: center; gap: 6px;
}
.town-pill .tp-title { font-family: var(--font-head); font-weight: 800; font-size: 12px; color: #1c2430; }
.town-pill .tp-sub { font-size: 8.5px; color: #5b6472; }

.speed-sign {
  position: absolute; bottom: 182px; left: 12px; z-index: 20;
  width: 42px; background: #fff; border: 3px solid #1c2430; border-radius: 9px;
  text-align: center; padding: 3px 0 4px; box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.speed-sign small { display: block; font-size: 6px; font-weight: 800; letter-spacing: .5px; color: #1c2430; }
.speed-sign b { display: block; font-size: 17px; font-weight: 900; color: #1c2430; line-height: 1; }

.map-fabs { position: absolute; right: 12px; bottom: 182px; z-index: 20; display: flex; flex-direction: column; gap: 8px; }
.fab {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; font-size: 15px; box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.fab.star { color: #f2b03a; }
.fab.loc { color: var(--sky-blue); }

/* chips + stop cards */
.map-bottom { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 20; }
.chips { display: flex; gap: 5px; padding: 0 10px 7px; overflow: hidden; }
.chip {
  display: inline-flex; align-items: center; gap: 3px; white-space: nowrap;
  background: rgba(255,255,255,.85); border-radius: 999px; padding: 4px 8px;
  font-size: 9.5px; font-weight: 700; color: #33404f; box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
.chip.on { background: var(--coral); color: #fff; }
.stops-panel { margin: 0 8px; background: rgba(255,255,255,.94); border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,.18); overflow: hidden; }
.stops-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 11px; font-family: var(--font-head); font-weight: 800; font-size: 11px; color: #1c2430; border-bottom: 1px solid rgba(0,0,0,.06); }
.stops-head .add { color: var(--sky-blue); font-size: 14px; }
.stops-strip { display: flex; gap: 7px; padding: 9px; overflow: hidden; }
.stop-card { flex: 0 0 108px; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 12px; padding: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.stop-card .sc-top { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.sc-ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 11px; }
.sc-name { font-weight: 800; font-size: 10px; color: #1c2430; line-height: 1.1; }
.sc-meta { font-size: 8.5px; color: #6b7480; }
.sc-stars { color: #f2b03a; font-size: 9px; font-weight: 800; }
.sc-dist { font-size: 9px; font-weight: 800; color: var(--coral); margin-top: 3px; }

/* category colors — mirror POICategory.color in the app */
.c-rest       { background: #3F8FD6; } /* Rest Stop — blue */
.c-gas        { background: #43A047; } /* Gas Station — green */
.c-fastfood   { background: #E88A3C; } /* Fast Food — orange */
.c-restaurant { background: #E0574B; } /* Restaurant — red */
.c-hotel      { background: #7E57C2; } /* Hotel — indigo */
.c-coffee     { background: #8A5A3C; } /* Coffee — brown */
.c-ev         { background: #2AA198; } /* EV Charging — teal */

/* ===== POI DETAIL SCREEN ===== */
.scr-sheet { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; }
.sheet-hero { height: 118px; position: relative; display: grid; place-items: center; color: #fff; }
.sheet-hero .big-ic { font-size: 34px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.sheet-grab { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 36px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.7); }
.sheet-body { padding: 12px 14px; overflow: hidden; }
.sheet-title { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #1c2430; }
.sheet-cat { font-size: 10px; font-weight: 700; color: #6b7480; margin-bottom: 8px; }
.rating-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #eef0f2; border-bottom: 1px solid #eef0f2; }
.rating-big { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: #1c2430; }
.rating-stars { color: #f2b03a; font-size: 13px; letter-spacing: 1px; }
.rating-stars .h { display: inline-block; width: .52em; overflow: hidden; vertical-align: top; }
.rating-count { font-size: 9.5px; color: #6b7480; }
.amen-title { font-size: 10px; font-weight: 800; color: #33404f; margin: 11px 0 6px; text-transform: uppercase; letter-spacing: .4px; }
.amen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.amen { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #33404f; background: #f4f6f8; border-radius: 9px; padding: 6px 8px; font-weight: 600; }
.amen .ok { color: #43A047; }
.detour-line { font-size: 10px; color: #6b7480; margin: 10px 0 0; }
.sheet-cta { margin: 12px 14px 0; }
.mk-btn { display: block; text-align: center; background: var(--coral); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 12px; padding: 11px; border-radius: 13px; box-shadow: 0 6px 14px rgba(228,85,64,.3); }
.mk-btn.ghost { background: #f4f6f8; color: #33404f; box-shadow: none; margin-top: 7px; }
.your-rate { text-align: center; margin-top: 12px; }
.your-rate .lbl { font-size: 9.5px; color: #6b7480; }
.your-rate .stars { color: #d6dae0; font-size: 20px; letter-spacing: 3px; }
.your-rate .stars b { color: #f2b03a; font-weight: 400; }

/* ===== LIST-STYLE SCREEN (Setup / Summary) ===== */
.scr-list { position: absolute; inset: 0; background: #f2f2f6; overflow: hidden; }
.list-nav { padding: 40px 16px 8px; }
.list-nav h4 { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #1c2430; }
.list-nav .sub { font-size: 10px; color: #6b7480; }
.grp { margin: 12px 12px 0; }
.grp-h { font-size: 8.5px; font-weight: 800; color: #8a929c; text-transform: uppercase; letter-spacing: .6px; margin: 0 6px 5px; }
.grp-card { background: #fff; border-radius: 13px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.row { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: 1px solid #f0f0f4; }
.row:last-child { border-bottom: 0; }
.row .ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 12px; flex: 0 0 auto; }
.row .txt { flex: 1; min-width: 0; }
.row .txt b { display: block; font-size: 11px; font-weight: 700; color: #1c2430; }
.row .txt span { font-size: 9px; color: #8a929c; }
.row .val { font-size: 11px; font-weight: 800; color: #1c2430; }
.row .chev { color: #c4c9d0; font-size: 12px; }
.toggle { width: 32px; height: 19px; border-radius: 12px; background: #43A047; position: relative; flex: 0 0 auto; }
.toggle::after { content:""; position:absolute; top:2px; right:2px; width:15px; height:15px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.3); }
.toggle.off { background: #d6dae0; }
.toggle.off::after { left: 2px; right: auto; }
.big-start { margin: 16px 12px 0; text-align: center; background: var(--coral); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13px; padding: 13px; border-radius: 14px; box-shadow: 0 8px 18px rgba(228,85,64,.32); }

/* summary stat tiles */
.sum-hero { padding: 40px 14px 6px; }
.sum-hero .rt { font-size: 10px; color: #6b7480; font-weight: 700; }
.sum-hero h4 { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: #1c2430; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 12px 0; }
.stat { background: #fff; border-radius: 13px; padding: 11px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.stat .k { font-size: 8.5px; font-weight: 800; color: #8a929c; text-transform: uppercase; letter-spacing: .5px; }
.stat .v { font-family: var(--font-head); font-weight: 900; font-size: 19px; color: #1c2430; line-height: 1.1; }
.stat .v small { font-size: 10px; font-weight: 700; color: #6b7480; }
.stat .ic-row { color: var(--coral); font-size: 13px; margin-bottom: 3px; }

/* ===== REAL SCREENSHOTS ===== */
.phones--real { max-width: 960px; }
.phone-screen .shot {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
/* real screenshots carry their own status bar/island — no overlay chrome needed */

/* Apple Watch frame */
.watchframe-row { display: flex; justify-content: center; align-items: flex-end; gap: 1.1rem; flex-wrap: wrap; margin: 1.2rem 0 .4rem; }
.watchframe-wrap { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.watchframe {
  position: relative; width: 132px;
  background: #10141b; border-radius: 34px; padding: 9px;
  box-shadow: 0 0 0 2px #2b3340, 0 14px 30px rgba(0,0,0,.35), inset 0 0 3px rgba(255,255,255,.14);
}
.watchframe::after { /* digital crown */
  content: ""; position: absolute; right: -5px; top: 34%;
  width: 7px; height: 26px; border-radius: 4px;
  background: linear-gradient(90deg, #3a4454, #1c222c);
}
.watchframe img { width: 100%; height: auto; border-radius: 26px; display: block; }
.watchframe-cap { font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: rgba(255,255,255,.85); }

/* CarPlay display frame */
.carframe {
  background: #10141b; border-radius: 18px; padding: 10px 10px 14px;
  box-shadow: 0 0 0 2px #2b3340, 0 18px 40px rgba(0,0,0,.35);
  margin-bottom: 1.2rem;
}
.carframe img { width: 100%; height: auto; border-radius: 10px; display: block; }
.carframe::after {
  content: ""; display: block; margin: 8px auto 0; width: 54px; height: 4px;
  border-radius: 3px; background: #2b3340;
}

/* passport badges inside the phone mockup */
.pbadge {
  width: 34px; height: 34px; margin: 0 auto 3px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px;
  background: linear-gradient(145deg, #F8C96A, #EC8B54);
  box-shadow: 0 3px 7px rgba(236,139,84,.4);
}
.pbadge.lock { background: #e3e6ea; filter: grayscale(1); opacity: .55; }
.pblbl { font-size: 8px; font-weight: 700; color: #6b7480; }

@media (max-width: 640px) {
  .phone { --pw: 220px; }
  .phone.featured { --pw: 240px; }
}
