/* Hand-built product screens. All data is made up. --brand follows the branding demo. */

:root { --brand: #3157d5; }

.pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; white-space: nowrap; background: rgba(120, 130, 160, 0.16); color: inherit; }
.pill-blue { background: rgba(49, 87, 213, 0.14); color: #3a5fe0; }
.pill-green { background: rgba(14, 159, 110, 0.14); color: #0b8a5f; }
.pill-amber { background: rgba(194, 120, 3, 0.15); color: #a76400; }
.pill-red { background: rgba(214, 59, 59, 0.14); color: #c62f2f; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
.dot-blue { background: #6d8cff; box-shadow: 0 0 0 4px rgba(109, 140, 255, 0.22); }
.c-green { color: #22c55e; } .c-red { color: #f87171; } .c-amber { color: #fbbf24; }
.qr { width: 100%; height: auto; fill: #0b1020; }

/* Laptop-style window */
.mock-window { background: #ffffff; color: #1b2335; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); font-size: 13px; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #eef1f7; border-bottom: 1px solid #e1e5ef; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.window-bar i:nth-child(2) { background: #fbbf24; } .window-bar i:nth-child(3) { background: #34d399; }
.window-url { margin: 0 auto; padding: 3px 14px; border-radius: 7px; background: #fff; color: #6b7590; font-size: 11.5px; }
.app-shell { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.app-side { display: flex; flex-direction: column; gap: 3px; padding: 14px 10px; background: #f7f8fc; border-right: 1px solid #e8ebf3; }
.app-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; font-size: 12.5px; min-width: 0; }
.app-brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-logo { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; transition: background 0.3s ease; }
.side-item { padding: 7px 10px; border-radius: 8px; color: #5b6580; }
.side-item.active { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-weight: 650; }
.app-main { padding: 16px; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.app-head strong { font-size: 16px; }
.fake-search { padding: 5px 12px; border-radius: 8px; border: 1px solid #e1e5ef; color: #8a93ab; font-size: 11.5px; }
.table .row { display: grid; grid-template-columns: 1.3fr 1.1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid #eef1f6; white-space: nowrap; }
.table .row > span { overflow: hidden; text-overflow: ellipsis; }
.table .row.head { color: #8a93ab; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 0; }
.table .row:not(.head) { animation: rowIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.table .row:nth-child(2) { animation-delay: 0.15s; } .table .row:nth-child(3) { animation-delay: 0.25s; } .table .row:nth-child(4) { animation-delay: 0.35s; } .table .row:nth-child(5) { animation-delay: 0.45s; } .table .row:nth-child(6) { animation-delay: 0.55s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }

/* Phone frame */
.mock-phone { position: relative; width: 230px; aspect-ratio: 9 / 19; padding: 10px; border-radius: 40px; background: linear-gradient(145deg, #2a3146, #0e1220); box-shadow: 0 40px 70px -25px rgba(0, 0, 0, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); }
.mock-phone.big { width: 270px; }
.phone-notch { position: absolute; top: 18px; left: 50%; z-index: 3; width: 74px; height: 22px; border-radius: 12px; background: #05070d; transform: translateX(-50%); }
.phone-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #f4f6fb; color: #1b2335; font-size: 12.5px; }
.screen-title { font-weight: 800; font-size: 19px; padding: 52px 16px 12px; letter-spacing: -0.02em; }
.sheet-button { display: inline-flex; justify-content: center; padding: 8px 16px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 650; }
.sheet-button.wide { position: absolute; left: 16px; right: 16px; bottom: 22px; }

/* Hero visual */
.hero-visual { position: relative; perspective: 1400px; padding: 10px 70px 40px 0; }
.hero-window { transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform 0.4s ease; }
.hero-phone { position: absolute; right: 0; bottom: -34px; width: 190px; scale: 0.84; transform-origin: 100% 100%; transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 4deg)) translateZ(60px); transition: transform 0.4s ease; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.scanner { background: radial-gradient(120% 90% at 50% 30%, #3a4256, #10131c 70%); color: #fff; }
.scan-label { position: absolute; left: 50%; top: 32%; width: 92px; padding: 8px 8px 4px; border-radius: 8px; background: #fff; transform: translate(-50%, -50%) rotate(-4deg); text-align: center; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); }
.scan-label small { display: block; color: #0b1020; font-family: var(--mono); font-size: 9px; font-weight: 700; margin-top: 2px; }
.scan-frame { position: absolute; left: 50%; top: 32%; width: 120px; height: 120px; transform: translate(-50%, -50%); }
.scan-frame i { position: absolute; width: 22px; height: 22px; border: 3px solid #fff; border-radius: 4px; }
.scan-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.scan-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.scan-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.scan-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.scan-line { position: absolute; left: 8px; right: 8px; height: 2px; background: #4fd1a5; box-shadow: 0 0 12px #4fd1a5; animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 10%; } 50% { top: 88%; } }
.scan-sheet { position: absolute; left: 10px; right: 10px; bottom: 12px; padding: 12px; font-size: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.95); color: #1b2335; display: grid; gap: 2px; animation: sheetUp 4.4s ease-in-out infinite; }
.scan-sheet span { color: #5b6580; font-size: 11.5px; }
@keyframes sheetUp { 0%, 35% { transform: translateY(130%); } 45%, 90% { transform: none; } 100% { transform: translateY(130%); } }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(19, 27, 51, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); color: #eef2ff; font-size: 13.5px; font-weight: 600; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); white-space: nowrap; }
.chip-signed { left: -14px; bottom: 54px; animation: float 6s ease-in-out infinite 1s; }
.chip-ticket { right: 120px; top: -18px; animation: float 8s ease-in-out infinite 0.5s; }
@media (max-width: 1023px) { .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; } }
@media (max-width: 560px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .table .row { grid-template-columns: 1.4fr auto; }
  .table .row > span:nth-child(2) { display: none; }
  .hero-visual { padding-right: 40px; }
  .hero-phone { right: 0; bottom: -30px; scale: 0.64; }
  .chip-ticket { right: auto; left: 10px; top: -20px; }
  .chip-signed { left: 6px; bottom: 0; }
}

/* Story stage scenes */
.scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; transform: scale(0.94) translateY(12px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); pointer-events: none; }
.story-stage[data-scene="1"] .scene-1, .story-stage[data-scene="2"] .scene-2, .story-stage[data-scene="3"] .scene-3,
.story-stage[data-scene="4"] .scene-4, .story-stage[data-scene="5"] .scene-5, .story-stage[data-scene="6"] .scene-6,
.story-stage[data-scene="7"] .scene-7 { opacity: 1; transform: none; }
.story-stage .mock-phone { width: 210px; }
@media (max-width: 959px) {
  .scene { padding: 14px; }
  .story-stage .mock-phone { width: 140px; padding: 7px; border-radius: 28px; }
  .story-stage .phone-screen { border-radius: 22px; font-size: 10px; }
  .story-stage .phone-notch { top: 12px; width: 50px; height: 15px; }
  .story-stage .screen-title { font-size: 14px; padding: 34px 12px 8px; }
}

/* 1: camera reads the serial */
.camera { background: radial-gradient(120% 90% at 50% 40%, #59607a, #1a1e2b 70%); }
.sticker { position: absolute; left: 50%; top: 38%; width: 78%; padding: 10px 12px; border-radius: 6px; background: #f5f3ee; color: #222; transform: translate(-50%, -50%) rotate(-3deg); display: grid; gap: 3px; font-size: 10px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); }
.sticker-sn b { font-family: var(--mono); font-size: 11px; }
.barcode { height: 18px; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 3px, #222 3px 4px, transparent 4px 7px); }
.ocr-box { position: absolute; left: 50%; top: 38%; width: 70%; height: 22px; border: 2px solid #4fd1a5; border-radius: 6px; transform: translate(-46%, -2px) rotate(-3deg); box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.25); animation: ocr 3.2s ease-in-out infinite; }
@keyframes ocr { 0%, 20% { opacity: 0; transform: translate(-46%, -2px) rotate(-3deg) scale(1.3); } 35%, 100% { opacity: 1; transform: translate(-46%, -2px) rotate(-3deg) scale(1); } }
.sheet { position: absolute; left: 8px; right: 8px; bottom: 10px; padding: 12px; border-radius: 16px; background: #fff; display: grid; gap: 4px; justify-items: start; }
.sheet small { color: #5b6580; }
.sheet strong { font-size: 15px; }

/* 2: label sheet */
.label-sheet { width: min(92%, 420px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.label { display: grid; grid-template-columns: 42% 1fr; gap: 6px; align-items: center; padding: 8px; border-radius: 6px; border: 1px dashed #c9cfdd; color: #1b2335; font-size: 9.5px; line-height: 1.3; }
.label b { display: block; font-family: var(--mono); font-size: 10.5px; }
.scene-2 .label { opacity: 0; }
.story-stage[data-scene="2"] .label { animation: labelIn 0.5s ease both; }
.story-stage[data-scene="2"] .label:nth-child(2) { animation-delay: 0.12s; } .story-stage[data-scene="2"] .label:nth-child(3) { animation-delay: 0.24s; }
.story-stage[data-scene="2"] .label:nth-child(4) { animation-delay: 0.36s; } .story-stage[data-scene="2"] .label:nth-child(5) { animation-delay: 0.48s; } .story-stage[data-scene="2"] .label:nth-child(6) { animation-delay: 0.6s; }
@keyframes labelIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.printer-tag { position: absolute; bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #dfe6ff; font-size: 12.5px; border: 1px solid rgba(255, 255, 255, 0.14); }
@media (max-width: 959px) { .label-sheet { gap: 6px; padding: 10px; } .label { font-size: 7.5px; padding: 5px; } .label b { font-size: 8px; } .printer-tag { display: none; } }

/* 3: protocol paper */
.paper { width: min(88%, 380px); padding: 22px 24px; border-radius: 6px; background: #fff; color: #1b2335; font-size: 11.5px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.paper-company { color: var(--brand); font-weight: 800; font-size: 13px; }
.paper-number { color: #5b6580; font-size: 11px; margin-top: 2px; }
.paper h4 { font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.02em; margin: 10px 0 8px; }
.paper-meta { color: #5b6580; }
.paper-list { margin: 10px 0; border-top: 1px solid #e8ebf3; }
.paper-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #e8ebf3; }
.paper-statement { color: #5b6580; font-style: italic; }
.paper-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; color: #8a93ab; font-size: 10px; }
.paper-signs span { border-top: 1px solid #b6bdcf; padding-top: 4px; }
@media (max-width: 959px) { .paper { padding: 12px 14px; font-size: 8.5px; } .paper h4 { font-size: 10px; margin: 5px 0; } .paper-list li { padding: 3px 0; } .paper-signs { margin-top: 10px; } .paper-statement { display: none; } }

/* 4: signing on iPad */
.mock-tablet { position: relative; width: min(92%, 440px); aspect-ratio: 4 / 3; padding: 14px; border-radius: 26px; background: linear-gradient(145deg, #2a3146, #0e1220); box-shadow: 0 40px 70px -25px rgba(0, 0, 0, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.tablet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 14px 14px 4px 4px; background: #f4f6fb; color: #1b2335; font-size: 12px; }
.steps { display: flex; gap: 6px; }
.steps i { font-style: normal; padding: 3px 8px; border-radius: 999px; background: #e6e9f2; color: #5b6580; font-size: 11px; }
.steps i.done { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); font-weight: 650; }
.sign-pad { position: relative; border-radius: 4px 4px 14px 14px; background: #fff; display: grid; place-items: center; }
.sign-pad svg { width: 82%; }
.signature { fill: none; stroke: #13204a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.story-stage[data-scene="4"] .signature { animation: sign 2.6s ease-in-out 0.3s forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.sign-line { position: absolute; left: 12%; right: 12%; bottom: 26%; border-top: 1.5px dashed #c9cfdd; }
.sign-pad small { position: absolute; bottom: 12%; color: #8a93ab; font-size: 11px; }
.pencil { position: absolute; right: -18px; top: 30%; width: 12px; height: 150px; border-radius: 6px 6px 2px 2px; background: linear-gradient(90deg, #f4f4f6, #d9dbe3); transform: rotate(28deg); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); }
.pencil::after { content: ""; position: absolute; bottom: -14px; left: 2px; border: 4px solid transparent; border-top: 14px solid #cfd2db; }
.story-stage[data-scene="4"] .pencil { animation: pencil 2.6s ease-in-out 0.3s forwards; }
@keyframes pencil { 0% { transform: translate(-200px, 40px) rotate(28deg); } 100% { transform: translate(0, 30px) rotate(28deg); } }
@media (max-width: 959px) { .pencil { display: none; } .tablet-head { font-size: 9px; padding: 6px 8px; } .steps i { font-size: 8px; } }

/* 5: new ticket form */
.form label { display: grid; gap: 3px; margin: 0 14px 10px; color: #5b6580; font-size: 11px; }
.form label span { padding: 8px 10px; border-radius: 9px; background: #fff; border: 1px solid #e1e5ef; color: #1b2335; font-size: 12px; }
.form .prefilled { border-color: color-mix(in srgb, var(--brand) 55%, white); background: color-mix(in srgb, var(--brand) 7%, white); }
@media (max-width: 959px) { .form label { margin: 0 8px 5px; font-size: 8px; } .form label span { padding: 4px 6px; font-size: 8.5px; } .sheet-button.wide { bottom: 10px; left: 8px; right: 8px; padding: 5px; } }

/* 6: return */
.return-card { width: min(90%, 400px); padding: 22px; border-radius: 16px; background: #fff; color: #1b2335; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.return-card h4 { font-size: 17px; margin: 4px 0 14px; }
.return-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid #eef1f6; font-size: 13px; }
.return-row .arrow { color: #8a93ab; }
.return-row .pill:last-child { opacity: 0; }
.story-stage[data-scene="6"] .return-row .pill:last-child { animation: fadeIn 0.6s ease 0.4s forwards; }
.story-stage[data-scene="6"] .return-row + .return-row .pill:last-child { animation-delay: 0.8s; }
@keyframes fadeIn { to { opacity: 1; } }
.return-card .paper-meta { margin-top: 12px; font-size: 12.5px; }
@media (max-width: 959px) { .return-card { padding: 14px; } .return-card h4 { font-size: 13px; } .return-row { font-size: 10px; gap: 4px; } }

/* 7: stock take */
.stocktake { background: #0e1424; color: #fff; text-align: center; }
.ring { --p: 0.9; width: 128px; height: 128px; margin: 6px auto 16px; border-radius: 50%; display: grid; place-content: center; background: radial-gradient(closest-side, #0e1424 82%, transparent 83% 100%), conic-gradient(#22c55e calc(var(--p) * 100%), rgba(255, 255, 255, 0.1) 0); }
.ring strong { font-size: 30px; line-height: 1; }
.ring small { color: #9aa5c2; }
.counts { display: grid; gap: 6px; padding: 0 14px; }
.counts span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: #9aa5c2; font-size: 12px; text-align: left; }
.counts b { order: 2; font-size: 17px; }
@media (max-width: 959px) { .ring { width: 74px; height: 74px; margin-bottom: 8px; } .ring strong { font-size: 18px; } .counts { gap: 4px; padding: 0 8px; } .counts span { font-size: 8.5px; padding: 4px 8px; border-radius: 8px; } .counts b { font-size: 11px; } }

/* Helpdesk */
.ticket-mock { position: relative; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.queues { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.queue { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 13.5px; font-weight: 600; }
.queue b { margin-left: 4px; color: var(--text); }
.queue.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.ticket-card { padding: 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); }
.ticket-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.ticket-no { font-weight: 700; }
.status-pill { transition: background 0.3s ease, color 0.3s ease; }
.status-pill[data-step="0"] { background: rgba(49, 87, 213, 0.14); color: #4a6cf0; }
.status-pill[data-step="1"] { background: rgba(194, 120, 3, 0.16); color: #c27803; }
.status-pill[data-step="2"] { background: rgba(14, 159, 110, 0.16); color: #0e9f6e; }
.ticket-card h4 { font-size: 17px; margin-bottom: 14px; }
.timeline { display: grid; gap: 12px; }
.tl { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
.tl small { color: var(--muted); }
.tl p { color: var(--muted); margin-top: 2px; }
.tl.internal { background: color-mix(in srgb, #fbbf24 10%, var(--surface)); border-color: color-mix(in srgb, #fbbf24 35%, var(--border)); }
.lock::before { content: "🔒 "; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }
.attachment { display: inline-flex; margin-top: 8px; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.attachment::before { content: "📎 "; }
.js .ticket-mock .tl { opacity: 0; transform: translateY(10px); }
.js .ticket-mock.is-visible .tl { animation: rowIn 0.6s ease both; opacity: 1; transform: none; }
.ticket-mock.is-visible .tl:nth-child(2) { animation-delay: 0.9s; } .ticket-mock.is-visible .tl:nth-child(3) { animation-delay: 1.8s; }
.toast-mail { position: absolute; right: -10px; bottom: -18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600; }
.js .toast-mail { opacity: 0; }
.js .ticket-mock.is-visible .toast-mail { animation: fadeIn 0.6s ease 2.6s forwards; }
@media (max-width: 560px) { .toast-mail { right: 8px; } }

/* Licenses */
.license-mock { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 14px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); display: grid; gap: 4px; }
.tile small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.tile strong { font-size: 24px; letter-spacing: -0.02em; white-space: nowrap; }
.lic { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 14px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--border); font-size: 14.5px; }
.lic small { display: block; color: var(--muted); font-size: 12.5px; }
.seats { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
.seats i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #4a6cf0, #22c55e); transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s; }
.seats.over i { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.license-mock.is-visible .seats i { width: var(--w); }
@media (max-width: 560px) { .tile strong { font-size: 17px; } .lic { grid-template-columns: 1fr auto; } .seats { grid-column: 1 / -1; grid-row: 2; } }

/* iPhone app carousel */
.app-carousel { display: grid; place-items: center; padding: 20px 0; }
.app { display: flex; flex-direction: column; }
.app-screens { position: relative; flex: 1; }
.app-screen { position: absolute; inset: 0; opacity: 0; transform: translateX(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
.app-screen.is-active { opacity: 1; transform: none; }
.widget { margin: 0 14px 10px; padding: 14px; border-radius: 14px; background: #fff; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 2px rgba(16, 24, 48, 0.06); }
.widget small { color: #5b6580; font-size: 12px; }
.widget strong { font-size: 22px; color: var(--brand); }
.list-row { margin: 0 14px; padding: 12px 4px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid #e6e9f2; }
.list-row span { color: #5b6580; }
.toggle { width: 38px; height: 22px; border-radius: 999px; background: #22c55e; position: relative; }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.tab-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 8px 8px 14px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 6px 18px rgba(16, 24, 48, 0.12); }
.tab { text-align: center; padding: 6px 0; border-radius: 999px; font-size: 8.5px; letter-spacing: -0.01em; font-weight: 600; color: #5b6580; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background 0.3s ease, color 0.3s ease; }
.tab.is-active { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }

/* Branding demo */
.brand-controls { display: grid; gap: 10px; margin-top: 26px; max-width: 420px; }
.brand-controls label, .swatches legend { font-weight: 650; font-size: 15px; }
.brand-controls input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
.brand-controls input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.swatches { border: 0; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.swatches legend { margin-bottom: 10px; padding: 0; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--surface); background: var(--swatch); box-shadow: 0 0 0 1px var(--border); cursor: pointer; transition: transform 0.15s ease; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); transform: scale(1.08); }
.brand-preview { position: relative; display: flex; flex-direction: column; align-items: center; padding: 28px; border-radius: 24px; background: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--brand) 22%, var(--surface)), var(--surface-2)); border: 1px solid var(--border); transition: background 0.4s ease; }
.signin-card { width: min(100%, 300px); padding: 26px; border-radius: 20px; background: #fff; color: #1b2335; box-shadow: var(--shadow); display: grid; gap: 10px; justify-items: center; text-align: center; }
.app-logo.big { width: 52px; height: 52px; border-radius: 14px; font-size: 18px; }
.signin-title { font-weight: 800; font-size: 18px; margin-bottom: 6px; overflow-wrap: anywhere; }
.field { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #e1e5ef; color: #8a93ab; text-align: left; font-size: 14px; }
.brand-button { width: 100%; padding: 11px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; transition: background 0.3s ease; }
.brand-button.small { width: auto; padding: 8px 14px; font-size: 13px; }
.signin-card small { color: var(--brand); font-weight: 600; }
.brand-mail { position: relative; align-self: flex-end; margin-top: -18px; width: 230px; padding: 14px; border-radius: 16px; background: #fff; color: #1b2335; box-shadow: var(--shadow); display: grid; gap: 6px; justify-items: start; font-size: 13px; animation: float 7s ease-in-out infinite; }
.brand-mail small { color: #5b6580; }
@media (max-width: 560px) { .brand-mail { position: static; width: 100%; margin-top: 14px; animation: none; } .brand-preview { display: block; } .signin-card { margin: 0 auto; } }
