:root {
  /* Colatechs brand: navy #0a121e + royal blue #60a5fa (from logo) */
  --bg: #0a121e;
  --bg-2: #0d1626;
  --bg-3: #111c30;
  --surface: #15213a;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f0f4ff;
  --text-2: #a8b4cc;
  --text-3: #6b7a96;
  --brand: #60a5fa;
  --brand-2: #93c5fd;
  --brand-grad: linear-gradient(135deg, #60a5fa, #93c5fd);
  --nav-h: 68px;
}
.light {
  --bg: #f8faff;
  --bg-2: #eef3ff;
  --bg-3: #e4ecff;
  --surface: #fff;
  --line: rgba(96, 165, 250, 0.1);
  --line-2: rgba(96, 165, 250, 0.2);
  --text: #0f0f1a;
  --text-2: #3d3d5c;
  --text-3: #7878a0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  background: var(--bg);
}
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
/* RESPONSIVE GUARD: decorative glows (.glow) must never widen the page.
   Without this, phones render the layout ~200px wider than the screen and
   push the menu buttons off-screen. `clip` keeps position:sticky/fixed intact. */
html {
  overflow-x: hidden;
}
#page {
  overflow-x: hidden;
  overflow-x: clip;
}
img,
video,
svg {
  max-width: 100%;
}
@media (max-width: 767px) {
  .glow-blue,
  .glow-sky {
    width: 300px;
    height: 300px;
  }
}
a {
  text-decoration: none;
  color: inherit;
}
.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--brand-grad);
}
.sec-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.sec-lead {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 560px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-blue {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.22),
    transparent 70%
  );
}
.glow-sky {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.18),
    transparent 70%
  );
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: 0.3s;
}
.tile:hover {
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}
.btn-cta {
  background: var(--brand-grad);
  border: none;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  border-radius: 12px;
  transition: 0.25s;
  cursor: pointer;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
  color: #fff;
}
.btn-line {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  border-radius: 12px;
  transition: 0.25s;
  cursor: pointer;
}
.btn-line:hover {
  border-color: var(--brand);
  background: rgba(96, 165, 250, 0.08);
  color: var(--text);
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s, transform 0.65s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.sec {
  padding: 90px 0;
}
/* NAVBAR */
#topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  height: var(--nav-h);
  background: rgba(10, 18, 30, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.light #topbar {
  background: #edf3ff;
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}
#topbar.scrolled {
  background: #0a121e;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}
.light #topbar.scrolled {
  background: #e6efff;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
}
/* Colatechs wordmark (white on transparent); darkened in light mode */
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}
.light .brand-logo {
  filter: invert(1) hue-rotate(180deg);
}
.nav-link {
  color: var(--text-2) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: 0.2s !important;
}
.nav-link:hover {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.light .nav-link:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}
#mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 1049;
  background: rgba(10, 18, 30, 0.98);
  backdrop-filter: blur(20px);
  padding: 14px 20px 20px;
  border-bottom: 1px solid var(--line);
  display: none;
}
.light #mobile-nav {
  background: rgba(248, 250, 255, 0.98);
}
#mobile-nav.open {
  display: block;
}
/* HERO CAROUSEL (premium split layout: caption + interactive media panel) */
#hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 700px at 80% 40%, #12224a 0%, #0a121e 60%);
  color: #fff;
}
.hc-gridbg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%);
}
#heroCarousel {
  position: relative;
  z-index: 1;
}
#heroCarousel .carousel-item {
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  max-height: 1000px;
}
#heroCarousel.carousel-fade .carousel-item {
  transition: opacity 0.9s ease-in-out;
}
/* full-screen background photo per slide (behind caption + media panel) */
#heroCarousel .carousel-item {
  overflow: hidden;
}
.hc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  z-index: 0;
}
.carousel-item.active .hc-bg {
  animation: kenburns 10s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1) translate3d(-1%, -1%, 0); }
}
.hc-bgov {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 30, 0.93) 0%, rgba(10, 18, 30, 0.8) 38%, rgba(10, 18, 30, 0.45) 68%, rgba(10, 18, 30, 0.55) 100%),
    linear-gradient(0deg, rgba(10, 18, 30, 0.95) 0%, rgba(10, 18, 30, 0) 30%),
    linear-gradient(180deg, rgba(10, 18, 30, 0.6) 0%, rgba(10, 18, 30, 0) 18%);
}
#heroCarousel .carousel-item > .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 991px) {
  .hc-bgov {
    background:
      linear-gradient(180deg, rgba(10, 18, 30, 0.7) 0%, rgba(10, 18, 30, 0.82) 45%, rgba(10, 18, 30, 0.95) 100%);
  }
}
.hc-row {
  padding-top: var(--nav-h);
  padding-bottom: 96px;
}
.hc-cap {
  position: relative;
  z-index: 2;
}
.hc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  border-radius: 100px;
  background: rgba(96, 165, 250, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.4);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #cfe0ff;
  margin-bottom: 20px;
}
.hc-title {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
}
.hc-gt {
  background: linear-gradient(135deg, #93c5fd, #a5c8ff 60%, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hc-sub {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  color: rgba(226, 234, 255, 0.82);
  max-width: 520px;
  margin-bottom: 32px;
}
.hc-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hc-ctas .btn-cta {
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.45);
}
.hc-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-weight: 500;
  transition: 0.25s;
}
.hc-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}
.hc-ghost i {
  color: #93c5fd;
}
/* media panel */
.hc-media {
  position: relative;
  height: min(66vh, 640px);
  aspect-ratio: 4 / 5;
  max-width: 100%;
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 30%;
  --px: 0px;
  --py: 0px;
}
.hc-media::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 30px;
  background: linear-gradient(140deg, rgba(96, 165, 250, 0.9), rgba(96, 165, 250, 0.15) 40%, rgba(255, 255, 255, 0.05) 60%, rgba(96, 165, 250, 0.7));
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s ease-out;
}
.hc-media::after {
  content: "";
  position: absolute;
  inset: 8% 6% -6%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(96, 165, 250, 0.55), transparent);
  filter: blur(40px);
}
.hc-tilt {
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  overflow: hidden;
  background: #0d1626;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.hc-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes hczoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hc-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.22), transparent 45%);
  mix-blend-mode: soft-light;
}
.hc-live {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(10, 18, 30, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}
.hc-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: hcblink 1.2s infinite;
}
@keyframes hcblink {
  50% { opacity: 0.25; }
}
/* floating glass chips (float animation + mouse parallax via `translate`) */
.hc-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(13, 22, 38, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color: #fff;
  white-space: nowrap;
  transition: translate 0.25s ease-out;
}
.hc-chip b {
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
}
.hc-chip small {
  display: block;
  font-size: 0.72rem;
  color: rgba(207, 224, 255, 0.75);
}
.hc-chip-i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(96, 165, 250, 0.45);
}
.hc-chip-a {
  top: 13%;
  left: -56px;
  translate: calc(var(--px) * -1.4) calc(var(--py) * -1.4);
  animation: hcfloat 6s ease-in-out infinite;
}
.hc-chip-b {
  bottom: 12%;
  right: -40px;
  translate: calc(var(--px) * 1.6) calc(var(--py) * 1.6);
  animation: hcfloat 6s ease-in-out -3s infinite;
}
@keyframes hcfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
/* ===== Live product-UI demos (chat, training, cloud, genAI) ===== */
.hc-tilt {
  container-type: size;
}
.ui-app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #0b1424;
  color: #e2e8f0;
  font-family: "Space Grotesk", sans-serif;
  font-size: max(2.5cqw, 8px);
  line-height: 1.4;
  text-align: left;
}
.ui-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.9em 1.1em;
  background: #0f1a2e;
  border-bottom: 1px solid #1e2b45;
}
.ui-av {
  width: 2.6em;
  height: 2.6em;
  border-radius: 0.8em;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1em;
  flex-shrink: 0;
}
.ui-ttl {
  font-weight: 700;
  font-size: 1.05em;
  color: #fff;
  line-height: 1.2;
}
.ui-sub {
  font-size: 0.75em;
  color: #8fa3c7;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.ui-dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
  animation: hcblink 1.4s infinite;
}
.ui-sub .ui-dot {
  color: #22c55e;
}
.ui-pill {
  margin-left: auto;
  font-size: 0.72em;
  font-weight: 600;
  padding: 0.35em 0.85em;
  border-radius: 2em;
  border: 1px solid #475569;
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  transition: 0.3s;
}
.ui-pill.ok {
  color: #86efac;
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
}
.ui-pill.run {
  color: #93c5fd;
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.14);
}
.ui-body {
  flex: 1;
  min-height: 0;
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  overflow: hidden;
}
.ui-card {
  background: #0f1a2e;
  border: 1px solid #1e2b45;
  border-radius: 0.9em;
  padding: 0.75em 0.9em;
}
.ui-card-h {
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7a96;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.ui-card-h .lg {
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #8fa3c7;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.ui-card-h .lg i {
  display: inline-block;
  width: 0.9em;
  height: 0.25em;
  border-radius: 1em;
}
.ui-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5em;
}
.ui-stats > div {
  background: #0f1a2e;
  border: 1px solid #1e2b45;
  border-radius: 0.75em;
  padding: 0.55em 0.65em;
}
.ui-stats small {
  display: block;
  font-size: 0.62em;
  color: #6b7a96;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ui-stats b {
  font-size: 1.05em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ui-chart svg {
  width: 100%;
  height: 7.5em;
  display: block;
}
.ui-train .ui-chart svg {
  height: 12em;
}
.ui-cloud .ui-chart svg {
  height: 9.5em;
}
.ui-chat .day {
  align-self: center;
  font-size: 0.66em;
  color: #64748b;
  padding: 0.2em 0.9em;
  border-radius: 2em;
  background: #0f1a2e;
}
.ui-con {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68em;
  background: #070d18;
  border: 1px solid #1e2b45;
  border-radius: 0.9em;
  padding: 0.8em 1em;
  min-height: 7.6em;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25em;
  color: #94a3b8;
  overflow: hidden;
}
.ui-con div {
  white-space: nowrap;
  animation: uiIn 0.3s ease both;
}
.ui-con .ok {
  color: #86efac;
}
.ui-con .warn {
  color: #fbbf24;
}
.ui-con .info {
  color: #93c5fd;
}
.ui-caret {
  display: inline-block;
  width: 0.08em;
  min-width: 1.5px;
  height: 1.05em;
  background: #93c5fd;
  vertical-align: -0.15em;
  margin-left: 1px;
  animation: hcblink 0.9s step-end infinite;
}
@keyframes uiIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
/* chat */
.ui-msgs {
  justify-content: flex-end;
  gap: 0.6em;
}
.ui-chat .m {
  max-width: 82%;
  padding: 0.65em 0.9em;
  border-radius: 1em;
  font-size: 0.86em;
  animation: uiIn 0.3s ease both;
}
.ui-chat .m.user {
  align-self: flex-end;
  background: var(--brand-grad);
  color: #fff;
  border-bottom-right-radius: 0.3em;
}
.ui-chat .m.bot {
  align-self: flex-start;
  background: #15213a;
  border: 1px solid #1e2b45;
  border-bottom-left-radius: 0.3em;
}
.ui-chat .m.typing {
  display: flex;
  gap: 0.3em;
  padding: 0.8em 1em;
}
.ui-chat .m.typing span {
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: #93c5fd;
  animation: dotBounce 0.9s infinite;
}
.ui-chat .m.typing span:nth-child(2) { animation-delay: 0.15s; }
.ui-chat .m.typing span:nth-child(3) { animation-delay: 0.3s; }
.ui-chat .m.tool {
  align-self: flex-start;
  font-size: 0.72em;
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.1);
  border: 1px dashed rgba(96, 165, 250, 0.45);
  border-radius: 2em;
  padding: 0.35em 0.9em;
}
.ui-chat .m.tool.done {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
}
.ui-chat .qr {
  display: flex;
  gap: 0.5em;
  animation: uiIn 0.3s ease both;
}
.ui-chat .qr span {
  font-size: 0.75em;
  padding: 0.4em 0.9em;
  border-radius: 2em;
  border: 1px solid #60a5fa;
  color: #93c5fd;
}
.ui-input {
  flex: 0 0 auto;
  margin: 0 1em 1em;
  display: flex;
  align-items: center;
  gap: 0.2em;
  padding: 0.6em 0.6em 0.6em 1em;
  border-radius: 2em;
  background: #0f1a2e;
  border: 1px solid #1e2b45;
  font-size: 0.86em;
  min-height: 3em;
}
.ui-ph {
  color: #475569;
}
.ui-inp-text:not(:empty) ~ .ui-ph {
  display: none;
}
.ui-input .ui-caret {
  display: none;
}
.ui-inp-text:not(:empty) + .ui-caret {
  display: inline-block;
}
.ui-send {
  margin-left: auto;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
}
/* training */
.ui-deploy {
  font-size: 0.78em;
  padding: 0.7em 0.9em;
  border-radius: 0.8em;
  border: 1px dashed #334155;
  color: #64748b;
}
.ui-deploy.run {
  color: #93c5fd;
  border-color: #60a5fa;
}
.ui-deploy.ok {
  color: #86efac;
  border: 1px solid #22c55e;
  background: rgba(34, 197, 94, 0.1);
}
/* cloud */
.ui-pipe {
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.ui-pipe > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  font-size: 0.78em;
  font-weight: 600;
  padding: 0.55em 0.4em;
  border-radius: 0.7em;
  border: 1px solid #1e2b45;
  background: #0f1a2e;
  color: #64748b;
  transition: 0.3s;
}
.ui-pipe > div.run {
  color: #93c5fd;
  border-color: #60a5fa;
}
.ui-pipe > div.ok {
  color: #86efac;
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}
.ui-arrow {
  width: 0.9em;
  height: 2px;
  background: #334155;
  flex-shrink: 0;
}
.ui-servers {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.78em;
  color: #8fa3c7;
  min-height: 2.2em;
}
.ui-servers .srv {
  width: 2.2em;
  height: 2.2em;
  border-radius: 0.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 165, 250, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #93c5fd;
  animation: uiPop 0.35s ease both;
}
@keyframes uiPop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: none; }
}
/* genAI */
.ui-prompt .gp {
  font-size: 0.86em;
  color: #fff;
  min-height: 2.8em;
}
.ui-prompt .gp .ui-caret {
  display: none;
}
.ui-prompt.typing .gp .ui-caret {
  display: inline-block;
}
.gp-row {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 0.4em;
}
.gp-chip {
  font-size: 0.66em;
  padding: 0.3em 0.7em;
  border-radius: 2em;
  background: #15213a;
  color: #8fa3c7;
}
.gp-btn {
  margin-left: auto;
  font-size: 0.75em;
  font-weight: 600;
  padding: 0.5em 1em;
  border-radius: 0.6em;
  background: var(--brand-grad);
  color: #fff;
  transition: 0.2s;
}
.gp-btn.busy {
  opacity: 0.75;
  transform: scale(0.96);
}
.ui-out {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ui-out .go {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  font-size: 0.8em;
  line-height: 1.5;
  white-space: pre-wrap;
  color: #e2e8f0;
}
.ui-out .go .ui-caret {
  display: none;
}
.ui-out.streaming .go .ui-caret {
  display: inline-block;
}
.ui-actions {
  display: flex;
  gap: 0.5em;
}
.ui-actions span {
  font-size: 0.7em;
  padding: 0.45em 0.9em;
  border-radius: 0.6em;
  border: 1px solid #1e2b45;
  color: #8fa3c7;
  background: #0f1a2e;
}
.hc-media:has(.ui-app) .hc-chip {
  display: none;
}
/* voice agent call */
.vc {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.6em 0.8em;
  border-radius: 1em;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.16), rgba(15, 26, 46, 0.9));
  border: 1px solid #1e2b45;
}
.vp {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 6.6em;
  flex-shrink: 0;
  text-align: center;
}
.vp b {
  font-size: 0.76em;
  color: #fff;
  margin-top: 0.5em;
  white-space: nowrap;
}
.vp small {
  font-size: 0.62em;
  color: #8fa3c7;
}
.va {
  position: relative;
  width: 4.4em;
  height: 4.4em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1em;
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
}
.vp.ai .va {
  background: var(--brand-grad);
}
.va::after {
  content: "";
  position: absolute;
  inset: -0.35em;
  border-radius: 50%;
  border: 2px solid transparent;
}
.vp.talk .va::after {
  border-color: currentColor;
  animation: vring 1s ease-out infinite;
}
.vp.cust.talk {
  color: #2dd4bf;
}
.vp.ai.talk {
  color: #93c5fd;
}
@keyframes vring {
  from { transform: scale(0.95); opacity: 1; }
  to { transform: scale(1.35); opacity: 0; }
}
.vmid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
.vw {
  display: flex;
  align-items: center;
  gap: 0.18em;
  height: 4.6em;
  width: 100%;
}
.vw span {
  flex: 1;
  height: 100%;
  border-radius: 1em;
  background: #334155;
  transform: scaleY(0.12);
  transition: background 0.3s;
}
.vc.c-talk .vw span,
.vc.a-talk .vw span {
  animation: vwave var(--d, 0.6s) ease-in-out infinite alternate;
}
.vc.c-talk .vw span {
  background: #2dd4bf;
}
.vc.a-talk .vw span {
  background: #93c5fd;
}
@keyframes vwave {
  from { transform: scaleY(0.12); }
  to { transform: scaleY(var(--h, 0.8)); }
}
.vs {
  font-size: 0.68em;
  color: #8fa3c7;
}
.vt {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.vt-lines {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55em;
  overflow: hidden;
}
.vl {
  font-size: 0.88em;
  line-height: 1.45;
  animation: uiIn 0.3s ease both;
}
.vl b {
  display: block;
  font-size: 0.78em;
  letter-spacing: 0.04em;
}
.vl.c b {
  color: #2dd4bf;
}
.vl.a b {
  color: #93c5fd;
}
.vl.tool {
  font-size: 0.7em;
  align-self: flex-start;
  color: #93c5fd;
  border: 1px dashed rgba(96, 165, 250, 0.45);
  background: rgba(96, 165, 250, 0.1);
  border-radius: 2em;
  padding: 0.3em 0.9em;
}
.vl.tool.done {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
}
.vo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  min-height: 2em;
}
.vo span {
  font-size: 0.68em;
  font-weight: 600;
  padding: 0.4em 0.85em;
  border-radius: 2em;
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
  animation: uiPop 0.35s ease both;
}
.vctl {
  display: flex;
  justify-content: center;
  gap: 0.8em;
}
.vctl span {
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  color: #cbd5e1;
  background: #15213a;
  border: 1px solid #1e2b45;
}
.vctl span.end {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
/* animated n8n-style workflow (inline SVG) */
.hc-tilt svg.wf {
  width: 100%;
  height: 100%;
  display: block;
  font-family: "Space Grotesk", sans-serif;
}
svg.wf .wf-ic {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
svg.wf .wf-ic.wf-b {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}
.wf-node {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.wf-node:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.7));
}
.hc-media:has(svg.wf) .hc-chip-a {
  top: 58%;
}
.hc-media:has(svg.wf) .hc-chip-b {
  top: auto;
  bottom: -50px;
  right: 24px;
}
/* video slides have their own HUD baked in (top-left / bottom) — keep chips clear of it */
.hc-media:has(video) .hc-chip-a {
  top: 46%;
}
.hc-media:has(video) .hc-chip-b {
  top: 24%;
  bottom: auto;
}
/* staggered caption entrance on each slide */
.hc-anim {
  opacity: 0;
}
.carousel-item.active .hc-anim {
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both;
}
/* controls */
.hc-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 5;
}
.hc-ind.carousel-indicators {
  position: static;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
}
.hc-ind.carousel-indicators [data-bs-target] {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  text-indent: 0;
  background: none;
  border: 0;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  /* invisible touch area: bars stay 3px but are easy to tap on phones */
  padding: 16px 2px 0;
  margin-top: -16px;
}
@media (max-width: 991px) {
  .hc-ind.carousel-indicators [data-bs-target] {
    padding: 18px 3px;
    margin: -18px 0;
  }
}
@media (max-width: 400px) {
  .hc-ind.carousel-indicators {
    gap: 4px !important;
  }
  .hc-ind.carousel-indicators [data-bs-target] {
    padding: 18px 2px;
  }
  .hc-bar {
    width: 22px !important;
  }
  .hc-count {
    font-size: 0.78rem;
    margin-right: 0;
  }
  .hc-count b {
    font-size: 1rem;
  }
}
.hc-bar {
  position: relative;
  display: block;
  width: 84px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.hc-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  border-radius: 3px;
}
.hc-ind .active .hc-bar::after {
  animation: hcprog var(--dur, 6.5s) linear forwards;
}
.hc-paused .hc-ind .active .hc-bar::after {
  animation-play-state: paused;
}
.hc-ind .active .hc-bar.hc-reset::after {
  animation: none;
}
@keyframes hcprog {
  to { width: 100%; }
}
.hc-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  white-space: nowrap;
}
.hc-lbl i {
  font-size: 0.6rem;
  margin-right: 4px;
  color: #ef4444;
}
.hc-ind .active .hc-lbl,
.hc-ind [data-bs-target]:hover .hc-lbl {
  color: #fff;
}
.hc-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hc-count {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 8px;
  letter-spacing: 0.06em;
}
.hc-count b {
  color: #fff;
  font-size: 1.15rem;
}
.hc-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}
.hc-arrow:hover {
  background: var(--brand-grad);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.5);
  transform: translateY(-2px);
}
@media (max-width: 1199px) {
  .hc-bar {
    width: 62px;
  }
  .hc-chip-a {
    left: -24px;
  }
  .hc-chip-b {
    right: -16px;
  }
}
@media (max-width: 991px) {
  #heroCarousel .carousel-item {
    max-height: none;
    min-height: 100svh;
    height: auto;
  }
  .hc-row {
    padding-top: calc(var(--nav-h) + 18px);
    padding-bottom: 92px;
    row-gap: 26px;
  }
  .hc-media {
    height: auto;
    width: 100%;
    aspect-ratio: 16 / 11;
    max-height: 40svh;
  }
  .hc-chip {
    padding: 8px 12px 8px 8px;
  }
  .hc-chip-i {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .hc-chip-a {
    top: 10px;
    left: 10px;
  }
  .hc-chip-b,
  .hc-media:has(video) .hc-chip,
  .hc-media:has(svg.wf) .hc-chip {
    display: none;
  }
  .hc-media:has(svg.wf),
  .hc-media:has(.ui-app) {
    aspect-ratio: 4 / 5;
    height: min(46svh, 440px);
    max-height: none;
    width: auto;
  }
  .hc-lbl {
    display: none;
  }
  .hc-bar {
    width: 34px;
  }
  .hc-ind.carousel-indicators {
    gap: 8px;
  }
  .hc-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }
  .hc-sub {
    margin-bottom: 22px;
  }
}
/* short phones (e.g. 360x640, landscape): smaller panel so headline + buttons show sooner */
@media (max-width: 991px) and (max-height: 720px) {
  .hc-media {
    max-height: 34svh;
  }
  .hc-media:has(svg.wf),
  .hc-media:has(.ui-app) {
    height: max(34svh, 230px);
  }
  .hc-row {
    row-gap: 16px;
    padding-top: calc(var(--nav-h) + 12px);
    padding-bottom: 104px;
  }
  .hc-badge {
    margin-bottom: 12px;
  }
  .hc-title {
    font-size: clamp(1.6rem, 6.4vw, 2.2rem);
    margin-bottom: 10px;
  }
  .hc-sub {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }
}
@media (max-width: 575px) {
  .hc-nav .hc-arrow {
    display: none;
  }
  .hc-bar {
    width: 26px;
  }
  .hc-ctas .btn {
    padding: 12px 18px !important;
    font-size: 0.9rem !important;
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  border-radius: 100px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b9cff;
  margin-bottom: 22px;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}
.h1 {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
/* PROOF */
#facts {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.fact-num {
  font-size: 1.9rem;
  font-weight: 700;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.fact-label {
  font-size: 0.77rem;
  color: var(--text-3);
  margin-top: 3px;
}
/* FEATURES */
.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
/* PRODUCT PREVIEW */
.gpu {
  background: #60a5fa;
  box-shadow: 0 0 6px #60a5fa;
}
/* HOW */
.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.35);
}
/* PRICING */
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  transition: 0.3s;
  position: relative;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.plan.plan-featured {
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.06),
    rgba(96, 165, 250, 0.03)
  );
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.12);
}
.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-grad);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 0.875rem;
}
.plan-tick {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: #34d399;
  margin-top: 1px;
}
/* FAQ */
.faq .accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq .accordion-button {
  background: var(--surface);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: none;
  border-radius: 18px !important;
  padding: 18px 22px;
}
.faq .accordion-button:not(.collapsed) {
  background: rgba(96, 165, 250, 0.06);
  color: #6b9cff;
}
.faq .accordion-button::after {
  filter: invert(1) hue-rotate(220deg);
}
.light .faq .accordion-button::after {
  filter: none;
}
.faq .accordion-body {
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.7;
  padding: 0 22px 18px;
}
/* FOOTER */
#site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 60%);
  padding: 64px 0 0;
}
#site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent);
}
.fglow {
  position: absolute;
  top: -160px;
  left: 50%;
  width: 760px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(96, 165, 250, 0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.fcontact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
}
.fcontact .fmail {
  margin-top: 0;
}
.fmail {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: 0.2s;
}
.fmail:hover {
  color: var(--brand-2);
}
.ftagline {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}
.fmain {
  padding-bottom: 48px;
}
.foot-col h5 {
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
}
.foot-col a {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 5px 0;
  transition: 0.25s;
}
.foot-col a::before {
  content: "";
  width: 0;
  height: 1.5px;
  background: var(--brand-grad);
  transition: 0.25s;
}
.foot-col a:hover {
  color: var(--text);
  gap: 8px;
}
.foot-col a:hover::before {
  width: 12px;
}
.fbottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 70px 26px 0; /* right space keeps links clear of the back-to-top button */
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-3);
}
.fbottom strong {
  color: var(--text);
  font-weight: 600;
}
.flegal {
  display: flex;
  align-items: center;
  gap: 10px;
}
.flegal a {
  color: var(--text-3);
  transition: 0.2s;
}
.flegal a:hover {
  color: var(--brand-2);
}
@media (max-width: 767px) {
  .fbottom {
    justify-content: center;
    text-align: center;
    padding: 22px 0 84px;
  }
}
/* SKY-BLUE THEME: dark text on light-blue fills (white would be hard to read) */
:root {
  --on-brand: #08111f;
}
.btn-cta,
.btn-cta:hover,
.plan-badge,
.step-num,
.ui-chat .m.user {
  color: var(--on-brand) !important;
}
.btn-cta {
  font-weight: 700;
}
.icon-box,
.hc-chip-i,
.ui-av,
.sol-badge,
.ui-send,
.gp-btn {
  color: var(--on-brand) !important;
}
/* Light mode: light blue on white is too faint, so use a deeper blue there */
.light {
  --brand: #2563eb;
  --brand-2: #2563eb;
  --brand-grad: linear-gradient(135deg, #1d4ed8, #2563eb);
  --on-brand: #ffffff;
}
/* HOMEPAGE SECTIONS (generated from _build/templates/_home.html) */
.chal-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.svc-card:hover {
  color: var(--text);
}
.svc-card p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
}
.svc-more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-more i {
  transition: transform 0.2s;
}
.svc-card:hover .svc-more i {
  transform: translateX(4px);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.tech {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.25s;
}
.tech i {
  width: 22px;
  text-align: center;
  font-size: 1.15rem;
  color: var(--brand-2);
  flex: 0 0 22px;
}
.tech-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.tech-copy b {
  font-size: 0.92rem;
  line-height: 1.2;
}
.tech-copy small {
  color: var(--text-2);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.25;
}
.tech:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-2px);
}
/* WHATSAPP FLOATING BUTTON (above the back-to-top button) */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1045;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.2s ease-out infinite;
}
.wa-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6);
}
.wa-tip {
  position: absolute;
  right: 66px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: 0.2s;
}
.wa-float:hover .wa-tip,
.wa-float:focus-visible .wa-tip {
  opacity: 1;
  transform: none;
}
@keyframes waPulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 575px) {
  .wa-float { width: 52px; height: 52px; font-size: 1.7rem; right: 16px; bottom: 18px; }
  .wa-tip { display: none; }
}
/* ACTIVE NAV LINK */
.nav-link.active {
  color: var(--text) !important;
  background: rgba(96, 165, 250, 0.14) !important;
}
/* CARD SPOTLIGHT (follows mouse) */
.tile {
  background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(96, 165, 250, 0.1), transparent 45%), var(--surface);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.social {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: 0.2s;
  font-size: 0.88rem;
}
.social:hover {
  border-color: transparent;
  background: var(--brand-grad);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(96, 165, 250, 0.35);
}
/* KEYFRAMES */
@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 6px var(--brand);
  }
  50% {
    box-shadow: 0 0 14px var(--brand);
  }
}
@keyframes dotBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-5px);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s, transform 0.65s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 575px) {
  .h1 {
    font-size: 2.2rem;
  }
  .sec-title {
    font-size: 1.8rem;
  }
}

/* ROAMING LIVE AGENT (Homepage only — slow realistic walking Codex-style bot) */
.ct-agent-wrap {
  position: fixed;
  z-index: 1050;
  width: 62px;
  height: 70px;
  pointer-events: none;
  will-change: left, top;
}
.ct-agent-bot {
  pointer-events: auto;
  position: relative;
  width: 62px;
  height: 70px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.35));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.ct-agent-wrap.dragging .ct-agent-bot {
  cursor: grabbing;
  transform: scale(1.1);
  filter: drop-shadow(0 18px 28px rgba(56, 189, 248, 0.55));
}
.ct-agent-bot:hover {
  transform: scale(1.07);
  filter: drop-shadow(0 14px 24px rgba(56, 189, 248, 0.5));
}
.ct-codex-svg {
  width: 60px;
  height: 68px;
  overflow: visible;
  transition: transform 0.35s ease;
}
.ct-agent-wrap.face-left .ct-codex-svg {
  transform: scaleX(-1);
}
.ct-codex-svg .bot-shadow {
  transform-box: fill-box;
  transform-origin: center;
}
.ct-codex-svg .bot-torso-grp {
  transform-box: fill-box;
  transform-origin: center bottom;
}
.ct-codex-svg .bot-leg-l,
.ct-codex-svg .bot-leg-r {
  transform-box: fill-box;
  transform-origin: 50% 0%;
}
.ct-codex-svg .bot-arm-l,
.ct-codex-svg .bot-arm-r {
  transform-box: fill-box;
  transform-origin: 50% 10%;
}
.ct-codex-svg .bot-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: botBlink 4.6s ease-in-out infinite;
}
.ct-codex-svg .bot-antenna-tip {
  animation: botPulse 2s ease-in-out infinite;
}
.ct-agent-wrap.walking .ct-codex-svg .bot-torso-grp {
  animation: botStrideBob 0.55s ease-in-out infinite alternate;
}
.ct-agent-wrap.walking .ct-codex-svg .bot-leg-l {
  animation: botLegA 1.1s ease-in-out infinite;
}
.ct-agent-wrap.walking .ct-codex-svg .bot-leg-r {
  animation: botLegB 1.1s ease-in-out infinite;
}
.ct-agent-wrap.walking .ct-codex-svg .bot-arm-l {
  animation: botArmA 1.1s ease-in-out infinite;
}
.ct-agent-wrap.walking .ct-codex-svg .bot-arm-r {
  animation: botArmB 1.1s ease-in-out infinite;
}
.ct-agent-wrap.walking .ct-codex-svg .bot-shadow {
  animation: botShadow 0.55s ease-in-out infinite alternate;
}
@keyframes botLegA {
  0%, 100% { transform: rotate(-22deg) translateY(-1px); }
  50% { transform: rotate(22deg) translateY(0px); }
}
@keyframes botLegB {
  0%, 100% { transform: rotate(22deg) translateY(0px); }
  50% { transform: rotate(-22deg) translateY(-1px); }
}
@keyframes botArmA {
  0%, 100% { transform: rotate(16deg); }
  50% { transform: rotate(-16deg); }
}
@keyframes botArmB {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(16deg); }
}
@keyframes botStrideBob {
  from { transform: translateY(0); }
  to { transform: translateY(-2.5px); }
}
@keyframes botShadow {
  from { transform: scaleX(1); opacity: 0.38; }
  to { transform: scaleX(0.86); opacity: 0.25; }
}
@keyframes botBlink {
  0%, 44%, 48%, 94%, 98%, 100% { transform: scaleY(1); }
  46%, 96% { transform: scaleY(0.12); }
}
@keyframes botPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
.ct-agent-bubble {
  position: absolute;
  top: 50%;
  left: 72px;
  width: max-content;
  max-width: 240px;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(15, 25, 42, 0.94);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-42%) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ct-agent-wrap.flip .ct-agent-bubble {
  left: auto;
  right: 72px;
}
html.light .ct-agent-bubble {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}
.ct-agent-bubble.show {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.ct-agent-panel {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1060;
  width: min(370px, calc(100vw - 28px));
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: rgba(12, 20, 36, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  padding: 20px;
}
html.light .ct-agent-panel {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}
.ct-agent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.ct-agent-head-l { display: flex; align-items: center; gap: 10px; }
.ct-agent-av {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-agent-close {
  border: 0;
  background: transparent;
  color: var(--text-2);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
}
.ct-agent-close:hover { background: var(--bg-3); color: var(--text); }
.ct-agent-form .ag-f { margin-bottom: 10px; }
.ct-agent-form label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.ct-agent-form input,
.ct-agent-form select,
.ct-agent-form textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  outline: none;
}
.ct-agent-form input:focus,
.ct-agent-form select:focus,
.ct-agent-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}
.ct-agent-form textarea { resize: vertical; min-height: 70px; }
.ct-agent-chk { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 400 !important; font-size: 0.76rem !important; color: var(--text-2) !important; cursor: pointer; }
.ct-agent-chk input { width: auto !important; margin-top: 3px; }
.ct-agent-msg { font-size: 0.8rem; margin-top: 8px; min-height: 0; }
.ct-agent-msg.err { color: #f87171; }
.ct-agent-msg.ok { color: #4ade80; }
html.light .ct-agent-msg.ok { color: #15803d; }
@keyframes agentBob {
  from { transform: translateY(0) rotate(-3deg); }
  to { transform: translateY(-6px) rotate(3deg); }
}
