/* Be Vietnam Pro — SIL Open Font License 1.1, tự host (giống frontend/booking). */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-400-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/be-vietnam-pro-500-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/be-vietnam-pro-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/be-vietnam-pro-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/be-vietnam-pro-600-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/be-vietnam-pro-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/be-vietnam-pro-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0a1120;
  --ink-2: #0f1a2e;
  --ink-3: #16233b;
  --line-d: rgba(255, 255, 255, 0.09);
  --line-d2: rgba(255, 255, 255, 0.16);
  --on-d: #e8eef6;
  --on-d-muted: #9aa8bd;

  --paper: #f4f6f7;
  --tint: #eaf0f1;      /* mặt nền tầng 2: khu demo */
  --deep: #0f3b3a;      /* màu neo 30%: khu đầu tư, footer (xanh rêu đậm, không đen) */
  --deep-2: #0a2c2b;
  --on-deep: #eefaf7;
  --on-deep-muted: #bfd9d4;
  --white: #fff;
  --text: #0f172a;
  --muted: #3e4a59;
  --line: #e3e8ef;

  --teal: #0f766e;   /* trắng trên nền này 5.5:1, đạt WCAG AA */
  --teal-2: #14b8a6;
  --teal-3: #5eead4;
  --teal-soft: #e6f7f5;
  --sky: #38bdf8;
  --amber: #f59e0b;
  --amber-soft: #fff6e5;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-lg: 0 40px 80px -30px rgba(2, 8, 23, 0.55), 0 18px 36px -18px rgba(2, 8, 23, 0.35);
  --shadow-md: 0 18px 40px -22px rgba(15, 23, 42, 0.28), 0 4px 10px -6px rgba(15, 23, 42, 0.12);

  --wrap: 1200px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
/* Khu demo: rộng gần hết màn hình để 2 app nhúng to nhất có thể. */
.wrap--wide { width: min(100% - 40px, 1760px); }
:root { --demo-chrome: 120px; } /* stepper + khoảng cách phía trên khung app */

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--text); padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--teal-3); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: inherit; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease), background 160ms, box-shadow 160ms, border-color 160ms;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { --bg: var(--teal); --fg: #fff; box-shadow: 0 12px 24px -12px rgba(13, 148, 136, 0.75); }
.btn--primary:hover { --bg: #115e59; }
.btn--ghost { --fg: var(--text); --bd: #cfd9e2; --bg: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { --bg: #fff; --bd: #b7c4d0; }
.btn--ghost-dark { --fg: var(--text); --bd: var(--line); --bg: var(--white); }
.btn--ghost-dark:hover { --bd: #c9d2de; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--teal); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal);
}
.eyebrow--live { color: var(--teal); text-transform: none; letter-spacing: 0.01em; font-size: 14px;
  padding: 6px 14px 6px 10px; border: 1px solid rgba(13, 148, 136, 0.25); border-radius: 999px; background: rgba(255, 255, 255, 0.75); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(15, 59, 58, 0.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 200ms, background 200ms;
  color: var(--on-deep);
}
.nav.is-scrolled { border-bottom-color: rgba(255, 255, 255, 0.1); background: rgba(12, 50, 49, 0.96); box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.5); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--on-deep-muted); transition: color 150ms; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand__mark svg { width: 30px; height: 30px; }
.brand__mark rect { fill: var(--teal-2); }
.brand__mark path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__name span { color: var(--teal-3); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-deep); padding: 72px 0 56px;
  background: linear-gradient(165deg, #134e4a 0%, var(--deep) 55%, #0d3433 100%);
}
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(94, 234, 212, 0.16), transparent 70%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; min-height: 520px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); margin: 22px 0 22px; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal-3), #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--on-deep-muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 34px 0 0; }
.hero__chips li { font-size: 13.5px; color: var(--on-deep); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); }
.hero .eyebrow--live { color: var(--teal-3); border-color: rgba(94, 234, 212, 0.3); background: rgba(255, 255, 255, 0.06); }
.hero .btn--primary { --bg: var(--teal-3); --fg: #053b36; box-shadow: 0 12px 28px -12px rgba(94, 234, 212, 0.55); }
.hero .btn--primary:hover { --bg: #99f6e4; }
.hero .btn--ghost { --fg: var(--on-deep); --bd: rgba(255, 255, 255, 0.3); --bg: transparent; }
.hero .btn--ghost:hover { --bg: rgba(255, 255, 255, 0.08); --bd: rgba(255, 255, 255, 0.5); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 500px; }

/* Kiosk minh hoạ */
.kiosk-art { position: relative; width: 300px; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.kiosk-art__screen {
  position: relative; height: 400px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #f8fbfc, #eef4f6);
  border: 12px solid #3b4a60; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.kiosk-art__stand { margin: 0 auto; width: 70px; height: 90px; background: linear-gradient(90deg, #3b4a60, #55657c, #3b4a60); }
.kiosk-art__stand::after { content: ''; display: block; position: relative; top: 90px; left: -55px; width: 180px; height: 14px; border-radius: 10px; background: #3b4a60; }
.ka-progress { position: absolute; top: 16px; left: 18px; right: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; z-index: 2; }
.ka-progress i { height: 5px; border-radius: 5px; background: #d9e3e8; transition: background 400ms; }
.kiosk-art[data-scene="1"] .ka-progress i:nth-child(-n+1),
.kiosk-art[data-scene="2"] .ka-progress i:nth-child(-n+2),
.kiosk-art[data-scene="3"] .ka-progress i { background: var(--teal); }
.ka-scene {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  color: #0f172a; opacity: 0; transform: translateY(12px) scale(0.98); transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.kiosk-art[data-scene="0"] .ka-scene--0, .kiosk-art[data-scene="1"] .ka-scene--1,
.kiosk-art[data-scene="2"] .ka-scene--2, .kiosk-art[data-scene="3"] .ka-scene--3 { opacity: 1; transform: none; }
.ka-hello { font-size: 22px; font-weight: 600; text-align: center; padding: 0 24px; }
.ka-tap { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; background: var(--teal); padding: 12px 20px; border-radius: 999px; }
.ka-tap span { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: ping 1.6s infinite; }
.ka-card {
  position: relative; width: 210px; height: 132px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #dff3ef, #c5e6f0); box-shadow: 0 10px 20px -10px rgba(15, 23, 42, 0.35);
  display: grid; grid-template-columns: 56px 1fr 44px; gap: 10px; padding: 14px; align-items: start;
}
.ka-card__photo { height: 70px; border-radius: 6px; background: linear-gradient(180deg, #9bb4c2, #7b97a8); }
.ka-card__lines { display: grid; gap: 8px; padding-top: 4px; }
.ka-card__lines b { height: 7px; border-radius: 4px; background: #7d97a4; opacity: 0.7; }
.ka-card__lines b:nth-child(2) { width: 75%; }
.ka-card__lines b:nth-child(3) { width: 55%; }
.ka-card__qr, .ka-done__qr {
  aspect-ratio: 1; border-radius: 4px;
  background:
    conic-gradient(from 90deg at 2px 2px, #0f172a 25%, transparent 0) 0 0 / 8px 8px,
    #fff;
  box-shadow: inset 0 0 0 3px #fff;
}
.ka-scanline {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: var(--teal-2); box-shadow: 0 0 14px 4px rgba(20, 184, 166, 0.6);
  animation: scan 1.6s ease-in-out infinite alternate;
}
@keyframes scan { to { top: calc(100% - 2px); } }
.ka-caption { font-size: 15px; font-weight: 500; color: #334155; }
.ka-caption--ok { color: var(--teal); font-weight: 600; }
.ka-face { position: relative; width: 150px; height: 150px; }
.ka-face svg { width: 100%; height: 100%; }
.ka-face circle:first-child { fill: #dfe9ee; }
.ka-face circle:nth-child(2), .ka-face path { fill: #9bb4c2; }
.ka-ring { position: absolute; inset: -8px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--teal); border-right-color: var(--teal); animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ka-done { display: grid; justify-items: center; gap: 6px; }
.ka-done__label { font-size: 13px; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; }
.ka-done__room { font-size: 64px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ka-done__qr { width: 92px; margin-top: 12px; }

.float-card {
  position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.92); border: 1px solid #e1eaef; backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -18px rgba(15, 52, 70, 0.35); animation: float 6s ease-in-out infinite;
}
.float-card__k { font-size: 12px; color: var(--muted); }
.float-card__v { font-size: 18px; font-weight: 600; color: var(--text); }
.float-card--a { left: 0; top: 18%; animation-delay: -2s; }
.float-card--b { right: 0; bottom: 20%; animation-delay: -4s; }
.float-card--b .float-card__v { color: var(--teal); }

.stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05);
}
.stats > div { padding: 22px 26px; }
.stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stats dt { font-size: 14px; color: var(--on-deep-muted); }
.stats dd { margin: 4px 0 0; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #fff; }
.stats small { font-size: 15px; color: var(--on-deep-muted); margin-left: 4px; font-weight: 500; letter-spacing: 0; }
.stats__note { margin-top: 12px; font-size: 13px; color: var(--on-deep-muted); }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section__head { max-width: 820px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 14px; letter-spacing: -0.03em; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__lead { margin-top: 18px; font-size: 18px; color: var(--muted); }


/* problem */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02); }
.pcard__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); margin-bottom: 22px; }
.pcard__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pcard h3 { font-size: 20px; margin-bottom: 10px; }
.pcard p { color: var(--muted); }

/* ---------- demo ---------- */
.demo { background: var(--tint); border-block: 1px solid #dde5e7; }
.stepper { list-style: none; padding: 6px; margin: 0 auto 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  max-width: 880px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); }
.stepper__btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 16px; border: 0; border-radius: 13px; background: transparent; cursor: pointer;
  transition: background 160ms;
}
.stepper__btn:hover { background: #f2f6f8; }
.stepper__btn[aria-selected="true"] { background: var(--teal); color: #fff; }
.stepper__num {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; font-size: 15px; background: #eef3f6; color: var(--muted); transition: background 200ms, color 200ms;
}
.stepper__btn[aria-selected="true"] .stepper__num { background: #fff; color: var(--teal); }
.stepper__btn.is-done .stepper__num { background: var(--teal); color: #fff; font-size: 0; }
.stepper__btn.is-done .stepper__num::before { content: ''; width: 12px; height: 7px; border: solid currentColor; border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); font-size: 15px; }
.stepper__txt { display: grid; line-height: 1.3; }
.stepper__txt b { font-weight: 600; font-size: 15px; }
.stepper__txt small { font-size: 13px; color: var(--muted); }
.stepper__btn[aria-selected="true"] small { color: rgba(255, 255, 255, 0.82); }

/* Ghim khung trải nghiệm: chiều cao track do app.js đặt (= khung + phần cuộn được của web đặt phòng). */
.demo__track.is-driven .demo__stick { position: sticky; top: calc(var(--nav-h) + 12px); }
.demo__track.is-driven .guide { position: static; }
.demo__body { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }

.guide {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-md);
}
.guide h3 { font-size: 21px; }
.guide__intro { margin-top: 8px; color: var(--muted); font-size: 15px; }
.guide__next { margin-top: 18px; }
.guide__skip { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; color: #1f2937; line-height: 1.5; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230d9488' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checklist b { color: var(--text); font-weight: 600; }

.status {
  display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 14px;
  border-radius: 12px; background: #f2f5f8; font-size: 14px; color: var(--muted);
}
.status__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #a7b3c2; }
.status[data-state="active"] { background: #eaf6ff; color: #0b4a6f; }
.status[data-state="active"] .status__dot { background: var(--sky); animation: ping 1.8s infinite; box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
.status[data-state="ok"] { background: var(--teal-soft); color: #0b5d56; font-weight: 500; }
.status[data-state="ok"] .status__dot { background: var(--teal); }
.status[data-state="warn"] { background: var(--amber-soft); color: #8a4b05; font-weight: 500; }
.status[data-state="warn"] .status__dot { background: var(--amber); }

.track { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; counter-reset: k; }
.track li {
  position: relative; padding: 0 0 16px 38px; counter-increment: k; color: #5b6676; transition: color 250ms;
}
.track li::before {
  content: counter(k); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 600;
  background: #eef2f6; color: #5b6676; transition: background 250ms, color 250ms, box-shadow 250ms;
}
.track li::after { content: ''; position: absolute; left: 11.5px; top: 28px; bottom: 4px; width: 1px; background: var(--line); }
.track li:last-child { padding-bottom: 0; }
.track li:last-child::after { display: none; }
.track b { display: block; font-size: 14.5px; font-weight: 600; }
.track span { display: block; font-size: 14px; line-height: 1.45; margin-top: 2px; }
.track em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 6px; background: #f1f5f9; }
.track li.is-done { color: var(--muted); }
.track li.is-done b { color: var(--text); }
.track li.is-done::before { content: '✓'; background: var(--teal); color: #fff; }
.track li.is-current { color: #334155; }
.track li.is-current b { color: var(--text); }
.track li.is-current::before { background: var(--sky); color: #fff; box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.2); }
.track li.is-current em { background: var(--teal-soft); color: var(--teal); }

.result { text-align: left; }
.result h3 { margin: 14px 0 10px; }
.result p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.result--wait h3 { margin-top: 0; }
.result__badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; box-shadow: 0 0 0 8px var(--teal-soft); }
.result__badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.result__badge--amber { background: var(--amber); box-shadow: 0 0 0 8px var(--amber-soft); }

/* thiết bị */
.stage { min-width: 0; }
.device { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.device--browser { background: var(--white); border: 1px solid #d8e0e8; }
.device__bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 14px; background: #eef2f5; border-bottom: 1px solid #dde4ea; }
.device__dots { display: flex; gap: 7px; }
.device__dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4dbe2; }
.device__dots i:nth-child(1) { background: #ff6159; }
.device__dots i:nth-child(2) { background: #ffbd2e; }
.device__dots i:nth-child(3) { background: #28c941; }
.device__url {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  background: var(--white); border-radius: 8px; font-size: 13px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.device__url svg { flex: none; width: 13px; height: 13px; fill: none; stroke: #16a34a; stroke-width: 1.6; }
.device__open, .device__tool {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; cursor: pointer; color: var(--muted);
}
.device__open:hover { background: #e2e8ee; color: var(--text); }
.device__open svg, .device__tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.device__viewport { position: relative; background: #f8fafc; }
.device__viewport--browser { height: max(560px, calc(100vh - var(--nav-h) - var(--demo-chrome) - 46px)); }
.device__viewport--browser iframe { width: 100%; height: 100%; border: 0; }

/* Bước 3 khi chưa check-in */
.device--room { background: var(--white); border: 1px solid var(--line); display: grid; place-items: center;
  min-height: max(560px, calc(100vh - var(--nav-h) - var(--demo-chrome) - 2px)); padding: 40px 24px; }
.roomwait { display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 440px; }
.roomwait h3 { font-size: 26px; margin-top: 12px; }
.roomwait p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.roomwait .btn { margin-top: 8px; }
.roomwait__card { position: relative; width: 300px; height: 186px; border-radius: 16px; padding: 22px; text-align: left;
  background: linear-gradient(135deg, #cfd8dc, #e7edef); color: #5b6b78; box-shadow: 0 18px 40px -22px rgba(10, 17, 32, 0.45);
  display: grid; grid-template-rows: auto 1fr auto; }
.roomwait__brand { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.roomwait__lock { place-self: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); display: grid; place-items: center; }
.roomwait__lock svg { width: 24px; height: 24px; fill: none; stroke: #5b6b78; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.roomwait__no { font-size: 20px; font-weight: 600; letter-spacing: 0.04em; }
.roomwait__card--desk { background: linear-gradient(135deg, #f3e3c3, #fbf1dc); color: #7c4a03; }
.roomwait__card--desk .roomwait__lock svg { stroke: #92400e; }
/* thẻ phòng đã cấp */
.roomcards { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.roomcard { width: 340px; min-height: 196px; border-radius: 18px; padding: 20px 22px; text-align: left; color: #ecfdf5;
  background: linear-gradient(135deg, #0f3b3a 0%, #0f766e 100%); box-shadow: 0 22px 44px -22px rgba(15, 59, 58, 0.7);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; column-gap: 16px;
  animation: roomcard-in 520ms var(--ease) both; }
.roomcard__brand { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: #99f6e4; }
.roomcard__main { align-self: center; }
.roomcard__label { font-size: 13px; color: #a7f3d0; }
.roomcard__no { font-size: 46px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.roomcard__out { grid-column: 1; font-size: 13px; color: #ccfbf1; }
.roomcard__qr { grid-column: 2; grid-row: 2 / 4; align-self: end; width: 112px; height: 112px; padding: 6px; border-radius: 12px; background: #fff; }
.roomcard__qr img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.roomcards--many .roomcard { width: 300px; }
.roomcards--many .roomcard__no { font-size: 36px; }
@keyframes roomcard-in { from { opacity: 0; transform: translateY(14px) rotate(-2deg) scale(0.96); } }

.device--kiosk { background: #151e30; padding: 0 18px 0; border: 1px solid #263248; }
.device__kiosk-top { display: flex; align-items: center; gap: 12px; height: 44px; color: #8b98ad; font-size: 13px; }
.device__cam { width: 10px; height: 10px; border-radius: 50%; background: #0b111c; box-shadow: inset 0 0 0 2px #2a364d, 0 0 0 3px #1c2638; }
.device__label { flex: 1; }
.device__tools { display: flex; gap: 4px; }
.device__tool { color: #8b98ad; }
.device__tool:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.device__viewport--kiosk { border-radius: 10px; overflow: hidden; overflow: clip; background: #151e30; }
.device__kiosk-base { height: 22px; }
.kiosk-scaler { width: 1280px; height: 800px; transform-origin: 0 0; border-radius: 10px; overflow: hidden; }
.kiosk-scaler iframe { width: 100%; height: 100%; border: 0; background: #f8fafc; }

.device__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 16px; text-align: center; padding: 24px;
  background: #f8fafc; color: var(--muted);
}
.device__fallback--start { background: radial-gradient(120% 90% at 50% 0%, #ffffff, #eaf1f5); }
.kiosk-start { display: grid; justify-items: center; gap: 18px; max-width: 420px; }
.kiosk-start svg { width: 64px; height: 64px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kiosk-start p { font-size: 15px; }
.kiosk-start b { display: block; color: var(--text); font-size: 19px; margin-bottom: 6px; }
.kiosk-start .btn--primary { --bg: var(--teal); --fg: #fff; }

/* ---------- how ---------- */
.arch {
  display: grid; grid-template-columns: 1fr 230px 1fr; gap: 0; align-items: stretch;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-md);
}
.arch__col { border-radius: var(--r-lg); padding: 22px; }
.arch__col--edge { background: linear-gradient(180deg, #effaf8, #f7fcfb); border: 1px solid #cdeee8; }
.arch__col--cloud { background: linear-gradient(180deg, #eff7fd, #f8fbfe); border: 1px solid #cfe5f5; }
.arch__title { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 18px; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.tag--teal { background: var(--teal); color: #fff; }
.tag--sky { background: #0284c7; color: #fff; }
.arch__flow { display: grid; gap: 10px; position: relative; }
.arch__flow .node { position: relative; }
.arch__flow .node + .node::before { content: ''; position: absolute; left: 22px; top: -11px; height: 10px; width: 2px; background: #9fdcd2; }
.node { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.node b { display: block; font-size: 14.5px; font-weight: 600; }
.node span { display: block; font-size: 13.5px; color: var(--muted); }
.node--agent { border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12); }
.node--amber { border-color: #f6c56b; background: #fffaf0; }
.arch__vault { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 13px; color: #0b5d56; background: var(--teal-soft); padding: 10px 12px; border-radius: 10px; }
.arch__vault svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.arch__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.arch__wire { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 0 18px; }
.wire__line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #b6c3d1 0 8px, transparent 8px 14px); }
.wire__line::after { content: ''; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: #b6c3d1; border-right: 0; }
.wire__pulse { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 12px var(--teal-2); animation: travel 2.6s var(--ease) infinite; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 10px); opacity: 0; } }
.wire__label { font-size: 12.5px; line-height: 1.4; padding: 8px 10px; border-radius: 8px; }
.wire__label--ok { background: var(--teal-soft); color: #0b5d56; }
.wire__label--no { background: #fff1f2; color: #9f1239; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.pillars article { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.pillars h3 { font-size: 17px; margin-bottom: 8px; }
.pillars h3::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--teal-2); margin-bottom: 16px; }
.pillars p { font-size: 15px; color: var(--muted); }

/* ---------- roadmap ---------- */
.roadmap { background: var(--white); border-top: 1px solid var(--line); }
.road { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; }
.road__line { position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: #e7edf2; }
.road__line span { position: absolute; inset: 0 auto 0 0; width: 37%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--teal-2)); }
.road__line span::after { content: ''; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.2); animation: ping 2s infinite; }
.phase { position: relative; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.phase__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.phase__badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e7edf2; color: var(--muted); }
.phase__when { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.phase h3 { font-size: 19px; margin-bottom: 14px; }
.phase ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.phase li { position: relative; padding-left: 20px; font-size: 14.5px; color: #253141; line-height: 1.5; }
.phase li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; border: 1.6px solid #9aa8b8; }
.phase--done { background: linear-gradient(180deg, #ecfaf7, #f6fcfb); border-color: #c7ebe4; }
.phase--done .phase__badge { background: var(--teal); color: #fff; }
.phase--done li::before { border: 0; width: 14px; height: 14px; left: 0; top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230d9488' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.phase--now { border-color: #9fdcd2; box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08); background: var(--white); }
.phase--now .phase__badge { background: #e0f2fe; color: #0369a1; }
.phase--now li::before { border-color: var(--teal-2); }

/* ---------- invest ---------- */
.invest { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep); }
.invest .eyebrow { color: var(--teal-3); }
.invest .section__head h2 { color: var(--on-deep); }
.invest::before { content: ''; position: absolute; left: -200px; bottom: -300px; width: 800px; height: 800px; background: radial-gradient(closest-side, rgba(94, 234, 212, 0.10), transparent 70%); pointer-events: none; }
.invest__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.icard { padding: 26px; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); transition: border-color 200ms, transform 200ms var(--ease); }
.icard:hover { border-color: rgba(94, 234, 212, 0.4); transform: translateY(-3px); }
.icard__n { font-size: 13px; font-weight: 600; color: var(--teal-3); font-variant-numeric: tabular-nums; }
.icard h3 { font-size: 19px; margin: 14px 0 10px; }
.icard p { font-size: 15px; color: var(--on-deep-muted); }
.cta-band {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-top: 40px; padding: 36px 40px; border-radius: var(--r-xl);
  background: var(--white); color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.cta-band h3 { font-size: 26px; }
.cta-band p { margin-top: 8px; color: var(--muted); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }


/* ---------- footer ---------- */
.footer { background: var(--deep-2); color: var(--on-deep-muted); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand--foot { color: var(--on-deep); font-size: 16px; }
.brand--foot .brand__name span { color: var(--teal-3); }
.brand--foot svg { width: 24px; height: 24px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { min-height: 460px; }
  .demo__body { grid-template-columns: 1fr; }
  .guide { position: static; }
  .arch { grid-template-columns: 1fr; gap: 18px; }
  .arch__wire { padding: 6px 0; }
  .wire__line { display: none; }
  .pillars, .invest__grid, .road { grid-template-columns: repeat(2, 1fr); }
  .road__line { display: none; }
  .road { padding-top: 0; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .section { padding: 80px 0; }
  .hero { padding-top: 48px; }
  .hero__visual { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .problem__grid, .pillars, .invest__grid, .road, .arch__grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; }
  .stepper__btn small { display: none; }
  .cta-band { padding: 28px 24px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- xin quyền camera ngay khi vào trang ---------- */
.camnote { position: fixed; z-index: 60; top: calc(var(--nav-h) + 12px); left: 50%; transform: translateX(-50%); width: min(640px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 18px; border-radius: 16px;
  background: #fff; color: var(--text); box-shadow: 0 18px 40px -18px rgba(15, 59, 58, 0.45), 0 0 0 1px rgba(15, 59, 58, 0.08);
  animation: camnote-in 360ms var(--ease) both; }
.camnote svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linejoin: round; }
.camnote p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.camnote b { color: var(--text); }
.camnote--ok svg { stroke: #15803d; }
.camnote--bad svg { stroke: #b45309; }
.camnote__x { flex: none; margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.camnote__x:hover { background: var(--bg-2); color: var(--text); }
@keyframes camnote-in { from { opacity: 0; transform: translate(-50%, -10px); } }
