:root {
  --bg: #070a12;
  --bg-2: #0b1020;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #f2f5fb;
  --muted: #9aa5bd;
  --accent: #3dd6c6;
  --accent-2: #7c5cff;
  --accent-3: #ff7ab8;
  --ink: #031614;
  --danger: #ff6b7d;
  --radius: 20px;
  --grad: linear-gradient(100deg, #3dd6c6 0%, #7cc7ff 45%, #a58bff 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { 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); }

/* ---------- Greeting demo ---------- */
.greet { padding-top: clamp(48px, 7vw, 88px); }
.greet-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.greet-copy h2 { margin-top: 0; }
.greet-card { display: grid; gap: 16px; }
.greet-types { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  border: 1px solid var(--border-2); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 7px 14px;
  font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s var(--ease);
}
.chip-btn:hover { color: var(--text); }
.chip-btn[aria-checked=true] { background: rgba(61, 214, 198, .15); border-color: rgba(61, 214, 198, .6); color: var(--accent); }
.greet-line {
  margin: 0; padding: 16px 18px; border-radius: 16px; background: rgba(7, 10, 18, .5); border: 1px dashed var(--border-2);
  font-size: 1.05rem; line-height: 1.55; color: #dfe5f2; min-height: 3.2em;
}
.greet-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.greet-book { justify-self: start; }
.greet-note { margin: 0; font-size: .85rem; color: var(--muted); }
.stage-bubble {
  position: absolute; left: 50%; top: 64px; transform: translateX(-50%); width: min(86%, 440px); z-index: 3;
  padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .95); color: #0b1020; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  animation: bubble-in .35s var(--ease);
}
.stage-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; margin-left: -9px; background: inherit; transform: rotate(45deg); border-radius: 3px;
}
.stage-bubble p { margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.5; min-height: 1.5em; }
.stage-bubble .btn { margin-top: 10px; }
@keyframes bubble-in { from { opacity: 0; transform: translate(-50%, 8px) scale(.96); } to { opacity: 1; transform: translateX(-50%); } }
/* Wide stages: speech bubble sits beside the robot's head instead of over it. */
@media (min-width: 681px) {
  .stage-bubble { left: 5%; transform: none; width: min(46%, 340px); top: 72px; animation-name: bubble-in-side; }
  .stage-bubble::after { left: auto; right: -7px; top: 34px; bottom: auto; margin: 0; }
}
@keyframes bubble-in-side { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 1024px) {
  .greet-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 680px) {
  .fa-icon { width: 50px; height: 50px; }
  .fa-label { display: none; }
  .greet-actions .btn { flex: 1; }
  .stage-bubble { top: 58px; padding: 12px 14px; }
  .stage-bubble p { font-size: .92rem; }
}
