:root {
  color-scheme: dark;
  --bg-deep: #07090d;
  --bg-top: #0a0e14;
  --bg-bottom: #0c1018;
  --bg-panel: rgba(14, 20, 28, 0.72);
  --header-bg: rgba(7, 9, 13, 0.55);
  --header-bg-strong: rgba(7, 9, 13, 0.82);
  --input-bg: rgba(0, 0, 0, 0.35);
  --footer-bg: rgba(0, 0, 0, 0.35);
  --cta-bg: rgba(10, 16, 22, 0.85);
  --chat-bg: rgba(10, 16, 24, 0.97);
  --chat-input-bg: rgba(8, 13, 20, 0.9);
  --launcher-bg: linear-gradient(145deg, #0d1a26, #102336);
  --text-secondary: #c5d0da;
  --ambient-cyan: rgba(0, 120, 140, 0.28);
  --ambient-warm: rgba(120, 70, 20, 0.16);
  --cyan: #00e8ff;
  --cyan-soft: #5ef0ff;
  --cyan-dim: rgba(0, 232, 255, 0.14);
  --cyan-glow: rgba(0, 232, 255, 0.35);
  --on-accent: #041015;
  --white: #f4f8fb;
  --muted: #9aa8b5;
  --line: rgba(0, 232, 255, 0.18);
  --accent: var(--cyan);
  --text: var(--white);
  --surface: var(--bg-panel);
  --border: var(--line);
  --font-display: "Oxanium", "Segoe UI Variable Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI Variable Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --max: 1120px;
  --header-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --cookie-stack: 0px;
  --vv-keyboard: 0px;
  --vv-height: 100dvh;
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #eef2f8;
  --bg-top: #f8fafc;
  --bg-bottom: #e8eef8;
  --bg-panel: rgba(255, 255, 255, 0.88);
  --header-bg: rgba(248, 250, 252, 0.82);
  --header-bg-strong: rgba(248, 250, 252, 0.95);
  --input-bg: rgba(255, 255, 255, 0.94);
  --footer-bg: rgba(226, 234, 246, 0.78);
  --cta-bg: rgba(255, 255, 255, 0.94);
  --chat-bg: rgba(248, 250, 252, 0.98);
  --chat-input-bg: rgba(238, 243, 250, 0.96);
  --launcher-bg: linear-gradient(145deg, #ffffff, #dbe6f7);
  --text-secondary: #2a3a5c;
  --ambient-cyan: rgba(46, 92, 211, 0.12);
  --ambient-warm: rgba(190, 120, 45, 0.07);
  --cyan: #2e5cd3;
  --cyan-soft: #1a3f9e;
  --cyan-dim: rgba(46, 92, 211, 0.1);
  --cyan-glow: rgba(66, 145, 245, 0.28);
  --on-accent: #ffffff;
  --white: #071865;
  --muted: #4a5a78;
  --line: rgba(30, 75, 177, 0.2);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg-deep: #eef2f8;
    --bg-top: #f8fafc;
    --bg-bottom: #e8eef8;
    --bg-panel: rgba(255, 255, 255, 0.88);
    --header-bg: rgba(248, 250, 252, 0.82);
    --header-bg-strong: rgba(248, 250, 252, 0.95);
    --input-bg: rgba(255, 255, 255, 0.94);
    --footer-bg: rgba(226, 234, 246, 0.78);
    --cta-bg: rgba(255, 255, 255, 0.94);
    --chat-bg: rgba(248, 250, 252, 0.98);
    --chat-input-bg: rgba(238, 243, 250, 0.96);
    --launcher-bg: linear-gradient(145deg, #ffffff, #dbe6f7);
    --text-secondary: #2a3a5c;
    --ambient-cyan: rgba(46, 92, 211, 0.12);
    --ambient-warm: rgba(190, 120, 45, 0.07);
    --cyan: #2e5cd3;
    --cyan-soft: #1a3f9e;
    --cyan-dim: rgba(46, 92, 211, 0.1);
    --cyan-glow: rgba(66, 145, 245, 0.28);
    --on-accent: #ffffff;
    --white: #071865;
    --muted: #4a5a78;
    --line: rgba(30, 75, 177, 0.2);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: 0.75rem 1.1rem;
  background: var(--cyan);
  color: var(--on-accent);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-address {
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-address a {
  color: var(--cyan-soft);
  text-decoration: none;
}

.footer-address a:hover {
  text-decoration: underline;
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--cyan-soft);
  text-decoration: underline;
}

.contact-direct {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.contact-direct a {
  color: var(--cyan-soft);
  text-decoration: none;
}

.contact-direct a:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 12px);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--white);
  background:
    radial-gradient(1200px 700px at 85% -10%, var(--ambient-cyan), transparent 55%),
    radial-gradient(900px 600px at -10% 40%, var(--ambient-warm), transparent 50%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-deep) 45%, var(--bg-bottom) 100%);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

body.cookie-banner-visible {
  --cookie-stack: 7.25rem;
}

body.chat-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (max-width: 480px) {
  body.chat-open {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.035;
  background-image: var(--noise);
  mix-blend-mode: overlay;
}

.tech-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 232, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 232, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
}

:root[data-theme="light"] .tech-grid {
  background-image:
    linear-gradient(rgba(46, 92, 211, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 92, 211, 0.05) 1px, transparent 1px);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .tech-grid {
    background-image:
      linear-gradient(rgba(46, 92, 211, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(46, 92, 211, 0.05) 1px, transparent 1px);
  }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, rgba(0, 232, 255, 0.16), transparent 68%);
  opacity: 0;
  transform: translate3d(-100vw, -100vh, 0);
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

body.has-pointer .cursor-glow.is-on {
  opacity: 1;
}

:root[data-theme="light"] .cursor-glow {
  mix-blend-mode: multiply;
  background: radial-gradient(circle, rgba(46, 92, 211, 0.12), transparent 68%);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .cursor-glow {
    mix-blend-mode: multiply;
    background: radial-gradient(circle, rgba(46, 92, 211, 0.12), transparent 68%);
  }
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-a {
  width: 380px;
  height: 380px;
  background: rgba(0, 232, 255, 0.2);
  top: 12%;
  right: -80px;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-b {
  width: 320px;
  height: 320px;
  background: rgba(180, 110, 40, 0.15);
  bottom: 18%;
  left: -60px;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.glow-c {
  width: 420px;
  height: 420px;
  background: rgba(0, 180, 210, 0.12);
  top: 55%;
  right: 18%;
  animation: drift 22s ease-in-out infinite alternate;
}

:root[data-theme="light"] .glow-a {
  background: rgba(66, 145, 245, 0.18);
}

:root[data-theme="light"] .glow-b {
  background: rgba(180, 120, 50, 0.1);
}

:root[data-theme="light"] .glow-c {
  background: rgba(46, 92, 211, 0.12);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .glow-a {
    background: rgba(66, 145, 245, 0.18);
  }

  :root:not([data-theme]) .glow-b {
    background: rgba(180, 120, 50, 0.1);
  }

  :root:not([data-theme]) .glow-c {
    background: rgba(46, 92, 211, 0.12);
  }
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-30px, 40px); }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.section-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: calc(clamp(1.25rem, 4vw, 2.5rem) + var(--safe-left));
  padding-right: calc(clamp(1.25rem, 4vw, 2.5rem) + var(--safe-right));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  z-index: 50;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: var(--header-bg-strong);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.logo-stack > .logo-variant {
  grid-area: 1 / 1;
}

.logo-variant.logo-light {
  display: none;
}

.logo-variant.logo-dark {
  display: block;
}

:root[data-theme="light"] .logo-variant.logo-dark {
  display: none;
}

:root[data-theme="light"] .logo-variant.logo-light {
  display: block;
}

:root[data-theme="dark"] .logo-variant.logo-dark {
  display: block;
}

:root[data-theme="dark"] .logo-variant.logo-light {
  display: none;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .logo-variant.logo-dark {
    display: none;
  }

  :root:not([data-theme]) .logo-variant.logo-light {
    display: block;
  }
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 8px;
  image-rendering: -webkit-optimize-contrast;
}

.logo .logo-light img {
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 4px 14px rgba(30, 75, 177, 0.16));
}

.footer-brand .logo-light img {
  height: 56px;
}

.logo-cyan { color: var(--cyan); }
.logo-white { color: var(--white); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--cyan);
}

.nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan) !important;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s !important;
}

.nav-cta:hover {
  background: var(--cyan);
  color: var(--bg-deep) !important;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.theme-toggle {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-left: 0;
  margin-right: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-panel);
  color: var(--cyan);
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  background: var(--cyan-dim);
}

.lang-switcher {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 0.55rem;
  z-index: 60;
}

.lang-toggle {
  min-width: 42px;
  height: 42px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--cyan);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: var(--cyan);
  background: var(--cyan-dim);
}

.lang-toggle-code {
  font-family: "Oxanium", sans-serif;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  width: min(18.5rem, calc(100vw - 1.5rem));
  max-height: min(22rem, 70dvh);
  overflow: auto;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lang-option {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover,
.lang-option:focus-visible {
  outline: none;
  background: var(--cyan-dim);
  color: var(--cyan);
}

.lang-option.is-selected,
.lang-option[aria-selected="true"] {
  background: color-mix(in srgb, var(--cyan) 16%, transparent);
  color: var(--cyan);
}

.lang-option-native {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

.lang-option-en {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.2;
}

html[dir="rtl"] .lang-switcher {
  margin-left: 0.55rem;
  margin-right: auto;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .lang-option {
  align-items: flex-end;
  text-align: right;
}

html[dir="rtl"] .theme-toggle {
  margin-left: 0.65rem;
  margin-right: 0;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .nav,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-chips,
html[dir="rtl"] .hero-metrics,
html[dir="rtl"] .section-head,
html[dir="rtl"] .detail-intro,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .contact-row {
  direction: rtl;
}

html[dir="rtl"] .nav-toggle {
  margin-left: 0;
}

@media (max-width: 860px) {
  .lang-toggle {
    min-width: 40px;
    height: 40px;
    padding: 0 0.55rem;
    font-size: 0.68rem;
  }
  .lang-menu {
    width: min(17rem, calc(100vw - 1.25rem));
    max-height: min(18rem, 60vh);
  }
}


.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.42;
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(0, 232, 255, 0.16);
  top: 8%;
  right: -2rem;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: rgba(200, 120, 36, 0.18);
  bottom: 8%;
  left: -1rem;
}

.hero-inner {
  max-width: 920px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  margin-bottom: 1rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 232, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan-soft);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.hero-logo {
  width: min(380px, 78vw);
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 0 32px rgba(61, 231, 255, 0.35));
  animation: logo-glow 3.5s ease-in-out infinite;
}

.hero-logo-stack {
  width: min(420px, 86vw);
}

.hero-logo-stack .hero-logo {
  width: 100%;
}

.hero-logo-stack .logo-light .hero-logo {
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 8px 28px rgba(46, 92, 211, 0.18));
  animation: logo-glow-light 3.5s ease-in-out infinite;
}

:root[data-theme="light"] .hero-logo-stack .logo-dark .hero-logo,
:root[data-theme="light"] .logo-dark .hero-logo {
  filter: none;
  animation: none;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .hero-logo-stack .logo-light .hero-logo {
    filter: drop-shadow(0 8px 28px rgba(46, 92, 211, 0.18));
    animation: logo-glow-light 3.5s ease-in-out infinite;
  }
}

@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(61, 231, 255, 0.28)); }
  50% { filter: drop-shadow(0 0 40px rgba(61, 231, 255, 0.5)); }
}

@keyframes logo-glow-light {
  0%, 100% { filter: drop-shadow(0 6px 20px rgba(46, 92, 211, 0.14)); }
  50% { filter: drop-shadow(0 10px 34px rgba(66, 145, 245, 0.28)); }
}

.hero-tagline {
  color: var(--cyan-soft);
  font-weight: 400;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  opacity: 0.9;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 3.95rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  background: linear-gradient(120deg, var(--white) 0%, var(--cyan-soft) 45%, var(--white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 32px rgba(0, 232, 255, 0.16);
}

:root[data-theme="light"] .hero-headline {
  text-shadow: 0 0 28px rgba(46, 92, 211, 0.12);
}

:root[data-theme="light"] .hero-headline em {
  text-shadow: 0 0 28px rgba(66, 145, 245, 0.25);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .hero-headline {
    text-shadow: 0 0 28px rgba(46, 92, 211, 0.12);
  }

  :root:not([data-theme]) .hero-headline em {
    text-shadow: 0 0 28px rgba(66, 145, 245, 0.25);
  }
}

.hero-headline em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 36px var(--cyan-glow);
}

.rocket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 0.92em;
  height: 0.92em;
  margin-right: 0.18em;
  vertical-align: -0.12em;
  /* Escape parent headline gradient text-clip so the icon stays solid */
  color: #7af0ff;
  -webkit-text-fill-color: #7af0ff;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  filter: drop-shadow(0 0 12px rgba(0, 232, 255, 0.55));
  animation: float-rocket 3.2s ease-in-out infinite;
  transform-origin: 50% 60%;
  isolation: isolate;
}

.rocket svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

@keyframes float-rocket {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-8px) rotate(-4deg); }
}

.hero-categories {
  color: var(--cyan);
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 auto 1.2rem;
  max-width: 760px;
}

.metric-card {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-panel);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 232, 255, 0.45);
}

.metric-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.hero-chips span {
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.7;
  animation: orbFloat 7s ease-in-out infinite;
}

.orb-a {
  width: 180px;
  height: 180px;
  background: rgba(0, 232, 255, 0.15);
  top: 18%;
  left: 12%;
}

.orb-b {
  width: 140px;
  height: 140px;
  background: rgba(200, 120, 36, 0.14);
  top: 24%;
  right: 10%;
  animation-duration: 9s;
}

.orb-c {
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.08);
  bottom: 16%;
  right: 24%;
  animation-duration: 6s;
}

.hero-categories span {
  opacity: 0.55;
  margin: 0 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: var(--on-accent);
  box-shadow: 0 0 28px var(--cyan-glow);
}

.btn-primary:hover {
  background: var(--cyan-soft);
  box-shadow: 0 0 40px var(--cyan-glow);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}

.hero-highlights {
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 4rem;
  margin-top: -1rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.highlight-card {
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 232, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(0, 232, 255, 0.14);
  color: var(--cyan-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.highlight-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--white);
}

.highlight-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -14px, 0) scale(1.06); }
}

@keyframes orbPulse {
  0% { transform: scale(0.96); opacity: 0.3; }
  100% { transform: scale(1.04); opacity: 0.5; }
}

/* Shared sections */
.about,
.capabilities,
.services,
.process,
.industries,
.stack,
.why-us,
.engagement,
.faq,
.cta {
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section-head {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 232, 255, 0.95), rgba(255,255,255,0.2));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 60;
  box-shadow: 0 0 20px rgba(0, 232, 255, 0.25);
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-head h2,
.cta h2,
.about-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-copy h2 {
  margin-bottom: 1.25rem;
}

.about-points {
  display: grid;
  gap: 1rem;
}

.about-points article {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  transition: border-color 0.3s, transform 0.3s;
}

.about-points article:hover {
  border-color: rgba(0, 232, 255, 0.4);
  transform: translateX(4px);
}

.about-points h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--cyan-soft);
}

.about-points p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Capabilities strip */
.capabilities {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.caps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.cap {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 232, 255, 0.04);
}

.cap strong {
  display: block;
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cap span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Services */
.service-nav {
  max-width: var(--max);
  margin: 0 auto 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.service-nav a {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.service-nav a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-dim);
}

.detail-section {
  max-width: var(--max);
  margin: 0 auto 4.5rem;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.detail-icon {
  width: 56px;
  height: 56px;
  color: var(--cyan);
  flex-shrink: 0;
}

.detail-icon svg {
  width: 100%;
  height: 100%;
}

.detail-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.55rem;
}

.detail-intro p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 70ch;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.detail-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.detail-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.detail-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.55rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
}

.detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 232, 255, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(0, 232, 255, 0.12);
}

.detail-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--cyan-soft);
}

.detail-card > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.detail-card ul {
  display: grid;
  gap: 0.4rem;
}

.detail-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* Process */
.process {
  background: linear-gradient(180deg, transparent, rgba(0, 232, 255, 0.03), transparent);
}

.process-timeline {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.process-timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  transition: border-color 0.3s, transform 0.3s;
}

.process-timeline li:hover {
  border-color: rgba(0, 232, 255, 0.4);
  transform: translateX(6px);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--cyan);
  line-height: 1;
  padding-top: 0.15rem;
}

.process-timeline h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.process-timeline p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Industries */
.industry-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry {
  padding: 1.4rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 232, 255, 0.03);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.industry:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 232, 255, 0.4);
  background: var(--cyan-dim);
}

.industry h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.industry p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Stack */
.stack-groups {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.stack-group {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.stack-group h3 {
  font-family: var(--font-display);
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

.stack-group > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tags span {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cyan-soft);
  background: rgba(0, 232, 255, 0.05);
}

/* Why us */
.why-us {
  background: linear-gradient(180deg, transparent, rgba(0, 232, 255, 0.03), transparent);
}

.why-detail-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.why-card {
  padding: 1.45rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  transition: border-color 0.3s, transform 0.3s;
}

.why-card:hover {
  border-color: rgba(0, 232, 255, 0.4);
  transform: translateY(-4px);
}

.why-card .check {
  margin-bottom: 0.85rem;
}

.check {
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1.5px solid var(--cyan);
  position: relative;
}

.check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid var(--cyan);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.why-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Engagement */
.engage-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.engage-card {
  padding: 1.7rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(400px 180px at 50% 0%, rgba(0, 232, 255, 0.1), transparent 70%),
    var(--bg-panel);
  transition: transform 0.3s, border-color 0.3s;
}

.engage-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 232, 255, 0.45);
}

.engage-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cyan-soft);
  margin-bottom: 0.6rem;
}

.engage-card > p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 1.1rem;
}

.engage-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.engage-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-panel);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(0, 232, 255, 0.4);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* CTA / Contact */
.cta {
  padding-bottom: clamp(5rem, 12vw, 7rem);
}

.cta-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 28px;
  border: 1px solid rgba(0, 232, 255, 0.28);
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(0, 232, 255, 0.16), transparent 65%),
    var(--cta-bg);
  box-shadow: 0 0 60px rgba(0, 232, 255, 0.08);
}

.cta-kicker {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.cta h2 {
  color: var(--cyan);
  text-shadow: 0 0 40px var(--cyan-glow);
  margin-bottom: 0.85rem;
}

.cta-lead {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-form {
  text-align: left;
  margin-bottom: 1.75rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form label span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cyan-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--white);
  font-family: inherit;
  font-size: max(16px, 0.98rem);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7a88;
}

.contact-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%),
    linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

html[dir="rtl"] .contact-form select {
  background-position: 18px calc(50% - 3px), 12px calc(50% - 3px);
}

.contact-form select option {
  background: var(--bg-deep);
  color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 232, 255, 0.15);
}

/* Invisible honeypot — real users never see this */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.bot-check {
  display: grid;
  gap: 0.65rem;
}

.bot-check-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bot-check-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cyan-soft);
}

.bot-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--cyan-soft);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.bot-refresh svg {
  width: 14px;
  height: 14px;
}

.bot-refresh:hover {
  border-color: rgba(0, 232, 255, 0.45);
  background: rgba(0, 232, 255, 0.08);
  color: var(--cyan);
}

.bot-check-hint {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7a88;
}

.puzzle-captcha {
  display: grid;
  gap: 0.7rem;
  -webkit-user-select: none;
  user-select: none;
}

.puzzle-stage {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0a1018;
  /* Must match canvas bitmap 420×160 — mismatched ratio offsets the piece vs slot. */
  aspect-ratio: 420 / 160;
  width: 100%;
  max-width: 100%;
  touch-action: none;
  isolation: isolate;
}

.puzzle-stage canvas#puzzle-bg,
.puzzle-stage canvas#chatbot-puzzle-bg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: fill;
}

.puzzle-stage canvas#puzzle-piece,
.puzzle-stage canvas#chatbot-puzzle-piece {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
  /* No drop-shadow — it draws a second puzzle silhouette and looks like misalignment. */
  filter: none;
  transition: none;
  will-change: left, top, width, height;
}

.puzzle-captcha.is-verified .puzzle-stage {
  border-color: rgba(0, 232, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 232, 255, 0.12);
}

.puzzle-captcha.is-verified #puzzle-piece,
.puzzle-captcha.is-verified #chatbot-puzzle-piece {
  filter: drop-shadow(0 0 10px rgba(0, 232, 255, 0.45));
}

.puzzle-success {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 14, 20, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: var(--cyan-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  pointer-events: none;
}

.puzzle-success[hidden] {
  display: none;
}

.puzzle-slider {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.puzzle-slider-track {
  position: relative;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  cursor: pointer;
}

.puzzle-slider-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(0, 232, 255, 0.1), rgba(0, 232, 255, 0.26));
  pointer-events: none;
}

.puzzle-slider-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 3.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #8a9aab;
  pointer-events: none;
  transition: opacity 0.2s;
  text-align: center;
  line-height: 1.25;
}

.puzzle-slider-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 11px;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: grab;
  color: var(--on-accent);
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan-glow);
  z-index: 2;
  transition: background 0.2s, box-shadow 0.2s;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.puzzle-slider-thumb:hover {
  background: var(--cyan-soft);
}

.puzzle-slider-thumb:active {
  cursor: grabbing;
}

.puzzle-slider-thumb svg {
  width: 18px;
  height: 18px;
}

.puzzle-captcha.is-dragging .puzzle-slider-text {
  opacity: 0.3;
}

.puzzle-captcha.is-verified .puzzle-slider-track {
  border-color: rgba(0, 232, 255, 0.5);
}

.puzzle-captcha.is-verified .puzzle-slider-thumb {
  background: var(--cyan-soft);
  cursor: default;
}

.puzzle-captcha.is-shake {
  animation: slide-shake 0.4s ease;
}

@keyframes slide-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.contact-privacy {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}

.form-note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--cyan-soft);
  min-height: 1.2em;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-weight: 500;
  font-size: 0.98rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.contact-link-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  min-height: 56px;
  max-height: 56px;
  padding: 0;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.icon-inline,
.icon-inline-sm {
  display: block;
}

.icon-inline {
  width: 24px;
  height: 24px;
}

.icon-inline-sm {
  width: 22px;
  height: 22px;
  max-width: 22px;
}

.icon-inline svg,
.icon-inline-sm svg {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-link-icon .contact-icon {
  width: 26px;
  height: 26px;
  max-width: 26px;
  max-height: 26px;
}

.contact-link-icon .contact-icon svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: block;
}

.contact-link-whatsapp .contact-icon {
  color: #25d366;
}

.contact-link-whatsapp:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.contact-link:hover {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 232, 255, 0.15);
  color: var(--cyan-soft);
}

.contact-icon {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

/* Footer */
.site-footer {
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 0.65rem;
  line-height: 0;
}

.footer-brand img {
  height: 88px;
  width: auto;
  display: block;
  border-radius: 12px;
}

.footer-tag {
  color: var(--cyan);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-about {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-grid h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cyan-soft);
  margin-bottom: 0.85rem;
}

.footer-grid li {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--cyan);
}

.footer-contact-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.footer-contact-icons li {
  margin: 0;
  padding: 0;
  width: auto;
  flex: 0 0 auto;
  line-height: 0;
  color: inherit;
}

.footer-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px;
  max-width: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cyan);
  transition: border-color 0.25s, background 0.25s, transform 0.25s, color 0.25s;
}

.footer-social svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0;
  display: block;
}

.footer-social:hover {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  transform: translateY(-2px);
  color: var(--cyan-soft);
}

.footer-social-whatsapp {
  color: #25d366;
}

.footer-social-whatsapp:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 232, 255, 0.1);
  max-width: var(--max);
  margin: 0 auto;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-grid .reveal:nth-child(1) { transition-delay: 0.04s; }
.detail-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.detail-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.detail-grid .reveal:nth-child(4) { transition-delay: 0.22s; }
.detail-grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.detail-grid .reveal:nth-child(6) { transition-delay: 0.34s; }

/* Responsive */
@media (max-width: 1100px) {
  .nav {
    gap: 0.85rem;
  }

  .nav a {
    font-size: 0.85rem;
  }

  .detail-grid,
  .why-detail-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .caps-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .stack-groups,
  .engage-grid,
  .detail-grid-3 {
    grid-template-columns: 1fr;
  }

  .detail-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + var(--safe-top));
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    padding-bottom: calc(1rem + var(--safe-bottom));
    background: var(--header-bg-strong);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    max-height: calc(100vh - var(--header-h) - var(--safe-top));
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-top: 0.35rem;
  }

  .page-404 .nav-404 {
    position: static;
    flex-direction: row;
    width: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .page-404 .nav-404 a {
    width: auto;
    padding: 0.55rem 0.8rem;
  }

  .page-404 .nav-404 .nav-cta {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .why-detail-grid,
  .industry-grid,
  .caps-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .detail-intro {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    display: none;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
    word-break: break-word;
  }

  .contact-link-icon {
    width: 56px;
  }

  .process-timeline li:hover {
    transform: none;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 44px;
  }
}

/* 404 page */
.page-404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-404 .nav-404 {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.page-404 .nav-toggle {
  display: none;
}

.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2.5rem) 1.5rem 3rem;
  text-align: center;
}

.error-inner {
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 18vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-soft) 45%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 60px var(--cyan-glow);
  animation: errorPulse 4s ease-in-out infinite;
}

@keyframes errorPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.error-copy {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin: 0 auto 1.75rem;
}

.error-contact {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.error-links a {
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.error-links a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.error-footer {
  padding-top: 0;
  border-top: 1px solid var(--line);
}

.error-footer .footer-copy {
  margin: 0;
  padding: 1.25rem 1.5rem;
}

@media (max-width: 640px) {
  .page-404 .nav-404 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .rocket,
  .hero-scroll span,
  .glow-a,
  .glow-b,
  .glow-c,
  .hero-logo,
  .error-code,
  .tech-grid,
  .chatbot-launcher-pulse,
  .chatbot-avatar-glow,
  .chatbot-status-dot {
    animation: none;
  }
  .tech-grid {
    background-position: 0 0;
  }
}

/* ============================
   AI CHATBOT WIDGET
   ============================ */
.chatbot {
  position: fixed;
  right: calc(1.35rem + var(--safe-right));
  bottom: calc(1.35rem + var(--safe-bottom) + var(--cookie-stack) + var(--vv-keyboard));
  z-index: 9000;
  font-family: var(--font-body);
  transition: bottom 0.2s ease;
}

.chatbot-launcher {
  position: relative;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--launcher-bg);
  color: var(--cyan);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(0, 232, 255, 0.32), 0 6px 22px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
}

.chatbot-launcher-ring,
.chatbot-launcher-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 232, 255, 0.35);
  pointer-events: none;
}

.chatbot-launcher-pulse {
  inset: -2px;
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(0, 232, 255, 0.45);
  animation: launcherPulse 2.4s ease-out infinite;
}

@keyframes launcherPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 232, 255, 0.4); opacity: 1; }
  70% { box-shadow: 0 0 0 16px rgba(0, 232, 255, 0); opacity: 0; }
  100% { opacity: 0; }
}

.chatbot.open .chatbot-launcher-pulse {
  animation: none;
  opacity: 0;
}

.chatbot-launcher:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 232, 255, 0.45), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.chatbot-launcher:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.chatbot-launcher-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.chatbot-launcher-icon svg {
  width: 32px;
  height: 32px;
}

.chatbot-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.chatbot.open .chatbot-icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.chatbot.open .chatbot-icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.chatbot-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--cyan);
  color: var(--on-accent);
  font-size: 0.74rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 12px rgba(0, 232, 255, 0.6);
}

.chatbot.open .chatbot-badge,
.chatbot.badge-seen .chatbot-badge {
  display: none;
}

.chatbot-window {
  position: absolute;
  right: 0;
  bottom: calc(72px + 1rem);
  width: min(440px, calc(100vw - 1.6rem));
  height: min(720px, calc(100vh - 110px));
  height: min(720px, calc(var(--vv-height, 100dvh) - 110px));
  display: flex;
  flex-direction: column;
  background: var(--chat-bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 232, 255, 0.08),
    0 0 60px rgba(0, 232, 255, 0.1);
  overflow: hidden;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, width 0.28s ease, height 0.28s ease, border-radius 0.28s ease, bottom 0.2s ease;
}

.chatbot.open .chatbot-window {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot.expanded .chatbot-window {
  width: min(720px, calc(100vw - 1.6rem));
  height: min(860px, calc(var(--vv-height, 100dvh) - 100px));
  border-radius: 22px;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background:
    linear-gradient(135deg, rgba(0, 232, 255, 0.16), rgba(0, 232, 255, 0.03) 55%, transparent),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
  border-bottom: 1px solid var(--line);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
}

.chatbot-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 232, 255, 0.12);
  border: 1px solid var(--line);
  color: var(--cyan);
  overflow: hidden;
}

.chatbot-avatar-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, transparent, rgba(0, 232, 255, 0.35), transparent 40%);
  animation: avatarSpin 6s linear infinite;
}

@keyframes avatarSpin {
  to { transform: rotate(360deg); }
}

.chatbot-avatar svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  background: var(--chat-bg);
  border-radius: 10px;
  padding: 2px;
}

.chatbot-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.2;
}

.chatbot-status {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chatbot-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dffb0;
  box-shadow: 0 0 10px rgba(45, 255, 176, 0.7);
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.chatbot-tool,
.chatbot-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}

.chatbot-tool:hover,
.chatbot-close:hover {
  background: rgba(0, 232, 255, 0.1);
  color: var(--cyan);
}

.chatbot-tool svg,
.chatbot-close svg {
  width: 18px;
  height: 18px;
}

.chatbot.expanded #chatbot-expand svg {
  transform: scale(0.92);
}

.chatbot-topics {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem 1rem 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(0, 232, 255, 0.06);
}

.chatbot-topics::-webkit-scrollbar {
  display: none;
}

.chatbot-topics button {
  flex: 0 0 auto;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 232, 255, 0.22);
  background: rgba(0, 232, 255, 0.06);
  color: var(--cyan-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.chatbot-topics button:hover,
.chatbot-topics button.is-active {
  background: rgba(0, 232, 255, 0.18);
  color: var(--white);
  border-color: var(--cyan);
}

.chatbot-topics button:active {
  transform: scale(0.96);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 232, 255, 0.3) transparent;
  background:
    radial-gradient(600px 180px at 10% 0%, rgba(0, 232, 255, 0.05), transparent 60%);
}

.chatbot-msg {
  max-width: 88%;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: break-word;
  animation: chatbot-msg-in 0.28s ease;
  position: relative;
}

.chatbot-msg-meta {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  opacity: 0.65;
}

@keyframes chatbot-msg-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-msg.bot {
  align-self: flex-start;
  background: rgba(0, 232, 255, 0.08);
  border: 1px solid rgba(0, 232, 255, 0.16);
  color: var(--white);
  border-bottom-left-radius: 4px;
}

.chatbot-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0, 232, 255, 0.9), rgba(0, 170, 200, 0.88));
  color: var(--on-accent);
  font-weight: 500;
  border-bottom-right-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 180, 210, 0.2);
}

.chatbot-msg a {
  color: var(--cyan-soft);
  text-decoration: underline;
}

.chatbot-msg.user a {
  color: var(--on-accent);
}

.chatbot-welcome {
  align-self: stretch;
  max-width: 100%;
  padding: 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 232, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(0, 232, 255, 0.1), rgba(0, 232, 255, 0.03));
}

.chatbot-welcome strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.chatbot-welcome p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.chatbot-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.chatbot-caps span {
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 232, 255, 0.12);
  font-size: 0.76rem;
  color: var(--cyan-soft);
  font-weight: 600;
}

:root[data-theme="light"] .chatbot-caps span {
  background: rgba(255, 255, 255, 0.7);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .chatbot-caps span {
    background: rgba(255, 255, 255, 0.7);
  }
}

.chatbot-msg-files {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.chatbot-msg-file {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  padding: 0.4rem 0.55rem;
  border-radius: 9px;
  background: rgba(4, 16, 24, 0.25);
  border: 1px solid rgba(4, 16, 24, 0.2);
}

.chatbot-msg.bot .chatbot-msg-file {
  background: rgba(0, 232, 255, 0.07);
  border-color: rgba(0, 232, 255, 0.18);
}

.chatbot-msg-file svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.chatbot-msg-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
}

.chatbot-msg-file-size {
  flex: 0 0 auto;
  opacity: 0.7;
}

.chatbot-msg-img {
  display: block;
  max-width: 200px;
  max-height: 150px;
  border-radius: 10px;
  margin-top: 0.45rem;
  object-fit: cover;
  border: 1px solid rgba(0, 232, 255, 0.2);
}

.chatbot-typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 0.8rem 1rem;
  background: rgba(0, 232, 255, 0.08);
  border: 1px solid rgba(0, 232, 255, 0.16);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}

.chatbot-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
  animation: chatbot-typing 1.1s infinite;
}

.chatbot-typing span:nth-child(2) { animation-delay: 0.18s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes chatbot-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chatbot-quick {
  display: flex;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  overflow-x: auto;
  border-top: 1px solid rgba(0, 232, 255, 0.08);
  scrollbar-width: none;
}

.chatbot-quick::-webkit-scrollbar {
  display: none;
}

.chatbot-quick:empty {
  display: none;
}

.chatbot-quick button {
  flex: 0 0 auto;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-family: var(--font-body);
  color: var(--cyan-soft);
  background: rgba(0, 232, 255, 0.06);
  border: 1px solid rgba(0, 232, 255, 0.25);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.chatbot-quick button:hover {
  background: rgba(0, 232, 255, 0.16);
  color: var(--white);
}

.chatbot-quick button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chatbot-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.55rem 1rem 0;
  border-top: 1px solid rgba(0, 232, 255, 0.08);
}

.chatbot-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.32rem 0.55rem;
  font-size: 0.76rem;
  color: var(--white);
  background: rgba(0, 232, 255, 0.08);
  border: 1px solid rgba(0, 232, 255, 0.25);
  border-radius: 999px;
}

.chatbot-chip img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

.chatbot-chip svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.chatbot-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.chatbot-chip-remove {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 232, 255, 0.15);
  color: var(--white);
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.chatbot-chip-remove:hover {
  background: rgba(255, 90, 90, 0.5);
}

.chatbot-identity {
  padding: 0.55rem 1rem 0.15rem;
  border-top: none;
  background: transparent;
}

.chatbot-identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 1rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(0, 232, 255, 0.18);
  border-radius: 12px;
  background: rgba(0, 232, 255, 0.05);
  font-size: 0.78rem;
  color: var(--muted);
}

.chatbot-identity[hidden],
.chatbot-identity-bar[hidden],
.chatbot-inquiry-toggle[hidden],
.chatbot-team-panel[hidden],
.chatbot-team-ready[hidden],
.chatbot-human-gate[hidden],
.chatbot-inquiry-note[hidden],
.chatbot-attachments[hidden],
.chatbot-progress[hidden],
.chatbot-identity-error[hidden],
.chatbot-gate-pow[hidden] {
  display: none !important;
}

.chatbot-team-panel {
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding: 0 0 0.15rem;
  overscroll-behavior: contain;
}

.chatbot-identity-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.chatbot-identity-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.chatbot-identity-form {
  display: grid;
  gap: 0.55rem;
}

.chatbot-identity-field {
  display: grid;
  gap: 0.25rem;
}

.chatbot-identity-field span {
  font-size: 0.76rem;
  color: var(--muted);
}

.chatbot-identity-field em {
  font-style: normal;
  opacity: 0.85;
}

.chatbot-identity-field input {
  height: 40px;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: max(16px, 0.86rem);
  outline: none;
}

.chatbot-identity-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 232, 255, 0.12);
}

.chatbot-identity-field input.is-invalid {
  border-color: #ff7a7a;
}

.chatbot-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}

.chatbot-consent input {
  flex: 0 0 auto;
  margin-top: 0.18rem;
  accent-color: var(--cyan);
}

.chatbot-identity-error {
  font-size: 0.78rem;
  color: #ff9a9a;
  line-height: 1.4;
}

.chatbot-identity-submit {
  margin-top: 0.15rem;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 232, 255, 0.9), rgba(0, 180, 210, 0.9));
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.chatbot-identity-submit:hover {
  filter: brightness(1.05);
}

.chatbot-identity-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatbot-identity-label strong {
  color: var(--cyan-soft);
  font-weight: 600;
}

.chatbot-identity-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.35rem;
}

.chatbot-identity-edit {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--cyan-soft);
  font-family: var(--font-body);
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
}

.chatbot-identity-edit:hover {
  background: rgba(0, 232, 255, 0.1);
}

.chatbot-progress {
  padding: 0.55rem 1rem 0;
  border-top: 1px solid rgba(0, 232, 255, 0.08);
}

.chatbot-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 232, 255, 0.12);
  overflow: hidden;
}

.chatbot-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
  transition: width 0.15s ease;
}

.chatbot-progress-text {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.chatbot-inquiry-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 1rem 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chatbot-inquiry-toggle input {
  accent-color: var(--cyan);
}

.chatbot.is-team-handoff .chatbot-inquiry-toggle {
  border-color: rgba(0, 232, 255, 0.28);
  background: rgba(0, 232, 255, 0.06);
  color: var(--text);
}

.chatbot-team-ready {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 0 1rem;
  padding: 0 0.15rem;
}

.chatbot-team-ready-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.chatbot-team-ready-mark {
  width: 1em;
  text-align: center;
  color: var(--muted);
}

.chatbot-team-ready-item.is-done {
  color: var(--cyan-soft);
}

.chatbot-team-ready-item.is-done .chatbot-team-ready-mark {
  color: var(--cyan);
}

.chatbot-team-ready-item.is-warn {
  color: #e8c07a;
}

.chatbot.is-team-handoff .chatbot-identity,
.chatbot.is-team-handoff .chatbot-identity-bar,
.chatbot.is-team-handoff .chatbot-human-gate {
  animation: chatbot-team-reveal 0.28s ease;
}

@keyframes chatbot-team-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chatbot.is-team-handoff .chatbot-identity,
  .chatbot.is-team-handoff .chatbot-identity-bar,
  .chatbot.is-team-handoff .chatbot-human-gate {
    animation: none;
  }
}

.chatbot-human-gate {
  margin: 0 1rem;
  padding: 0.65rem 0.75rem 0.7rem;
  border: 1px solid rgba(0, 232, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(0, 232, 255, 0.07), transparent 55%),
    rgba(8, 14, 22, 0.72);
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.chatbot-human-gate-lead {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
}

.chatbot-human-gate .puzzle-captcha {
  min-width: 0;
  max-width: 100%;
}

.chatbot-human-gate .puzzle-stage {
  aspect-ratio: 420 / 160;
  min-height: 0;
}

.chatbot-human-gate .bot-check-title {
  font-size: 0.82rem;
}

.chatbot-human-gate .bot-check-head {
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chatbot-human-gate .bot-check-hint {
  font-size: 0.72rem;
  line-height: 1.4;
}

/* After pass: collapse bulky puzzle board so the composer stays reachable. */
.chatbot-puzzle.is-verified.is-collapsed .puzzle-stage,
.chatbot-puzzle.is-verified.is-collapsed .puzzle-slider {
  display: none !important;
}

.chatbot-human-gate:has(.chatbot-puzzle.is-collapsed) .chatbot-human-gate-lead,
.chatbot-human-gate:has(.chatbot-puzzle.is-collapsed) .bot-check-hint {
  display: none;
}

.chatbot-human-gate:has(.is-collapsed) {
  padding: 0.55rem 0.7rem;
  gap: 0.25rem;
}

.chatbot-gate-pow {
  margin: 0;
  font-size: 0.74rem;
  color: var(--cyan-soft);
  min-height: 1.1em;
}

.chatbot-gate-pow.is-busy::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.4em;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  vertical-align: -0.05em;
  animation: chatbotGateSpin 0.7s linear infinite;
}

@keyframes chatbotGateSpin {
  to { transform: rotate(360deg); }
}

.chatbot-inquiry-note {
  padding: 0.25rem 1rem 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
}

.chatbot-input-row.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

.chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.8rem;
  border-top: 1px solid var(--line);
  background: var(--chat-input-bg);
}

.chatbot-attach,
.chatbot-send,
.chatbot-mic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 232, 255, 0.06);
  color: var(--cyan);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.15s;
}

.chatbot-attach:hover,
.chatbot-send:hover,
.chatbot-mic:hover {
  background: rgba(0, 232, 255, 0.18);
}

.chatbot-mic.is-listening {
  background: rgba(255, 80, 80, 0.2);
  color: #ff7a7a;
  border-color: rgba(255, 100, 100, 0.45);
  animation: micPulse 1s ease-in-out infinite;
}

@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 100, 100, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(255, 100, 100, 0); }
}

.chatbot-send:active {
  transform: scale(0.92);
}

.chatbot-attach svg,
.chatbot-send svg,
.chatbot-mic svg {
  width: 20px;
  height: 20px;
}

.chatbot-text {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 0.9rem;
  font-family: var(--font-body);
  font-size: max(16px, 0.94rem);
  color: var(--white);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chatbot-text::placeholder {
  color: var(--muted);
}

.chatbot-text:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 232, 255, 0.12);
}

.chatbot-dropzone {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--chat-bg);
  border: 2px dashed var(--cyan);
  border-radius: 20px;
  color: var(--cyan);
  font-weight: 600;
  pointer-events: none;
}

.chatbot-dropzone svg {
  width: 40px;
  height: 40px;
}

.chatbot-window.drag-over .chatbot-dropzone {
  display: flex;
}

@media (max-width: 480px) {
  .chatbot {
    right: calc(0.75rem + var(--safe-right));
    bottom: calc(0.75rem + var(--safe-bottom) + var(--cookie-stack) + var(--vv-keyboard));
    transition: opacity 0.2s, transform 0.2s, bottom 0.2s ease;
  }

  .contact-in-view .chatbot:not(.open) {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .chatbot-launcher {
    width: 64px;
    height: 64px;
  }

  .chatbot-window,
  .chatbot.expanded .chatbot-window {
    position: fixed;
    right: calc(0.5rem + var(--safe-right));
    bottom: calc(0.5rem + var(--safe-bottom) + var(--cookie-stack) + var(--vv-keyboard));
    left: calc(0.5rem + var(--safe-left));
    width: auto;
    height: min(780px, calc(var(--vv-height, 100dvh) - 1rem - var(--cookie-stack)));
    max-height: calc(var(--vv-height, 100dvh) - 1rem - var(--cookie-stack));
    border-radius: 20px;
  }

  .chatbot-caps {
    grid-template-columns: 1fr;
  }

  .chatbot-human-gate {
    margin: 0 0.65rem;
    padding: 0.55rem 0.6rem 0.6rem;
    gap: 0.4rem;
  }

  .chatbot-human-gate .puzzle-stage {
    min-height: 0;
    aspect-ratio: 420 / 160;
  }

  .chatbot-human-gate-lead {
    font-size: 0.7rem;
  }

  .puzzle-slider-track {
    height: 52px;
  }

  .puzzle-slider-thumb {
    width: 46px;
    height: 46px;
    top: 3px;
  }

  .puzzle-slider-text {
    font-size: 0.78rem;
    padding: 0 3.5rem;
  }

  .bot-check .puzzle-stage {
    min-height: 0;
    aspect-ratio: 420 / 160;
  }
}

@media (min-width: 900px) {
  .chatbot.expanded .chatbot-window {
    width: min(780px, calc(100vw - 2.5rem));
    height: min(900px, calc(var(--vv-height, 100dvh) - 90px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .chatbot-window,
  .chatbot-launcher,
  .chatbot-msg,
  .chatbot-launcher-icon {
    transition: none;
    animation: none;
  }

  .chatbot-typing span {
    animation: none;
    opacity: 0.8;
  }
}

@media (forced-colors: active) {
  .glow,
  #stars,
  .hero-scroll {
    display: none;
  }

  .btn,
  .theme-toggle,
  .lang-toggle,
  .nav-toggle,
  .detail-card,
  .faq-item,
  .chatbot-window,
  .chatbot-launcher {
    forced-color-adjust: auto;
    border: 1px solid CanvasText;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #111;
    background: #fff;
    font-size: 11pt;
  }

  *,
  *::before,
  *::after {
    color: #111 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  article,
  details,
  .process-timeline li,
  .cap {
    border-color: #bbb !important;
    break-inside: avoid;
  }

  .site-header,
  .chatbot,
  .hero-scroll,
  #stars,
  .glow,
  .bot-check,
  .contact-form,
  .contact-row {
    display: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  main,
  .site-footer {
    position: static;
    color: #111;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .about,
  .capabilities,
  .services,
  .process,
  .industries,
  .stack,
  .why-us,
  .engagement,
  .faq,
  .cta {
    padding: 1rem 0;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }

  a[href^="#"]::after,
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: "";
  }
}

/* Legal pages (Privacy / Terms) */
.legal-page .legal-main {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h, 4.5rem) + 2.5rem) 1.25rem 4rem;
}

.legal-doc {
  width: min(44rem, 100%);
  margin: 0 auto;
  padding: 0;
}

.legal-eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-doc h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal-meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-doc h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
}

.legal-doc p,
.legal-doc li {
  color: var(--text);
  line-height: 1.65;
}

.legal-doc p {
  margin: 0 0 1rem;
}

.legal-doc ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.legal-doc li + li {
  margin-top: 0.45rem;
}

.legal-doc a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-doc code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--surface) 80%, var(--accent) 8%);
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.legal-page .site-footer {
  position: relative;
  z-index: 1;
}

.contact-privacy a,
.chatbot-consent a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9500;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 9, 13, 0.92);
  background: color-mix(in srgb, var(--bg-deep) 82%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-inner {
  width: min(68rem, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.cookie-banner-copy {
  flex: 1 1 18rem;
  min-width: 0;
}

.cookie-banner-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
}

.cookie-banner-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner-inner a {
  color: var(--cyan-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-banner-actions .btn {
  min-height: 2.45rem;
  padding-inline: 0.95rem;
  font-size: 0.86rem;
}

body.cookie-settings-open {
  overflow: hidden;
}

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: grid;
  place-items: end center;
  padding: 1rem;
  background: rgba(4, 8, 16, 0.62);
  animation: cookie-overlay-in 0.22s ease;
}

.cookie-settings-panel {
  width: min(30rem, 100%);
  margin-bottom: env(safe-area-inset-bottom, 0px);
  padding: 1.35rem 1.4rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg-panel);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: cookie-panel-in 0.28s ease;
}

.cookie-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.cookie-settings-eyebrow {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.cookie-settings-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.cookie-settings-close {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cookie-settings-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.cookie-settings-lead {
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-pref-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.cookie-pref {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--bg-deep) 55%, var(--bg-panel));
}

.cookie-pref-essential {
  border-color: color-mix(in srgb, var(--cyan) 35%, var(--line));
  background: color-mix(in srgb, var(--cyan-dim) 55%, var(--bg-panel));
}

.cookie-pref-copy {
  min-width: 0;
}

.cookie-pref-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin-bottom: 0.3rem;
}

.cookie-pref strong {
  font-size: 0.95rem;
  color: var(--white);
}

.cookie-pref-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, var(--line));
  background: var(--cyan-dim);
  color: var(--cyan-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cookie-pref-badge-muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.cookie-pref p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cookie-pref-state {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.cookie-switch {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.1rem;
  cursor: pointer;
  user-select: none;
}

.cookie-switch.is-locked {
  cursor: not-allowed;
  opacity: 0.85;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cookie-switch-track {
  position: relative;
  width: 2.55rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.cookie-switch-thumb {
  position: absolute;
  top: 50%;
  left: 0.16rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--muted);
  transform: translateY(-50%);
  transition: transform 0.2s, background 0.2s;
}

.cookie-switch input:checked + .cookie-switch-track {
  border-color: color-mix(in srgb, var(--cyan) 50%, var(--line));
  background: var(--cyan-dim);
}

.cookie-switch input:checked + .cookie-switch-track .cookie-switch-thumb {
  transform: translate(1.05rem, -50%);
  background: var(--cyan);
}

.cookie-switch input:focus-visible + .cookie-switch-track {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.cookie-switch-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 1.6rem;
}

.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.cookie-settings-actions a {
  color: var(--cyan-soft);
  font-size: 0.88rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.cookie-settings-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-left: auto;
}

.cookie-settings-actions .btn {
  min-height: 2.45rem;
  padding-inline: 1rem;
  font-size: 0.86rem;
}

@keyframes cookie-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cookie-panel-in {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  body.cookie-banner-visible .chatbot {
    bottom: calc(1.35rem + 11.5rem);
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 calc(50% - 0.35rem);
  }

  .cookie-banner-actions .btn[data-cookie-accept-all] {
    flex: 1 1 100%;
  }

  .cookie-settings {
    place-items: end stretch;
    padding: 0;
  }

  .cookie-settings-panel {
    width: 100%;
    border-radius: 1.1rem 1.1rem 0 0;
    margin-bottom: 0;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .cookie-settings-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-settings-buttons {
    margin-left: 0;
    width: 100%;
  }

  .cookie-settings-buttons .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-settings,
  .cookie-settings-panel,
  .cookie-switch-track,
  .cookie-switch-thumb {
    animation: none;
    transition: none;
  }

  .cookie-banner {
    transform: none;
    opacity: 1;
  }

  .cookie-banner,
  .cookie-settings-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Touch / coarse-pointer: avoid sticky :hover transforms after tap. */
@media (hover: none) {
  .btn:hover,
  .nav-cta:hover,
  .metric-card:hover,
  .highlight-card:hover,
  .about-points article:hover,
  .detail-card:hover,
  .process-timeline li:hover,
  .industry:hover,
  .why-card:hover,
  .engage-card:hover,
  .chatbot-launcher:hover,
  .chatbot-mic:hover,
  .chatbot-identity-submit:hover,
  .contact-link:hover,
  .footer-social:hover {
    transform: none;
  }
}

:root[data-theme="light"] .cookie-banner {
  background: rgba(248, 250, 252, 0.94);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .cookie-banner {
    background: rgba(248, 250, 252, 0.94);
  }
}
