:root {
  --bg: #04050c;
  --bg-2: #070a16;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-br: rgba(255, 255, 255, 0.09);
  --cyan: #22d3ee;
  --purple: #a78bfa;
  --violet: #8b5cf6;
  --text: #e6edf7;
  --muted: #8ea2bd;
  --grad: linear-gradient(120deg, #22d3ee 0%, #818cf8 55%, #c084fc 100%);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(1000px 600px at 0% 20%, rgba(34, 211, 238, 0.08), transparent 55%),
    linear-gradient(var(--bg), var(--bg-2));
  background-color: var(--bg);
  min-height: 100vh;
}

/* cyber micro-grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(148, 163, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}

::selection { background: rgba(34, 211, 238, 0.35); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #05060f; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2e3a55; }

.font-display { font-family: "Space Grotesk", sans-serif; }
.font-mono { font-family: "JetBrains Mono", monospace; }
.font-700 { font-weight: 700; }

/* ---------- glass ---------- */
.glass {
  background: var(--panel);
  border: 1px solid var(--panel-br);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-nav {
  margin-top: 10px;
  border-radius: 16px;
  background: rgba(7, 9, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
@media (max-width: 640px) {
  .glass-nav { width: calc(100vw - 20px); max-width: 100%; }
}
.header-scrolled .glass-nav {
  background: rgba(5, 7, 16, 0.85);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
}

.logo-mark {
  background: var(--grad);
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.55);
}

.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

/* ---------- buttons ---------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 420px) {
  .cta-btn { white-space: normal; }
  .cta-btn svg { flex: none; }
}
.cta-primary {
  color: #04050c;
  background: var(--grad);
  box-shadow: 0 10px 34px -8px rgba(99, 102, 241, 0.65);
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -8px rgba(99, 102, 241, 0.85); }
.cta-ghost {
  color: #dbe6fb;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.cta-ghost:hover { border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.08); transform: translateY(-2px); }
.cta-xl { padding: 15px 28px; font-size: 15px; }

.pulse-dot { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.55; transform: scale(0.8);} }

/* ---------- hero ---------- */
.hero-glow {
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.5), rgba(34, 211, 238, 0.25), transparent);
  filter: blur(40px);
  pointer-events: none;
}
#hero-canvas { display: block; }

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-paint {
  background: linear-gradient(120deg, #22d3ee, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rotator-wrap { display: inline-flex; align-items: baseline; }
#rotator { transition: opacity 0.25s; }
.caret {
  margin-left: 4px;
  color: var(--cyan);
  animation: blink 0.9s steps(1) infinite;
  font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }

.stat-glass {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.stat-num {
  font-size: 28px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- marquee ---------- */
.marquee { mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.marquee-track { animation: marquee 32s linear infinite; width: max-content; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--cyan);
  text-transform: uppercase;
}

.service-card {
  border-radius: 20px;
  padding: 30px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.35); box-shadow: 0 30px 70px -30px rgba(34, 211, 238, 0.25); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.12);
}

.check-li { display: flex; gap: 10px; align-items: flex-start; }
.check-li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.5);
  background-image: radial-gradient(circle at center, #22d3ee 0 2.5px, transparent 3px);
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- AR cards ---------- */
.ar-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s, border-color 0.3s;
}
.ar-card:hover { transform: translateY(-5px); border-color: rgba(167, 139, 250, 0.5); }
.ar-card model-viewer {
  width: 100%;
  height: 260px;
  background:
    radial-gradient(340px 180px at 50% 40%, rgba(99, 102, 241, 0.16), transparent 70%),
    #05070f;
  --poster-color: transparent;
}
.ar-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #04050c;
  background: var(--grad);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -6px rgba(99,102,241,.7);
  transition: transform 0.2s;
}
.ar-btn:hover { transform: translateX(-50%) translateY(-2px); }
.ar-card .ar-info { padding: 14px 16px; }
.ar-note { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }
.ar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 0 auto 4px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #dbe6fb;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.ar-cta-btn:hover {
  transform: translateY(-2px);
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(34, 211, 238, 0.65);
}
.ar-model-fallback {
  display: grid;
  place-items: center;
  text-align: center;
  width: 100%;
  height: 260px;
  padding: 20px;
  background:
    radial-gradient(340px 180px at 50% 40%, rgba(99, 102, 241, 0.16), transparent 70%),
    #05070f;
}
#ar-hint {
  display: flex;
  justify-content: center;
}
#ar-hint .ar-hint-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  max-width: 100%;
  min-width: 0;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 13px;
  color: #eef4ff;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.4);
}
@media (max-width: 420px) {
  #ar-hint .ar-hint-box { gap: 6px; padding: 10px 12px; font-size: 12px; }
}

.step-chip {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
  color: #cfe1f8;
}
.step-chip > *:not(.step-num) { min-width: 0; overflow-wrap: break-word; }
.step-num {
  width: 26px; height: 26px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.4);
}

/* ---------- tools ---------- */
.tool-panel {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #6ee7b7;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.tool-card {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.3s;
}
.tool-card:hover { border-color: rgba(34, 211, 238, 0.3); }
.tool-card-head { display: flex; align-items: center; justify-content: space-between; }
.tool-tag {
  font-size: 10px; font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #c4b5fd;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.field-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; letter-spacing: 0.04em; }
.range {
  width: 100%;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34,211,238,0.5), rgba(139,92,246,0.5));
  outline: none;
}
.range::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.8);
  cursor: pointer;
}
.seg-control { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-control button {
  padding: 8px 16px;
  border-radius: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.2s;
}
.seg-control button:hover { color: #fff; }
.seg-control button.active {
  color: #04050c;
  background: var(--grad);
  border-color: transparent;
  font-weight: 700;
}
.metric {
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.metric-k { font-family: "JetBrains Mono", monospace; font-size: 16px; font-weight: 600; color: #fff; }
.metric-v { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
}
.status-ok { color: #6ee7b7; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.35); }
.status-fail { color: #fda4af; background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.35); }
.status-wait { color: #fbbf24; background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.35); }

/* ---------- process ---------- */
.step-card {
  border-radius: 18px;
  padding: 24px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-4px); }
.step-big-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.85;
}

/* ---------- pricing ---------- */
.price-card {
  position: relative;
  border-radius: 22px;
  padding: 30px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover { transform: translateY(-5px); }
.price-hot {
  border-color: rgba(99, 102, 241, 0.55);
  background: linear-gradient(180deg, rgba(99,102,241,0.12), rgba(255,255,255,0.02));
  box-shadow: 0 30px 80px -30px rgba(99, 102, 241, 0.45);
}
.hot-ribbon {
  position: absolute;
  top: -12px; left: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: #04050c;
  background: var(--grad);
}
.price-name { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.2em; color: var(--cyan); text-transform: uppercase; }
.price-value { font-family: "Space Grotesk", sans-serif; font-size: 34px; font-weight: 700; color: #fff; margin-top: 10px; }

/* ---------- reviews ---------- */
.review-card {
  border-radius: 20px;
  padding: 26px 26px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s;
}
.review-card:hover { border-color: rgba(167,139,250,0.4); }
.stars { color: #fbbf24; letter-spacing: 3px; font-size: 15px; }
.avatar {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 13px; font-weight: 700; color: #04050c;
  background: var(--grad);
}

/* ---------- lead form ---------- */
.glass-card {
  padding: 32px;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,0.7);
}
.field {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 14px;
  color: #eef4ff;
  background: rgba(2, 4, 12, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field:focus {
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}
.field::placeholder { color: #5b6b84; }
select.field option { background: #0a0d1c; color: #eef4ff; }
.contact-line { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.success-box {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  color: #6ee7b7;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.35);
  font-size: 14px;
}
.error-box {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fda4af;
  background: rgba(244,63,94,0.1);
  border: 1px solid rgba(244,63,94,0.35);
  font-size: 14px;
  line-height: 1.5;
}

.social-chip {
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  transition: all 0.2s;
}
.social-chip:hover { color: #fff; border-color: rgba(34,211,238,0.5); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- chat widget ---------- */
#chat-root { position: fixed; z-index: 90; right: 22px; bottom: 22px; }
.chat-fab {
  width: 62px; height: 62px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  color: #04050c;
  background: var(--grad);
  box-shadow: 0 16px 44px -8px rgba(99,102,241,0.75);
  display: grid; place-items: center;
  transition: transform 0.2s;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 28px; height: 28px; }
.chat-fab .chat-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: #f43f5e;
  border: 2px solid #04050c;
}
.chat-panel.hidden { display: none; }
.chat-panel {
  position: fixed;
  right: 22px; bottom: 96px;
  width: min(380px, calc(100vw - 44px));
  height: min(560px, calc(100vh - 130px));
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(6, 9, 20, 0.92);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(22px);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.85);
  transform-origin: bottom right;
  animation: chatIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(30px) scale(0.94); } }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(120deg, rgba(34,211,238,0.14), rgba(139,92,246,0.16));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.chat-avatar {
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #04050c; font-weight: 700; font-size: 15px;
  background: var(--grad);
}
.chat-online { font-size: 11px; color: #6ee7b7; font-family: "JetBrains Mono", monospace; }
.chat-close {
  margin-left: auto;
  padding: 7px;
  border-radius: 9px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  cursor: pointer;
}
.chat-close:hover { color: #fff; }
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
}
.msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: msgIn 0.25s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg-bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-bottom-left-radius: 5px;
  color: #dbe6fb;
}
.msg-user {
  align-self: flex-end;
  background: linear-gradient(120deg, rgba(34,211,238,0.25), rgba(139,92,246,0.25));
  border: 1px solid rgba(139,92,246,0.35);
  border-bottom-right-radius: 5px;
  color: #f2f7ff;
}
.msg-typing { display: flex; gap: 5px; padding: 12px 16px; }
.msg-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: typing 1.2s infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.18s; }
.msg-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%,100% { opacity: 0.25; transform: translateY(0);} 50% { opacity: 1; transform: translateY(-4px);} }
.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 4px; }
.chat-chip {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--cyan);
  background: rgba(34,211,238,0.09);
  border: 1px solid rgba(34,211,238,0.35);
  cursor: pointer;
  transition: all 0.2s;
}
.chat-chip:hover { background: rgba(34,211,238,0.18); }
.chat-input {
  display: flex; gap: 9px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.chat-input input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: #eef4ff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  outline: none;
}
.chat-input input:focus { border-color: rgba(34,211,238,0.6); }
.chat-send {
  padding: 0 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  color: #04050c;
  background: var(--grad);
  font-weight: 700;
}
.chat-note {
  padding: 7px 16px;
  font-size: 10.5px;
  color: #55647c;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
}

@media (max-width: 640px) {
  .cta-xl { padding: 13px 20px; font-size: 14px; }
  .chat-panel { right: 12px; bottom: 88px; width: calc(100vw - 24px); height: calc(100vh - 120px); }
  #chat-root { right: 14px; bottom: 14px; }
  .glass-nav { margin-top: 6px; }
  nav { height: 60px; }
  .logo-mark { width: 34px; height: 34px; }
  header .font-display.text-lg { font-size: 15px; }
  .hero-min-h { min-height: 92vh; }
  header .cta-btn.text-sm { padding: 9px 12px; font-size: 12.5px; }
  .section-head h2 { word-break: break-word; }
  .metric-k { font-size: 14px; }
  .field { font-size: 15px; }
  #quote-svg { min-height: 150px; }
  .price-card { padding: 20px; }
  .step-chip { padding: 12px 14px; gap: 10px; }
  .ar-card model-viewer, .ar-model-holder model-viewer { height: 220px; }
  .ar-model-fallback { height: 220px; }
  .chat-avatar { width: 36px; height: 36px; }
}

@media (max-width: 420px) {
  header .font-display.text-lg { font-size: 13.5px; }
  header .cta-primary.text-sm { padding: 9px 10px; }
  .hero-pad { padding-top: 96px; }
  .ar-hint-box { font-size: 12px; padding: 10px 14px; }
}

@media (max-width: 470px) {
  .marquee-track { gap: 24px; }
}

@media (min-width: 641px) {
  .chat-fab { display: grid; }
}

.case-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,211,238,0.4);
  background: rgba(34,211,238,0.04);
}
.case-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: rgba(34,211,238,0.09);
  border: 1px solid rgba(34,211,238,0.25);
  padding: 5px 10px;
  border-radius: 999px;
}
.case-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #55647c;
}
.case-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
}
.case-row-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #7b8ba5;
  padding-top: 2px;
}
.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.case-stat .text-gradient { font-size: 1.6rem; line-height: 1.1; }

@media (max-width: 640px) {
  .case-card { padding: 20px; }
  .case-row { grid-template-columns: 56px 1fr; }
}