:root {
  --bg: #050506;
  --bg-2: #0c0d10;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f3f0e9;
  --muted: #8d9098;
  --accent: #9fe3ff;
  --accent-2: #cdb892;
  --accent-3: #9fe3ff;
  --ink: #050506;
  --danger: #ff7a85;
  --radius: 14px;
  --grad: linear-gradient(90deg, #f3f0e9, #9fe3ff);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Playfair Display", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Background ---------- */
.bg-aurora {
  position: fixed; inset: -20vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40vmax 30vmax at 75% 15%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(35vmax 30vmax at 15% 30%, rgba(61, 214, 198, 0.16), transparent 60%),
    radial-gradient(30vmax 25vmax at 60% 90%, rgba(255, 122, 184, 0.08), transparent 60%);
  filter: blur(10px);
  animation: aurora 24s ease-in-out infinite alternate;
}
@keyframes aurora {
  to { transform: translate3d(-4vmax, 3vmax, 0) rotate(8deg) scale(1.05); }
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; text-decoration: none; }
.logo em { font-style: normal; color: var(--accent); }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; position: relative; display: inline-flex; gap: 5px; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #1a2336, #0b1020); border: 1px solid var(--border-2);
  box-shadow: 0 0 18px rgba(61, 214, 198, 0.25);
}
.logo-mark i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--grad); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 30px -8px rgba(61, 214, 198, 0.6), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .25s var(--ease), box-shadow .25s, filter .25s;
  position: relative;
}
.btn:hover { filter: brightness(1.08); box-shadow: 0 12px 40px -8px rgba(124, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: .92rem; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-2); box-shadow: none; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }
.btn:disabled { opacity: .7; cursor: progress; }
.btn.loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 96px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--muted); font-size: .85rem; font-weight: 500;
  backdrop-filter: blur(8px);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(61, 214, 198, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 214, 198, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 214, 198, 0); } }
.hero h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.8rem); line-height: 1.05; letter-spacing: -0.045em; font-weight: 800; margin: 22px 0 20px;
}
.hero h1 .line { display: block; }
.hero .lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 540px; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.trust li { display: flex; flex-direction: column; }
.trust b { font-size: 1.6rem; letter-spacing: -0.03em; }
.trust span { color: var(--muted); font-size: .85rem; }

.stage {
  position: relative; aspect-ratio: 1 / 1.02; width: 100%; border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 70%, rgba(61, 214, 198, .16), transparent 70%),
    radial-gradient(70% 60% at 50% 30%, rgba(124, 92, 255, .18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  border: 1px solid var(--border);
  box-shadow: 0 40px 120px -40px rgba(124, 92, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(61, 214, 198, .6), transparent 35%, transparent 65%, rgba(124, 92, 255, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.stage canvas, .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; touch-action: pan-y; }
.stage-loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); font-size: .9rem;
  transition: opacity .6s;
}
.stage-loading span { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(61, 214, 198, .25); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.stage-loading.done { opacity: 0; pointer-events: none; }
.stage-hud { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(7, 10, 18, .6); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .88rem; transition: all .25s var(--ease); }
.seg button[aria-selected=true] { background: var(--text); color: #0b1020; }
.stage-cmd {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  padding: 6px; border-radius: 999px; background: rgba(7, 10, 18, .62); border: 1px solid var(--border); backdrop-filter: blur(10px); max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none;
}
.stage-cmd::-webkit-scrollbar { display: none; }
.cmd-label { font-size: .75rem; color: var(--muted); padding: 0 8px 0 10px; white-space: nowrap; text-transform: uppercase; letter-spacing: .08em; }
.stage-cmd button {
  border: 1px solid transparent; background: var(--surface-2); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .88rem; white-space: nowrap;
  transition: all .2s var(--ease);
}
.stage-cmd button:hover { border-color: var(--border-2); transform: translateY(-1px); }
.stage-cmd button.is-on { background: rgba(61, 214, 198, .16); border-color: rgba(61, 214, 198, .5); color: var(--accent); }
.stage-tag {
  position: absolute; left: 22px; bottom: 84px; display: flex; flex-direction: column; padding-left: 12px; border-left: 2px solid var(--accent);
  pointer-events: none;
}
.stage-tag b { font-size: 1.05rem; }
.stage-tag span { color: var(--muted); font-size: .82rem; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; border: 2px solid var(--border-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: rgba(255, 255, 255, .02); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee-track span { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; color: rgba(242, 245, 251, .75); white-space: nowrap; }
.marquee-track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.04em; margin: 0 0 16px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Robots */
.robots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.robot-card {
  border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .3s; transform-style: preserve-3d; will-change: transform;
}
.robot-card:hover { border-color: var(--border-2); }
.robot-media { aspect-ratio: 16 / 11; overflow: hidden; background: radial-gradient(60% 60% at 50% 60%, rgba(61, 214, 198, .15), transparent 70%), #0a0f1c; }
.robot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.robot-card:hover .robot-media img { transform: scale(1.05); }
.robot-body { padding: 28px; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(61, 214, 198, .12); color: var(--accent); border: 1px solid rgba(61, 214, 198, .3); }
.robot-body h3 { font-size: 1.9rem; letter-spacing: -0.03em; margin: 14px 0 8px; }
.robot-body p { color: var(--muted); margin: 0 0 20px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 22px; }
.specs div { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.specs dt { font-size: .75rem; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-item {
  position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.bento-item.big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px;
  background: radial-gradient(80% 80% at 80% 10%, rgba(124, 92, 255, .25), transparent 60%), radial-gradient(60% 60% at 10% 100%, rgba(61, 214, 198, .18), transparent 60%), var(--surface); }
.bento-item.big h3 { font-size: 1.8rem; }
.bento-item:hover { border-color: var(--border-2); transform: translateY(-3px); }
.bento-item h3 { margin: 18px 0 6px; font-size: 1.15rem; letter-spacing: -0.02em; }
.bento-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(61, 214, 198, .2), rgba(124, 92, 255, .2)); border: 1px solid var(--border-2); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 214, 198, .12), transparent 60%);
}
.spot:hover::after { opacity: 1; }

/* Gallery */
.gallery-section { padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.gallery figure { margin: 0; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--border); background: #0a0f1c; }
.gallery figure:nth-child(even) { transform: translateY(40px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 10px 14px; border-radius: 14px; font-size: .88rem; font-weight: 600; background: rgba(7, 10, 18, .6); backdrop-filter: blur(10px); border: 1px solid var(--border); }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s;
}
.pkg:hover { transform: translateY(-4px); border-color: var(--border-2); }
.pkg.highlight { background: linear-gradient(180deg, rgba(61, 214, 198, .1), rgba(124, 92, 255, .08)); border-color: transparent; }
.pkg.highlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), #3dd6c6, #7c5cff, #ff7ab8, #3dd6c6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rotate 6s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotate { to { --angle: 360deg; } }
.badge { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: var(--ink); margin-bottom: 14px; }
.pkg h3 { font-size: 1.3rem; margin: 0 0 4px; letter-spacing: -0.02em; }
.pkg-robot { color: var(--muted); margin: 0; font-size: .92rem; }
.price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.04em; margin: 22px 0 0; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.unit { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; display: grid; gap: 10px; }
.pkg li { position: relative; padding-left: 28px; color: #d7dcea; font-size: .95rem; }
.pkg li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(61, 214, 198, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233dd6c6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-2), transparent); }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-n {
  display: inline-grid; place-items: center; width: 48px; height: 22px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em;
  background: var(--bg-2); border: 1px solid rgba(61, 214, 198, .4); color: var(--accent); position: relative;
}
.steps h3 { margin: 18px 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Booking */
.booking-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.booking-copy p { color: var(--muted); font-size: 1.08rem; }
.booking-copy h2 { margin-top: 0; }
.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--grad); color: var(--ink); }
.contact-card { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-card div { padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.contact-card span { font-size: .78rem; color: var(--muted); }
.glass {
  padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid var(--border-2); backdrop-filter: blur(16px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
form.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.booking .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: rgba(7, 10, 18, .55); border: 1px solid var(--border-2);
  border-radius: 14px; padding: 24px 14px 8px; min-height: 58px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa5bd' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option { background: #0b1020; color: var(--text); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61, 214, 198, .15); }
.field label {
  position: absolute; left: 15px; top: 18px; color: var(--muted); pointer-events: none; font-size: 1rem; transition: all .18s var(--ease); transform-origin: left top;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field.filled label, .field label.up {
  top: 8px; font-size: .74rem; color: var(--accent); font-weight: 600;
}
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.8); }
.err { color: var(--danger); font-size: .8rem; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.notice.ok { border-color: rgba(61, 214, 198, .6); background: rgba(61, 214, 198, .1); }
.notice.bad { border-color: rgba(255, 107, 125, .6); background: rgba(255, 107, 125, .08); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(61, 214, 198, .35); background: rgba(61, 214, 198, .05); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* CTA band */
.cta-band {
  text-align: center; padding: clamp(40px, 7vw, 80px) 24px; border-radius: 36px; position: relative; overflow: hidden;
  background: radial-gradient(60% 100% at 50% 0%, rgba(124, 92, 255, .35), transparent 70%), radial-gradient(50% 80% at 50% 100%, rgba(61, 214, 198, .25), transparent 70%), var(--bg-2);
  border: 1px solid var(--border-2);
}
.cta-band h2 { margin-bottom: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0 96px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.footer p { margin: 10px 0 0; }
.footer .fine { font-size: .8rem; max-width: 640px; justify-self: end; text-align: right; }
.footer a { color: var(--text); }

.fab {
  display: none;
  padding: 14px 20px; border-radius: 999px; background: var(--grad); color: var(--ink); font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 30px -6px rgba(61, 214, 198, .7);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.gallery figure.reveal.in:nth-child(even) { transform: translateY(40px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  /* On small screens show the robot right under the headline. */
  .hero-copy { display: contents; }
  .hero-copy .chip { order: 1; align-self: flex-start; }
  .hero h1 { order: 2; margin-bottom: 20px; }
  .stage { order: 3; margin-bottom: 24px; }
  .hero .lead { order: 4; }
  .cta { order: 5; }
  .trust { order: 6; }
  .hero { padding-top: 88px; }
  .stage { aspect-ratio: 1 / 1; max-width: 640px; margin-left: auto; margin-right: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .booking-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .scroll-hint { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .trust { gap: 22px; margin-top: 28px; }
  .chip-more { display: none; }
  .trust b { font-size: 1.3rem; }
  .stage { border-radius: 24px; aspect-ratio: 1 / 1.1; }
  .hero h1 { font-size: 2.3rem; margin-top: 16px; }
  .seg button { padding: 7px 12px; font-size: .8rem; }
  .cmd-label { display: none; }
  .stage-cmd button { padding: 7px 11px; font-size: .82rem; }
  .stage-tag { bottom: 76px; left: 16px; }
  .robots { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr 1fr; }
  .specs div { padding: 10px; }
  .bento { grid-template-columns: 1fr; }
  .bento-item.big { grid-column: auto; grid-row: auto; min-height: 220px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { gap: 10px; padding: 0 16px; }
  .gallery figure { border-radius: 18px; }
  .gallery figure:nth-child(even), .gallery figure.reveal.in:nth-child(even) { transform: translateY(24px); }
  .gallery figcaption { font-size: .78rem; left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; }
  form.booking { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer .fine { justify-self: start; text-align: left; }
  .fab { display: inline-block; }
  .btn-lg { --h: 52px; padding: 0 22px; }
}

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

/* ---------- Use-case pages ---------- */
a.bento-item { text-decoration: none; color: inherit; display: block; }
a.bento-item.big { display: flex; }
.bento-item .more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 700; font-size: .9rem; opacity: .85; transition: transform .25s var(--ease), opacity .25s; }
a.bento-item:hover .more { opacity: 1; transform: translateX(4px); }
.uc-hero { min-height: 92vh; min-height: 92svh; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs b { color: var(--accent); font-weight: 600; }
.uc-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.muted { color: var(--muted); }
.uc-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uc-num { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.uc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.uc-split h2 { margin-top: 0; }
.uc-figure { margin: 28px 0 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; background: #0a0f1c; }
.uc-figure img { width: 100%; height: 100%; object-fit: cover; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); border-radius: 2px; opacity: .6; }
.timeline li { position: relative; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 0 12px rgba(61, 214, 198, .6); }
.tl-time { font-weight: 800; letter-spacing: -0.01em; font-size: 1.05rem; }
.timeline p { margin: 6px 0 0; color: var(--muted); }
.uc-acts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.uc-acts li { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2); font-weight: 600; font-size: .95rem; }
.uc-prep-title { margin: 0 0 4px; font-size: 1.3rem; }
.uc-packages { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.uc-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uc-link {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; font-weight: 700; transition: border-color .3s, transform .3s var(--ease);
}
.uc-link:hover { border-color: rgba(61, 214, 198, .5); transform: translateY(-2px); }
.uc-link svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: var(--text); }
@media (max-width: 1024px) {
  .uc-benefits { grid-template-columns: 1fr; }
  .uc-split { grid-template-columns: 1fr; gap: 28px; }
  .uc-packages { grid-template-columns: 1fr; }
  .uc-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .uc-hero h1 { font-size: 2.1rem; }
  .uc-related { grid-template-columns: 1fr; }
  .crumbs { order: 1; margin-bottom: 4px; }
}

/* ---------- Floating contact buttons ---------- */
.float-actions {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.fa-btn { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.fa-icon {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-weight: 800; font-size: .82rem; letter-spacing: -0.01em; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease);
}
.fa-btn:hover .fa-icon { transform: scale(1.08); }
.fa-icon svg { width: 24px; height: 24px; fill: #fff; }
.fa-zalo .fa-icon { background: #0068ff; }
.fa-call .fa-icon { background: linear-gradient(145deg, #22c55e, #16a34a); }
.fa-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0;
  animation: fa-ring 2.4s infinite;
}
.fa-zalo .fa-icon::before { color: #4d94ff; }
.fa-call .fa-icon::before { color: #4ade80; animation-delay: 1.2s; }
@keyframes fa-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.fa-call .fa-icon svg { animation: fa-shake 2.4s infinite; transform-origin: 50% 50%; }
@keyframes fa-shake { 0%, 80%, 100% { transform: rotate(0); } 84%, 92% { transform: rotate(-14deg); } 88%, 96% { transform: rotate(14deg); } }
.fa-label {
  order: -1; padding: 8px 12px; border-radius: 10px; font-size: .85rem; font-weight: 700; white-space: nowrap;
  background: rgba(7, 10, 18, .85); border: 1px solid var(--border-2); backdrop-filter: blur(8px);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: all .2s var(--ease);
}
.fa-btn:hover .fa-label, .fa-btn:focus-visible .fa-label { opacity: 1; transform: none; }
.contact-card a { text-decoration: none; color: inherit; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; transition: border-color .2s; }
.contact-card a:hover { border-color: rgba(61, 214, 198, .5); }

@media (max-width: 680px) {
  .fa-icon { width: 50px; height: 50px; }
  .fa-label { display: none; }
}

/* ---------- Content pages: resources, blog ---------- */
.content-main { padding-top: 68px; }
.page-head { padding-bottom: 0; }
.page-head h1, .post-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.06; letter-spacing: -0.04em; margin: 18px 0 14px; }
.page-head .lead, .post-head .lead { color: var(--muted); font-size: 1.12rem; max-width: 680px; margin: 0 0 28px; }
.center { text-align: center; margin-top: 32px; }
.res-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.res-jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color .2s; }
.res-jump a:hover { border-color: rgba(61, 214, 198, .6); }

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dl-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .3s var(--ease); }
.dl-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.dl-body h3 { margin: 2px 0 6px; font-size: 1.12rem; }
.dl-body p { margin: 0 0 10px; font-size: .95rem; }
.dl-meta { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.dl-card .btn { grid-column: 1 / -1; justify-self: start; --h: 42px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.page-head .post-grid { margin-top: 40px; padding-bottom: clamp(48px, 8vw, 96px); }
.post-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: border-color .3s, transform .4s var(--ease); }
.post-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0f1c; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.post-body b { font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.02em; }
.post-body .muted { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.post-tags span { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(61, 214, 198, .12); color: var(--accent); }
.post-meta { font-size: .82rem; color: var(--muted); margin-top: auto; }

.post-head { padding-top: clamp(32px, 6vw, 72px); }
.post-hero { margin: 28px auto 40px; max-width: 1000px; }
.post-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 26px; border: 1px solid var(--border); }
.toc { display: grid; gap: 6px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 32px; }
.toc b { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.toc a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.toc a:hover { color: var(--text); }
.prose { font-size: 1.07rem; line-height: 1.8; color: #d9dfec; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -0.03em; margin: 44px 0 14px; color: var(--text); scroll-margin-top: 90px; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 10px; color: var(--text); }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 14px 14px 0; }
.prose blockquote p { margin: 0; }
.table-scroll { overflow-x: auto; margin: 8px 0 24px; border-radius: 16px; border: 1px solid var(--border); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.post-cta { margin: 48px 0 0; }
.post-cta p { margin: 0 0 22px; }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .dl-grid, .post-grid { grid-template-columns: 1fr; }
  .dl-card { padding: 20px; }
  .post-hero img { border-radius: 18px; aspect-ratio: 16 / 10; }
  .prose { font-size: 1.02rem; }
}


/* =====================================================================
   Luxury theme: black, ivory, one ice accent; hairlines instead of glow.
   Later rules override the base styles above.
   ===================================================================== */
body { background: var(--bg); font-weight: 400; letter-spacing: -0.005em; }
.bg-aurora, .bg-noise { display: none; }
::selection { background: rgba(159, 227, 255, .25); }

/* Accent words: italic serif, no rainbow gradient. */
.grad, h1 em, h2 em {
  background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--text);
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em;
}
.eyebrow, .ch-n, .cine-meta dt, .cine-progress, .cine-cmd button, .hud-tag b, .pill, .badge, .step-n, .uc-num, .dl-meta, .post-tags span, .marquee-track span, .tl-time, .crumbs {
  font-family: var(--mono);
}
.eyebrow { font-size: .72rem; font-weight: 500; letter-spacing: .2em; color: var(--muted); }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.section h2, .page-head h1, .post-head h1 { font-weight: 500; letter-spacing: -0.035em; }
.section h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.04; }
.section-head p, .muted { color: var(--muted); }

/* Nav */
.nav.scrolled { background: rgba(5, 5, 6, .72); border-bottom-color: var(--border); }
.logo-mark { background: #0c0d10; border-color: var(--border-2); box-shadow: none; }
.logo-mark i { background: var(--accent); box-shadow: 0 0 10px rgba(159, 227, 255, .8); }
.logo em { color: var(--text); font-family: var(--serif); font-style: italic; font-weight: 400; }
.nav-links a { font-size: .9rem; font-weight: 400; color: #b4b6bd; }

/* Buttons: ivory solid + hairline ghost. */
.btn { background: var(--text); color: var(--ink); font-weight: 500; letter-spacing: .005em; box-shadow: none; border: 1px solid var(--text); }
.btn:hover { background: #fff; box-shadow: 0 10px 40px -12px rgba(159, 227, 255, .45); filter: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); backdrop-filter: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.link-btn { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }

/* ---------- Cinematic hero ---------- */
.cine { position: relative; height: 400vh; height: 400svh; }
.cine-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(55% 65% at 55% 40%, #13151a 0%, #08090b 55%, #050506 100%);
}
.cine-sticky canvas, .cine-sticky .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cine-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 5, 6, .88) 0%, rgba(5, 5, 6, .45) 34%, rgba(5, 5, 6, 0) 58%),
              linear-gradient(0deg, rgba(5, 5, 6, .9) 0%, rgba(5, 5, 6, 0) 22%);
}
.cine-loading { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .8s; }
.cine-loading span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.cine-loading.done { opacity: 0; pointer-events: none; }
.cine-copy { position: absolute; inset: 0; pointer-events: none; }
.chapter {
  position: absolute; left: 20px; top: 50%; width: min(560px, 46%); pointer-events: none;
  opacity: 0; transform: translateY(-40%); transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.chapter.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.chapter h1 { font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; margin: 18px 0 22px; }
.chapter h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 500; margin: 14px 0 18px; }
.chapter .lead, .chapter p { color: #a9acb3; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.7; max-width: 460px; margin: 0 0 28px; }
.ch-n { font-size: .78rem; letter-spacing: .2em; color: var(--accent); }
.cine-meta {
  position: absolute; top: 104px; right: max(24px, calc((100vw - 1200px) / 2 + 20px)); margin: 0;
  display: grid; gap: 14px; text-align: right;
}
.cine-meta div { display: grid; gap: 2px; }
.cine-meta dt { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cine-meta dd { margin: 0; font-size: .95rem; font-weight: 500; }
.cine-controls {
  position: absolute; left: 0; right: 0; bottom: 26px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cine-controls .seg { background: transparent; border: 0; padding: 0; gap: 4px; backdrop-filter: none; }
.cine-controls .seg button { padding: 6px 12px; border-radius: 999px; font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; color: var(--muted); border: 1px solid transparent; }
.cine-controls .seg button[aria-selected=true] { background: transparent; color: var(--text); border-color: var(--border-2); }
.cine-cmd { display: flex; gap: 18px; }
.cine-cmd button { background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.cine-cmd button:hover { color: var(--text); border-bottom-color: var(--accent); }
.cine-progress { display: flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .14em; color: var(--muted); }
.cine-progress i { position: relative; width: 120px; height: 1px; background: var(--border-2); overflow: hidden; }
.cine-progress b { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
#ch-label { color: var(--text); }

/* HUD callouts that follow robot parts. */
.hud { position: absolute; inset: 0; pointer-events: none; }
.hud-tag { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .5s var(--ease); will-change: transform; }
.hud-tag.on { opacity: 1; }
.hud-tag span { text-shadow: 0 1px 10px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .8); }
.hud-tag i { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(159, 227, 255, .15), 0 0 16px rgba(159, 227, 255, .9); }
.hud-tag i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(159, 227, 255, .5); animation: fa-ring 2.2s infinite; }
.hud-tag span {
  position: absolute; left: 12px; top: 0; transform: translateY(-50%); padding-left: 70px; white-space: nowrap;
  display: grid; gap: 2px; font-size: .88rem; color: var(--text);
}
.hud-tag span::before { content: ""; position: absolute; left: 0; top: 50%; width: 62px; height: 1px; background: linear-gradient(90deg, rgba(159, 227, 255, .9), rgba(159, 227, 255, .25)); }
.hud-tag b { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.hud-tag.flip span { left: auto; right: 12px; padding: 0 70px 0 0; text-align: right; }
.hud-tag.flip span::before { left: auto; right: 0; background: linear-gradient(270deg, rgba(159, 227, 255, .9), rgba(159, 227, 255, .25)); }

@media (max-width: 1024px) {
  .chapter { width: min(560px, 60%); }
}
@media (max-width: 680px) {
  .cine-shade { background: linear-gradient(0deg, rgba(5, 5, 6, .96) 0%, rgba(5, 5, 6, .82) 34%, rgba(5, 5, 6, 0) 60%); }
  .chapter { left: 16px; right: 16px; width: auto; top: auto; bottom: 92px; transform: translateY(16px); }
  .chapter.is-active { transform: none; }
  .chapter h1 { font-size: 2.3rem; margin: 12px 0 14px; }
  .chapter h2 { font-size: 2rem; margin: 10px 0 12px; }
  .chapter .lead, .chapter p { font-size: .98rem; margin-bottom: 18px; }
  .chapter .cta .btn { --h: 48px; padding: 0 18px; }
  .cine-meta { display: none; }
  .cine-controls { top: 78px; bottom: auto; padding: 0 16px; }
  .cine-cmd { display: none; }
  .cine-progress i { width: 70px; }
  .hud-tag span { padding-left: 34px; font-size: .78rem; white-space: normal; width: 150px; }
  .hud-tag span::before { width: 28px; }
  .hud-tag.flip span { padding-right: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .cine { height: auto; }
  .cine-sticky { position: relative; }
  .chapter:not([data-ch="0"]) { display: none; }
}

/* ---------- Components in the new language ---------- */
.marquee { background: transparent; border-color: var(--border); padding: 22px 0; }
.marquee-track span { font-size: .8rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: #9a9ca3; }
.marquee-track i { color: var(--accent); font-size: .6rem; }

.robot-card, .pkg, .bento-item, .steps li, .dl-card, .post-card, .uc-link, .timeline li, .toc, .faq details { border-radius: var(--radius); background: rgba(255, 255, 255, .02); }
.robot-card { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.robot-media { background: #08090b; }
.robot-body h3, .pkg h3 { font-weight: 500; letter-spacing: -0.03em; }
.pill, .post-tags span { background: transparent; border: 1px solid var(--border-2); color: #c9ccd2; font-weight: 400; letter-spacing: .08em; font-size: .7rem; }
.specs div { border-radius: 10px; background: transparent; }
.icon { border-radius: 10px; background: transparent; border-color: var(--border-2); }
.icon svg { stroke: var(--accent); stroke-width: 1.4; }
.bento-item.big { background: radial-gradient(90% 90% at 85% 0%, rgba(159, 227, 255, .10), transparent 60%), rgba(255, 255, 255, .02); }
.bento-item h3 { font-weight: 500; }
.spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(159, 227, 255, .07), transparent 60%); }
.gallery figure { border-radius: 10px; }
.gallery figcaption { border-radius: 8px; background: rgba(5, 5, 6, .7); font-weight: 400; }

.pkg.highlight { background: linear-gradient(180deg, rgba(159, 227, 255, .06), rgba(255, 255, 255, .01)); border-color: rgba(159, 227, 255, .45); }
.pkg.highlight::before { display: none; }
.badge { background: transparent; border: 1px solid rgba(159, 227, 255, .5); color: var(--accent); font-weight: 500; letter-spacing: .1em; }
.price { font-weight: 500; letter-spacing: -0.04em; }
.pkg li::before { background: rgba(159, 227, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fe3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checks li::before { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.step-n { background: transparent; border-color: var(--border-2); color: var(--accent); border-radius: 6px; }

.glass { border-radius: 16px; background: rgba(255, 255, 255, .025); border-color: var(--border-2); backdrop-filter: none; box-shadow: none; }
.field input, .field select, .field textarea { border-radius: 10px; background: rgba(0, 0, 0, .35); border-color: var(--border); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(159, 227, 255, .12); }

.faq details[open] { border-color: rgba(159, 227, 255, .3); background: rgba(159, 227, 255, .03); }
.cta-band { border-radius: 20px; background: radial-gradient(60% 120% at 50% 0%, rgba(159, 227, 255, .12), transparent 70%), #0a0b0e; border-color: var(--border); }
.footer { border-top-color: var(--border); }

/* Use-case pages keep the framed stage, restyled. */
.stage { border-radius: 16px; background: radial-gradient(60% 70% at 50% 40%, #13151a, #050506 75%); border-color: var(--border); box-shadow: none; }
.stage::before { display: none; }
.seg { background: rgba(5, 5, 6, .6); }
.seg button { font-family: var(--mono); letter-spacing: .06em; font-weight: 500; }
.seg button[aria-selected=true] { background: var(--text); color: var(--ink); }
.stage-cmd button.is-on { background: rgba(159, 227, 255, .1); border-color: rgba(159, 227, 255, .45); color: var(--accent); }
.stage-tag { border-left-color: var(--accent); }

.fa-zalo .fa-icon { background: #0a0b0e; border: 1px solid rgba(255, 255, 255, .18); color: #7fb3ff; }
.fa-call .fa-icon { background: #0a0b0e; border: 1px solid rgba(255, 255, 255, .18); }
.fa-call .fa-icon svg { fill: #8ef0b5; }
.fab { background: var(--text); color: var(--ink); box-shadow: none; font-weight: 600; }

/* Large use-case card: photo background with copy on a dark gradient. */
.bento-item.big { min-height: 380px; }
.bento-media { position: absolute; inset: 0; z-index: 0; }
.bento-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; opacity: .85; transition: transform 1s var(--ease), opacity .4s; }
.bento-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 5, 6, .95) 0%, rgba(5, 5, 6, .55) 45%, rgba(5, 5, 6, .05) 100%); }
a.bento-item.big:hover .bento-media img { transform: scale(1.04); opacity: 1; }
.bento-item.big > :not(.bento-media) { position: relative; z-index: 1; }
@media (max-width: 680px) { .bento-item.big { min-height: 300px; } }

/* ---------- Case studies ---------- */
.case-stat { font-size: .88rem; color: var(--muted); margin-top: auto; }
.case-stat strong { color: var(--text); font-weight: 600; }
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: 0 0 28px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); }
.case-facts div { background: var(--bg); padding: 14px 16px; }
.case-facts dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 4px 0 0; font-weight: 500; }
.case-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 36px; }
.case-results div { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(159, 227, 255, .03); }
.case-results strong { display: block; font-size: 2rem; font-weight: 500; letter-spacing: -0.04em; }
.case-results span { color: var(--muted); font-size: .9rem; }
.case-quote { margin: 40px 0; padding: 28px 0 0; border-top: 1px solid var(--border); }
.case-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; margin: 0 0 14px; }
.case-quote cite { font-style: normal; color: var(--muted); font-size: .92rem; }
.case-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 32px 0; }
.case-gallery figure { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--border); }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; }

.case-cover {
  position: relative; display: flex !important; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px 22px;
  background: radial-gradient(90% 120% at 90% 0%, rgba(159, 227, 255, .14), transparent 60%), linear-gradient(160deg, #111318, #07080a);
  border-bottom: 1px solid var(--border);
}
.case-cover::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 48px); pointer-events: none; }
.case-cover b { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; font-family: var(--serif); font-style: italic; }
.cc-country, .cc-event { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cc-country { color: var(--accent); }
.case-hero { display: flex; aspect-ratio: 16 / 6; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; margin: 28px 0 32px; }
.case-hero b { font-size: clamp(3.2rem, 8vw, 5.5rem); }
.tag-ref { border-color: rgba(159, 227, 255, .5) !important; color: var(--accent) !important; }
.case-note { margin: 0 0 24px; padding: 14px 16px; border-radius: 10px; border: 1px dashed var(--border-2); color: var(--muted); font-size: .92rem; line-height: 1.6; }
.case-note b { color: var(--text); font-weight: 500; }
.case-sources { margin: 32px 0; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.case-sources b { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.case-sources ul { margin: 10px 0 0; padding-left: 18px; }
.case-sources li { margin: 6px 0; }
.case-sources a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 4px; }
