.v14-liquid-stage {
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
}

.v14-liquid-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 72%, rgba(199, 255, 47, 0.12), transparent 42%),
    radial-gradient(circle at 44% 38%, rgba(32, 164, 236, 0.16), transparent 46%),
    #03090d;
}

.v14-liquid-surface-fallback,
.v14-liquid-surface-canvas,
.v14-liquid-surface-glass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.v14-liquid-surface-fallback {
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(97, 184, 221, 0.045) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(97, 184, 221, 0.045) 0 1px, transparent 1px 54px),
    radial-gradient(ellipse at 50% 72%, rgba(199, 255, 47, 0.12), transparent 54%),
    linear-gradient(165deg, #07151d 0%, #031016 45%, #020609 100%);
}

.v14-liquid-surface-canvas {
  z-index: 1;
  display: block;
  pointer-events: none;
}

.v14-liquid-surface[data-render-fallback] .v14-liquid-surface-canvas {
  opacity: 0;
}

.v14-liquid-surface-glass {
  z-index: 2;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 28%, rgba(88, 194, 236, 0.045) 55%, transparent 78%),
    linear-gradient(180deg, rgba(2, 7, 10, 0.02), rgba(2, 7, 10, 0.16));
  mix-blend-mode: screen;
}

.v14-liquid-surface[data-variant="hero"] {
  inset: -2px;
  background:
    radial-gradient(circle at 77% 42%, rgba(199, 255, 47, 0.12), transparent 24%),
    radial-gradient(circle at 62% 55%, rgba(18, 151, 211, 0.22), transparent 45%),
    #02080c;
}

.v14-liquid-surface[data-variant="hero"] .v14-liquid-surface-fallback {
  background:
    linear-gradient(90deg, rgba(2, 7, 10, 0.9) 0%, rgba(2, 7, 10, 0.42) 45%, rgba(2, 7, 10, 0.12) 72%, rgba(2, 7, 10, 0.3) 100%),
    repeating-linear-gradient(103deg, rgba(83, 196, 236, 0.055) 0 1px, transparent 1px 74px),
    radial-gradient(ellipse at 72% 78%, rgba(199, 255, 47, 0.14), transparent 46%),
    linear-gradient(165deg, #071923 0%, #041117 48%, #010507 100%);
}

.v14-liquid-surface[data-variant="hero"] .v14-liquid-surface-glass {
  background:
    linear-gradient(90deg, rgba(2, 6, 9, 0.76) 0%, rgba(2, 6, 9, 0.42) 35%, transparent 64%),
    radial-gradient(circle at 78% 30%, rgba(199, 255, 47, 0.045), transparent 24%),
    linear-gradient(180deg, rgba(0, 4, 7, 0.1), rgba(0, 4, 7, 0.26));
  mix-blend-mode: normal;
}

.v14-liquid-wave {
  z-index: 1;
}

.v14-liquid-layer {
  z-index: 3;
}

.v14-liquid-caption {
  z-index: 4;
}

.v14-hero-signature {
  position: relative;
  isolation: isolate;
  min-height: 820px;
  background: #02070a;
}

.v14-hero-signature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 7, 10, 0.88) 0%, rgba(2, 7, 10, 0.58) 34%, rgba(2, 7, 10, 0.12) 66%, rgba(2, 7, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 7, 10, 0.5) 0%, transparent 30%, transparent 72%, rgba(2, 7, 10, 0.72) 100%);
}

.v14-hero-signature .v14-hero-grid {
  position: relative;
  z-index: 4;
}

.v14-hero-signature .v14-hero-copy {
  position: relative;
  z-index: 8;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}

.v14-hero-depth-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 73% 52%, transparent 0 26%, rgba(1, 5, 8, 0.08) 48%, rgba(1, 5, 8, 0.34) 78%),
    linear-gradient(180deg, transparent 70%, rgba(0, 4, 7, 0.5));
}

.v14-hero-water-label {
  position: absolute;
  z-index: 6;
  right: max(24px, calc((100vw - 1360px) / 2));
  bottom: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(226, 239, 231, 0.48);
  font-size: 8px;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.v14-hero-water-label b {
  color: #c7ff2f;
  font-weight: 650;
}

.v14-signature-stage {
  --sig-rx: 0deg;
  --sig-ry: 0deg;
  --sig-x: 0px;
  --sig-y: 0px;
  position: relative;
  z-index: 6;
  min-height: 620px;
  perspective: 1900px;
  perspective-origin: 56% 48%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.v14-signature-scene {
  position: absolute;
  inset: 20px 0 10px;
  transform-style: preserve-3d;
  transform: translate3d(var(--sig-x), var(--sig-y), 0) rotateX(var(--sig-rx)) rotateY(var(--sig-ry));
  transition: transform 180ms cubic-bezier(0.2, 0.78, 0.2, 1);
  will-change: transform;
}

.v14-signature-horizon {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 54%;
  height: 1px;
  transform: translateZ(-120px);
  background: linear-gradient(90deg, transparent, rgba(106, 213, 244, 0.58), rgba(199, 255, 47, 0.46), transparent);
  box-shadow: 0 0 36px rgba(74, 198, 239, 0.34);
}

.v14-signature-orbit {
  position: absolute;
  left: 50%;
  top: 51%;
  border: 1px solid rgba(123, 211, 242, 0.2);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.v14-signature-orbit-a {
  width: 560px;
  height: 220px;
  margin: -110px 0 0 -280px;
  transform: translateZ(-40px) rotateX(72deg) rotateZ(-8deg);
  animation: v14-signature-orbit-a 18s linear infinite;
}

.v14-signature-orbit-b {
  width: 430px;
  height: 430px;
  margin: -215px 0 0 -215px;
  border-color: rgba(199, 255, 47, 0.13);
  transform: translateZ(-80px) rotateX(66deg) rotateY(20deg);
  animation: v14-signature-orbit-b 24s linear infinite reverse;
}

.v14-signature-grid-plane {
  position: absolute;
  left: 8%;
  right: 1%;
  bottom: 4%;
  height: 42%;
  border: 1px solid rgba(104, 213, 245, 0.12);
  border-radius: 28px;
  transform-origin: center bottom;
  transform: translateZ(-120px) rotateX(71deg);
  background:
    repeating-linear-gradient(90deg, rgba(93, 203, 236, 0.11) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(93, 203, 236, 0.09) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, rgba(4, 19, 26, 0.16), rgba(4, 19, 26, 0.02));
  box-shadow: 0 0 80px rgba(22, 148, 199, 0.1) inset;
}

.v14-signature-browser-layer {
  position: absolute;
  left: 1%;
  top: 11%;
  width: 84%;
  height: 64%;
  transform-style: preserve-3d;
  transform: translateZ(94px) rotateY(-8deg) rotateX(3deg);
  filter: drop-shadow(0 44px 54px rgba(0, 0, 0, 0.32));
}

.v14-signature-browser-layer .v14-browser {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  background: rgba(8, 15, 19, 0.78);
  border-color: rgba(146, 229, 255, 0.28);
  backdrop-filter: blur(12px);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(199, 255, 47, 0.035) inset,
    0 0 80px rgba(38, 179, 227, 0.08) inset;
}

.v14-signature-browser-layer .v14-browser-body {
  min-height: 100%;
}

.v14-signature-browser-layer .v14-browser-canvas {
  background: linear-gradient(135deg, rgba(8, 17, 21, 0.8), rgba(4, 10, 14, 0.48));
}

.v14-signature-phone-layer {
  position: absolute;
  right: 0;
  bottom: 7%;
  width: 158px;
  height: 306px;
  transform-style: preserve-3d;
  transform: translateZ(250px) rotateY(-13deg) rotateX(2deg) translateX(4px);
  filter: drop-shadow(0 36px 45px rgba(0, 0, 0, 0.48));
}

.v14-signature-phone-layer .v14-phone {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  transform: none;
  border-color: rgba(199, 255, 47, 0.3);
  background: rgba(7, 15, 18, 0.9);
  backdrop-filter: blur(10px);
}

.v14-signature-node {
  position: absolute;
  min-width: 154px;
  padding: 11px 13px;
  border: 1px solid rgba(146, 229, 255, 0.2);
  border-radius: 12px;
  background: rgba(4, 12, 16, 0.76);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 3px;
  transform-style: preserve-3d;
}

.v14-signature-node::before {
  content: "";
  position: absolute;
  left: -52px;
  top: 50%;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 255, 47, 0.58));
}

.v14-signature-node small {
  color: rgba(225, 239, 231, 0.46);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.v14-signature-node strong {
  color: #f7faf5;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.v14-signature-node span {
  color: #c7ff2f;
  font-size: 6px;
  letter-spacing: 0.12em;
}

.v14-signature-node-search {
  right: 1%;
  top: 13%;
  transform: translateZ(190px) rotateY(-7deg);
}

.v14-signature-node-ai {
  left: 8%;
  bottom: 11%;
  transform: translateZ(210px) rotateY(8deg);
}

.v14-signature-node-ai::before {
  left: auto;
  right: -52px;
  background: linear-gradient(90deg, rgba(199, 255, 47, 0.58), transparent);
}

.v14-signature-node-runtime {
  right: 11%;
  bottom: 2%;
  transform: translateZ(310px) rotateY(-9deg) rotateX(3deg);
}

.v14-signature-depth-scale {
  position: absolute;
  right: 0;
  top: 31%;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateZ(20px);
  color: rgba(204, 225, 214, 0.34);
  font-size: 6px;
  letter-spacing: 0.13em;
}

.v14-signature-depth-scale::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: linear-gradient(180deg, rgba(199, 255, 47, 0.42), rgba(91, 205, 241, 0.14));
}

.v14-signature-depth-scale span {
  padding-right: 14px;
}

.v14-signature-hud {
  position: absolute;
  left: 3%;
  top: 4%;
  z-index: 3;
  padding: 9px 12px;
  border-left: 1px solid rgba(199, 255, 47, 0.42);
  background: linear-gradient(90deg, rgba(4, 10, 13, 0.62), transparent);
  display: grid;
  gap: 3px;
  transform: translateZ(160px);
}

.v14-signature-hud small {
  color: #c7ff2f;
  font-size: 7px;
  letter-spacing: 0.14em;
}

.v14-signature-hud strong {
  color: rgba(232, 242, 234, 0.56);
  font-size: 7px;
  letter-spacing: 0.1em;
}

@keyframes v14-signature-orbit-a {
  from { transform: translateZ(-40px) rotateX(72deg) rotateZ(-8deg); }
  to { transform: translateZ(-40px) rotateX(72deg) rotateZ(352deg); }
}

@keyframes v14-signature-orbit-b {
  from { transform: translateZ(-80px) rotateX(66deg) rotateY(20deg) rotateZ(0deg); }
  to { transform: translateZ(-80px) rotateX(66deg) rotateY(20deg) rotateZ(360deg); }
}

@media (max-width: 1040px) {
  .v14-hero-signature {
    min-height: auto;
  }

  .v14-signature-stage {
    min-height: 570px;
    width: min(100%, 780px);
    margin: 0 auto;
  }

  .v14-signature-browser-layer {
    left: 3%;
    width: 82%;
  }
}

@media (max-width: 720px) {
  .v14-hero-signature::before {
    background:
      linear-gradient(180deg, rgba(2, 7, 10, 0.82) 0%, rgba(2, 7, 10, 0.54) 42%, rgba(2, 7, 10, 0.18) 70%, rgba(2, 7, 10, 0.54) 100%);
  }

  .v14-liquid-surface[data-variant="hero"] .v14-liquid-surface-glass {
    background: linear-gradient(180deg, rgba(2, 7, 10, 0.48), transparent 42%, rgba(2, 7, 10, 0.28));
  }

  .v14-signature-stage {
    min-height: 460px;
    perspective: 1400px;
  }

  .v14-signature-scene {
    inset: 12px 0 0;
  }

  .v14-signature-browser-layer {
    left: 1%;
    top: 10%;
    width: 91%;
    height: 63%;
    transform: translateZ(62px) rotateY(-5deg) rotateX(2deg);
  }

  .v14-signature-browser-layer .v14-browser-hero {
    width: 82%;
    padding: 32px 0 22px;
  }

  .v14-signature-browser-layer .v14-browser-hero h2 {
    font-size: 23px;
  }

  .v14-signature-phone-layer {
    right: 0;
    bottom: 3%;
    width: 122px;
    height: 238px;
    transform: translateZ(180px) rotateY(-9deg);
  }

  .v14-signature-node-search {
    right: 0;
    top: 4%;
    transform: translateZ(145px) rotateY(-5deg) scale(0.82);
    transform-origin: right top;
  }

  .v14-signature-node-ai,
  .v14-signature-node-runtime,
  .v14-signature-depth-scale {
    display: none;
  }

  .v14-signature-grid-plane {
    left: 3%;
    right: 0;
    bottom: 1%;
    height: 39%;
  }

  .v14-hero-water-label {
    right: 20px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .v14-signature-stage {
    min-height: 390px;
  }

  .v14-signature-browser-layer {
    width: 94%;
    height: 62%;
  }

  .v14-signature-browser-layer .v14-browser-rail {
    display: none;
  }

  .v14-signature-browser-layer .v14-browser-body {
    grid-template-columns: 1fr;
  }

  .v14-signature-browser-layer .v14-browser-canvas {
    padding: 16px;
  }

  .v14-signature-browser-layer .v14-browser-nav span {
    display: none;
  }

  .v14-signature-browser-layer .v14-browser-hero {
    width: 90%;
    padding-top: 24px;
  }

  .v14-signature-browser-layer .v14-browser-cards {
    gap: 6px;
  }

  .v14-signature-browser-layer .v14-browser-cards article {
    min-height: 62px;
    padding: 8px;
  }

  .v14-signature-phone-layer {
    width: 102px;
    height: 202px;
  }

  .v14-signature-node-search,
  .v14-signature-hud {
    display: none;
  }

  .v14-hero-water-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v14-liquid-surface {
    background:
      radial-gradient(circle at 52% 72%, rgba(199, 255, 47, 0.12), transparent 42%),
      radial-gradient(circle at 44% 38%, rgba(32, 164, 236, 0.15), transparent 46%),
      #03090d;
  }

  .v14-liquid-surface[data-variant="hero"] {
    background:
      radial-gradient(ellipse at 72% 78%, rgba(199, 255, 47, 0.13), transparent 44%),
      radial-gradient(ellipse at 66% 54%, rgba(44, 177, 224, 0.19), transparent 54%),
      linear-gradient(165deg, #071923 0%, #041117 48%, #010507 100%);
  }

  .v14-signature-scene {
    transform: none;
    transition: none;
  }

  .v14-signature-orbit-a,
  .v14-signature-orbit-b {
    animation: none;
  }
}
