:root {
  --navy: #07101f;
  --navy-2: #0d1a2e;
  --paper: #cfdbea;
  --white: #ffffff;
  --ink: #101827;
  --muted: #677083;
  --line: rgba(16, 24, 39, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --blue: #2e6dff;
  --cyan: #42d7ff;
  --gold: #d8a64a;
  --green: #24d366;
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
  --sans: "Archivo", Arial, sans-serif;
  --display: "Manrope", "Archivo", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --motion-fast: 180ms;
  --motion-medium: 320ms;
  --motion-slow: 520ms;
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  isolation: isolate;
  color: var(--ink);
  background: #030711;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.site-streak-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.9;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(28, 54, 132, 0.15), transparent 34%),
    #030711;
  contain: strict;
}

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

body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.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;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus-visible { transform: none; }

section[id] { scroll-margin-top: 74px; }

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress i {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(66, 215, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: var(--site-header-origin, 0px);
  left: 0;
  width: 100%;
  color: white;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  background: rgba(7, 16, 31, 0.91);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 190px;
  aspect-ratio: 2.26;
  display: block;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-12%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav > a:not(.header-cta) {
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease;
}

.site-nav > a:not(.header-cta):hover,
.site-nav > a:not(.header-cta):focus-visible { color: white; }

.header-cta {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.header-cta:hover { background: rgba(255, 255, 255, 0.12); }

.menu-button {
  width: 48px;
  height: 48px;
  padding: 0;
  display: none;
  place-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  background: transparent;
}

.menu-button i {
  width: 18px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgba(46, 109, 255, 0.24), transparent 31%),
    radial-gradient(circle at 9% 84%, rgba(66, 215, 255, 0.08), transparent 25%),
    var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 56px;
  background: var(--paper);
  clip-path: polygon(0 86%, 100% 0, 100% 100%, 0 100%);
}

.cosmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 0.8px, transparent 1.2px),
    radial-gradient(circle, rgba(66, 215, 255, 0.67) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(94, 139, 255, 0.55) 0 0.9px, transparent 1.3px);
  background-position: 0 0, 0 0, 14px 28px, 72px 18px, 32px 91px;
  background-size: 54px 54px, 54px 54px, 137px 137px, 223px 223px, 311px 311px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.cosmos::after {
  content: "";
  position: absolute;
  top: 24%;
  left: -25%;
  width: 180px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(167, 243, 255, 0.9), transparent);
  filter: drop-shadow(0 0 5px rgba(66, 215, 255, 0.7));
  transform: rotate(-18deg);
  animation: shooting-star 14s 3s ease-in infinite;
}

.pixel-stars-background {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.68;
  pointer-events: none;
  image-rendering: auto;
  transform: translate3d(var(--intro-pixels-x, 0), var(--intro-pixels-y, 0), 0) scale(1.025);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, black 0 82%, transparent 99%);
  will-change: transform;
}

.hero-parallax-depth {
  position: absolute;
  z-index: 2;
  inset: -8% -6%;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}

.hero-depth-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

.hero-depth-far {
  opacity: 0.24;
  background:
    radial-gradient(circle at 18% 24%, rgba(66, 215, 255, 0.3) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.58) 0 0.8px, transparent 1.5px),
    radial-gradient(circle at 84% 68%, rgba(112, 128, 255, 0.38) 0 1px, transparent 1.8px);
  background-size: 190px 190px, 263px 263px, 347px 347px;
  transform: translate3d(var(--intro-far-x, 0), var(--intro-far-y, 0), 0) scale(1.06);
}

.hero-depth-mid {
  inset: 2% -12% -5% 34%;
  opacity: 0.46;
  border: 1px solid rgba(66, 215, 255, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(46, 109, 255, 0.075) 42.2% 42.5%, transparent 42.8%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 54px, rgba(255, 255, 255, 0.035) 55px, transparent 56px 88px);
  transform: translate3d(var(--intro-mid-x, 0), var(--intro-mid-y, 0), 0) rotate(var(--intro-mid-rotate, 0deg));
}

.hero-depth-mid::before,
.hero-depth-mid::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-depth-mid::before {
  inset: 11%;
  border: 1px dashed rgba(66, 215, 255, 0.12);
}

.hero-depth-mid::after {
  inset: 25%;
  border: 1px solid rgba(127, 104, 255, 0.1);
}

.hero-depth-near {
  inset: 20% -18% -16% 7%;
  opacity: 0.58;
  background:
    linear-gradient(118deg, transparent 20%, rgba(66, 215, 255, 0.035) 43%, rgba(107, 99, 255, 0.07) 50%, transparent 67%),
    radial-gradient(ellipse at 72% 48%, rgba(46, 109, 255, 0.12), transparent 47%);
  filter: blur(0.2px);
  transform: translate3d(var(--intro-near-x, 0), var(--intro-near-y, 0), 0) scale(1.08);
}

.hero > .cosmos {
  z-index: 0;
  transform: translate3d(var(--intro-cosmos-x, 0), var(--intro-cosmos-y, 0), 0) scale(1.035);
  transform-origin: center top;
  will-change: transform;
}

.hero .hero-orbit {
  z-index: 3;
  translate: var(--intro-orbit-x, 0) var(--intro-orbit-y, 0);
  will-change: translate;
}

.hero-copy {
  translate: 0 var(--intro-copy-y, 0);
  will-change: translate;
}

.hero-visual-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.black-hole-stage {
  position: relative;
  z-index: 1;
  height: clamp(330px, 32vw, 405px);
  overflow: visible;
  pointer-events: none;
}

.black-hole-scene {
  position: absolute;
  inset: -15% -13%;
  pointer-events: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 74% at 50% 50%, black 0 54%, rgba(0, 0, 0, 0.82) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 74% at 50% 50%, black 0 54%, rgba(0, 0, 0, 0.82) 68%, transparent 100%);
  transform: none;
  transform-origin: 50% 50%;
  transition: opacity 0.5s ease, transform 110ms linear;
  will-change: transform;
}

.black-hole-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  cursor: grab;
  touch-action: pan-y;
  transition: opacity 0.8s ease;
}

.black-hole-canvas:active { cursor: grabbing; }
.black-hole-stage.is-ready .black-hole-canvas { opacity: 0.9; }

@keyframes shooting-star {
  0%, 74% { left: -25%; opacity: 0; }
  76% { opacity: 1; }
  84%, 100% { left: 110%; opacity: 0; }
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(66, 215, 255, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one { width: 580px; height: 580px; top: 68px; right: -130px; }
.orbit-two { width: 450px; height: 450px; top: 133px; right: -65px; border-style: dashed; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-layout {
  position: relative;
  z-index: 5;
  min-height: 1020px;
  padding: 138px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 21px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow span { color: var(--cyan); }
.eyebrow-dark { color: var(--muted); }
.eyebrow-dark span { color: var(--blue); }

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: #f4f7fb;
  font-family: "Manrope", var(--sans);
  font-size: clamp(37px, 3.55vw, 50px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.034em;
}

.hero-lead {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.65;
}

.hero-copy > .eyebrow {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(105deg, #16bfe9, var(--blue));
  box-shadow: 0 15px 36px rgba(46, 109, 255, 0.23);
}

.hero-actions .button {
  border-radius: 12px;
}

.hero-actions .button-primary {
  background: #2e6dff;
  box-shadow: 0 12px 28px rgba(46, 109, 255, 0.2);
}

.button-primary:hover { box-shadow: 0 18px 42px rgba(66, 215, 255, 0.25); }

.button-secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.hero-trust {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.hero-trust span::first-letter { color: var(--cyan); }

.showcase {
  position: relative;
  min-width: 0;
  border-radius: 20px;
  background: rgba(10, 20, 35, 0.72);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.43);
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.18s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.hero-visual-column .showcase {
  z-index: 2;
  margin-top: -64px;
}

.showcase:hover { box-shadow: 0 46px 105px rgba(0, 0, 0, 0.5); }

.showcase::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 30px;
  right: 30px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
  opacity: 0.65;
}

.browser-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px 18px 0 0;
  background: #0a1423;
  box-shadow: none;
}

.browser-bar {
  height: 39px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-light);
}

.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 7px; height: 7px; border-radius: 50%; background: #ff655d; }
.browser-dots i:nth-child(2) { background: #f4bd4f; }
.browser-dots i:nth-child(3) { background: #5bc558; }

.browser-url {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 7px;
}

.live-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.browser-frame > a {
  display: block;
  aspect-ratio: 16 / 8.9;
  overflow: hidden;
  background: #111827;
}

.browser-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 0.25s ease, transform 0.45s ease;
}

.browser-frame:hover img { transform: scale(1.015); }

.showcase-caption {
  position: relative;
  z-index: 3;
  margin: -1px 0 0;
  min-height: 176px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(110deg, rgba(66, 215, 255, 0.035), transparent 42%),
    rgba(15, 28, 47, 0.96);
  backdrop-filter: blur(12px);
}

.showcase-caption::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--blue), transparent);
}

.showcase-info { min-width: 0; }

.showcase-kicker {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-kicker small {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.showcase-kicker > span {
  padding: 3px 7px;
  color: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.06em;
}

.showcase-info > strong {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -0.025em;
}

.showcase-info > p {
  max-width: 500px;
  margin: 8px 0 13px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 11px;
  line-height: 1.55;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.showcase-tags span {
  padding: 4px 7px;
  color: rgba(255, 255, 255, 0.61);
  border: 1px solid rgba(66, 215, 255, 0.14);
  border-radius: 6px;
  background: rgba(66, 215, 255, 0.045);
  font-family: var(--mono);
  font-size: 6px;
  text-transform: uppercase;
}

.showcase-actions {
  min-width: 148px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
}

.showcase-actions > a {
  min-height: 43px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 9px;
  color: white;
  background: linear-gradient(105deg, #16bfe9, var(--blue));
  font-size: 10px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.showcase-actions > a:hover { box-shadow: 0 10px 25px rgba(46, 109, 255, 0.24); transform: translateY(-2px); }

.showcase-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.showcase-controls button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: white;
  background: transparent;
  cursor: pointer;
}
.showcase-controls span { color: rgba(255, 255, 255, 0.38); font-family: var(--mono); font-size: 8px; }
.showcase-controls b { color: white; font-weight: 500; }

.system-section {
  position: relative;
  padding: 112px 0 145px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgba(46, 109, 255, 0.18), transparent 27%),
    radial-gradient(circle at 8% 92%, rgba(66, 215, 255, 0.08), transparent 23%),
    #0a1729;
}

.system-section::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 55px;
  background: #ccd9e8;
  clip-path: polygon(0 85%, 100% 0, 100% 100%, 0 100%);
}

.system-section > .cosmos { opacity: 0.34; mask-image: none; }
.system-shell { position: relative; z-index: 2; }

.system-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 90px;
}

.system-heading h2 {
  max-width: 690px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.system-intro > p { margin: 0; color: rgba(255, 255, 255, 0.61); line-height: 1.75; }
.system-actions { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.system-actions .button { min-height: 50px; padding-inline: 18px; font-size: 12px; }
.text-link-light { color: var(--cyan); border-color: rgba(66, 215, 255, 0.28); }

.system-modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.system-module {
  min-height: 275px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(66, 215, 255, 0.035), transparent 45%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.system-module:hover { border-color: rgba(66, 215, 255, 0.3); background-color: rgba(66, 215, 255, 0.045); transform: translateY(-5px); }
.system-module > span { color: var(--cyan); font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.system-module h3 { margin: 43px 0 10px; font-family: var(--display); font-size: 21px; letter-spacing: -0.03em; }
.system-module p { margin: 0; color: rgba(255, 255, 255, 0.53); font-size: 12px; line-height: 1.65; }
.system-module ul { margin: auto 0 0; padding: 19px 0 0; display: flex; flex-wrap: wrap; gap: 5px; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.system-module li { padding: 4px 7px; border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 99px; color: rgba(255, 255, 255, 0.48); font-family: var(--mono); font-size: 7px; text-transform: uppercase; }

.differential-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(66, 215, 255, 0.16);
  border-radius: 18px;
  background: rgba(4, 13, 28, 0.5);
}

.differential-strip > div { min-height: 112px; padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.differential-strip > div:last-child { border-right: 0; }
.differential-strip small { margin-bottom: 7px; color: var(--cyan); font-family: var(--mono); font-size: 7px; letter-spacing: 0.08em; text-transform: uppercase; }
.differential-strip strong { max-width: 300px; font-size: 14px; line-height: 1.45; }

.system-demo-stage {
  position: relative;
  margin-bottom: 14px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: stretch;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(66, 215, 255, 0.17);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 24%, rgba(46, 109, 255, 0.15), transparent 28%),
    rgba(4, 13, 28, 0.58);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.04);
}

.system-circuit { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.34; }
.system-circuit path { fill: none; stroke: url(#circuit-gradient); stroke-width: 1.2; stroke-dasharray: 9 12; animation: circuit-flow 13s linear infinite; }
.system-circuit path:nth-of-type(2),
.system-circuit path:nth-of-type(4) { animation-direction: reverse; animation-duration: 17s; }
.system-circuit circle { fill: var(--cyan); filter: drop-shadow(0 0 7px var(--cyan)); animation: circuit-pulse 2.8s ease-in-out infinite; }

@keyframes circuit-flow { to { stroke-dashoffset: -210; } }
@keyframes circuit-pulse { 50% { opacity: 0.28; } }

.dashboard-explorer,
.device-showcase { position: relative; z-index: 2; min-width: 0; }

.visual-overline { margin: 0 2px 10px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.visual-overline > span { display: flex; align-items: center; gap: 7px; color: var(--cyan); letter-spacing: 0.08em; }
.visual-overline > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.visual-overline > b { overflow: hidden; color: rgba(255, 255, 255, 0.43); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.dashboard-window { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 15px; background: #091426; box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34); }
.dashboard-window-bar { height: 35px; padding: 0 11px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.dashboard-window-bar > div { display: flex; gap: 4px; }
.dashboard-window-bar > div i { width: 6px; height: 6px; border-radius: 50%; background: #ff665e; }
.dashboard-window-bar > div i:nth-child(2) { background: #f5c14f; }
.dashboard-window-bar > div i:nth-child(3) { background: #56c45b; }
.dashboard-window-bar > span { color: rgba(255, 255, 255, 0.28); font-family: var(--mono); font-size: 7px; text-align: center; }
.dashboard-window-bar > small { color: var(--cyan); font-family: var(--mono); font-size: 6px; }

.dashboard-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d182b; }
.dashboard-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.22s ease, transform 0.45s ease; }
.dashboard-screen.is-changing > img { opacity: 0.22; transform: scale(0.99); }
.system-demo-stage.is-detail-screen .screen-hotspot { opacity: 0; visibility: hidden; pointer-events: none; }

.screen-hotspot { position: absolute; z-index: 4; left: var(--x); top: var(--y); width: 22px; height: 22px; padding: 0; border: 0; color: white; background: transparent; cursor: pointer; transform: translate(-50%, -50%); transition: opacity 0.2s ease, visibility 0.2s ease; }
.screen-hotspot > i { position: absolute; inset: 5px; display: block; border: 2px solid #061425; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 1px rgba(66, 215, 255, 0.76), 0 0 14px rgba(66, 215, 255, 0.85); }
.screen-hotspot::before,
.screen-hotspot::after { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(66, 215, 255, 0.72); border-radius: 50%; animation: hotspot-ring 2.4s ease-out infinite; }
.screen-hotspot::after { animation-delay: 1.2s; }
@keyframes hotspot-ring { 0% { opacity: 0.8; transform: scale(0.45); } 85%, 100% { opacity: 0; transform: scale(1.55); } }

.screen-hotspot > span { position: absolute; z-index: 6; top: 50%; left: 28px; width: 205px; padding: 11px 12px; border: 1px solid rgba(66, 215, 255, 0.26); border-radius: 10px; color: rgba(255, 255, 255, 0.62); background: rgba(5, 15, 31, 0.96); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.32); font-size: 9px; line-height: 1.45; text-align: left; opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(-5px); transition: opacity 0.18s ease, transform 0.18s ease; }
.screen-hotspot > span b { display: block; margin-bottom: 2px; color: white; font-size: 10px; }
.screen-hotspot.hotspot-left > span { right: 28px; left: auto; transform: translateY(-50%) translateX(5px); }
.screen-hotspot:hover > span,
.screen-hotspot:focus-visible > span,
.screen-hotspot.is-open > span { opacity: 1; transform: translateY(-50%); }
.screen-hotspot:focus-visible { outline: 2px solid white; outline-offset: 3px; border-radius: 50%; }

.hotspot-hint { margin: 11px 2px 0; display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.4); font-family: var(--mono); font-size: 7px; }
.hotspot-hint > span { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid rgba(66, 215, 255, 0.3); border-radius: 50%; color: var(--cyan); }

.device-showcase { padding: 6px 3px 2px; display: flex; flex-direction: column; justify-content: space-between; }
.device-copy > span { color: var(--cyan); font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.device-copy > strong { margin-top: 6px; display: block; font-family: var(--display); font-size: 20px; letter-spacing: -0.03em; }
.device-copy > p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.48); font-size: 11px; line-height: 1.55; }

.phone-mockup { position: relative; width: 190px; margin: 18px auto 0; animation: phone-float 5s ease-in-out infinite; }
@keyframes phone-float { 50% { transform: translateY(-7px) rotate(0.7deg); } }
.phone-shell { position: relative; z-index: 3; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 28px; background: linear-gradient(145deg, #25344b, #070d18); box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.035); }
.phone-speaker { position: absolute; z-index: 5; top: 14px; left: 50%; width: 48px; height: 5px; border-radius: 99px; background: #050b14; transform: translateX(-50%); }
.phone-screen { min-height: 350px; padding: 22px 11px 12px; overflow: hidden; border-radius: 21px; color: white; background: linear-gradient(180deg, #0f1d32, #132a49); }
.phone-topbar { display: flex; align-items: center; justify-content: space-between; font-size: 9px; }
.phone-topbar i { color: #5ce19a; font-family: var(--mono); font-size: 6px; font-style: normal; text-transform: uppercase; }
.phone-welcome { margin: 25px 0 13px; }
.phone-welcome small { color: var(--cyan); font-family: var(--mono); font-size: 6px; letter-spacing: 0.08em; }
.phone-welcome strong { margin-top: 2px; display: block; font-size: 17px; }
.phone-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.phone-metrics > div { padding: 10px 8px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 9px; background: rgba(255, 255, 255, 0.045); }
.phone-metrics span { display: block; color: rgba(255, 255, 255, 0.45); font-size: 6px; text-transform: uppercase; }
.phone-metrics b { margin: 3px 0 1px; display: block; color: #bdf7d5; font-size: 17px; }
.phone-metrics small { color: rgba(255, 255, 255, 0.38); font-size: 6px; }
.phone-task { margin-top: 7px; padding: 9px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 9px; background: rgba(4, 12, 25, 0.32); }
.phone-task > i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; color: var(--cyan); background: rgba(66, 215, 255, 0.1); font-size: 9px; font-style: normal; }
.phone-task span { min-width: 0; }
.phone-task b { display: block; font-size: 8px; }
.phone-task small { display: block; color: rgba(255, 255, 255, 0.35); font-size: 6px; }
.phone-nav { position: absolute; right: 20px; bottom: 16px; left: 20px; padding-top: 9px; display: flex; justify-content: space-around; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.phone-nav i { width: 11px; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); }
.phone-nav i:first-child { width: 19px; background: var(--cyan); }
.phone-orbit { position: absolute; z-index: 1; border: 1px solid rgba(66, 215, 255, 0.2); border-radius: 50%; }
.phone-orbit.orbit-a { width: 235px; height: 235px; top: 75px; left: -23px; }
.phone-orbit.orbit-b { width: 275px; height: 275px; top: 55px; left: -43px; border-style: dashed; animation: spin 30s linear infinite; }

.screen-selector { margin-bottom: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.screen-selector button { min-width: 0; padding: 6px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: rgba(255, 255, 255, 0.48); background: rgba(255, 255, 255, 0.025); cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.screen-selector button:hover { color: white; border-color: rgba(66, 215, 255, 0.3); transform: translateY(-2px); }
.screen-selector button.is-active { color: white; border-color: rgba(66, 215, 255, 0.55); background: rgba(66, 215, 255, 0.07); }
.screen-selector img { width: 100%; aspect-ratio: 16 / 7.5; border-radius: 7px; object-fit: cover; object-position: top; opacity: 0.7; transition: opacity 0.2s ease; }
.screen-selector button.is-active img,
.screen-selector button:hover img { opacity: 1; }
.screen-selector span { padding: 7px 3px 3px; display: block; overflow: hidden; font-family: var(--mono); font-size: 7px; text-align: left; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }

.operation-flow { margin: 14px 0; padding: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: rgba(255, 255, 255, 0.025); }
.flow-heading { display: grid; grid-template-columns: 1fr 0.65fr; align-items: end; gap: 50px; }
.flow-heading span { color: var(--cyan); font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.flow-heading h3 { margin: 7px 0 0; font-family: var(--display); font-size: 27px; letter-spacing: -0.035em; }
.flow-heading > p { margin: 0; color: rgba(255, 255, 255, 0.45); font-size: 11px; line-height: 1.55; }
.flow-track { position: relative; margin-top: 31px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.flow-line { position: absolute; z-index: 0; top: 20px; right: 7%; left: 7%; height: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.1); }
.flow-line i { width: var(--flow-progress); height: 100%; display: block; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--gold)); box-shadow: 0 0 12px rgba(66, 215, 255, 0.55); transition: width 0.4s ease; }
.flow-node { position: relative; z-index: 2; min-width: 0; padding: 0 5px; border: 0; color: rgba(255, 255, 255, 0.42); background: transparent; cursor: pointer; }
.flow-node i { width: 42px; height: 42px; margin: 0 auto 9px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%; background: #0b182b; font-family: var(--mono); font-size: 8px; font-style: normal; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.flow-node b { display: block; overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.flow-node.is-complete i { color: #061425; border-color: var(--cyan); background: var(--cyan); }
.flow-node.is-active { color: white; }
.flow-node.is-active i { color: white; border-color: var(--cyan); background: #123458; box-shadow: 0 0 0 5px rgba(66, 215, 255, 0.08), 0 0 18px rgba(66, 215, 255, 0.3); }
.flow-detail { margin-top: 24px; padding: 18px 20px; display: grid; grid-template-columns: 130px 0.8fr 1.2fr; align-items: center; gap: 20px; border-left: 2px solid var(--cyan); border-radius: 0 12px 12px 0; background: rgba(66, 215, 255, 0.045); }
.flow-detail > span { color: var(--cyan); font-family: var(--mono); font-size: 7px; letter-spacing: 0.07em; text-transform: uppercase; }
.flow-detail > strong { font-size: 13px; }
.flow-detail > p { margin: 0; color: rgba(255, 255, 255, 0.45); font-size: 10px; }

.before-after { --compare-x: 50%; --compare-y: 50%; position: relative; margin: 14px 0; padding: 28px; overflow: hidden; border: 1px solid rgba(66, 215, 255, 0.15); border-radius: 20px; background: rgba(4, 13, 28, 0.48); }
.before-after::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(330px circle at var(--compare-x) var(--compare-y), rgba(66, 215, 255, 0.09), transparent 68%); }
.before-after > * { position: relative; z-index: 1; }
.comparison-heading { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.comparison-heading > span { color: var(--cyan); font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.comparison-heading h3 { max-width: 600px; margin: 0; font-family: var(--display); font-size: 26px; letter-spacing: -0.035em; text-align: right; }
.comparison-grid { display: grid; grid-template-columns: 1fr 54px 1fr; align-items: stretch; }
.comparison-side { position: relative; min-height: 280px; padding: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; background: rgba(255, 255, 255, 0.025); }
.comparison-before { filter: saturate(0.7); }
.comparison-after { border-color: rgba(66, 215, 255, 0.26); background: radial-gradient(circle at 50% 45%, rgba(46, 109, 255, 0.14), transparent 46%), rgba(66, 215, 255, 0.035); }
.comparison-label { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.55); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.comparison-label i { width: 7px; height: 7px; border-radius: 50%; background: #8992a1; }
.comparison-after .comparison-label i { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.comparison-side > p { position: absolute; right: 24px; bottom: 21px; left: 24px; margin: 0; color: rgba(255, 255, 255, 0.46); font-size: 10px; line-height: 1.55; }
.loose-tools { position: relative; height: 155px; margin-top: 12px; }
.loose-tools > span { position: absolute; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: rgba(255, 255, 255, 0.55); background: #101b2d; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18); font-family: var(--mono); font-size: 7px; }
.loose-sheet { top: 14px; left: 5%; transform: rotate(-4deg); }
.loose-message { top: 28px; right: 2%; transform: rotate(3deg); }
.loose-note { top: 82px; left: 20%; transform: rotate(2deg); }
.loose-alert { top: 104px; right: 10%; transform: rotate(-3deg); }
.comparison-connector { position: relative; display: grid; place-items: center; color: var(--cyan); }
.comparison-connector i { position: absolute; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.comparison-connector span { position: relative; z-index: 2; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(66, 215, 255, 0.35); border-radius: 50%; background: #0a1729; font-size: 14px; }
.connected-core { position: relative; width: 175px; height: 155px; margin: 6px auto 0; }
.connected-core::before { content: ""; position: absolute; top: 50%; left: 50%; width: 106px; height: 106px; border: 1px solid rgba(66, 215, 255, 0.22); border-radius: 50%; transform: translate(-50%, -50%); }
.connected-core::after { content: ""; position: absolute; top: 50%; left: 50%; width: 1px; height: 1px; box-shadow: 0 -53px 0 0 rgba(66, 215, 255, 0.4), 50px -16px 0 0 rgba(66, 215, 255, 0.35), 31px 43px 0 0 rgba(66, 215, 255, 0.35), -31px 43px 0 0 rgba(66, 215, 255, 0.35), -50px -16px 0 0 rgba(66, 215, 255, 0.35); }
.connected-core > b { position: absolute; z-index: 3; top: 50%; left: 50%; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--cyan); border-radius: 16px; color: white; background: #102947; box-shadow: 0 0 30px rgba(66, 215, 255, 0.18); font-size: 14px; transform: translate(-50%, -50%); }
.connected-core > span { position: absolute; z-index: 2; top: 50%; left: 50%; padding: 4px 6px; border: 1px solid rgba(66, 215, 255, 0.18); border-radius: 99px; color: rgba(255, 255, 255, 0.58); background: #0b192c; font-family: var(--mono); font-size: 6px; transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-67px) rotate(calc(-1 * var(--angle))); }

.portfolio-section,
.process-section { padding: 115px 0; }

.portfolio-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 16, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 16, 31, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 96% 8%, rgba(46, 109, 255, 0.18), transparent 28%),
    radial-gradient(circle at 3% 72%, rgba(66, 215, 255, 0.13), transparent 26%),
    #ccd9e8;
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

.section-heading {
  margin-bottom: 43px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
  gap: 75px;
}

.section-heading h2,
.process-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(39px, 4.7vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.75;
}

.portfolio-toolbar {
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 45px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(244, 248, 253, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-button span { color: #9198a5; font-family: var(--mono); font-size: 8px; }
.filter-button:hover { border-color: rgba(46, 109, 255, 0.4); }
.filter-button.is-active { color: white; border-color: var(--blue); background: var(--blue); }
.filter-button.is-active span { color: rgba(255, 255, 255, 0.7); }



.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 1051px) {
  .portfolio-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .portfolio-card { grid-column: span 2; }
  .portfolio-grid:not(.is-filtered) .portfolio-card:nth-child(4),
  .portfolio-grid:not(.is-filtered) .portfolio-card:nth-child(5) { grid-column: span 3; }
}



.portfolio-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(242, 247, 252, 0.74);
  box-shadow: 0 18px 50px rgba(16, 31, 54, 0.09), inset 0 1px rgba(255, 255, 255, 0.68);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(330px circle at var(--spot-x) var(--spot-y), rgba(66, 215, 255, 0.15), transparent 62%);
  transition: opacity 0.25s ease;
}

.portfolio-card:hover::before { opacity: 1; }
.portfolio-image,
.portfolio-body { position: relative; z-index: 2; }

.portfolio-card:hover {
  border-color: rgba(46, 109, 255, 0.4);
  box-shadow: 0 26px 60px rgba(16, 31, 54, 0.16), inset 0 1px rgba(255, 255, 255, 0.75);
  transform: translateY(-4px);
}

.portfolio-card.is-hidden { display: none; }

.portfolio-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #b9c8da;
}

.portfolio-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 16, 31, 0.64), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.portfolio-image > span {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 15px;
  color: white;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.portfolio-card:hover .portfolio-image img { transform: scale(1.035); }
.portfolio-card:hover .portfolio-image::after,
.portfolio-card:hover .portfolio-image > span { opacity: 1; }
.portfolio-card:hover .portfolio-image > span { transform: none; }

.portfolio-body { padding: 23px; }

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-meta span {
  padding: 4px 7px;
  color: var(--blue);
  border: 1px solid rgba(46, 109, 255, 0.15);
  border-radius: 99px;
  background: rgba(46, 109, 255, 0.06);
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.035em;
}

.portfolio-card p {
  min-height: 66px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.portfolio-body > a {
  min-height: 46px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}

.portfolio-body > a span { color: var(--blue); font-size: 17px; transition: transform 0.2s ease; }
.portfolio-body > a:hover span { transform: translateX(3px); }

.services-section {
  position: relative;
  padding: 115px 0;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 85% 10%, rgba(46, 109, 255, 0.17), transparent 28%),
    var(--navy);
}

.cosmos-soft { opacity: 0.52; }
.services-section > .shell { position: relative; z-index: 2; }
.section-heading-light > p { color: rgba(255, 255, 255, 0.52); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 420px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  border-color: rgba(66, 215, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.service-number { color: rgba(255, 255, 255, 0.34); font-family: var(--mono); font-size: 8px; }

.service-icon {
  width: 51px;
  height: 51px;
  margin: 55px 0 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(66, 215, 255, 0.25);
  border-radius: 15px;
  color: var(--cyan);
  background: rgba(66, 215, 255, 0.06);
  font-family: var(--mono);
  font-size: 20px;
}

.service-card h3 { margin: 0 0 12px; font-family: var(--display); font-size: 23px; letter-spacing: -0.03em; }
.service-card p { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 13px; line-height: 1.7; }
.service-card ul { margin: auto 0 0; padding: 21px 0 0; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; border-top: 1px solid var(--line-light); }
.service-card li { padding: 4px 7px; border: 1px solid var(--line-light); border-radius: 99px; color: rgba(255, 255, 255, 0.52); font-family: var(--mono); font-size: 7px; text-transform: uppercase; }

.process-section {
  background:
    linear-gradient(rgba(46, 109, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 109, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 90% 18%, rgba(46, 109, 255, 0.16), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(66, 215, 255, 0.1), transparent 25%),
    #c8d6e6;
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 105px;
}

.process-copy > p:not(.eyebrow) { margin: 24px 0; color: var(--muted); }

.text-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  color: var(--blue);
  border-bottom: 1px solid rgba(46, 109, 255, 0.3);
  font-size: 13px;
  font-weight: 700;
}

.process-steps { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }

.process-steps li {
  min-height: 130px;
  padding: 25px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 23px;
  border: 1px solid rgba(16, 24, 39, 0.13);
  border-radius: 18px;
  background: rgba(240, 246, 252, 0.45);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.52);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.process-steps li:hover { border-color: rgba(46, 109, 255, 0.34); background: rgba(244, 248, 253, 0.64); transform: translateX(5px); }

.process-steps > li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.34);
  font-family: var(--mono);
  font-size: 9px;
}

.process-steps h3 { margin: 5px 0 7px; font-family: var(--display); font-size: 19px; letter-spacing: -0.025em; }
.process-steps p { margin: 0; color: var(--muted); font-size: 13px; }

.contact-section {
  position: relative;
  padding: 115px 0;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 8% 14%, rgba(66, 215, 255, 0.2), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(46, 109, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #081a38, #0d3276 58%, #164cae);
}

.contact-section .cosmos { opacity: 0.38; mask-image: none; }

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 72px;
}

.contact-copy > p:not(.eyebrow) { margin: 25px 0 31px; color: rgba(255, 255, 255, 0.67); }

.contact-promises { margin: 0 0 31px; padding: 0; display: grid; gap: 10px; list-style: none; }
.contact-promises li { padding: 13px 0; display: grid; grid-template-columns: 39px 1fr; gap: 13px; border-top: 1px solid rgba(255, 255, 255, 0.13); }
.contact-promises li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.contact-promises i { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(66, 215, 255, 0.3); border-radius: 50%; color: var(--cyan); font-family: var(--mono); font-size: 8px; font-style: normal; }
.contact-promises span { color: rgba(255, 255, 255, 0.52); font-size: 12px; }
.contact-promises strong { display: block; margin-bottom: 2px; color: white; font-size: 13px; }

.contact-meta { display: flex; flex-direction: column; gap: 7px; color: rgba(255, 255, 255, 0.55); font-family: var(--mono); font-size: 9px; }
.contact-meta a { color: white; }

.contact-form {
  padding: 34px;
  border: 1px solid rgba(66, 215, 255, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(5, 15, 31, 0.94), rgba(12, 31, 61, 0.92));
  box-shadow: 0 35px 80px rgba(2, 9, 22, 0.38), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.form-heading { margin-bottom: 12px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.form-heading > div > span { color: var(--cyan); font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; }
.form-heading h3 { margin: 5px 0 0; color: white; font-family: var(--display); font-size: 27px; letter-spacing: -0.04em; }
.form-heading > b { color: rgba(255, 255, 255, 0.48); font-family: var(--mono); font-size: 9px; font-weight: 500; }

.form-progress { height: 3px; margin-bottom: 27px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
.form-progress i { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 18px rgba(66, 215, 255, 0.42); transition: width 0.3s ease; }

.form-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field > span,
.brief-fieldset legend {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  outline: 0;
  color: white;
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--sans);
  font-size: 16px;
  text-transform: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.contact-form select option { color: white; background: var(--navy-2); }

.contact-form input,
.contact-form select { height: 53px; }
.contact-form textarea { min-height: 104px; padding-top: 13px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(66, 215, 255, 0.1); }

.brief-fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.brief-fieldset legend { margin-bottom: 8px; }
.brief-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.brief-options label { position: relative; min-width: 0; cursor: pointer; }
.brief-options input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; opacity: 0; }
.brief-option { position: relative; min-height: 79px; padding: 14px 38px 14px 14px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; background: rgba(255, 255, 255, 0.045); transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.brief-option::after { content: ""; position: absolute; top: 15px; right: 14px; width: 13px; height: 13px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; }
.brief-option b { color: white; font-size: 13px; }
.brief-option small { margin-top: 3px; color: rgba(255, 255, 255, 0.42); font-size: 10px; line-height: 1.35; }
.brief-options label:hover .brief-option { border-color: rgba(66, 215, 255, 0.34); background: rgba(66, 215, 255, 0.07); transform: translateY(-1px); }
.brief-options input:focus-visible + .brief-option { outline: 2px solid var(--cyan); outline-offset: 2px; }
.brief-options input:checked + .brief-option { border-color: rgba(66, 215, 255, 0.72); background: rgba(66, 215, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(66, 215, 255, 0.12); }
.brief-options input:checked + .brief-option::after { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 13px rgba(66, 215, 255, 0.55); }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.button-whatsapp { width: 100%; color: #03101f; background: linear-gradient(100deg, var(--cyan), #68e9ff); box-shadow: 0 14px 30px rgba(66, 215, 255, 0.15); }
.contact-form.is-ready .button-whatsapp { box-shadow: 0 16px 38px rgba(66, 215, 255, 0.3); }
.contact-form > small { margin-top: 13px; display: block; color: rgba(255, 255, 255, 0.38); font-family: var(--mono); font-size: 7px; text-align: center; }
.contact-form > small i { color: var(--cyan); font-style: normal; }

.site-footer { padding: 50px 0 25px; color: white; background: var(--navy); }

.footer-main {
  padding-bottom: 38px;
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.9fr;
  align-items: start;
  gap: 50px;
  border-bottom: 1px solid var(--line-light);
}

.brand-footer .brand-logo { width: 175px; }
.footer-main > p { max-width: 410px; margin: 0; color: rgba(255, 255, 255, 0.46); font-size: 13px; }
.footer-main nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 22px; color: rgba(255, 255, 255, 0.58); font-size: 12px; }
.footer-main nav a:hover { color: white; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.whatsapp-float {
  position: fixed;
  z-index: 48;
  right: 20px;
  bottom: 20px;
  min-height: 52px;
  padding: 0 17px 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  color: #052b14;
  background: var(--green);
  box-shadow: 0 13px 35px rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.whatsapp-float.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.whatsapp-float.is-visible:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 21px; fill: currentColor; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.62s ease, transform 0.62s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero-layout { grid-template-columns: 0.85fr 1.15fr; gap: 40px; }
  .system-heading { gap: 50px; }
  .system-demo-stage { grid-template-columns: minmax(0, 1fr) 245px; }
  .phone-mockup { width: 175px; }
  .phone-screen { min-height: 330px; }
  .system-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { gap: 55px; }
}

@media (max-width: 860px) {
  :root { --shell: min(720px, calc(100% - 32px)); }

  .menu-button { display: grid; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    padding: 115px 28px 35px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 3px;
    background: rgba(7, 16, 31, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav > a:not(.header-cta) { min-height: 58px; display: flex; align-items: center; border-bottom: 1px solid var(--line-light); color: white; font-size: 23px; }
  .header-cta { margin-top: 20px; justify-content: center; }
  .menu-button[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .hero-layout { min-height: auto; padding-top: 135px; grid-template-columns: 1fr; gap: 62px; }
  .hero-visual-column { max-width: 680px; }
  .black-hole-stage { height: 410px; }
  .showcase { max-width: 680px; }

  .system-section,
  .portfolio-section,
  .services-section,
  .process-section,
  .contact-section { padding: 88px 0; }

  .section-heading,
  .system-heading { grid-template-columns: 1fr; gap: 22px; }
  .system-demo-stage { grid-template-columns: 1fr; }
  .device-showcase { padding: 8px 20px 4px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 40px; }
  .phone-mockup { width: 190px; margin-top: 0; }
  .flow-heading { grid-template-columns: 1fr; gap: 9px; }
  .flow-detail { grid-template-columns: 110px 0.9fr 1.1fr; }
  .differential-strip { grid-template-columns: 1fr; }
  .differential-strip > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .differential-strip > div:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .service-icon { margin: 30px 0 24px; }
  .process-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main nav { grid-column: span 2; justify-content: flex-start; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); --radius: 18px; }

  .header-inner { min-height: 76px; }
  .header-inner .brand-logo { width: 142px; }

  .hero { min-height: auto; }
  .hero::after { height: 30px; }
  .hero-layout { min-height: auto; padding: 120px 0 76px; gap: 53px; }
  .hero h1 {
    max-width: 24ch;
    font-size: clamp(28px, 7.4vw, 31px);
    line-height: 1.16;
    letter-spacing: -0.025em;
  }
  .hero-lead { max-width: 34ch; font-size: 15px; line-height: 1.6; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-trust { gap: 11px 16px; }

  .black-hole-stage { height: min(82vw, 330px); }
  .black-hole-scene {
    inset: -15% -18%;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 88% 76% at 50% 50%, black 0 60%, rgba(0, 0, 0, 0.82) 78%, transparent 100%);
    mask-image: radial-gradient(ellipse 88% 76% at 50% 50%, black 0 60%, rgba(0, 0, 0, 0.82) 78%, transparent 100%);
    transform: none;
    transition: opacity 0.5s ease;
  }
  .black-hole-canvas { touch-action: pan-y; }
  .hero-visual-column .showcase { margin-top: -50px; }

  .browser-bar { grid-template-columns: auto 1fr; }
  .live-badge { display: none; }
  .showcase-caption { min-height: 0; padding: 20px; grid-template-columns: 1fr; gap: 18px; }
  .showcase-actions { min-width: 0; flex-direction: row; align-items: center; }
  .showcase-actions > a { flex: 1; }
  .showcase-controls button { width: 44px; height: 44px; }

  .system-section,
  .portfolio-section,
  .services-section,
  .process-section,
  .contact-section { padding: 74px 0; }

  .section-heading h2,
  .system-heading h2,
  .process-copy h2,
  .contact-copy h2 { font-size: 38px; }

  .system-section { padding-bottom: 98px; }
  .system-demo-stage { padding: 13px; border-radius: 18px; }
  .dashboard-window-bar > span { text-align: left; }
  .screen-hotspot > span { display: none; }
  .hotspot-hint { min-height: 30px; line-height: 1.45; }
  .device-showcase { padding: 18px 7px 7px; grid-template-columns: 1fr; gap: 21px; }
  .device-copy { max-width: 310px; }
  .phone-mockup { width: 190px; margin-top: 0; }

  .screen-selector { margin-right: -14px; padding-right: 14px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .screen-selector::-webkit-scrollbar { display: none; }
  .screen-selector button { flex: 0 0 168px; scroll-snap-align: start; }

  .operation-flow { padding: 20px 16px; }
  .flow-heading h3 { font-size: 23px; }
  .flow-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 17px; }
  .flow-line { display: none; }
  .flow-node b { font-size: 9px; }
  .flow-detail { padding: 16px; grid-template-columns: 1fr; gap: 6px; }

  .before-after { padding: 20px 16px; }
  .comparison-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .comparison-heading h3 { font-size: 23px; text-align: left; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-connector { height: 44px; }
  .comparison-connector i { width: 1px; height: 100%; background: linear-gradient(transparent, var(--cyan), transparent); }
  .comparison-connector span { transform: rotate(90deg); }
  .comparison-side { min-height: 265px; }

  .system-modules { grid-template-columns: 1fr; }
  .system-module { min-height: 250px; }
  .system-module h3 { margin-top: 31px; }
  .system-actions { align-items: stretch; flex-direction: column; }
  .system-actions .button,
  .system-actions .text-link { width: 100%; }

  .portfolio-toolbar { flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; scrollbar-width: none; }
  .portfolio-toolbar::-webkit-scrollbar { display: none; }
  .filter-button { flex: 0 0 auto; min-height: 44px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card p { min-height: 0; }
  .portfolio-image > span { opacity: 1; transform: none; }
  .portfolio-image::after { opacity: 0.45; }

  .service-card { min-height: 350px; }
  .process-steps li { min-height: 130px; padding: 21px 18px; grid-template-columns: 42px 1fr; gap: 14px; }
  .contact-form { padding: 21px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .brief-option { min-height: 88px; padding: 13px 28px 13px 12px; }
  .brief-option::after { top: 13px; right: 11px; }

  .footer-main { grid-template-columns: 1fr; }
  .footer-main nav { grid-column: auto; }
  .footer-bottom { flex-direction: column; }

  .whatsapp-float { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .black-hole-stage.is-ready .black-hole-canvas { opacity: 0.86; }
}

/* Editorial simplification: keep the proof, remove repeated demonstrations. */
.hero-trust {
  display: none;
}

.system-section {
  padding-top: 100px;
  padding-bottom: 118px;
}

.system-section .device-showcase,
.system-section .operation-flow,
.system-section .system-modules,
.system-section .before-after,
.system-section .differential-strip {
  display: none;
}

.system-heading {
  margin-bottom: 30px;
}

.system-demo-stage {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 10px;
  padding: 20px;
}

.dashboard-explorer,
.screen-selector {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
}

.portfolio-toolbar {
  margin-bottom: 32px;
}

.portfolio-grid.is-filtered {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
}

.portfolio-grid.is-filtered .portfolio-card {
  grid-column: auto;
}

.portfolio-grid.is-filtered .portfolio-card[data-category="sistema"] {
  grid-column: 1 / -1;
}

.portfolio-card p {
  min-height: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card {
  min-height: 285px;
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  --glow-active: 0;
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-hue: 193;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --icon-x: 0px;
  --icon-y: 0px;
  --card-lift: 0px;
  touch-action: pan-y;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translateY(var(--card-lift));
  transition:
    transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.service-card:nth-child(2) { --glow-hue: 220; }
.service-card:nth-child(3) { --glow-hue: 40; }

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.service-card::before {
  z-index: 0;
  inset: 0;
  opacity: calc(0.16 + (var(--glow-active) * 0.84));
  background:
    radial-gradient(
      310px circle at var(--glow-x) var(--glow-y),
      hsl(var(--glow-hue) 100% 66% / 0.3),
      hsl(var(--glow-hue) 100% 55% / 0.1) 38%,
      transparent 66%
    );
}

.service-card::after {
  z-index: 2;
  inset: -1px;
  padding: 1px;
  opacity: var(--glow-active);
  border-radius: inherit;
  background:
    radial-gradient(
      190px circle at var(--glow-x) var(--glow-y),
      hsl(var(--glow-hue) 100% 78% / 0.98),
      hsl(var(--glow-hue) 100% 58% / 0.38) 38%,
      transparent 72%
    );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: hsl(var(--glow-hue) 100% 70% / 0.6);
  box-shadow:
    0 26px 60px -34px hsl(var(--glow-hue) 100% 58% / 0.72),
    0 12px 24px -18px rgba(0, 0, 0, 0.9);
}

.service-card .service-icon {
  transform: translate3d(var(--icon-x), var(--icon-y), 28px);
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease;
}

.service-card:hover .service-icon {
  box-shadow: 0 12px 30px -15px hsl(var(--glow-hue) 100% 62% / 0.85);
}

.service-card .service-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid hsl(var(--glow-hue) 100% 66% / 0.55);
  border-radius: inherit;
  pointer-events: none;
  animation: service-icon-pulse 3.4s ease-out infinite;
}

.service-card:nth-child(2) .service-icon::after { animation-delay: 0.7s; }
.service-card:nth-child(3) .service-icon::after { animation-delay: 1.4s; }

.hero .cosmos::after,
.hero .orbit-two,
.system-section .system-circuit path,
.system-section .system-circuit circle,
.system-section .screen-hotspot::before,
.system-section .screen-hotspot::after,
.system-section .phone-mockup,
.system-section .phone-orbit.orbit-b,
.services-section .service-card::before,
.services-section .service-icon::after {
  animation-play-state: paused;
}

.hero.is-motion-active .cosmos::after,
.hero.is-motion-active .orbit-two,
.system-section.is-motion-active .system-circuit path,
.system-section.is-motion-active .system-circuit circle,
.system-section.is-motion-active .screen-hotspot::before,
.system-section.is-motion-active .screen-hotspot::after,
.system-section.is-motion-active .phone-mockup,
.system-section.is-motion-active .phone-orbit.orbit-b,
.services-section.is-motion-active .service-card::before,
.services-section.is-motion-active .service-icon::after {
  animation-play-state: running;
}

@keyframes service-icon-pulse {
  0%, 56% { opacity: 0; transform: scale(1); }
  68% { opacity: 0.72; }
  100% { opacity: 0; transform: scale(1.42); }
}

.service-card ul {
  display: none;
}

.service-icon {
  margin: 26px 0 20px;
}

.screen-selector button {
  position: relative;
}

.screen-selector button::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 3px;
  left: 7px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}

.screen-selector.is-auto-playing button.is-active::after {
  opacity: 0.9;
  animation: system-screen-progress 4.8s linear forwards;
}

@keyframes system-screen-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (min-width: 861px) {
  .portfolio-grid.is-filtered .portfolio-card[data-category="sistema"] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  }

  .portfolio-grid.is-filtered .portfolio-card[data-category="sistema"] .portfolio-image {
    min-height: 390px;
    aspect-ratio: auto;
  }

  .portfolio-grid.is-filtered .portfolio-card[data-category="sistema"] .portfolio-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
  }
}

.whatsapp-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
}

@media (max-width: 620px) {
  .contact-section {
    padding-bottom: 58px;
  }

  .site-footer {
    padding: 34px 0 calc(20px + env(safe-area-inset-bottom));
  }

  .footer-main {
    padding-bottom: 24px;
    gap: 24px;
  }

  .brand-footer .brand-logo {
    width: 150px;
  }

  .footer-main nav {
    gap: 16px 20px;
  }

  .footer-bottom {
    padding-top: 16px;
    gap: 8px;
  }

  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

/* Mobile-first motion system. */
.site-header,
.header-inner,
.brand-logo {
  transition:
    transform var(--motion-medium) var(--ease-standard),
    min-height var(--motion-medium) var(--ease-standard),
    width var(--motion-medium) var(--ease-standard),
    background var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.site-header.is-sticky .header-inner {
  min-height: 68px;
}

.site-header.is-sticky .brand-logo {
  width: 146px;
}

.site-header.is-hidden {
  transform: translateY(-112%);
}

.portfolio-swipe-status {
  display: none;
}

.portfolio-card.reveal .portfolio-image,
.portfolio-card.reveal .portfolio-body {
  opacity: 0;
  transition:
    opacity var(--motion-slow) ease,
    transform var(--motion-slow) var(--ease-out);
  transition-delay: var(--depth-delay, 0ms);
}

.portfolio-card.reveal .portfolio-image {
  transform: translate3d(0, 22px, 0) scale(0.965);
}

.portfolio-card.reveal .portfolio-body {
  transform: translate3d(0, 14px, 0);
  transition-delay: calc(var(--depth-delay, 0ms) + 70ms);
}

.portfolio-card.reveal.is-visible .portfolio-image,
.portfolio-card.reveal.is-visible .portfolio-body {
  opacity: 1;
  transform: none;
}

.scroll-tone-section {
  --tone-x: 18%;
  --tone-y: 24%;
  --tone-color: rgba(46, 109, 255, 0.14);
  position: relative;
  isolation: isolate;
}

.scroll-tone-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(620px circle at var(--tone-x) var(--tone-y), var(--tone-color), transparent 70%);
  will-change: background-position;
}

.scroll-tone-section > .shell {
  position: relative;
  z-index: 1;
}

.services-section { --tone-color: rgba(66, 215, 255, 0.1); }
.process-section { --tone-color: rgba(46, 109, 255, 0.16); }
.contact-section { --tone-color: rgba(46, 109, 255, 0.14); }

.form-step {
  display: contents;
}

.form-step-navigation {
  display: none;
}

.has-tap-ripple {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.tap-ripple {
  position: absolute;
  z-index: 8;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(0);
  animation: tap-ripple var(--motion-slow) ease-out forwards;
}

@keyframes tap-ripple {
  to { opacity: 0; transform: translate(-50%, -50%) scale(16); }
}

.button.has-tap-ripple:active,
.filter-button.has-tap-ripple:active,
.form-step-button:active {
  transform: scale(0.975);
}

@media (max-width: 620px) {
  .site-header.is-sticky .header-inner {
    min-height: 58px;
  }

  .site-header.is-sticky .brand-logo {
    width: 116px;
  }

  .portfolio-grid.is-filtered {
    width: calc(100% + 32px);
    margin-right: -16px;
    margin-left: -16px;
    padding: 7px 16px 24px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .portfolio-grid.is-filtered::-webkit-scrollbar {
    display: none;
  }

  .portfolio-grid.is-filtered .portfolio-card,
  .portfolio-grid.is-filtered .portfolio-card[data-category="sistema"] {
    flex: 0 0 min(86vw, 340px);
    width: min(86vw, 340px);
    grid-column: auto;
    scroll-snap-align: center;
    opacity: 0.72;
    transform: scale(0.945);
    transform-origin: center;
    transition:
      opacity var(--motion-medium) ease,
      transform var(--motion-medium) var(--ease-out),
      border-color var(--motion-medium) ease,
      box-shadow var(--motion-medium) ease;
  }

  .portfolio-grid.is-filtered .portfolio-card[data-swipe-active] {
    opacity: 1;
    border-color: rgba(46, 109, 255, 0.34);
    box-shadow: 0 24px 52px rgba(25, 65, 126, 0.17);
    transform: scale(1);
  }

  .portfolio-swipe-status {
    width: 100%;
    margin-top: 4px;
    display: grid;
    grid-template-columns: auto minmax(70px, 1fr) auto;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 8px;
    text-transform: uppercase;
  }

  .portfolio-swipe-status.is-single {
    display: none;
  }

  .portfolio-swipe-status > i {
    height: 2px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(16, 24, 39, 0.12);
  }

  .portfolio-swipe-status > i > b {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    transition: width var(--motion-medium) var(--ease-standard);
  }

  .portfolio-swipe-status small {
    font-size: inherit;
    letter-spacing: 0.08em;
  }

  .process-steps {
    --process-progress: 0%;
    position: relative;
  }

  .process-steps::before,
  .process-steps::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 42px;
    bottom: 42px;
    left: 39px;
    width: 2px;
    border-radius: 99px;
  }

  .process-steps::before {
    background: rgba(46, 109, 255, 0.12);
  }

  .process-steps::after {
    bottom: auto;
    height: var(--process-progress);
    max-height: calc(100% - 84px);
    background: linear-gradient(var(--cyan), var(--blue));
    box-shadow: 0 0 14px rgba(46, 109, 255, 0.36);
    transition: height var(--motion-slow) var(--ease-standard);
  }

  .process-steps li {
    position: relative;
    z-index: 1;
    opacity: 0.64;
    transform: translate3d(10px, 0, 0);
    transition:
      opacity var(--motion-medium) ease,
      transform var(--motion-medium) var(--ease-out),
      border-color var(--motion-medium) ease,
      background var(--motion-medium) ease,
      box-shadow var(--motion-medium) ease;
  }

  .process-steps li.is-process-current,
  .process-steps li.is-process-complete {
    opacity: 1;
    transform: none;
  }

  .process-steps li.is-process-current {
    border-color: rgba(46, 109, 255, 0.42);
    background: rgba(244, 248, 253, 0.82);
    box-shadow: 0 18px 40px rgba(46, 109, 255, 0.11);
  }

  .process-steps li.is-process-current > span,
  .process-steps li.is-process-complete > span {
    color: white;
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 0 0 5px rgba(46, 109, 255, 0.09);
  }

  .form-step {
    min-height: 185px;
    display: none;
  }

  .form-step.is-active {
    display: block;
    animation: form-step-enter var(--motion-medium) var(--ease-out) both;
  }

  @keyframes form-step-enter {
    from { opacity: 0; transform: translate3d(22px, 0, 0); }
    to { opacity: 1; transform: none; }
  }

  .form-step.is-backward {
    animation-name: form-step-enter-back;
  }

  @keyframes form-step-enter-back {
    from { opacity: 0; transform: translate3d(-22px, 0, 0); }
    to { opacity: 1; transform: none; }
  }

  .form-step-navigation {
    margin-top: 7px;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 8px;
  }

  .form-step-button {
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: white;
    background: rgba(255, 255, 255, 0.055);
    font-weight: 700;
  }

  .form-step-next {
    border-color: transparent;
    color: #04111f;
    background: linear-gradient(100deg, var(--cyan), #64e8ff);
  }

  .contact-form.is-first-step .form-step-back {
    opacity: 0.36;
    pointer-events: none;
  }

  .contact-form .button-whatsapp {
    display: none;
  }

  .contact-form.is-last-step .form-step-next {
    display: none;
  }

  .contact-form.is-last-step .form-step-navigation {
    grid-template-columns: 0.72fr;
  }

  .contact-form.is-last-step .button-whatsapp {
    margin-top: 10px;
    display: flex;
  }

  .contact-form > small {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-tone-section::after {
    display: none;
  }

  .portfolio-card.reveal .portfolio-image,
  .portfolio-card.reveal .portfolio-body {
    opacity: 1;
    transform: none;
  }

  .cosmos::after,
  .orbit-two,
  .system-circuit path,
  .system-circuit circle,
  .screen-hotspot::before,
  .screen-hotspot::after,
  .phone-mockup,
  .phone-orbit.orbit-b,
  .service-card::before,
  .service-icon::after {
    animation: none !important;
  }

  .hero-depth-layer,
  .pixel-stars-background,
  .hero > .cosmos,
  .hero .hero-orbit,
  .hero-copy {
    transform: none;
    translate: none;
  }
}

/* Thumbnail carousel for the real SVS Gestão screens. */
.dashboard-screen {
  --screen-drag-x: 0px;
  --screen-drag-scale: 1;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.dashboard-screen:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.dashboard-screen.is-dragging {
  cursor: grabbing;
}

.dashboard-screen > img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate3d(var(--screen-drag-x), 0, 0) scale(var(--screen-drag-scale));
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-medium) var(--ease-out);
}

.dashboard-screen.is-dragging > img {
  transition: none;
}

.dashboard-screen.is-changing > img {
  opacity: 0.2;
  transform: translate3d(var(--screen-drag-x), 0, 0) scale(0.95);
}

.screen-selector {
  width: min(100%, 610px);
  margin: 18px auto 14px;
  padding: 10px 14px 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 50%;
  scrollbar-width: none;
}

.screen-selector::-webkit-scrollbar {
  display: none;
}

.screen-selector button,
.screen-selector button:hover {
  flex: 0 0 96px;
  width: 96px;
  min-width: 96px;
  padding: 4px;
  scroll-snap-align: center;
  opacity: 0.52;
  transform: scale(0.86);
  transform-origin: center;
  transition:
    opacity var(--motion-medium) ease,
    transform var(--motion-medium) var(--ease-out),
    border-color var(--motion-medium) ease,
    box-shadow var(--motion-medium) ease;
}

.screen-selector button:hover {
  opacity: 0.86;
  transform: scale(0.94) translateY(-1px);
}

.screen-selector button.is-active,
.screen-selector button.is-active:hover {
  z-index: 2;
  opacity: 1;
  border-color: rgba(66, 215, 255, 0.88);
  box-shadow: 0 10px 28px -15px rgba(66, 215, 255, 0.82);
  transform: scale(1.08);
}

.screen-selector img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  opacity: 1;
}

.screen-selector span {
  padding: 6px 2px 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 6px;
  text-align: center;
}

.screen-selector button.is-active span {
  color: white;
}

@media (max-width: 620px) {
  .screen-selector {
    width: calc(100% + 10px);
    margin-right: -5px;
    margin-left: -5px;
    padding-inline: calc(50% - 43px);
    justify-content: flex-start;
    gap: 8px;
  }

  .screen-selector button,
  .screen-selector button:hover {
    flex-basis: 86px;
    width: 86px;
    min-width: 86px;
  }
}

@media (max-width: 620px) {
  .system-section {
    padding-top: 74px;
    padding-bottom: 92px;
  }

  .system-demo-stage {
    padding: 12px;
  }

  .portfolio-toolbar {
    margin-bottom: 22px;
  }

  .portfolio-grid.is-filtered {
    grid-template-columns: 1fr;
  }

  .portfolio-grid.is-filtered .portfolio-card[data-category="sistema"] {
    display: block;
  }

  .service-card {
    min-height: 285px;
  }
}

/* Live menu inside an interactive 3D phone. */
.menu-phone-feature {
  --menu-phone-width: 226px;
  --menu-phone-height: 464px;
  --menu-phone-depth: 18px;
  --menu-phone-rotation: -18deg;
  --menu-phone-tilt: 2deg;
  --menu-phone-reflection-x: 18%;
  --menu-phone-reflection-opacity: 0.32;
  --menu-phone-shadow-x: 0px;
  --menu-phone-bob: 0px;
  --menu-halo-rotate: 0deg;
  --menu-iframe-scale: 0.528;
  position: relative;
  isolation: isolate;
  min-height: 548px;
  margin: 0 0 34px;
  padding: 42px clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  overflow: hidden;
  color: white;
  border: 1px solid rgba(66, 215, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 45%, rgba(46, 109, 255, 0.26), transparent 31%),
    radial-gradient(circle at 15% 5%, rgba(66, 215, 255, 0.1), transparent 29%),
    linear-gradient(145deg, #07101f, #0b1930 54%, #07101f);
  box-shadow: 0 28px 80px rgba(13, 39, 77, 0.2), inset 0 1px rgba(255, 255, 255, 0.06);
}

.menu-phone-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(116, 161, 222, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 161, 222, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.menu-phone-copy { position: relative; z-index: 2; max-width: 510px; }
.menu-phone-copy .eyebrow { color: rgba(255, 255, 255, 0.58); }
.menu-phone-copy .eyebrow span { color: #07101f; background: var(--cyan); }
.menu-phone-copy h3 {
  margin: 18px 0 16px;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.menu-phone-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.7;
}
.menu-phone-copy .button { width: fit-content; }

.menu-phone-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 320px);
  height: 510px;
  justify-self: center;
  perspective: 1300px;
  perspective-origin: 50% 42%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.menu-phone-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 53px;
  width: 178px;
  height: 27px;
  border-radius: 50%;
  opacity: 0.72;
  filter: blur(14px);
  background: rgba(0, 0, 0, 0.72);
  transform: translateX(calc(-50% + var(--menu-phone-shadow-x))) scaleX(1.05);
}
.menu-phone-stage:active,
.menu-phone-stage.is-dragging { cursor: grabbing; }
.menu-phone-stage:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 8px;
  border-radius: 22px;
}

.menu-phone-halo {
  position: absolute;
  z-index: -1;
  top: 45%;
  left: 50%;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(66, 215, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(46, 109, 255, 0.1), 0 0 80px rgba(46, 109, 255, 0.12);
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(var(--menu-halo-rotate));
}
.menu-phone-halo::before,
.menu-phone-halo::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: inherit;
}
.menu-phone-halo::after { inset: 65px; border-color: rgba(216, 166, 74, 0.2); }

.menu-phone-rotor {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--menu-phone-width);
  height: var(--menu-phone-height);
  margin-left: calc(var(--menu-phone-width) / -2);
  transform-style: preserve-3d;
  will-change: transform;
  transform: translate3d(0, var(--menu-phone-bob), 0) rotateX(var(--menu-phone-tilt)) rotateY(var(--menu-phone-rotation));
}
.menu-phone-stage.is-dragging .menu-phone-rotor { filter: brightness(1.04); }

.menu-phone-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 40px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.46),
    inset 0 0 0 2px rgba(255, 255, 255, 0.055),
    inset 0 0 0 7px #07090d;
}
.menu-phone-front {
  padding: 8px;
  background: linear-gradient(145deg, #39404b, #080a0e 42%, #232a35 72%, #05070a);
  transform: translateZ(calc(var(--menu-phone-depth) / 2));
}
.menu-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 33px;
  background: #fbf6ee;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.34);
}
.menu-phone-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 844px;
  border: 0;
  pointer-events: none;
  transform: scale(var(--menu-iframe-scale));
  transform-origin: 0 0;
}
.menu-phone-island {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 70px;
  height: 19px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  background: #030406;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.menu-phone-back {
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(73, 94, 128, 0.34), transparent 26%),
    linear-gradient(145deg, #242b35, #080a0e 52%, #161b23);
  transform: rotateY(180deg) translateZ(calc(var(--menu-phone-depth) / 2));
}
.menu-phone-back::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: var(--menu-phone-reflection-opacity);
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 12%,
    rgba(255, 255, 255, 0.06) 33%,
    rgba(139, 218, 255, 0.32) 48%,
    transparent 66%
  );
  background-position: var(--menu-phone-reflection-x) 0;
  background-size: 230% 100%;
  mix-blend-mode: screen;
}
.menu-phone-back::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 31px;
}
.menu-phone-camera-cluster {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 25px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 25px;
  background: linear-gradient(145deg, #2d3541, #0b0e13);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.menu-phone-camera-cluster i {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid #3a4350;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #5ea7d7 0 5%, #101d2c 18%, #020305 54%, #131820 58%);
  box-shadow: 0 0 0 2px #05070a, inset 0 0 8px rgba(75, 177, 255, 0.28);
}
.menu-phone-camera-cluster i:nth-child(1) { top: 8px; left: 10px; }
.menu-phone-camera-cluster i:nth-child(2) { right: 9px; bottom: 9px; }
.menu-phone-camera-cluster i:nth-child(3) { bottom: 8px; left: 9px; }
.menu-phone-camera-cluster span {
  position: absolute;
  top: 15px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f1e6c4;
  box-shadow: 0 0 8px rgba(255, 238, 188, 0.4);
}
.menu-phone-back-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  opacity: 0.66;
  transform: translate(-50%, -50%);
}
.menu-phone-back-mark strong { display: block; font-family: var(--display); font-size: 38px; letter-spacing: -0.08em; }
.menu-phone-back-mark small { display: block; font-family: var(--mono); font-size: 6px; letter-spacing: 0.2em; white-space: nowrap; }

.menu-phone-edge {
  position: absolute;
  top: 30px;
  width: var(--menu-phone-depth);
  height: calc(var(--menu-phone-height) - 60px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(90deg, #090b0f, #444c58 48%, #0a0c10);
  transform: rotateY(90deg);
  transform-style: preserve-3d;
}
.menu-phone-edge-left { left: calc(var(--menu-phone-depth) / -2); }
.menu-phone-edge-right { right: calc(var(--menu-phone-depth) / -2); }
.menu-phone-edge i {
  position: absolute;
  left: 4px;
  width: 4px;
  height: 55px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
}
.menu-phone-edge i:first-child { top: 75px; }
.menu-phone-edge i:nth-child(2) { top: 145px; height: 88px; }
.menu-phone-edge-right i:first-child { top: 112px; height: 78px; }

.menu-phone-reflection {
  position: absolute;
  z-index: 9;
  top: 3px;
  bottom: 3px;
  left: var(--menu-phone-reflection-x);
  width: 33%;
  overflow: hidden;
  opacity: var(--menu-phone-reflection-opacity);
  pointer-events: none;
  border-radius: 38px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(
    104deg,
    transparent 5%,
    rgba(255, 255, 255, 0.05) 24%,
    rgba(255, 255, 255, 0.62) 48%,
    rgba(108, 217, 255, 0.18) 57%,
    transparent 78%
  );
  filter: blur(0.2px);
  mix-blend-mode: screen;
  transform: translate3d(-50%, 0, calc(var(--menu-phone-depth) / 2 + 2px)) skewX(-9deg);
  transition: left 90ms linear, opacity 120ms ease;
}

.menu-phone-gesture-layer {
  position: absolute;
  z-index: 8;
  inset: 0 0 58px;
  touch-action: pan-y;
}
.menu-phone-controls {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}
.menu-phone-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: white;
  background: rgba(8, 18, 35, 0.8);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.16s ease;
}
.menu-phone-controls button:hover,
.menu-phone-controls button:focus-visible { border-color: var(--cyan); background: rgba(66, 215, 255, 0.12); }
.menu-phone-controls button:active { transform: scale(0.9); }
.menu-phone-controls > span { min-width: 75px; text-align: center; }
.menu-phone-controls b { display: block; color: white; font-family: var(--mono); font-size: 10px; font-weight: 500; }
.menu-phone-controls small { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.38); font-family: var(--mono); font-size: 6px; letter-spacing: 0.12em; }

body.menu-phone-transitioning { overflow: hidden; }
.whatsapp-float.is-suppressed,
.whatsapp-float.is-contact-suppressed {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none !important;
  transform: translateY(12px) scale(0.88) !important;
}
.menu-phone-stage.is-opening {
  position: fixed;
  z-index: 3000;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  overflow: hidden;
  cursor: default;
  perspective: 1800px;
  background: #fbf6ee;
  transition: background 0.34s ease 0.34s;
}
.menu-phone-stage.is-opening::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(46, 109, 255, 0.18), transparent 52%);
  animation: menu-phone-open-flash 0.76s var(--ease-out) both;
}
.menu-phone-stage.is-opening::after,
.menu-phone-stage.is-opening .menu-phone-halo,
.menu-phone-stage.is-opening .menu-phone-controls,
.menu-phone-stage.is-opening .menu-phone-gesture-layer { opacity: 0; pointer-events: none; }
.menu-phone-stage.is-opening .menu-phone-rotor {
  top: 50%;
  margin-top: calc(var(--menu-phone-height) / -2);
  transform: rotateX(0deg) rotateY(0deg) scale(var(--menu-phone-open-scale, 3));
  transition: transform 0.76s var(--ease-out), filter 0.4s ease;
}
.menu-phone-stage.is-opening .menu-phone-face {
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.32), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.menu-phone-stage.is-opening .menu-phone-reflection { opacity: 0.12; }

@keyframes menu-phone-open-flash {
  0% { opacity: 0; transform: scale(0.55); }
  48% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.4); }
}

@media (max-width: 860px) {
  .menu-phone-feature {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    padding-inline: 28px;
  }
}

@media (max-width: 620px) {
  .menu-phone-feature {
    --menu-phone-width: 210px;
    --menu-phone-height: 432px;
    --menu-iframe-scale: 0.491;
    min-height: 0;
    margin-right: -2px;
    margin-bottom: 26px;
    margin-left: -2px;
    padding: 28px 18px 22px;
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 22px;
  }
  .menu-phone-copy { text-align: left; }
  .menu-phone-copy h3 { margin-top: 15px; font-size: clamp(36px, 11vw, 46px); }
  .menu-phone-copy > p:not(.eyebrow) { margin-bottom: 20px; font-size: 13px; }
  .menu-phone-copy .button { width: 100%; }
  .menu-phone-stage { width: min(100%, 294px); height: 480px; }
  .menu-phone-halo { width: 285px; height: 285px; }
}

@media (max-width: 370px) {
  .menu-phone-feature {
    --menu-phone-width: 198px;
    --menu-phone-height: 408px;
    --menu-iframe-scale: 0.461;
    padding-inline: 14px;
  }
  .menu-phone-stage { height: 456px; }
}

/* Portfolio depth transitions, live circuit and touch response. */
.portfolio-grid {
  position: relative;
  isolation: isolate;
  perspective: 1400px;
  transform-style: preserve-3d;
}
.portfolio-grid.is-switching { pointer-events: none; }
.portfolio-card {
  z-index: 2;
  transform-style: preserve-3d;
  transform-origin: center;
}
.portfolio-circuit {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  overflow: visible;
  pointer-events: none;
}
.portfolio-circuit path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portfolio-circuit-base {
  stroke: rgba(46, 109, 255, 0.15);
  stroke-width: 1.5;
  stroke-dasharray: 5 9;
}
.portfolio-circuit-progress {
  stroke: url(#portfolio-circuit-gradient);
  stroke: #2e6dff;
  stroke-width: 2.4;
  filter: drop-shadow(0 0 5px rgba(66, 215, 255, 0.72));
  stroke-dasharray: var(--portfolio-circuit-length, 1);
  stroke-dashoffset: var(--portfolio-circuit-offset, 1);
  transition: stroke-dashoffset 0.56s var(--ease-out);
}
.portfolio-circuit circle {
  fill: #f2f7fc;
  stroke: rgba(46, 109, 255, 0.44);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(66, 215, 255, 0.5));
}
.portfolio-circuit circle.is-active {
  fill: var(--cyan);
  stroke: white;
}

.portfolio-card.is-touching,
.portfolio-grid.is-filtered .portfolio-card.is-touching,
.portfolio-grid.is-filtered .portfolio-card[data-swipe-active].is-touching {
  border-color: rgba(46, 109, 255, 0.52);
  box-shadow: 0 28px 58px rgba(25, 65, 126, 0.2), inset 0 1px rgba(255, 255, 255, 0.82);
  transform:
    perspective(900px)
    translate3d(0, -3px, 18px)
    rotateX(var(--touch-tilt-x, 0deg))
    rotateY(var(--touch-tilt-y, 0deg))
    scale(0.985) !important;
}
.portfolio-card.is-touching::before { opacity: 1; }
.portfolio-card.is-touching .portfolio-image img {
  transform: scale(1.045) translate3d(var(--touch-image-x, 0), var(--touch-image-y, 0), 0);
}

.button.has-tap-ripple,
.filter-button.has-tap-ripple,
.portfolio-body > a.has-tap-ripple,
.form-step-button.has-tap-ripple {
  transform-origin: var(--tap-origin-x, 50%) var(--tap-origin-y, 50%);
  transition: transform 0.16s var(--ease-out), filter 0.16s ease, box-shadow 0.2s ease;
}
.button.has-tap-ripple:active,
.filter-button.has-tap-ripple:active,
.portfolio-body > a.has-tap-ripple:active,
.form-step-button.has-tap-ripple:active {
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(1px) scale(0.965);
}

@media (max-width: 620px) {
  .portfolio-circuit { opacity: 0.8; }
  .portfolio-circuit-base { stroke-width: 1.2; }
  .portfolio-circuit-progress { stroke-width: 2; }
}

@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .service-card::before {
    display: block;
    animation: service-mobile-glow 5.5s ease-in-out infinite alternate;
  }

  @keyframes service-mobile-glow {
    from { transform: translate3d(-14%, -4%, 0) scale(1.05); }
    to { transform: translate3d(14%, 5%, 0) scale(1.12); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card::before,
  .service-card::after {
    display: none;
  }

  .service-card,
  .service-card .service-icon {
    transform: none;
  }
}

/* Signature motion: constellation logo, black-hole bridge, live flow and device tilt. */
.site-header .brand-logo {
  position: relative;
}

.site-header .brand-logo > img {
  opacity: var(--constellation-logo-opacity, 1);
  transition: opacity 240ms ease;
}

.brand-constellation {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.brand-logo.is-constellation-building .brand-constellation {
  opacity: 1;
}

.brand-logo.is-constellation-complete .brand-constellation {
  opacity: 0;
}

.system-energy-bridge {
  position: fixed;
  z-index: 20;
  inset: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  contain: strict;
}

.system-demo-stage.is-receiving-energy {
  box-shadow:
    0 0 calc(10px + 24px * var(--bridge-energy, 0)) rgba(66, 215, 255, 0.28),
    0 30px 75px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.05);
}

.system-section .operation-flow {
  max-width: 980px;
  margin: 24px auto 0;
  padding: 23px 25px;
  display: block;
  border-color: rgba(66, 215, 255, 0.15);
  background:
    linear-gradient(110deg, rgba(66, 215, 255, 0.045), transparent 46%),
    rgba(255, 255, 255, 0.025);
}

.flow-line i {
  position: relative;
}

.flow-line i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 7px white, 0 0 17px var(--cyan), 0 0 28px var(--blue);
  transform: translateY(-50%);
  animation: flow-energy-pulse 1.2s ease-in-out infinite;
}

.flow-node.is-active i {
  animation: flow-node-energy 1.8s ease-in-out infinite;
}

@keyframes flow-energy-pulse {
  50% { opacity: 0.58; transform: translateY(-50%) scale(0.7); }
}

@keyframes flow-node-energy {
  50% { box-shadow: 0 0 0 7px rgba(66, 215, 255, 0.06), 0 0 26px rgba(66, 215, 255, 0.48); }
}

.menu-phone-motion {
  position: absolute;
  z-index: 12;
  bottom: 0;
  left: 50%;
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(66, 215, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 16, 31, 0.78);
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  white-space: nowrap;
}

.menu-phone-stage.is-motion-supported {
  height: 560px;
}

.menu-phone-stage.is-motion-supported .menu-phone-controls {
  bottom: 50px;
}

.menu-phone-stage.is-motion-supported .menu-phone-gesture-layer {
  bottom: 108px;
}

.menu-phone-stage.is-motion-supported .menu-phone-motion {
  display: inline-flex;
}

.menu-phone-motion span {
  color: var(--cyan);
  font-size: 15px;
}

.menu-phone-motion[aria-pressed="true"] {
  color: #04111f;
  border-color: var(--cyan);
  background: var(--cyan);
}

.menu-phone-motion[aria-pressed="true"] span {
  color: #04111f;
  animation: device-motion-status 1.4s ease-in-out infinite;
}

@keyframes device-motion-status {
  50% { transform: scale(1.22); }
}

@media (max-width: 620px) {
  .system-energy-bridge {
    mix-blend-mode: normal;
  }

  .system-section .operation-flow {
    width: 100%;
    margin-top: 18px;
    padding: 19px 16px;
  }

  .operation-flow .flow-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .operation-flow .flow-heading h3 {
    font-size: 23px;
    line-height: 1.14;
  }

  .operation-flow .flow-track {
    margin: 23px -16px 0;
    padding: 0 16px 8px;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .operation-flow .flow-track::-webkit-scrollbar {
    display: none;
  }

  .operation-flow .flow-line {
    display: none;
  }

  .operation-flow .flow-node {
    flex: 0 0 82px;
    min-height: 70px;
    scroll-snap-align: center;
  }

  .operation-flow .flow-node i {
    width: 38px;
    height: 38px;
  }

  .operation-flow .flow-detail {
    margin-top: 13px;
    padding: 15px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .menu-phone-stage.is-motion-supported {
    height: 530px;
  }
}

@media (max-width: 370px) {
  .menu-phone-stage.is-motion-supported {
    height: 506px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-energy-bridge {
    display: none;
  }

  .flow-line i::after,
  .flow-node.is-active i,
  .menu-phone-motion[aria-pressed="true"] span {
    animation: none;
  }
}

/* 2026-10 content hierarchy: less decoration, more product proof. */
@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.border-beam {
  isolation: isolate;
  border-color: rgba(66, 215, 255, 0.32);
  box-shadow:
    0 0 0 1px rgba(46, 109, 255, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.24);
}

.border-beam::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: -2px;
  padding: 2.5px;
  pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0 54%,
    rgba(66, 215, 255, 0.18) 62%,
    #b9f4ff 70%,
    var(--cyan) 77%,
    var(--blue) 86%,
    var(--gold) 94%,
    transparent 100%
  );
  filter:
    drop-shadow(0 0 5px rgba(185, 244, 255, 0.95))
    drop-shadow(0 0 13px rgba(46, 109, 255, 0.62));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-beam-travel 3.9s linear infinite;
}

.system-section:not(.is-motion-active) .border-beam::before {
  animation-play-state: paused;
}

.border-beam-runner {
  position: absolute;
  z-index: 7;
  top: 0;
  left: 0;
  width: 46px;
  height: 4px;
  pointer-events: none;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #fff 28%, var(--cyan) 58%, var(--gold));
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(66, 215, 255, 0.9),
    0 0 28px rgba(46, 109, 255, 0.6);
  offset-path: inset(2px round 20px);
  offset-rotate: auto;
  animation: border-beam-runner 4.2s linear infinite;
}

.system-section:not(.is-motion-active) .border-beam-runner {
  animation-play-state: paused;
}

@keyframes border-beam-travel {
  to { --beam-angle: 360deg; }
}

@keyframes border-beam-runner {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.hero-layout {
  min-height: 860px;
  padding: 122px 0 82px;
  grid-template-columns: minmax(0, 0.95fr) minmax(470px, 1.05fr);
  gap: 54px;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(36px, 3.35vw, 47px);
}

.black-hole-stage {
  height: clamp(285px, 27vw, 345px);
}

.hero-visual-column .showcase {
  margin-top: -48px;
}

.showcase-caption {
  min-height: 152px;
  padding: 20px 22px;
}

.showcase-info > p {
  margin-bottom: 9px;
}

.button-primary,
.showcase-actions > a {
  background: var(--blue);
}

.system-section {
  padding-top: 86px;
  padding-bottom: 104px;
}

.system-heading {
  margin-bottom: 24px;
}

.system-heading h2 {
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.system-evidence {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.system-evidence > div {
  min-height: 104px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.system-evidence > div:last-child {
  border-right: 0;
}

.system-evidence strong {
  margin-bottom: 5px;
  color: white;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.02em;
}

.system-evidence span {
  color: rgba(255, 255, 255, 0.53);
  font-size: 12px;
  line-height: 1.5;
}

.portfolio-section,
.services-section,
.process-section,
.contact-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.process-copy h2,
.contact-copy h2 {
  font-size: clamp(37px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.portfolio-card,
.service-card,
.process-steps li,
.contact-form {
  border-color: rgba(16, 24, 39, 0.12);
}

.service-card {
  min-height: 255px;
  padding: 24px;
}

.service-icon {
  margin: 24px 0 19px;
}

.service-card h3 {
  font-size: 21px;
  line-height: 1.28;
}

.service-card:nth-child(3) {
  --glow-hue: 40;
}

.contact-section {
  background:
    radial-gradient(circle at 8% 14%, rgba(66, 215, 255, 0.16), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(46, 109, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #08172e, #0c2857 58%, #123d86);
}

.contact-form {
  background: rgba(6, 18, 37, 0.94);
}

.form-optional-heading {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form-optional-heading strong {
  color: white;
  font-family: var(--display);
  font-size: 18px;
}

.form-optional-heading span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.button-whatsapp,
.form-step-next {
  background: var(--cyan);
}

.contact-form.is-ready .button-whatsapp {
  box-shadow: 0 14px 30px rgba(66, 215, 255, 0.22);
}

@media (max-width: 1024px) {
  .hero-layout {
    min-height: auto;
    padding-top: 122px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual-column {
    max-width: 700px;
  }

  .black-hole-stage {
    height: 330px;
  }
}

@media (max-width: 860px) {
  .hero-layout {
    padding-bottom: 58px;
  }

  .hero-visual-column .showcase {
    display: none;
  }

  .black-hole-stage {
    height: min(70vw, 300px);
  }

  .system-evidence {
    grid-template-columns: 1fr;
  }

  .system-evidence > div {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .system-evidence > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .hero-layout {
    padding: 106px 0 44px;
    gap: 14px;
  }

  .hero h1 {
    max-width: 25ch;
    font-size: clamp(27px, 7.25vw, 30px);
    line-height: 1.17;
  }

  .hero-actions {
    margin-top: 25px;
  }

  .black-hole-stage {
    height: min(66vw, 258px);
  }

  .black-hole-scene {
    inset: -13% -18%;
  }

  .system-section,
  .portfolio-section,
  .services-section,
  .process-section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .system-heading h2,
  .section-heading h2,
  .process-copy h2,
  .contact-copy h2 {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.1;
  }

  .system-evidence {
    margin-bottom: 20px;
  }

  .system-evidence > div {
    min-height: 74px;
    padding: 16px 17px;
  }

  .system-evidence strong {
    font-size: 15px;
  }

  .system-demo-stage {
    padding: 10px;
  }

  .menu-phone-copy h3 {
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.08;
  }

  .service-card {
    min-height: 235px;
    padding: 22px;
  }

  .form-step {
    min-height: 0;
  }

  .form-step.is-active {
    display: block;
  }

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

  .brief-option {
    min-height: 72px;
  }

  .portfolio-circuit,
  .hero .cosmos::after,
  .hero .orbit-two,
  .service-card .service-icon::after {
    display: none;
  }

  .border-beam::before {
    opacity: 1;
    padding: 2px;
    animation-duration: 5.2s;
    filter: drop-shadow(0 0 7px rgba(66, 215, 255, 0.72));
  }

  .border-beam-runner {
    width: 34px;
    height: 3px;
    animation-duration: 4.8s;
  }

  .scroll-tone-section::after {
    opacity: 0.48;
  }

  .service-card::before {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .border-beam::before {
    animation: none;
    --beam-angle: 54deg;
  }


  .border-beam-runner {
    animation: none;
    offset-distance: 12%;
  }
}

/* Site-wide velocity field adapted from the supplied shader reference. */
.hero {
  background-color: rgba(7, 16, 31, 0.18);
}

.system-section {
  background-color: rgba(10, 23, 41, 0.26);
}

.services-section {
  background-color: rgba(7, 16, 31, 0.26);
}

.portfolio-section,
.process-section {
  background-color: rgba(204, 217, 232, 0.95);
}

.contact-section {
  background:
    radial-gradient(circle at 8% 14%, rgba(66, 215, 255, 0.2), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(46, 109, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(8, 26, 56, 0.91), rgba(13, 50, 118, 0.92) 58%, rgba(22, 76, 174, 0.92));
}

.site-footer {
  background-color: rgba(7, 16, 31, 0.92);
  backdrop-filter: blur(12px);
}

@media (max-width: 620px) {
  .site-streak-background {
    opacity: 0.78;
  }
}

@media (max-width: 620px) and (prefers-reduced-motion: no-preference) {
  .portfolio-circuit {
    display: block;
    opacity: 0.46;
  }

  .hero .cosmos::after {
    display: block;
    opacity: 0.42;
    animation-duration: 20s;
  }

  .hero .orbit-two {
    display: block;
    opacity: 0.34;
    animation-duration: 70s;
  }

  .service-card .service-icon::after {
    display: block;
    animation-duration: 5.2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-streak-background {
    opacity: 0.52;
  }
}

/* Editorial cosmic introduction — scroll-led, independent from the main site. */
.cosmic-intro {
  position: relative;
  z-index: 70;
  height: 480svh;
  min-height: 2200px;
  color: #f4f7ff;
  background: #02050d;
}

.cosmic-intro-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 47%, rgba(18, 55, 108, 0.17), transparent 40%),
    linear-gradient(135deg, #02040a, #07101f 54%, #02050d);
}

.cosmic-intro-canvas,
.cosmic-intro-grid,
.cosmic-intro-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cosmic-intro-canvas {
  z-index: 0;
  display: block;
  touch-action: pan-y;
  contain: strict;
}

.cosmic-intro-grid {
  z-index: 1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(117, 176, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 176, 235, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

.cosmic-intro-vignette {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(1, 3, 9, 0.7), transparent 18%, transparent 76%, rgba(1, 3, 9, 0.84)),
    radial-gradient(ellipse at center, transparent 36%, rgba(1, 3, 9, 0.68) 100%);
}

.cosmic-intro-topline {
  position: absolute;
  z-index: 8;
  top: max(22px, env(safe-area-inset-top));
  right: 4.2vw;
  left: 4.2vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: rgba(226, 238, 255, 0.56);
  font-family: var(--mono);
  font-size: clamp(8px, 0.66vw, 11px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cosmic-intro-topline span:nth-child(2) { text-align: center; }
.cosmic-intro-topline span:last-child { text-align: right; }

.cosmic-scene {
  position: absolute;
  z-index: 4;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.cosmic-scene.is-active { visibility: visible; }
.cosmic-scene-finale.is-active a { pointer-events: auto; }

.cosmic-cover-mark {
  position: absolute;
  top: 12.5vh;
  left: 5.2vw;
  display: grid;
  align-items: start;
}

.cosmic-cover-mark > span,
.cosmic-scene small {
  color: rgba(198, 219, 244, 0.64);
  font-family: var(--mono);
  font-size: clamp(9px, 0.72vw, 12px);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cosmic-cover-mark > span::before,
.cosmic-scene small::before {
  content: "";
  width: 28px;
  height: 1px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(66, 215, 255, 0.74);
}

.cosmic-cover-mark strong {
  margin-top: clamp(8px, 1.1vh, 18px);
  font-family: var(--display);
  font-size: clamp(110px, 22vw, 350px);
  font-weight: 700;
  line-height: 0.77;
  letter-spacing: -0.09em;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.58);
}

.cosmic-cover-mark b {
  justify-self: end;
  margin-top: clamp(15px, 2vh, 28px);
  color: rgba(234, 243, 255, 0.9);
  font-family: var(--mono);
  font-size: clamp(11px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0.36em;
}

.cosmic-cover-copy {
  position: absolute;
  right: 5.2vw;
  bottom: 15vh;
  width: min(390px, 34vw);
  margin: 0;
  color: rgba(225, 235, 248, 0.74);
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.55;
}

.cosmic-cover-meta {
  position: absolute;
  right: 5.2vw;
  bottom: 6vh;
  left: 5.2vw;
  display: flex;
  justify-content: space-between;
  color: rgba(203, 221, 242, 0.48);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cosmic-flank {
  position: absolute;
  top: 50%;
  color: rgba(236, 243, 255, 0.92);
  font-family: var(--display);
  font-size: clamp(150px, 25vw, 390px);
  font-weight: 600;
  line-height: 0.7;
  text-shadow: 0 26px 80px rgba(0, 0, 0, 0.62);
  transform: translateY(-50%);
}

.cosmic-flank-left { left: 7vw; }
.cosmic-flank-right { right: 7vw; }

.cosmic-origin-copy {
  position: absolute;
  left: 50%;
  bottom: 8vh;
  width: min(620px, 76vw);
  text-align: center;
  transform: translateX(-50%);
}

.cosmic-origin-copy strong {
  margin-top: 12px;
  display: block;
  color: rgba(235, 243, 255, 0.82);
  font-size: clamp(19px, 2vw, 31px);
  font-weight: 500;
  line-height: 1.3;
}

.cosmic-editorial-copy {
  position: absolute;
  top: 20vh;
  left: 7vw;
  width: min(560px, 42vw);
}

.cosmic-editorial-copy h2,
.cosmic-system-title h2,
.cosmic-finale-copy h2 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(54px, 7.8vw, 126px);
  font-weight: 600;
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.cosmic-editorial-copy p {
  max-width: 450px;
  margin: 30px 0 0;
  color: rgba(216, 229, 246, 0.66);
  font-size: clamp(14px, 1.2vw, 19px);
}

.cosmic-spec-list {
  position: absolute;
  right: 5.2vw;
  bottom: 8vh;
  width: min(430px, 34vw);
  display: grid;
  color: rgba(223, 235, 249, 0.72);
  font-family: var(--mono);
  font-size: clamp(9px, 0.72vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cosmic-spec-list span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(157, 201, 244, 0.18);
}

.cosmic-spec-list span::before {
  content: "+";
  margin-right: 18px;
  color: var(--cyan);
}

.cosmic-system-title {
  position: absolute;
  top: 14vh;
  left: 50%;
  width: min(1040px, 84vw);
  text-align: center;
  transform: translateX(-50%);
}

.cosmic-system-title h2 {
  font-size: clamp(48px, 7vw, 112px);
}

.cosmic-system-columns {
  position: absolute;
  right: 7vw;
  bottom: 15vh;
  left: 7vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(153, 199, 240, 0.2);
  border-bottom: 1px solid rgba(153, 199, 240, 0.2);
}

.cosmic-system-columns span {
  min-height: 70px;
  display: grid;
  place-items: center;
  color: rgba(229, 239, 251, 0.78);
  font-family: var(--mono);
  font-size: clamp(9px, 0.78vw, 12px);
  letter-spacing: 0.2em;
}

.cosmic-system-columns span + span { border-left: 1px solid rgba(153, 199, 240, 0.2); }
.cosmic-scene-systems > p {
  position: absolute;
  right: 7vw;
  bottom: 8vh;
  margin: 0;
  color: rgba(204, 221, 241, 0.55);
  font-size: 13px;
}

.cosmic-finale-copy {
  position: absolute;
  top: 16vh;
  left: 7vw;
  width: min(740px, 56vw);
}

.cosmic-finale-copy h2 { font-size: clamp(50px, 6.5vw, 104px); }
.cosmic-finale-copy p {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(215, 228, 245, 0.66);
  font-size: clamp(14px, 1.1vw, 18px);
}

.cosmic-finale-copy a {
  min-height: 48px;
  margin-top: 30px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(117, 207, 255, 0.38);
  border-radius: 999px;
  background: rgba(11, 37, 67, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 16px 45px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  font-weight: 600;
  transition: border-color var(--motion-fast), background var(--motion-fast), transform var(--motion-fast);
}

.cosmic-finale-copy a:hover,
.cosmic-finale-copy a:focus-visible {
  border-color: var(--cyan);
  background: rgba(25, 78, 128, 0.7);
  transform: translateY(-2px);
}

.cosmic-finale-stamp {
  position: absolute;
  right: 5.2vw;
  bottom: 7vh;
  width: min(260px, 23vw);
  display: grid;
  gap: 12px;
  justify-items: end;
  color: rgba(200, 220, 243, 0.5);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.cosmic-finale-stamp img { width: 190px; opacity: 0.82; }

.cosmic-intro-nav {
  position: absolute;
  z-index: 12;
  top: 50%;
  right: max(18px, 2.2vw);
  display: grid;
  gap: 1px;
  transform: translateY(-50%);
}

.cosmic-intro-nav button {
  width: 52px;
  min-height: 44px;
  padding: 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 6px;
  border: 0;
  color: rgba(213, 228, 246, 0.38);
  background: transparent;
  cursor: pointer;
}

.cosmic-intro-nav span {
  font-family: var(--mono);
  font-size: 8px;
  opacity: 0;
  transition: opacity var(--motion-fast), color var(--motion-fast);
}

.cosmic-intro-nav i {
  width: 16px;
  height: 1px;
  display: block;
  justify-self: end;
  background: currentColor;
  transition: width var(--motion-medium) var(--ease-out), background var(--motion-fast), box-shadow var(--motion-fast);
}

.cosmic-intro-nav button:hover span,
.cosmic-intro-nav button:focus-visible span,
.cosmic-intro-nav button[aria-current="step"] span { opacity: 1; }
.cosmic-intro-nav button[aria-current="step"] { color: var(--cyan); }
.cosmic-intro-nav button[aria-current="step"] i {
  width: 28px;
  box-shadow: 0 0 12px rgba(66, 215, 255, 0.88);
}

.cosmic-intro-progress {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.cosmic-intro-progress i {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #298dff, var(--cyan), #d9b66f);
  box-shadow: 0 0 16px rgba(66, 215, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.cosmic-intro-skip {
  position: absolute;
  z-index: 14;
  right: 4.2vw;
  top: max(54px, calc(env(safe-area-inset-top) + 34px));
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(220, 233, 248, 0.62);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color var(--motion-fast);
}

.cosmic-intro-skip:hover,
.cosmic-intro-skip:focus-visible { color: white; }

.cosmic-intro-counter {
  position: absolute;
  z-index: 12;
  bottom: 4.5vh;
  left: 4.2vw;
  margin: 0;
  color: rgba(203, 220, 240, 0.38);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.cosmic-intro-counter b { color: var(--cyan); font-weight: 500; }

.cosmic-conversion-copy {
  position: absolute;
  z-index: 7;
  top: 14vh;
  left: 5.2vw;
  width: min(670px, 46vw);
}

.cosmic-conversion-copy h1 {
  max-width: 660px;
  margin: 18px 0 0;
  color: #f4f7fb;
  font-family: var(--display);
  font-size: clamp(34px, 3.3vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.cosmic-conversion-copy .hero-actions {
  margin-top: 26px;
}

.cosmic-conversion-copy .hero-trust {
  margin-top: 22px;
}

.cosmic-conversion-visual {
  position: absolute;
  z-index: 7;
  top: 39vh;
  right: 5.2vw;
  width: min(600px, 43vw);
}

.cosmic-showcase {
  border: 1px solid rgba(122, 195, 255, 0.12);
  background: rgba(6, 16, 30, 0.87);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.56), 0 0 55px rgba(46, 109, 255, 0.08);
}

.cosmic-scene-conversion.is-active .cosmic-conversion-copy,
.cosmic-scene-conversion.is-active .cosmic-conversion-visual {
  pointer-events: auto;
}

.cosmic-scene-conversion .button,
.cosmic-scene-conversion .showcase {
  pointer-events: none;
}

.cosmic-scene-conversion.is-active .button,
.cosmic-scene-conversion.is-active .showcase,
.cosmic-scene-conversion.is-active .showcase * {
  pointer-events: auto;
}

body.cosmic-intro-active .site-header,
body.cosmic-intro-active .whatsapp-float,
body.cosmic-intro-active > .scroll-progress {
  opacity: 0;
  pointer-events: none;
}

body.cosmic-intro-active .site-streak-background,
body.cosmic-intro-active .system-energy-bridge { opacity: 0; }

.site-header,
.whatsapp-float,
.scroll-progress,
.site-streak-background,
.system-energy-bridge {
  transition: opacity 320ms var(--ease-standard), transform 320ms var(--ease-standard);
}

@media (max-width: 720px) {
  .cosmic-intro {
    height: 430svh;
    min-height: 2100px;
  }

  .cosmic-intro-stage { min-height: 520px; }
  .cosmic-intro-grid {
    opacity: 0.3;
    background-size: 52px 52px;
  }

  .cosmic-intro-topline {
    top: max(15px, env(safe-area-inset-top));
    right: 18px;
    left: 18px;
    grid-template-columns: 1fr auto;
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .cosmic-intro-topline span:nth-child(2) { display: none; }
  .cosmic-intro-topline span:last-child { text-align: right; }

  .cosmic-intro-skip {
    top: max(38px, calc(env(safe-area-inset-top) + 24px));
    right: 18px;
    font-size: 7px;
  }

  .cosmic-cover-mark {
    top: 15vh;
    right: 22px;
    left: 22px;
  }

  .cosmic-cover-mark strong {
    margin-top: 15px;
    font-size: clamp(92px, 38vw, 164px);
    line-height: 0.78;
    letter-spacing: -0.08em;
  }

  .cosmic-cover-mark b {
    justify-self: start;
    margin-top: 16px;
    font-size: 9px;
    letter-spacing: 0.27em;
  }

  .cosmic-cover-copy {
    right: 22px;
    bottom: 14vh;
    left: 22px;
    width: auto;
    max-width: 330px;
    font-size: 14px;
  }

  .cosmic-cover-meta {
    right: 22px;
    bottom: 5.8vh;
    left: 22px;
    font-size: 7px;
  }

  .cosmic-flank {
    top: 46%;
    font-size: clamp(106px, 42vw, 178px);
  }

  .cosmic-flank-left { left: 7vw; }
  .cosmic-flank-right { right: 7vw; }
  .cosmic-origin-copy {
    bottom: 9vh;
    width: calc(100% - 52px);
  }

  .cosmic-origin-copy strong { font-size: 18px; }
  .cosmic-editorial-copy {
    top: 13vh;
    right: 24px;
    left: 24px;
    width: auto;
  }

  .cosmic-editorial-copy h2,
  .cosmic-system-title h2,
  .cosmic-finale-copy h2 {
    margin-top: 13px;
    font-size: clamp(46px, 15.4vw, 72px);
    line-height: 0.94;
  }

  .cosmic-editorial-copy p {
    max-width: 300px;
    margin-top: 18px;
    font-size: 13px;
  }

  .cosmic-spec-list {
    right: 24px;
    bottom: 7.5vh;
    left: 24px;
    width: auto;
    font-size: 8px;
  }

  .cosmic-spec-list span { min-height: 38px; }
  .cosmic-system-title {
    top: 12vh;
    width: calc(100% - 48px);
  }

  .cosmic-system-columns {
    right: 24px;
    bottom: 14vh;
    left: 24px;
    grid-template-columns: 1fr;
  }

  .cosmic-system-columns span { min-height: 42px; font-size: 8px; }
  .cosmic-system-columns span + span {
    border-top: 1px solid rgba(153, 199, 240, 0.2);
    border-left: 0;
  }

  .cosmic-scene-systems > p {
    right: 24px;
    bottom: 7.5vh;
    left: 24px;
    font-size: 11px;
    text-align: center;
  }

  .cosmic-finale-copy {
    top: 12vh;
    right: 24px;
    left: 24px;
    width: auto;
  }

  .cosmic-finale-copy h2 { font-size: clamp(40px, 12.6vw, 58px); }
  .cosmic-finale-copy p {
    max-width: 310px;
    margin-top: 18px;
    font-size: 12px;
  }

  .cosmic-finale-copy a { margin-top: 20px; }
  .cosmic-finale-stamp {
    right: 24px;
    bottom: 9.5vh;
    width: 180px;
    gap: 8px;
    font-size: 6px;
  }

  .cosmic-finale-stamp img { width: 140px; }
  .cosmic-conversion-copy {
    top: 10.5vh;
    right: 22px;
    left: 22px;
    width: auto;
  }

  .cosmic-conversion-copy h1 {
    max-width: 28ch;
    margin-top: 13px;
    font-size: clamp(25px, 6.8vw, 30px);
    line-height: 1.11;
    letter-spacing: -0.037em;
  }

  .cosmic-conversion-copy .hero-actions {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 8px;
  }

  .cosmic-conversion-copy .hero-actions .button {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    gap: 10px;
    border-radius: 12px;
    font-size: 11px;
  }

  .cosmic-conversion-copy .hero-trust { display: none; }
  .cosmic-conversion-visual { display: none; }
  .cosmic-intro-nav {
    top: auto;
    right: 18px;
    bottom: 18px;
    grid-auto-flow: column;
    transform: none;
  }

  .cosmic-intro-nav button {
    width: 44px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cosmic-intro-nav span { display: none; }
  .cosmic-intro-nav i { justify-self: center; }
  .cosmic-intro-nav button[aria-current="step"] i { width: 28px; }
  .cosmic-intro-counter { bottom: 30px; left: 20px; }
}

@media (min-width: 721px) and (max-width: 860px) {
  .cosmic-conversion-copy {
    top: 13vh;
    width: min(640px, 72vw);
  }

  .cosmic-conversion-copy h1 { font-size: clamp(34px, 5.4vw, 46px); }
  .cosmic-conversion-visual { display: none; }
}

@media (max-width: 380px) {
  .cosmic-intro-topline span:last-child { display: none; }
  .cosmic-cover-mark strong { font-size: clamp(84px, 37vw, 136px); }
  .cosmic-editorial-copy h2 { font-size: clamp(42px, 14.8vw, 58px); }
  .cosmic-intro-nav { right: 10px; }
  .cosmic-intro-nav button { width: 40px; }
  .cosmic-system-columns { bottom: 15vh; }
}

@media (prefers-reduced-motion: reduce) {
  .cosmic-intro {
    height: 100svh;
    min-height: 560px;
  }

  .cosmic-scene,
  .cosmic-intro-progress i { transition: none !important; }
  .cosmic-intro-nav,
  .cosmic-intro-progress { display: none; }
}
