/* ============================================================
   Veevex &mdash; product UI mockups
   On-brand HTML/CSS device & console mockups used in place of
   placeholder icons inside feature rows. Uses variables from site.css.
   ============================================================ */

/* ---------- staging frame (soft glow backdrop) ---------- */
.mock-stage {
  position: relative;
  min-width: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(37, 99, 235, .10), transparent 60%),
    linear-gradient(160deg, #eef3fc 0%, #f6f8fc 60%, #fff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.mock-stage::before {
  content: "";
  position: absolute;
  left: -10%; top: -16%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(37, 99, 235, .14), transparent 70%);
  pointer-events: none;
}
.mock-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(24, 38, 70, .05) 1px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 80%);
}

/* shared card chrome for the dashboard-style mockups */
.mwin {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 34px 60px -28px rgba(20, 30, 60, .42),
    0 10px 26px -18px rgba(20, 30, 60, .3);
}
.mwin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.mwin-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -4px rgba(37, 99, 235, .6);
}
.mwin-mark svg { width: 15px; height: 15px; color: #fff; }
.mwin-bar > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.mwin-title { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--head); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mwin-sub { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mwin-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; color: #16915b;
  background: #e7f6ee; border: 1px solid #c7ecd6;
  padding: 4px 10px; border-radius: 999px;
}
.mwin-live .pd { width: 6px; height: 6px; border-radius: 50%; background: #1fab66; box-shadow: 0 0 0 3px rgba(31, 171, 102, .18); animation: pulse 2.4s ease-in-out infinite; }
.mwin-body { padding: 18px; }

/* generic section label inside a mockup */
.m-label { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* ---------- toggle ---------- */
.m-avail {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 13px;
  background: linear-gradient(180deg, #fafcff, #fff);
}
.m-avail .txt { flex: 1; }
.m-avail .h { display: block; font-size: 13.5px; font-weight: 600; color: var(--head); }
.m-avail .s { display: block; font-size: 12px; color: var(--body); margin-top: 2px; }
.m-switch {
  width: 42px; height: 24px; border-radius: 999px; flex: none;
  background: var(--blue); position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15);
}
.m-switch::after {
  content: ""; position: absolute; top: 3px; right: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

/* ---------- access-rule rows ---------- */
.m-rules { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.m-rule {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line-soft); border-radius: 12px;
  background: #fff;
}
.m-ava {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px; color: #fff;
}
.m-ava.b1 { background: linear-gradient(145deg, #3b82f6, #2563eb); }
.m-ava.b2 { background: linear-gradient(145deg, #6366f1, #4f46e5); }
.m-ava.b3 { background: linear-gradient(145deg, #0ea5e9, #0284c7); }
.m-rule .rt { flex: 1; min-width: 0; }
.m-rule .rn { display: block; font-size: 13px; font-weight: 600; color: var(--head); }
.m-rule .rs { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.m-chip {
  font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.m-chip.ok { color: #16915b; background: #e7f6ee; border-color: #c7ecd6; }
.m-chip.sched { color: var(--blue); background: var(--blue-soft); border-color: #cfddfb; }
.m-chip.off { color: var(--muted); background: #f1f3f8; border-color: var(--line); }

/* live session strip */
.m-session {
  margin-top: 16px;
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; border-radius: 13px;
  background: linear-gradient(135deg, #11151d, #1a2540);
  color: #fff;
}
.m-session .sp {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: center;
}
.m-session .sp svg { width: 19px; height: 19px; color: #6ea8ff; }
.m-session .st { flex: 1; display: flex; flex-direction: column; }
.m-session .sn { display: block; font-size: 12.5px; font-weight: 600; }
.m-session .ss { display: block; font-size: 11px; color: #aeb9cf; margin-top: 1px; }
.m-session .sv { text-align: right; display: flex; flex-direction: column; }
.m-session .sk { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.m-session .su { display: block; font-size: 10.5px; color: #aeb9cf; }

/* ---------- phone mockup ---------- */
.m-phone {
  position: relative; z-index: 1;
  width: 268px;
  background: #0e1320;
  border-radius: 38px;
  padding: 11px;
  box-shadow:
    0 38px 70px -30px rgba(20, 30, 60, .55),
    0 12px 30px -18px rgba(20, 30, 60, .4),
    inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.m-phone .scr {
  position: relative;
  background: linear-gradient(180deg, #f4f7fd, #fff 30%);
  border-radius: 28px;
  overflow: hidden;
  height: 540px;
}
.m-phone .notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; background: #0e1320; border-radius: 999px; z-index: 4;
}
.p-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 22px 0; font-size: 11px; font-weight: 600; color: var(--head);
}
.p-status .bars { display: inline-flex; gap: 3px; align-items: flex-end; }
.p-status .bars i { width: 3px; background: var(--head); border-radius: 1px; }
.p-status .bars i:nth-child(1) { height: 5px; }
.p-status .bars i:nth-child(2) { height: 7px; }
.p-status .bars i:nth-child(3) { height: 9px; }
.p-status .bars i:nth-child(4) { height: 11px; }
.p-head { padding: 20px 20px 12px; }
.p-head .e { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.p-head .t { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--head); letter-spacing: -.02em; margin-top: 4px; }
.p-card {
  margin: 0 16px; padding: 15px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: var(--shadow-sm);
}
.p-card .row1 { display: flex; align-items: center; gap: 11px; }
.p-card .row1 > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.p-card .pin {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.p-card .pin svg { width: 20px; height: 20px; }
.p-card .nm { display: block; font-size: 13.5px; font-weight: 600; color: var(--head); }
.p-card .ds { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.p-card .gchip {
  margin-left: auto; font-size: 10px; font-weight: 700; color: #16915b;
  background: #e7f6ee; border: 1px solid #c7ecd6; padding: 4px 8px; border-radius: 999px;
}

/* charging ring */
.p-ring { display: flex; flex-direction: column; align-items: center; padding: 22px 0 8px; }
.p-ring .dial {
  width: 158px; height: 158px; border-radius: 50%;
  background: conic-gradient(var(--blue) 0 62%, #e6ecf8 62% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.p-ring .dial::before {
  content: ""; position: absolute; top: 13px; left: 13px; right: 13px; bottom: 13px; border-radius: 50%; background: #fff;
  box-shadow: inset 0 1px 4px rgba(20, 30, 60, .08);
}
.p-ring .dial::before { content: none; }
.p-ring .dv { position: relative; z-index: 1; width: 130px; height: 130px; border-radius: 50%; background: #fff; box-shadow: inset 0 1px 4px rgba(20, 30, 60, .1); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.p-ring .dv .pc { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--head); letter-spacing: -.02em; line-height: 1; }
.p-ring .dv .pl { font-size: 11px; color: var(--muted); margin-top: 4px; }
.p-stats { display: flex; justify-content: center; gap: 28px; padding: 8px 0 18px; }
.p-stat { text-align: center; }
.p-stat .v { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--head); }
.p-stat .l { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.p-btn {
  margin: 0 16px 18px;
  text-align: center; font-size: 13px; font-weight: 600; color: #fff;
  background: var(--blue); border-radius: 13px; padding: 13px;
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .6);
}
.p-btn.ghost { background: #fff; color: var(--head); border: 1px solid var(--line); box-shadow: none; }

/* ---------- access-decision flow ---------- */
.m-flow { display: flex; flex-direction: column; }
.m-step {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 4px; position: relative;
}
.m-step + .m-step::before {
  content: ""; position: absolute; left: 17px; top: -12px; height: 24px;
  border-left: 2px dashed #c8d6f2;
}
.m-step .mi {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #e7f6ee; color: #16915b; border: 1px solid #c7ecd6;
}
.m-step .mi svg { width: 18px; height: 18px; }
.m-step .mt { flex: 1; display: flex; flex-direction: column; }
.m-step .mh { display: block; font-size: 13.5px; font-weight: 600; color: var(--head); }
.m-step .ms { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.m-step .mtag { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #16915b; text-transform: uppercase; }
.m-granted {
  margin-top: 16px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: 14px;
  background: linear-gradient(135deg, #11151d, #16306b);
  color: #fff;
}
.m-granted .gi {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: rgba(110, 168, 255, .18); color: #8fbaff;
  display: flex; align-items: center; justify-content: center;
}
.m-granted .gi svg { width: 22px; height: 22px; }
.m-granted > span:last-child { display: flex; flex-direction: column; }
.m-granted .gh { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.m-granted .gs { display: block; font-size: 11.5px; color: #aeb9cf; margin-top: 2px; }
.mock-caption {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  margin: 14px 0 0;
  text-align: center;
}

/* ---------- pilot monitor ---------- */
.m-metric { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.m-metric:last-child { border-bottom: 0; }
.m-metric .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.m-metric .mn { font-size: 13px; font-weight: 600; color: var(--head); display: inline-flex; align-items: center; gap: 9px; }
.m-metric .mn .di { width: 24px; height: 24px; border-radius: 7px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.m-metric .mn .di svg { width: 14px; height: 14px; }
.m-metric .mstat { font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.m-metric .mstat.ok { color: #16915b; }
.m-metric .mstat.rev { color: var(--blue); }
.m-bar { height: 7px; border-radius: 999px; background: #eaeef6; overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #3b82f6, #2563eb); }
.m-bar i.rev { background: linear-gradient(90deg, #93b4f7, #6e9bf3); }
.m-foot {
  margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.m-kpi { border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; background: #fafcff; }
.m-kpi .v { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--head); letter-spacing: -.02em; }
.m-kpi .l { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- generic enrichment: detail strip under feature rows ---------- */
.detail-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; margin-top: 30px;
}
.detail-strip .d {
  padding: 22px 24px; border-right: 1px solid var(--line-soft);
}
.detail-strip .d:last-child { border-right: 0; }
.detail-strip .di {
  width: 36px;
  height: 36px;
  color: var(--blue);
  background: #f7f9fd;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-strip .di svg { width: 19px; height: 19px; stroke-width: 1.8; }
.detail-strip .dh { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--head); margin: 0 0 5px; }
.detail-strip .dp { font-size: 13px; line-height: 1.55; color: var(--body); margin: 0; }

/* ---------- comparison: shared vs alternatives ---------- */
.compare {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
  width: 100%; margin: 0;
}
.compare .crow {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
}
.compare .crow + .crow { border-top: 1px solid var(--line-soft); }
.compare .crow.head { background: var(--bg-soft); }
.compare .crow > div { padding: 16px 22px; font-size: 14px; }
.compare .crow.head > div { font-family: var(--font-display); font-weight: 600; color: var(--head); font-size: 13.5px; }
.compare .crow.head .vee { color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.compare .cq { color: var(--body); }
.compare .cv { color: var(--head); font-weight: 500; display: inline-flex; align-items: center; gap: 9px; }
.compare .cv.dim { color: var(--muted); font-weight: 400; }
.compare .cv svg { width: 15px; height: 15px; flex: none; stroke-width: 2.2; }
.compare .cv.yes svg { color: #16915b; }
.compare .cv.no svg { color: #c2cbd9; }
.compare .vcol { background: linear-gradient(180deg, var(--blue-tint), #fff); }

@media (max-width: 860px) {
  .mock-stage { min-height: 0; padding: 26px 20px; }
  .detail-strip { grid-template-columns: 1fr; }
  .detail-strip .d { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .detail-strip .d:last-child { border-bottom: 0; }
  .compare .crow { grid-template-columns: 1.2fr 1fr; }
  .compare .crow > div:nth-child(3) { display: none; }
}

@media (max-width: 420px) {
  .mock-stage { padding: 22px 16px; }
  .mwin-body { padding: 14px; }
  .mwin-bar { padding: 13px 14px; }
  .mwin-live { padding: 4px 8px; }
  .m-metric .top { align-items: flex-start; flex-wrap: wrap; }
  .m-foot { grid-template-columns: 1fr; }
}
