/* Anteyko — Engineered Luxe (Linear base + Vercel precision) */
:root {
  --bg: #08090A;
  --surface: #0F1011;
  --surface-2: #141517;
  --elev: #16171A;
  --text: #F7F8F8;
  --muted: #8A8F98;
  --dim: #62666D;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --accent: #5E6AD2;
  --accent-2: #828FFF;
  --green: #4CC38A;
  --amber: #E2B340;
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 14px;
  --r-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #050506;
  display: flex; align-items: center; justify-content: center;
  min-height: 100dvh; padding: 24px; overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Device frame ===== */
.device {
  position: relative; width: 408px; max-width: 100%;
  height: min(862px, calc(100dvh - 48px));
  background: #18191c; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50px; padding: 12px;
  box-shadow: 0 50px 110px -45px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.08);
}
.notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 128px; height: 24px; background: #18191c; border-radius: 0 0 16px 16px; z-index: 6; }

.app { position: relative; height: 100%; background: var(--bg); border-radius: 39px; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }

/* ===== Ambient + Vercel grid ===== */
.app::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 320px at 80% -6%, rgba(94,106,210,0.20), transparent 60%),
    radial-gradient(420px 300px at 4% 6%, rgba(94,106,210,0.07), transparent 60%);
}
.app::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(rgba(255,255,255,0.021) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.021) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(460px 420px at 72% 4%, #000 28%, transparent 76%);
  mask-image: radial-gradient(460px 420px at 72% 4%, #000 28%, transparent 76%);
}

/* ===== App bar ===== */
.appbar { position: relative; z-index: 4; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: calc(20px + env(safe-area-inset-top)) 18px 10px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-name { font-weight: 500; font-size: 16px; letter-spacing: -0.3px; }
.brand-name span { color: var(--dim); }
.places-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.places-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== Screens ===== */
.screens { position: relative; z-index: 2; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior: contain; }
.screens::-webkit-scrollbar { display: none; }
.screen { padding: 8px 20px 26px; }
.screen[hidden] { display: none; }
.screen.is-active { animation: fade 0.4s cubic-bezier(0.22,1,0.36,1); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Typography ===== */
.kicker { font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: 0.3px; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 9px; }
.kicker::before { content: ""; width: 16px; height: 1px; background: var(--line-2); }
.display { font-weight: 500; font-size: clamp(30px, 8.6vw, 42px); line-height: 1.05; letter-spacing: -1.6px; }
.display.sm { font-size: clamp(26px, 7.6vw, 34px); letter-spacing: -1.3px; }
.display .q { color: var(--dim); }
.lead { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-top: 15px; max-width: 330px; }

/* ===== Price ===== */
.price-row { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; }
.price { font-weight: 600; font-size: clamp(40px, 12vw, 48px); letter-spacing: -2px; line-height: 1; }
.price-old { font-size: 15px; color: var(--dim); text-decoration: line-through; }
.price-note { font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-top: 9px; }

/* ===== Cards ===== */
.card { position: relative; background: linear-gradient(180deg, var(--surface), #0c0d0f); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-lbl { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.card-tag { font-family: var(--mono); font-size: 11px; color: var(--accent-2); border: 1px solid rgba(94,106,210,0.35); background: rgba(94,106,210,0.10); border-radius: 6px; padding: 3px 8px; }

.offer-card { margin-top: 24px; }
.track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; margin-top: 16px; }
.track i { display: block; height: 100%; width: 60%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.track-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 9px; }
.track-row b { font-family: var(--mono); color: var(--text); font-weight: 500; }

/* ===== Buttons ===== */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 1px solid transparent; border-radius: 12px; font-family: var(--font); font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; transition: transform 0.12s, filter 0.2s, background 0.2s; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--text); color: #0a0a0c; box-shadow: 0 10px 30px -12px rgba(247,248,248,0.3); }
.btn-primary:hover { filter: brightness(0.94); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 34px -12px rgba(94,106,210,0.9); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-wa { background: #25D366; color: #06310f; }
.actions { display: flex; gap: 10px; margin-top: 16px; }
.actions .btn { width: auto; flex: 1; }
.hint { font-size: 12px; color: var(--dim); text-align: center; margin-top: 11px; line-height: 1.5; }

/* ===== Mono spec chips ===== */
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.spec { font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; }
.spec b { color: var(--accent-2); font-weight: 500; }

/* ===== Features ===== */
.features { display: grid; gap: 10px; margin-top: 24px; }
.feat { padding: 16px; }
.feat-ix { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.feat h3 { font-weight: 500; font-size: 15.5px; margin: 10px 0 6px; letter-spacing: -0.3px; }
.feat p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.why { margin-top: 14px; }
.why .card-lbl { color: var(--accent-2); }
.why p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.why b { color: var(--text); }

/* ===== Screen head ===== */
.screen-head { margin: 8px 0 18px; }

/* ===== Chips (niche / needs) ===== */
.chips { display: flex; gap: 8px; margin-bottom: 16px; }
.chips.wrap { flex-wrap: wrap; }
.chip { font-family: var(--font); font-size: 13.5px; font-weight: 500; color: var(--muted); background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; cursor: pointer; transition: all 0.16s; }
.chip.is-on { color: #0a0a0c; background: var(--text); border-color: var(--text); }

/* ===== Demo app ===== */
.demo-app { padding: 0; overflow: hidden; }
.demo-cover { display: flex; align-items: center; gap: 13px; padding: 18px 16px; background: linear-gradient(135deg, rgba(94,106,210,0.30), rgba(94,106,210,0.06)); border-bottom: 1px solid var(--line); }
.demo-logo { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); }
.demo-meta h3 { font-weight: 500; font-size: 17px; letter-spacing: -0.3px; }
.demo-meta p { font-size: 12px; color: var(--muted); margin-top: 3px; font-family: var(--mono); }
.demo-cats { display: flex; gap: 8px; padding: 14px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.demo-cats::-webkit-scrollbar { display: none; }
.demo-cat { white-space: nowrap; font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.demo-cat.on { color: var(--accent-2); border-color: rgba(94,106,210,0.4); }
.demo-list { padding: 8px 16px 4px; display: grid; gap: 11px; }
.demo-item { display: flex; align-items: center; gap: 12px; }
.demo-thumb { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 22px; flex: 0 0 auto; }
.di-main { flex: 1; }
.demo-item h4 { font-size: 14px; font-weight: 500; }
.demo-item p { font-size: 12px; color: var(--dim); margin-top: 2px; }
.demo-price { font-family: var(--mono); font-size: 13px; color: var(--text); white-space: nowrap; }
.demo-cta { margin: 14px 16px 16px; width: calc(100% - 32px); }

/* ===== Countdown ===== */
.countdown { text-align: center; margin-bottom: 14px; }
.countdown .card-lbl { color: var(--amber); display: block; margin-bottom: 12px; }
.cd-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.cd-grid b { display: block; font-weight: 600; font-size: 26px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.cd-grid span { font-family: var(--mono); font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== Pricing lists ===== */
.incl, .excl { margin-bottom: 12px; }
.incl-h, .excl-h { font-weight: 500; font-size: 14.5px; margin-bottom: 12px; letter-spacing: -0.2px; }
.excl-h { color: var(--muted); }
.ticks, .dots { list-style: none; display: grid; gap: 9px; }
.ticks li, .dots li { position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.4; }
.ticks li { color: var(--text); }
.dots li { color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green); transform: rotate(-45deg); }
.dots li::before { content: "+"; position: absolute; left: 4px; top: -1px; color: var(--accent-2); font-family: var(--mono); }

/* ===== Compare ===== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.cmp { padding: 14px; }
.cmp-tag { font-family: var(--mono); font-size: 10.5px; color: var(--muted); display: block; margin-bottom: 8px; }
.cmp b { font-weight: 600; font-size: 22px; display: block; margin-bottom: 10px; letter-spacing: -1px; }
.cmp ul { list-style: none; display: grid; gap: 6px; }
.cmp li { font-size: 11.5px; color: var(--dim); padding-left: 12px; position: relative; }
.cmp li::before { content: "–"; position: absolute; left: 0; }
.cmp-bad { opacity: 0.7; }
.cmp-good { border-color: rgba(94,106,210,0.4); }
.cmp-good b { color: var(--accent-2); }

/* ===== Form ===== */
.form { display: grid; gap: 13px; }
.form label { display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.field-label { font-size: 13px; color: var(--muted); margin-bottom: -4px; }
.form input, .form select { font-family: var(--font); font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 11px; padding: 13px 14px; width: 100%; outline: none; transition: border-color 0.16s, box-shadow 0.16s; }
.form input::placeholder { color: #4d5159; }
.form input:focus, .form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,106,210,0.2); }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23828FFF' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.alt .btn { margin-top: 0; }
.trust { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 14px; line-height: 1.6; }

/* ===== Tab bar ===== */
.tabbar { position: relative; z-index: 5; flex: 0 0 auto; display: grid; grid-template-columns: repeat(4,1fr); background: rgba(8,9,10,0.86); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 10px 6px calc(10px + env(safe-area-inset-bottom)); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; color: var(--dim); font-family: var(--font); font-size: 10.5px; font-weight: 500; padding: 4px 0; transition: color 0.16s; }
.tab svg { width: 18px; height: 18px; display: block; }
.tab.is-active { color: var(--text); }
.tab.is-active svg { color: var(--accent-2); }

/* ===== Bottom sheet ===== */
.sheet-backdrop { position: absolute; inset: 0; z-index: 50; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop[hidden] { display: none; }
.sheet { width: 100%; max-width: 432px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); animation: up 0.34s cubic-bezier(0.22,1,0.36,1); }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.sheet-grab { width: 40px; height: 4px; background: var(--line-2); border-radius: 999px; margin: 0 auto 16px; }
.sheet h3 { font-weight: 500; font-size: 18px; margin-bottom: 16px; }
.steps { list-style: none; display: grid; gap: 13px; margin-bottom: 18px; }
.steps li { font-size: 14px; color: var(--muted); line-height: 1.5; }
.steps b { color: var(--accent-2); margin-right: 4px; font-family: var(--mono); }
.kbd { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; font-size: 13px; color: var(--text); white-space: nowrap; }

/* ===== Toast ===== */
.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); background: var(--text); color: #0a0a0c; font-size: 13.5px; font-weight: 500; padding: 12px 18px; border-radius: 11px; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.7); opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 60; max-width: 320px; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Stagger ===== */
.stagger > * { opacity: 0; animation: rise 0.55s cubic-bezier(0.22,1,0.36,1) forwards; }
.stagger > *:nth-child(1) { animation-delay: 0.04s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.16s; }
.stagger > *:nth-child(4) { animation-delay: 0.22s; }
.stagger > *:nth-child(5) { animation-delay: 0.28s; }
.stagger > *:nth-child(6) { animation-delay: 0.34s; }
.stagger > *:nth-child(7) { animation-delay: 0.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stagger > *, .screen.is-active { animation: none; opacity: 1; } }

/* ===== Standalone / mobile ===== */
@media (display-mode: standalone), (display-mode: minimal-ui) {
  body { padding: 0; }
  .device { width: 100%; height: 100dvh; border: none; border-radius: 0; padding: 0; box-shadow: none; }
  .notch { display: none; }
  .app { border-radius: 0; }
  .appbar { padding-top: calc(22px + env(safe-area-inset-top)); }
}
@media (max-width: 480px) {
  body { padding: 0; overflow: auto; }
  .device { width: 100%; height: 100dvh; border: none; border-radius: 0; padding: 0; box-shadow: none; }
  .notch { display: none; }
  .app { border-radius: 0; }
}

/* ===================== Native-grade layer ===================== */
* { -webkit-user-select: none; user-select: none; }
input, select, textarea { -webkit-user-select: text; user-select: text; }
.screens { overscroll-behavior: contain; }

/* Splash (app-open feel) */
.splash { position: absolute; inset: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: opacity 0.5s ease; }
.splash.hide { opacity: 0; pointer-events: none; }
.splash-logo { width: 88px; height: auto; opacity: 0; transform: scale(0.7); animation: splashLogo 0.9s cubic-bezier(0.22,1,0.36,1) forwards; filter: drop-shadow(0 0 32px rgba(94,106,210,0.6)); }
@keyframes splashLogo { to { opacity: 1; transform: scale(1); } }
.splash-bar { width: 120px; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; opacity: 0; animation: sFade 0.4s 0.3s forwards; }
.splash-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); animation: splashBar 1s 0.35s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes splashBar { to { width: 100%; } }
@keyframes sFade { to { opacity: 1; } }

/* Directional screen transition (overrides earlier fade) */
.screen.is-active { animation: screenIn 0.4s cubic-bezier(0.22,1,0.36,1); }
@keyframes screenIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 34px)); } to { opacity: 1; transform: none; } }

/* Spring press states */
.btn, .chip, .tab, .demo-item, .places-pill, .spec, .os-step button { transition: transform 0.14s cubic-bezier(0.34,1.56,0.64,1), background 0.2s, color 0.2s, border-color 0.2s, filter 0.2s; }
.btn:active, .chip:active, .demo-item:active, .places-pill:active, .os-step button:active { transform: scale(0.955); }
.tab:active { transform: scale(0.9); }

/* Tab indicator */
.tabbar { position: relative; }
.tab-ind { position: absolute; top: 0; left: 0; width: 24px; height: 2px; border-radius: 999px; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); transition: transform 0.34s cubic-bezier(0.34,1.3,0.64,1); }

/* Demo item tappable */
.demo-item { cursor: pointer; padding: 6px; margin: -6px; border-radius: 12px; }
.demo-item:active { background: rgba(255,255,255,0.04); }

/* Generic draggable bottom sheet */
.sheet2-backdrop { position: absolute; inset: 0; z-index: 55; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity 0.28s ease; }
.sheet2-backdrop.show { opacity: 1; }
.sheet2-backdrop[hidden] { display: none; }
.sheet2 { width: 100%; max-width: 432px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px 24px 0 0; padding: 12px 20px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.34s cubic-bezier(0.22,1,0.36,1); will-change: transform; }
.sheet2-backdrop.show .sheet2 { transform: translateY(0); }

/* Order sheet content */
.os-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.os-thumb { width: 56px; height: 56px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 28px; flex: 0 0 auto; }
.os-head h4 { font-size: 17px; font-weight: 500; }
.os-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.os-qty { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.os-qty .lbl { font-size: 14px; color: var(--muted); }
.os-step { display: flex; align-items: center; gap: 16px; }
.os-step button { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font-size: 20px; display: grid; place-items: center; cursor: pointer; }
.os-step b { font-family: var(--mono); font-size: 18px; min-width: 22px; text-align: center; }
.os-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.os-total span { color: var(--muted); font-size: 14px; }
.os-total b { font-size: 26px; font-weight: 600; letter-spacing: -1px; }

/* Success */
.os-success { text-align: center; padding: 16px 0 6px; }
.os-check { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: rgba(76,195,138,0.14); border: 1px solid rgba(76,195,138,0.4); animation: pop 0.45s cubic-bezier(0.34,1.56,0.64,1); }
.os-check svg { width: 36px; height: 36px; color: var(--green); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.os-success h4 { font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.os-success p { font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .splash-logo, .splash-bar i, .os-check { animation: none; } .splash-logo { opacity: 1; transform: none; } }

/* Demo: search + filter + cart */
.demo-search { padding: 4px 16px 2px; }
.demo-search input { width: 100%; height: 40px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; color: var(--text); font-family: var(--font); font-size: 14px; padding: 0 14px; outline: none; }
.demo-search input::placeholder { color: var(--dim); }
.demo-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,106,210,0.18); }
.demo-cat { cursor: pointer; }
.demo-empty { text-align: center; font-size: 13px; color: var(--dim); padding: 18px 0 6px; }
.demo-list { padding-bottom: 8px; }

.cartbar { position: absolute; left: 16px; right: 16px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 20; animation: cartIn 0.34s cubic-bezier(0.34,1.4,0.64,1); }
.cartbar[hidden] { display: none; }
@keyframes cartIn { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }
.cartbar-btn { width: 100%; height: 56px; border-radius: 14px; background: var(--accent); color: #fff; border: none; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-family: var(--font); font-size: 15px; font-weight: 500; cursor: pointer; box-shadow: 0 16px 36px -12px rgba(94,106,210,0.95); }
.cartbar-btn:active { transform: scale(0.98); }
.cb-left { display: flex; align-items: center; gap: 8px; }
.cb-ic { font-size: 17px; }
#cartCount { font-family: var(--mono); font-weight: 500; }

.sheet-title { font-size: 17px; font-weight: 500; margin-bottom: 16px; }
.cart-list { display: grid; gap: 12px; margin-bottom: 16px; max-height: 258px; overflow-y: auto; }
.cart-row { display: flex; align-items: center; gap: 12px; }
.cart-row .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 22px; flex: 0 0 auto; }
.cart-row .cm { flex: 1; min-width: 0; }
.cart-row h5 { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-row .cp { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart-row .os-step { gap: 12px; }
.cart-row .os-step button { width: 30px; height: 30px; font-size: 17px; }

/* Demo: app depth (sub-nav, rating, promo, about, booking) */
.demo-rating { font-family: var(--mono); font-size: 12px; color: var(--amber); margin-top: 5px; }
.demo-nav { display: flex; gap: 4px; padding: 12px 12px 2px; }
.demo-nav button { flex: 1; height: 36px; border-radius: 10px; background: transparent; border: none; color: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.18s, color 0.18s, box-shadow 0.18s; }
.demo-nav button.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.demo-content { min-height: 234px; }

.promos { display: grid; gap: 10px; padding: 14px 16px 16px; }
.promo { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(94,106,210,0.16), rgba(94,106,210,0.04)); border: 1px solid rgba(94,106,210,0.25); }
.promo .pic { font-size: 26px; }
.promo h5 { font-size: 14.5px; font-weight: 500; }
.promo p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.about { padding: 16px; display: grid; gap: 12px; }
.about-row { display: flex; align-items: center; gap: 12px; }
.about-row .ai { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; flex: 0 0 auto; }
.about-row .at { font-size: 11.5px; color: var(--dim); font-family: var(--mono); }
.about-row .av { font-size: 14px; color: var(--text); margin-top: 1px; }
.about-map { height: 116px; border-radius: 14px; background: linear-gradient(135deg,#13141a,#0d0e12); border: 1px solid var(--line); display: grid; place-items: center; color: var(--dim); font-size: 12px; font-family: var(--mono); position: relative; overflow: hidden; }
.about-map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 22px 22px; }
.about-map .pin { position: relative; z-index: 1; font-size: 22px; }
.about-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-actions .btn { height: 44px; margin: 0; }

.book { padding: 14px 16px 16px; display: grid; gap: 12px; }
.book-label { font-size: 11.5px; color: var(--dim); font-family: var(--mono); }
.book-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.book-chip { font-size: 13px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: all 0.16s; }
.book-chip.on { color: #0a0a0c; background: var(--text); border-color: var(--text); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 40px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-family: var(--mono); font-size: 13px; cursor: pointer; transition: all 0.16s; }
.slot:disabled { color: var(--dim); opacity: 0.4; text-decoration: line-through; cursor: default; }
.slot.on { background: var(--accent); border-color: var(--accent); color: #fff; }
