@import url("./tokens.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--vx-void);
  color: var(--vx-silver);
  font-family: var(--vx-font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--vx-signal);
  color: var(--vx-void);
}

:focus-visible {
  outline: 2px solid var(--vx-signal);
  outline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.vx-container {
  width: min(100% - 2.5rem, var(--vx-max));
  margin-inline: auto;
}

.vx-display {
  font-family: var(--vx-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--vx-white);
}

.vx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--vx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vx-signal);
}

.vx-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.vx-lead {
  max-width: 38rem;
  color: var(--vx-metal);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
}

.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--vx-radius);
  font-family: var(--vx-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--vx-ease), background 0.25s var(--vx-ease),
    border-color 0.25s var(--vx-ease), color 0.25s var(--vx-ease),
    box-shadow 0.25s var(--vx-ease);
}

.vx-btn:hover {
  transform: translateY(-1px);
}

.vx-btn--primary {
  background: var(--vx-signal);
  color: var(--vx-void);
  box-shadow: 0 0 0 1px rgba(232, 77, 77, 0.2);
}

.vx-btn--primary:hover {
  background: #f06f6f;
  box-shadow: 0 10px 40px rgba(232, 77, 85, 0.18);
}

.vx-btn--ghost {
  background: transparent;
  border-color: var(--vx-line);
  color: var(--vx-silver);
}

.vx-btn--ghost:hover {
  border-color: var(--vx-metal);
  background: rgba(255, 255, 255, 0.03);
}

.vx-btn--orbit {
  background: var(--vx-orbit-dim);
  border-color: rgba(110, 182, 255, 0.35);
  color: var(--vx-orbit);
}

.vx-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(154, 163, 178, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 163, 178, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.vx-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: 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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vx-section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  z-index: 2;
}

.vx-section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.vx-section-head h2 {
  margin: 0.85rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
}

.vx-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--vx-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--vx-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vx-metal);
}

.vx-chip--live {
  border-color: rgba(232, 77, 77, 0.4);
  color: var(--vx-signal);
}

.vx-chip--beta {
  border-color: rgba(110, 182, 255, 0.4);
  color: var(--vx-orbit);
}

.vx-chip--experimental {
  border-color: rgba(240, 180, 41, 0.4);
  color: var(--vx-warn);
}

/* ===== NAV ===== */
.vx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--vx-nav-h);
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 10, 0.55);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s var(--vx-ease), background 0.3s var(--vx-ease);
}

.vx-nav.is-scrolled {
  border-bottom-color: var(--vx-line);
  background: rgba(5, 7, 10, 0.88);
}

.vx-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 2rem, var(--vx-max));
  margin-inline: auto;
  gap: 1rem;
}

.vx-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.vx-logo__mark {
  display: block;
  height: 18px;
  width: auto;
}

@media (min-width: 640px) {
  .vx-logo__mark {
    height: 24px;
  }
}

.vx-nav__links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1100px) {
  .vx-nav__links {
    display: flex;
  }
}

.vx-nav__links a,
.vx-nav__links button {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 0.7rem;
  border: 0;
  background: transparent;
  color: var(--vx-metal);
  font-size: 0.86rem;
  cursor: pointer;
  transition: color 0.2s var(--vx-ease);
}

.vx-nav__links a:hover,
.vx-nav__links button:hover,
.vx-nav__links a[aria-current="page"] {
  color: var(--vx-white);
}

.vx-nav__ai {
  color: var(--vx-signal) !important;
  font-family: var(--vx-font-mono);
  font-size: 0.75rem !important;
  letter-spacing: 0.06em;
}

.vx-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vx-nav__search,
.vx-nav__menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius);
  background: transparent;
  color: var(--vx-silver);
  cursor: pointer;
}

.vx-nav__menu-btn {
  display: inline-flex;
}

@media (min-width: 1100px) {
  .vx-nav__menu-btn {
    display: none;
  }
}

/* Mega menu */
.vx-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--vx-line);
  background: rgba(11, 16, 24, 0.97);
  backdrop-filter: blur(20px);
}

.vx-mega.is-open {
  display: block;
}

.vx-mega__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 1100px) {
  .vx-mega__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vx-mega h3 {
  margin: 0 0 1rem;
  font-family: var(--vx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vx-signal);
}

.vx-mega a {
  display: block;
  padding: 0.45rem 0;
  color: var(--vx-metal);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.vx-mega a:hover {
  color: var(--vx-white);
  border-bottom-color: var(--vx-line);
}

/* Mobile drawer */
.vx-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: rgba(5, 7, 10, 0.96);
  padding: 5rem 1.5rem 2rem;
  overflow: auto;
}

.vx-drawer.is-open {
  display: block;
}

.vx-drawer a,
.vx-drawer button {
  display: block;
  width: 100%;
  padding: 0.9rem 0;
  border: 0;
  border-bottom: 1px solid var(--vx-line);
  background: transparent;
  color: var(--vx-silver);
  text-align: left;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.vx-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--vx-nav-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.vx-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.vx-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  pointer-events: none;
}

.vx-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.72) 45%, rgba(5, 7, 10, 0.92) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(77, 232, 194, 0.08), transparent 50%); */
}

@media (prefers-reduced-motion: reduce) {
  .vx-hero__video {
    display: none;
  }
}

@media (max-width: 767px) {
  .vx-hero__video {
    opacity: 0.18;
  }
}

.vx-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.vx-hero__orb--1 {
  width: 42vw;
  height: 42vw;
  top: 10%;
  right: -8%;
  background: radial-gradient(circle, rgba(232, 77, 124, 0.35), transparent 70%);
}

.vx-hero__orb--2 {
  width: 30vw;
  height: 30vw;
  bottom: 5%;
  left: -5%;
  background: radial-gradient(circle, rgba(110, 182, 255, 0.28), transparent 70%);
}

.vx-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--vx-max));
  margin-inline: auto;
}

.vx-hero__brand {
  font-family: var(--vx-font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vx-white);
  margin-bottom: 1.5rem;
}

.vx-hero h1 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(2.6rem, 8vw, 3rem);
}

.vx-hero__sub {
  margin: 1.5rem 0 2rem;
  max-width: 28rem;
  color: var(--vx-metal);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.vx-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.vx-hero__ai {
  max-width: 620px;
  padding: 1.25rem;
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius-md);
  background: rgba(18, 24, 33, 0.72);
  backdrop-filter: blur(12px);
}

.vx-hero__ai-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-family: var(--vx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vx-signal);
}

.vx-hero__ai-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vx-signal);
  box-shadow: 0 0 0 0 rgba(77, 232, 194, 0.5);
  animation: vx-pulse 2s infinite;
}

@keyframes vx-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(77, 232, 194, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 232, 194, 0);
  }
}

.vx-hero__ai p {
  margin: 0 0 1rem;
  color: var(--vx-silver);
  font-size: 0.95rem;
}

.vx-ai-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vx-ai-options button {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius);
  background: transparent;
  color: var(--vx-metal);
  font-family: var(--vx-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.vx-ai-options button:hover {
  border-color: var(--vx-signal);
  color: var(--vx-signal);
  background: var(--vx-signal-dim);
}

/* Build categories */
.vx-build-grid {
  display: grid;
  gap: 1px;
  background: var(--vx-line);
  border: 1px solid var(--vx-line);
}

@media (min-width: 768px) {
  .vx-build-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vx-build-item {
  padding: 1.75rem 1.5rem;
  background: var(--vx-deep);
  cursor: pointer;
  transition: background 0.3s var(--vx-ease);
}

.vx-build-item:hover,
.vx-build-item.is-active {
  background: var(--vx-panel);
}

.vx-build-item h3 {
  margin: 0 0 0.6rem;
  font-family: var(--vx-font-display);
  font-size: 1.35rem;
  color: var(--vx-white);
}

.vx-build-item p {
  margin: 0;
  color: var(--vx-metal);
  font-size: 0.95rem;
}

.vx-build-item .vx-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--vx-font-mono);
  font-size: 0.7rem;
  color: var(--vx-signal);
  letter-spacing: 0.12em;
}

/* Pipeline */
.vx-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 2rem;
}

.vx-pipeline span {
  font-family: var(--vx-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vx-metal);
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--vx-line);
  background: rgba(255, 255, 255, 0.02);
}

.vx-pipeline i {
  color: var(--vx-signal);
  font-style: normal;
  opacity: 0.6;
}

/* Feature lists / capability strips */
.vx-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.vx-cap {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--vx-line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  color: var(--vx-metal);
  transition: color 0.2s, border-color 0.2s;
}

.vx-cap:hover {
  color: var(--vx-white);
  border-color: var(--vx-metal);
}

/* Split sections */
.vx-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .vx-split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.vx-panel {
  border: 1px solid var(--vx-line);
  background: linear-gradient(160deg, rgba(24, 32, 48, 0.9), rgba(11, 16, 24, 0.9));
  border-radius: var(--vx-radius-md);
  padding: 1.5rem;
  overflow: hidden;
}

.vx-panel__bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.vx-panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vx-line);
}

.vx-panel__dot:nth-child(1) {
  background: #ff5c7a;
}
.vx-panel__dot:nth-child(2) {
  background: #f0b429;
}
.vx-panel__dot:nth-child(3) {
  background: #4de8c2;
}

.vx-sys-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--vx-line-soft);
  font-size: 0.88rem;
}

.vx-sys-row strong {
  color: var(--vx-white);
  font-weight: 500;
}

.vx-sys-row span {
  font-family: var(--vx-font-mono);
  font-size: 0.7rem;
  color: var(--vx-signal);
}

/* AI grid */
.vx-ai-grid {
  display: grid;
  gap: 1px;
  background: var(--vx-line);
  border: 1px solid var(--vx-line);
}

@media (min-width: 768px) {
  .vx-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .vx-ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vx-ai-card {
  padding: 1.6rem;
  background: var(--vx-deep);
  transition: background 0.25s;
}

.vx-ai-card:hover {
  background: var(--vx-panel);
}

.vx-ai-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--vx-font-display);
  font-size: 1.15rem;
  color: var(--vx-white);
}

.vx-ai-card p {
  margin: 0;
  color: var(--vx-metal);
  font-size: 0.92rem;
}

/* Lab */
.vx-lab-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .vx-lab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .vx-lab-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vx-lab-card {
  padding: 1.25rem;
  border: 1px solid var(--vx-line);
  background: rgba(18, 24, 33, 0.6);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s, transform 0.25s var(--vx-ease);
}

.vx-lab-card:hover {
  border-color: rgba(77, 232, 194, 0.35);
  transform: translateY(-3px);
}

.vx-lab-card h3 {
  margin: 0.8rem 0 0.4rem;
  font-size: 1rem;
  color: var(--vx-white);
}

.vx-lab-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--vx-metal);
}

/* Products */
.vx-products {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .vx-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vx-product {
  padding: 1.75rem;
  border: 1px solid var(--vx-line);
  background: var(--vx-deep);
  transition: border-color 0.25s;
}

.vx-product:hover {
  border-color: rgba(110, 182, 255, 0.4);
}

.vx-product h3 {
  margin: 0 0 0.75rem;
  font-family: var(--vx-font-display);
  font-size: 1.5rem;
  color: var(--vx-white);
}

.vx-product p {
  margin: 0 0 1.25rem;
  color: var(--vx-metal);
}

.vx-product__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

/* Mission Control / Projects */
.vx-missions {
  display: grid;
  gap: 1rem;
}

.vx-mission {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--vx-line);
  background: linear-gradient(120deg, rgba(18, 24, 33, 0.9), rgba(11, 16, 24, 0.95));
}

@media (min-width: 900px) {
  .vx-mission {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.vx-mission h3 {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--vx-font-display);
  font-size: 1.5rem;
  color: var(--vx-white);
}

.vx-mission dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.vx-mission dt {
  font-family: var(--vx-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vx-signal);
}

.vx-mission dd {
  margin: 0.15rem 0 0;
  color: var(--vx-metal);
}

.vx-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.vx-metric {
  padding: 1rem;
  border: 1px solid var(--vx-line);
  background: rgba(255, 255, 255, 0.02);
}

.vx-metric strong {
  display: block;
  font-family: var(--vx-font-display);
  font-size: 1.6rem;
  color: var(--vx-signal);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.vx-metric span {
  font-size: 0.8rem;
  color: var(--vx-metal);
}

/* Clients marquee */
.vx-marquee {
  overflow: hidden;
  border-block: 1px solid var(--vx-line);
  padding: 1.5rem 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.vx-marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: vx-marquee 40s linear infinite;
}

.vx-marquee__track span {
  font-family: var(--vx-font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vx-metal);
  white-space: nowrap;
  opacity: 0.7;
}

@keyframes vx-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vx-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}

/* Numbers */
.vx-numbers {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .vx-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .vx-numbers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vx-number {
  padding: 1rem 0;
  border-top: 1px solid var(--vx-line);
}

.vx-number strong {
  display: block;
  font-family: var(--vx-font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 0.95;
  color: var(--vx-white);
  letter-spacing: -0.04em;
}

.vx-number span {
  display: block;
  margin-top: 0.6rem;
  color: var(--vx-metal);
  font-size: 0.95rem;
}

/* Timeline */
.vx-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--vx-line);
}

.vx-timeline__item {
  position: relative;
  padding: 1.25rem 0 1.25rem 1.25rem;
}

.vx-timeline__item::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 1.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--vx-signal);
  box-shadow: 0 0 0 4px rgba(77, 232, 194, 0.15);
}

.vx-timeline__item time {
  font-family: var(--vx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--vx-signal);
}

.vx-timeline__item h3 {
  margin: 0.35rem 0;
  color: var(--vx-white);
  font-family: var(--vx-font-display);
}

.vx-timeline__item p {
  margin: 0;
  color: var(--vx-metal);
  font-size: 0.92rem;
}

/* Tech cloud */
.vx-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.vx-tech span {
  padding: 0.7rem 1rem;
  border: 1px solid var(--vx-line);
  font-family: var(--vx-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--vx-metal);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.vx-tech span:hover {
  color: var(--vx-white);
  border-color: var(--vx-orbit);
  background: var(--vx-orbit-dim);
}

/* CTA final */
.vx-finale {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  text-align: center;
  overflow: hidden;
}

.vx-finale h2 {
  margin: 0 auto 1rem;
  max-width: 16ch;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.vx-finale p {
  margin: 0 auto 2rem;
  max-width: 28rem;
  color: var(--vx-metal);
}

.vx-finale__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Footer */
.vx-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--vx-line);
  padding: 4rem 0 2rem;
  background: var(--vx-deep);
}

.vx-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .vx-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.vx-footer h4 {
  margin: 0 0 1rem;
  font-family: var(--vx-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vx-signal);
}

.vx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vx-footer li + li {
  margin-top: 0.45rem;
}

.vx-footer a {
  color: var(--vx-metal);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.vx-footer a:hover {
  color: var(--vx-white);
}

.vx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--vx-line);
  color: var(--vx-metal);
  font-size: 0.85rem;
}

/* Floating AI + WhatsApp */
.vx-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.vx-float__ai {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(77, 232, 194, 0.4);
  border-radius: 999px;
  background: rgba(11, 16, 24, 0.92);
  color: var(--vx-signal);
  font-family: var(--vx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.vx-float__wa {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #04120a;
}

/* Overlays: AI panel, search, OS, diagnostic */
.vx-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  background: rgba(5, 7, 10, 0.55);
  backdrop-filter: blur(4px);
}

.vx-overlay.is-open {
  display: flex;
}

.vx-overlay--center {
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.vx-panel-slide {
  width: min(100%, 440px);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--vx-deep);
  border-left: 1px solid var(--vx-line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

.vx-panel-slide__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--vx-line);
}

.vx-panel-slide__head h2 {
  margin: 0;
  font-family: var(--vx-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vx-signal);
}

.vx-icon-btn {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius);
  background: transparent;
  color: var(--vx-silver);
  cursor: pointer;
}

.vx-chat {
  flex: 1;
  overflow: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vx-chat__msg {
  max-width: 92%;
  padding: 0.85rem 1rem;
  border-radius: var(--vx-radius-md);
  font-size: 0.92rem;
  line-height: 1.5;
}

.vx-chat__msg--bot {
  align-self: flex-start;
  background: var(--vx-panel);
  border: 1px solid var(--vx-line);
  color: var(--vx-silver);
}

.vx-chat__msg--user {
  align-self: flex-end;
  background: var(--vx-signal-dim);
  border: 1px solid rgba(77, 232, 194, 0.3);
  color: var(--vx-white);
}

.vx-chat__msg--typing {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.vx-chat__msg--typing i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--vx-orbit);
  opacity: 0.35;
  animation: vx-typing 1s ease-in-out infinite;
}

.vx-chat__msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.vx-chat__msg--typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes vx-typing {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.vx-chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1.25rem 1rem;
}

.vx-chat__form {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--vx-line);
}

.vx-chat__form input {
  flex: 1;
  min-height: 2.7rem;
  padding: 0 0.9rem;
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius);
  background: var(--vx-panel);
}

.vx-chat__form button {
  min-width: 2.7rem;
  border: 0;
  border-radius: var(--vx-radius);
  background: var(--vx-signal);
  color: var(--vx-void);
  cursor: pointer;
}

/* Search modal */
.vx-search-box {
  width: min(100%, 640px);
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius-md);
  background: var(--vx-deep);
  overflow: hidden;
}

.vx-search-box input {
  width: 100%;
  padding: 1.15rem 1.25rem;
  border: 0;
  border-bottom: 1px solid var(--vx-line);
  background: transparent;
  font-size: 1.05rem;
}

.vx-search-results {
  max-height: 320px;
  overflow: auto;
}

.vx-search-results a,
.vx-search-results button {
  display: block;
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-bottom: 1px solid var(--vx-line-soft);
  background: transparent;
  text-align: left;
  color: var(--vx-silver);
  cursor: pointer;
}

.vx-search-results a:hover,
.vx-search-results button:hover {
  background: rgba(255, 255, 255, 0.03);
}

.vx-search-results small {
  display: block;
  margin-top: 0.2rem;
  color: var(--vx-metal);
  font-size: 0.8rem;
}

/* Vortex OS */
.vx-os {
  width: min(100%, 920px);
  max-height: min(90vh, 680px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius-md);
  background: #080c12;
  overflow: hidden;
}

.vx-os__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--vx-line);
  background: var(--vx-panel);
}

.vx-os__top strong {
  font-family: var(--vx-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--vx-signal);
}

.vx-os__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding: 1.25rem;
  overflow: auto;
}

@media (min-width: 700px) {
  .vx-os__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vx-os__app {
  aspect-ratio: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 1rem;
  border: 1px solid var(--vx-line);
  background: linear-gradient(160deg, rgba(24, 32, 48, 0.8), rgba(11, 16, 24, 0.95));
  color: var(--vx-white);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.vx-os__app:hover {
  border-color: var(--vx-signal);
  transform: translateY(-2px);
}

.vx-os__app span {
  font-family: var(--vx-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--vx-signal);
}

/* Diagnostic / Lead wizard */
.vx-wizard {
  width: min(100%, 600px);
  max-height: min(90vh, 780px);
  overflow: auto;
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius-md);
  background: var(--vx-deep);
  padding: 1.5rem;
}

.vx-wizard h2 {
  margin: 0 0 0.5rem;
  font-family: var(--vx-font-display);
  font-size: 1.6rem;
  color: var(--vx-white);
}

.vx-wizard__hint {
  margin: 0 0 0.25rem;
  color: var(--vx-metal);
  font-size: 0.92rem;
  line-height: 1.45;
}

.vx-wizard__progress {
  height: 2px;
  background: var(--vx-line);
  margin: 1.25rem 0 1.5rem;
}

.vx-wizard__progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--vx-signal);
  transition: width 0.3s var(--vx-ease);
}

.vx-wizard__q {
  margin-bottom: 1.25rem;
  color: var(--vx-silver);
  font-size: 1.1rem;
}

.vx-wizard__opts {
  display: grid;
  gap: 0.55rem;
}

.vx-wizard__opts button,
.vx-wizard input,
.vx-wizard textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--vx-line);
  border-radius: var(--vx-radius);
  background: var(--vx-panel);
  text-align: left;
  color: var(--vx-white);
  font: inherit;
  transition: border-color 0.2s;
}

.vx-wizard__opts button {
  cursor: pointer;
}

.vx-wizard input,
.vx-wizard textarea {
  cursor: text;
}

.vx-wizard input::placeholder,
.vx-wizard textarea::placeholder {
  color: var(--vx-metal);
}

.vx-wizard__opts button:hover,
.vx-wizard__chips button:hover {
  border-color: var(--vx-signal);
}

.vx-wizard textarea {
  min-height: 100px;
  resize: vertical;
}

.vx-wizard label {
  display: grid;
  gap: 0.35rem;
  color: var(--vx-silver);
  font-size: 0.85rem;
}

.vx-wizard label em {
  font-style: normal;
  color: var(--vx-metal);
}

.vx-wizard__row {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 520px) {
  .vx-wizard__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.vx-wizard__group {
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.vx-wizard__group legend {
  padding: 0;
  margin-bottom: 0.45rem;
  color: var(--vx-silver);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vx-wizard__group.is-miss legend {
  color: #e08a8a;
}

.vx-wizard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vx-wizard__chips button {
  width: auto;
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
}

.vx-wizard__chips button.is-on {
  border-color: var(--vx-signal);
  background: color-mix(in srgb, var(--vx-signal) 16%, var(--vx-panel));
}

.vx-wizard__warn {
  margin: 0.15rem 0 0;
  color: #e08a8a;
  font-size: 0.82rem;
}

.vx-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.vx-wizard__lgpd {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--vx-metal);
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.vx-wizard__lgpd input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.15rem;
  flex: none;
  cursor: pointer;
}

.vx-wizard__lgpd a {
  color: var(--vx-orbit);
}

.vx-diag-result {
  border: 1px solid var(--vx-line);
  background: var(--vx-panel);
  padding: 1.25rem;
  margin-top: 1rem;
}

.vx-diag-result h3 {
  margin: 0 0 0.75rem;
  color: var(--vx-white);
}

.vx-diag-result ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--vx-metal);
}

.vx-score {
  font-family: var(--vx-font-display);
  font-size: 2.5rem;
  color: var(--vx-signal);
  line-height: 1;
}

/* Persistent mobile CTA */
.vx-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(5, 7, 10, 0.92);
  border-top: 1px solid var(--vx-line);
  backdrop-filter: blur(12px);
}

@media (max-width: 767px) {
  .vx-mobile-cta {
    display: flex;
    gap: 0.6rem;
  }

  .vx-mobile-cta .vx-btn {
    flex: 1;
  }

  .vx-float {
    bottom: 4.8rem;
  }

  body {
    padding-bottom: 4.5rem;
  }
}

.vx-breadcrumb {
  margin-bottom: 1.5rem;
  font-family: var(--vx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--vx-metal);
}

.vx-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vx-breadcrumb a {
  color: inherit;
}

.vx-breadcrumb [aria-current="page"] {
  color: var(--vx-silver);
}

/* FAQ (páginas de serviço) */
.vx-faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.vx-faq details {
  border: 1px solid var(--vx-line);
  background: rgba(18, 24, 33, 0.55);
  padding: 1rem 1.15rem;
}

.vx-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--vx-font-display);
  font-size: 1.05rem;
  color: var(--vx-white);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.vx-faq summary::-webkit-details-marker {
  display: none;
}

.vx-faq summary::after {
  content: "+";
  font-family: var(--vx-font-mono);
  color: var(--vx-signal);
  flex-shrink: 0;
}

.vx-faq details[open] summary::after {
  content: "−";
}

.vx-faq details p {
  margin: 0.85rem 0 0;
  color: var(--vx-metal);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 48ch;
}

.vx-prose {
  color: var(--vx-metal);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 52ch;
}

.vx-prose + .vx-prose {
  margin-top: 1rem;
}

.vx-prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--vx-font-display);
  font-size: 1.35rem;
  color: var(--vx-white);
}

.vx-prose h2:first-child {
  margin-top: 0;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.is-hidden {
  display: none !important;
}
