:root {
  --navy: #07182f;
  --navy-2: #0c2342;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --cyan: #0ea5e9;
  --text: #101828;
  --muted: #5e6b7b;
  --soft: #f6f8fb;
  --border: #e2e8f0;
  --green: #138a52;
  --green-soft: #ebfbf2;
  --amber: #bd7a00;
  --amber-soft: #fff7e6;
  --red: #c94444;
  --red-soft: #fff0f0;
  --blue-soft: #eef5ff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.065);
  --max: 1180px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.showday-page {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.showday-page main a {
  color: inherit;
  text-decoration: none;
}

.showday-page button {
  font: inherit;
}

.showday-page img {
  display: block;
  max-width: 100%;
}

.showday-page .container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.showday-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showday-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.showday-page h1,
.showday-page h2 {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.showday-page h1 {
  max-width: 800px;
  font-size: clamp(50px, 5.2vw, 70px);
  line-height: 0.98;
}

.showday-page h2 {
  max-width: 760px;
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.03;
}

.showday-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #526173;
  font-size: 18px;
  line-height: 1.68;
}

.showday-copy {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.showday-section {
  position: relative;
  min-height: 700px;
  padding: 92px 0;
  overflow: hidden;
}

.showday-section--hero {
  min-height: 760px;
  background:
    radial-gradient(circle at 85% 8%, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff, #f9fbfd);
}

.showday-section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(37, 99, 235, 0.24), transparent 32%),
    linear-gradient(135deg, #07182f, #0b203b 60%, #0d2444);
}

.showday-section--dark h2,
.showday-section--dark .showday-eyebrow {
  color: #fff;
}

.showday-section--dark .showday-copy {
  color: #b7c5d6;
}

.showday-section--soft {
  background: var(--soft);
}

.showday-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.showday-page .btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.showday-page .btn:hover {
  transform: translateY(-1px);
}

.showday-page .btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.20);
}

.showday-page .btn-primary:hover {
  background: var(--blue-2);
}

.showday-page .btn-outline {
  color: var(--text);
  background: #fff;
  border-color: #d7dee8;
}

.showday-page .btn-outline:hover {
  background: #fbfcfe;
  border-color: #bcc7d5;
}

/* Show day pages use command-center layouts rather than product screenshot splits */
.command-hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
}

.command-center {
  position: relative;
  min-height: 470px;
  padding: 18px;
  border: 1px solid #dce4ee;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.command-center::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(37, 99, 235, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.command-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 14px;
  border-bottom: 1px solid #edf1f5;
}

.command-topbar strong {
  color: var(--navy);
  font-size: 12px;
}

.command-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 9px;
  font-weight: 850;
}

.command-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: showdayPulse 2s infinite;
}

.kpi-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 13px;
}

.kpi-card {
  padding: 13px;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.kpi-card span {
  display: block;
  color: #7d8998;
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
}

.kpi-card strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 22px;
}

.command-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px;
  margin-top: 10px;
}

.floor-mini,
.quick-panel {
  min-height: 270px;
  padding: 13px;
  border: 1px solid #e3e9f1;
  border-radius: 15px;
  background: rgba(255,255,255,.96);
}

.floor-mini {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  align-content: start;
}

.floor-space {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  color: #526173;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
}

.floor-space.checked {
  color: #17683f;
  background: var(--green-soft);
  border-color: #b9e7ce;
}

.floor-space.pending {
  color: #9a6400;
  background: var(--amber-soft);
  border-color: #f0dba8;
}

.floor-space.no-show {
  color: #a93e3e;
  background: var(--red-soft);
  border-color: #f0caca;
}

.quick-panel {
  display: grid;
  align-content: start;
  gap: 8px;
}

.quick-panel strong {
  color: var(--navy);
  font-size: 10px;
}

.quick-action {
  padding: 10px;
  border-radius: 10px;
  color: #344054;
  background: #f6f8fb;
  font-size: 9px;
  font-weight: 800;
}

.quick-action.active {
  color: #164a99;
  background: var(--blue-soft);
}

.command-float {
  position: absolute;
  z-index: 5;
  padding: 10px 12px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-soft);
  font-size: 9px;
  font-weight: 850;
  color: #344054;
}

.command-float.top {
  top: 16%;
  right: -18px;
  animation: showdayFloat 4.5s ease-in-out infinite;
}

.command-float.bottom {
  left: -16px;
  bottom: 12%;
  animation: showdayFloatAlt 5s ease-in-out infinite;
}

/* Fold 2, operational sequence */
.ops-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 60px;
  align-items: center;
}

.ops-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.ops-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid #e3e9f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
}

.ops-step i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.ops-step strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.ops-step span {
  display: block;
  margin-top: 5px;
  color: #6e7b8b;
  font-size: 11px;
  line-height: 1.5;
}

.ops-board {
  position: relative;
  min-height: 460px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.ops-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf1f5;
}

.ops-board-header strong {
  color: var(--navy);
  font-size: 12px;
}

.ops-board-header span {
  color: #7b8796;
  font-size: 9px;
}

.ops-feed {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.ops-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 11px;
  border: 1px solid #edf1f5;
  border-radius: 12px;
}

.ops-row i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.ops-row strong {
  display: block;
  color: var(--navy);
  font-size: 10px;
}

.ops-row small {
  display: block;
  margin-top: 3px;
  color: #8894a3;
  font-size: 8px;
}

.ops-status {
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.ops-status.success {
  color: var(--green);
  background: var(--green-soft);
}

.ops-status.warning {
  color: var(--amber);
  background: var(--amber-soft);
}

.ops-status.info {
  color: var(--blue);
  background: var(--blue-soft);
}

/* Fold 3, rapid actions */
.action-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.action-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.action-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid #e3e9f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
  transition: transform 180ms ease, border-color 180ms ease;
}

.action-card:hover {
  transform: translateY(-3px);
  border-color: #bfd2f8;
}

.action-card i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.action-card strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 13px;
}

.action-card span {
  display: block;
  margin-top: 6px;
  color: #728091;
  font-size: 10px;
  line-height: 1.5;
}

.showday-cta {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 5%, rgba(37,99,235,.30), transparent 35%),
    var(--navy);
}

.showday-cta strong {
  display: block;
  font-size: 19px;
}

.showday-cta p {
  max-width: 560px;
  margin: 7px 0 0;
  color: #bac8d8;
  font-size: 12px;
  line-height: 1.55;
}

.showday-cta .btn {
  margin-top: 16px;
}

/* Check-in specific */
.scan-panel {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.scan-window {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(37,99,235,.06), transparent 48%),
    #f8fafc;
  border: 1px solid #e6ebf2;
}

.scan-frame {
  width: 190px;
  height: 190px;
  position: relative;
  border: 2px solid #94b8ff;
  border-radius: 20px;
}

.scan-frame::before,
.scan-frame::after {
  content: "";
  position: absolute;
  background: var(--blue);
}

.scan-frame::before {
  top: 50%;
  left: 12px;
  right: 12px;
  height: 2px;
  animation: scanLine 2.8s ease-in-out infinite;
}

.scan-side {
  display: grid;
  align-content: start;
  gap: 10px;
}

.lookup-card {
  padding: 14px;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  background: #fff;
}

.lookup-card strong {
  display: block;
  color: var(--navy);
  font-size: 11px;
}

.lookup-card span {
  display: block;
  margin-top: 5px;
  color: #7b8796;
  font-size: 9px;
}

/* Kiosk specific */
.kiosk-shell {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.kiosk-device {
  width: 290px;
  min-height: 500px;
  padding: 12px;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 26px 70px rgba(15,23,42,.20);
}

.kiosk-screen {
  min-height: 476px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg,#fbfdff,#f4f7fb);
}

.kiosk-screen h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  letter-spacing: -.03em;
}

.kiosk-screen p {
  margin: 7px 0 0;
  color: #758293;
  font-size: 10px;
  line-height: 1.5;
}

.kiosk-button {
  margin-top: 15px;
  padding: 13px;
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
  text-align: center;
  font-size: 10px;
  font-weight: 850;
}

.kiosk-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.kiosk-item {
  padding: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.kiosk-item strong {
  display: block;
  color: var(--navy);
  font-size: 10px;
}

.kiosk-item span {
  display: block;
  margin-top: 4px;
  color: #8290a0;
  font-size: 8px;
}

.kiosk-float {
  position: absolute;
  z-index: 4;
  min-width: 150px;
  padding: 11px;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: #344054;
  font-size: 9px;
  font-weight: 800;
}

.kiosk-float.one {
  top: 14%;
  left: 0;
  animation: showdayFloat 4.8s ease-in-out infinite;
}

.kiosk-float.two {
  right: 0;
  bottom: 16%;
  animation: showdayFloatAlt 5.2s ease-in-out infinite;
}

/* Utility */
.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.metric-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #677484;
  font-size: 10px;
  font-weight: 850;
}

.metric-pill.success {
  color: var(--green);
  background: var(--green-soft);
}

.metric-pill.warning {
  color: var(--amber);
  background: var(--amber-soft);
}

.metric-pill.info {
  color: var(--blue);
  background: var(--blue-soft);
}

@keyframes showdayPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(19,138,82,.22); }
  50% { box-shadow: 0 0 0 9px rgba(19,138,82,0); }
}

@keyframes showdayFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes showdayFloatAlt {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes scanLine {
  0%,100% { transform: translateY(-70px); opacity: .4; }
  50% { transform: translateY(70px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1060px) {
  .command-hero,
  .ops-grid,
  .action-stage,
  .scan-panel {
    grid-template-columns: 1fr;
  }

  .showday-section,
  .showday-section--hero {
    min-height: auto;
    padding: 76px 0;
  }

  .command-center,
  .ops-board,
  .scan-panel {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .kiosk-shell {
    margin-top: 20px;
  }
}

@media (max-width: 720px) {
  .showday-page .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .showday-section,
  .showday-section--hero {
    padding: 60px 0;
  }

  .showday-page h1 { font-size: 44px; }
  .showday-page h2 { font-size: 38px; }
  .showday-lead { font-size: 17px; }
  .showday-copy { font-size: 15px; }

  .kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .command-body {
    grid-template-columns: 1fr;
  }

  .command-float,
  .kiosk-float {
    display: none;
  }

  .action-wall {
    grid-template-columns: 1fr;
  }

  .scan-panel {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .showday-page h1 { font-size: 39px; }
  .showday-page h2 { font-size: 34px; }

  .showday-actions .btn {
    width: 100%;
  }

  .kiosk-device {
    width: 100%;
    max-width: 290px;
  }
}
