:root {
  color-scheme: light;
  --color-background: 248 250 249;
  --color-surface: 248 250 249;
  --color-surface-dim: 235 241 239;
  --color-surface-bright: 255 255 255;
  --color-surface-container-lowest: 255 255 255;
  --color-surface-container-low: 242 246 245;
  --color-surface-container: 235 241 239;
  --color-surface-container-high: 228 236 234;
  --color-surface-container-highest: 219 230 227;
  --color-surface-variant: 232 240 238;
  --color-on-background: 18 24 24;
  --color-on-surface: 18 24 24;
  --color-on-surface-variant: 82 96 95;
  --color-outline: 118 136 133;
  --color-outline-variant: 190 207 204;
  --color-primary: 0 123 117;
  --color-primary-dim: 34 166 159;
  --color-primary-container: 202 246 242;
  --color-on-primary: 255 255 255;
  --color-on-primary-container: 0 74 70;
  --color-primary-fixed: 210 249 246;
  --color-primary-fixed-dim: 170 232 227;
  --color-on-primary-fixed: 0 52 49;
  --color-on-primary-fixed-variant: 0 103 98;
  --color-surface-tint: 0 123 117;
  --color-secondary: 91 105 103;
  --color-secondary-dim: 116 130 128;
  --color-secondary-container: 228 235 233;
  --color-on-secondary: 255 255 255;
  --color-on-secondary-container: 72 84 82;
  --color-secondary-fixed: 236 242 241;
  --color-secondary-fixed-dim: 214 224 222;
  --color-on-secondary-fixed: 40 50 49;
  --color-on-secondary-fixed-variant: 81 94 92;
  --color-tertiary: 74 97 77;
  --color-tertiary-dim: 105 132 109;
  --color-tertiary-container: 222 241 223;
  --color-on-tertiary: 255 255 255;
  --color-on-tertiary-container: 55 79 59;
  --color-tertiary-fixed: 232 248 233;
  --color-tertiary-fixed-dim: 210 235 213;
  --color-on-tertiary-fixed: 41 64 45;
  --color-on-tertiary-fixed-variant: 82 107 86;
  --color-error: 185 47 43;
  --color-error-dim: 194 69 64;
  --color-error-container: 255 226 224;
  --color-on-error: 255 255 255;
  --color-on-error-container: 117 31 28;
  --color-inverse-surface: 31 35 35;
  --color-inverse-on-surface: 239 244 243;
  --color-inverse-primary: 120 226 219;
  --glass-nav-bg: 255 255 255;
  --glass-nav-opacity: 0.78;
  --nav-shadow: 0 18px 40px rgba(13, 38, 36, 0.08);
  --elevated-shadow: 0 24px 60px rgba(15, 35, 34, 0.12);
  --soft-shadow: 0 14px 28px rgba(15, 35, 34, 0.08);
}

.dark {
  color-scheme: dark;
  --color-background: 14 14 14;
  --color-surface: 14 14 14;
  --color-surface-dim: 14 14 14;
  --color-surface-bright: 44 44 44;
  --color-surface-container-lowest: 0 0 0;
  --color-surface-container-low: 19 19 19;
  --color-surface-container: 25 26 26;
  --color-surface-container-high: 31 32 32;
  --color-surface-container-highest: 37 38 38;
  --color-surface-variant: 37 38 38;
  --color-on-background: 231 229 228;
  --color-on-surface: 231 229 228;
  --color-on-surface-variant: 172 171 170;
  --color-outline: 118 117 117;
  --color-outline-variant: 72 72 72;
  --color-primary: 106 216 209;
  --color-primary-dim: 91 202 195;
  --color-primary-container: 0 80 76;
  --color-on-primary: 0 73 69;
  --color-on-primary-container: 117 226 219;
  --color-primary-fixed: 136 244 237;
  --color-primary-fixed-dim: 121 230 223;
  --color-on-primary-fixed: 0 72 69;
  --color-on-primary-fixed-variant: 0 103 99;
  --color-surface-tint: 106 216 209;
  --color-secondary: 155 158 157;
  --color-secondary-dim: 155 158 157;
  --color-secondary-container: 56 60 59;
  --color-on-secondary: 29 33 32;
  --color-on-secondary-container: 189 192 191;
  --color-secondary-fixed: 224 227 226;
  --color-secondary-fixed-dim: 210 213 212;
  --color-on-secondary-fixed: 60 64 63;
  --color-on-secondary-fixed-variant: 89 92 91;
  --color-tertiary: 234 255 233;
  --color-tertiary-dim: 211 240 212;
  --color-tertiary-container: 214 243 214;
  --color-on-tertiary: 76 101 79;
  --color-on-tertiary-container: 68 93 71;
  --color-tertiary-fixed: 222 251 223;
  --color-tertiary-fixed-dim: 208 237 209;
  --color-on-tertiary-fixed: 55 79 59;
  --color-on-tertiary-fixed-variant: 83 108 86;
  --color-error: 238 125 119;
  --color-error-dim: 187 85 81;
  --color-error-container: 127 41 39;
  --color-on-error: 73 1 6;
  --color-on-error-container: 255 153 147;
  --color-inverse-surface: 252 249 248;
  --color-inverse-on-surface: 86 85 85;
  --color-inverse-primary: 0 107 102;
  --glass-nav-bg: 14 14 14;
  --glass-nav-opacity: 0.7;
  --nav-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  --elevated-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  --soft-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
}

.glass-nav {
  background: rgb(var(--glass-nav-bg) / var(--glass-nav-opacity));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgb(var(--color-outline-variant) / 0.12);
  box-shadow: var(--nav-shadow);
}

.turquoise-glow {
  box-shadow: 0 0 20px rgba(106, 216, 209, 0.1);
}

.brand-logo-dark {
  display: none;
}

.brand-logo-light {
  display: block;
  width: 8.25rem;
  height: 2.4rem;
  object-fit: cover;
  object-position: center 48%;
}

@media (min-width: 640px) {
  .brand-logo-light {
    width: 9.5rem;
    height: 2.75rem;
  }
}

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

.dark .brand-logo-light {
  display: none;
}

.theme-icon-light {
  display: none;
}

.dark .theme-icon-light {
  display: inline-flex;
}

.dark .theme-icon-dark {
  display: none;
}

html:not(.dark) .shadow-2xl {
  --tw-shadow: var(--elevated-shadow);
  --tw-shadow-colored: var(--elevated-shadow);
}

html:not(.dark) .shadow-lg {
  --tw-shadow: var(--soft-shadow);
  --tw-shadow-colored: var(--soft-shadow);
}

body {
  background-color: rgb(var(--color-background));
  color: rgb(var(--color-on-surface));
  transition:
    background-color 220ms ease,
    color 220ms ease;
}
.hero-lab {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-height: auto;
  padding: 7.5rem 1.5rem 2.5rem;
  color: #f4f7f6;
  background:
    radial-gradient(
      circle at 68% 44%,
      rgba(106, 216, 209, 0.15),
      transparent 32rem
    ),
    radial-gradient(
      circle at 31% 48%,
      rgba(106, 216, 209, 0.095),
      transparent 31rem
    ),
    radial-gradient(
      circle at 8% 24%,
      rgba(0, 123, 117, 0.14),
      transparent 25rem
    ),
    linear-gradient(135deg, #050706 0%, #07100f 46%, #101817 100%);
}
.hero-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 65% 42%, black, transparent 72%);
  opacity: 0.55;
}
.hero-lab::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  z-index: -1;
  height: 34rem;
  background: radial-gradient(
    ellipse at center,
    rgba(106, 216, 209, 0.13),
    transparent 64%
  );
  filter: blur(18px);
}
.hero-lab-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
  width: min(100%, 1536px);
  margin: 0 auto;
}
.hero-lab-inner::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 52%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(106, 216, 209, 0.22),
    rgba(106, 216, 209, 0.08),
    transparent
  );
  opacity: 0.55;
  transform: translateY(-50%);
}
.hero-lab-copy {
  position: relative;
  max-width: 43rem;
  min-width: 0;
  width: 100%;
}
.hero-lab-copy::after {
  content: "";
  position: absolute;
  left: -5rem;
  top: 28%;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(106, 216, 209, 0.11),
    rgba(106, 216, 209, 0.035) 42%,
    transparent 68%
  );
  filter: blur(18px);
  pointer-events: none;
}
.hero-lab-kicker,
.hero-lab-title,
.hero-lab-text,
.hero-lab-actions {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  animation: heroFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-lab-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.65rem;
  padding: 0.5rem 0.82rem;
  border: 1px solid rgba(136, 244, 237, 0.22);
  border-radius: 9999px;
  background:
    linear-gradient(
      90deg,
      rgba(106, 216, 209, 0.095),
      rgba(106, 216, 209, 0.035)
    ),
    rgba(4, 12, 11, 0.42);
  color: rgb(136, 244, 237);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 34px rgba(0, 123, 117, 0.12);
  backdrop-filter: blur(16px);
  animation-delay: 120ms;
}
.hero-lab-kicker::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 9999px;
  background: rgb(106, 216, 209);
  box-shadow: 0 0 18px rgba(106, 216, 209, 0.58);
}
.hero-lab-title {
  margin: 0;
  max-width: 12ch;
  color: #f7faf9;
  font-size: clamp(3.8rem, 7vw, 7.4rem);
  line-height: 0.93;
  font-weight: 800;
  letter-spacing: -0.055em;
  animation-delay: 220ms;
}
.hero-lab-text {
  max-width: 38rem;
  margin-top: 1.9rem;
  color: rgba(231, 238, 236, 0.74);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  animation-delay: 340ms;
}
.hero-lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
  animation-delay: 520ms;
}
.hero-lab-cta {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0 1.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease;
}
.hero-lab-cta:hover {
  transform: translateY(-2px);
}
.hero-lab-cta-primary {
  border: 1px solid rgba(136, 244, 237, 0.28);
  background: linear-gradient(
    135deg,
    rgb(106, 216, 209),
    rgb(0, 123, 117)
  );
  color: #022321;
  box-shadow: 0 18px 48px rgba(0, 123, 117, 0.24);
}
.hero-lab-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: #edf4f3;
  backdrop-filter: blur(16px);
}
.hero-lab-cta-primary:hover {
  box-shadow:
    0 20px 54px rgba(0, 123, 117, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.hero-lab-cta-secondary:hover {
  border-color: rgba(136, 244, 237, 0.24);
  background: rgba(106, 216, 209, 0.07);
}
.hero-lab-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(20rem, 28vw, 29rem);
  min-width: 0;
  width: 100%;
  perspective: 1400px;
}
.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-main-visual {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.46));
}
.hero-scene-grid {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.013) 1px,
      transparent 1px
    );
  background-size: 76px 76px;
  mask-image: radial-gradient(
    ellipse 82% 68% at 52% 46%,
    black,
    transparent 72%
  );
  opacity: 0.44;
  pointer-events: none;
}
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.hero-motion-enabled .hero-lab-kicker,
.hero-motion-enabled .hero-lab-title,
.hero-motion-enabled .hero-lab-text,
.hero-motion-enabled .hero-lab-actions,
.hero-motion-enabled .hero-lab-cta {
  animation: none;
}
.hero-lab-title {
  letter-spacing: 0;
  font-size: 3.9rem;
  line-height: 0.98;
  max-width: 17ch;
  overflow-wrap: break-word;
}
.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}
.hero-title-line > span {
  display: block;
  transform-origin: left bottom;
  will-change: transform, opacity;
}
.hero-lab-text {
  font-size: 1.15rem;
  margin-top: 1.35rem;
  max-width: 42rem;
  line-height: 1.62;
  overflow-wrap: break-word;
  padding-left: 1rem;
  border-left: 1px solid rgba(106, 216, 209, 0.2);
}
.hero-lab-kicker {
  margin-bottom: 1.2rem;
}
.hero-lab-actions {
  gap: 0.85rem;
  margin-top: 1.85rem;
}
.hero-glow-core {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 1;
  width: min(58rem, 98%);
  height: min(36rem, 78%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(106, 216, 209, 0.2),
    rgba(106, 216, 209, 0.06) 44%,
    transparent 68%
  );
  filter: blur(28px);
  transform: translate3d(-50%, -50%, 0);
  animation: heroGlowBreathe 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-connection-map {
  position: absolute;
  inset: 5% 3% 3%;
  z-index: 3;
  overflow: visible;
  opacity: 0.82;
  pointer-events: none;
}
.hero-flow-line {
  fill: none;
  stroke: url(#heroFlow);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 140 260;
  stroke-dashoffset: 0;
  animation: heroLineFallback 9s linear infinite;
}
.hero-flow-line-soft {
  stroke-width: 5.5;
  opacity: 0.28;
  filter: url(#heroSoftGlow);
}
.hero-flow-node {
  fill: rgb(106, 216, 209);
  opacity: 0.72;
  filter: drop-shadow(0 0 10px rgba(106, 216, 209, 0.7));
  animation: heroNodePulse 4.8s ease-in-out infinite;
}
.hero-motion-enabled .hero-glow-core,
.hero-motion-enabled .hero-particle {
  animation: none;
}
.hero-particle {
  position: absolute;
  z-index: 2;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 9999px;
  background: rgba(136, 244, 237, 0.72);
  box-shadow: 0 0 18px rgba(106, 216, 209, 0.58);
  opacity: 0.5;
  pointer-events: none;
  animation: heroParticleDrift 7s ease-in-out infinite;
}
.hero-particle-1 {
  left: 11%;
  top: 21%;
}
.hero-particle-2 {
  right: 14%;
  top: 13%;
  animation-delay: -1.8s;
}
.hero-particle-3 {
  left: 28%;
  bottom: 16%;
  animation-delay: -3.2s;
}
.hero-particle-4 {
  right: 9%;
  bottom: 28%;
  animation-delay: -4.6s;
}
.hero-panel,
.hero-laptop {
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.hero-panel {
  position: absolute;
  z-index: 6;
  border: 1px solid rgba(136, 244, 237, 0.14);
  border-radius: 0.5rem;
  background:
    linear-gradient(145deg, rgba(12, 25, 23, 0.9), rgba(5, 10, 10, 0.72)),
    radial-gradient(
      circle at 12% 8%,
      rgba(106, 216, 209, 0.12),
      transparent 12rem
    );
  color: rgba(241, 248, 247, 0.92);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}
.hero-panel-left {
  left: 3%;
  top: 30%;
  width: min(17.5rem, 34%);
  padding: 1.05rem;
}
.hero-panel-architecture {
  right: 4%;
  top: 8%;
  width: min(17rem, 31%);
  min-height: 11.6rem;
  padding: 0.95rem;
}
.hero-panel-automation {
  right: 4.5%;
  bottom: 15%;
  width: min(16rem, 29%);
  padding: 0.95rem;
}
.hero-panel-topline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(136, 244, 237, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-panel-mark {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(106, 216, 209, 0.25);
  border-radius: 0.35rem;
  background: rgba(106, 216, 209, 0.08);
  color: rgb(136, 244, 237);
  font-size: 0.7rem;
}
.hero-panel h3 {
  margin-top: 0.9rem;
  color: #f6fbfa;
  font-size: 1rem;
  line-height: 1.24;
  font-weight: 800;
}
.hero-panel ul {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.9rem;
  color: rgba(226, 236, 234, 0.7);
  font-size: 0.78rem;
  line-height: 1.4;
}
.hero-panel li {
  display: flex;
  align-items: center;
  gap: 0.44rem;
}
.hero-panel li::before {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  flex: 0 0 auto;
  border-radius: 9999px;
  background: rgba(106, 216, 209, 0.8);
}
.hero-laptop {
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: 8;
  width: min(36rem, 67%);
  transform: translate3d(-50%, 0, 56px);
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.46));
}
.hero-laptop-screen {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.02)
    ),
    #07100f;
  box-shadow:
    0 0 0 0.65rem rgba(0, 0, 0, 0.34),
    0 22px 72px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hero-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2rem;
  padding: 0 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(222, 237, 235, 0.76);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.hero-window-dots {
  display: flex;
  gap: 0.32rem;
}
.hero-window-dots i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 9999px;
  background: rgba(136, 244, 237, 0.34);
}
.hero-screen-body {
  display: grid;
  grid-template-columns: 8.4rem minmax(0, 1fr);
  gap: 0.8rem;
  min-height: calc(100% - 2rem);
  padding: 0.9rem;
}
.hero-sidebar {
  display: grid;
  gap: 0.52rem;
  align-content: start;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding-right: 0.8rem;
}
.hero-sidebar span {
  border-radius: 0.42rem;
  padding: 0.48rem 0.58rem;
  color: rgba(221, 233, 231, 0.55);
  font-size: 0.66rem;
  font-weight: 700;
}
.hero-sidebar .is-active {
  background: rgba(106, 216, 209, 0.12);
  color: rgb(136, 244, 237);
}
.hero-system-board {
  position: relative;
  min-height: 15.8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.024) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 52% 44%,
      rgba(106, 216, 209, 0.13),
      transparent 11rem
    );
  background-size:
    34px 34px,
    34px 34px,
    auto;
}
.system-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  border: 1px solid rgba(106, 216, 209, 0.16);
  border-radius: 0.45rem;
  padding: 0.5rem 0.62rem;
  background: rgba(6, 16, 15, 0.86);
  color: rgba(237, 246, 244, 0.86);
  font-size: 0.65rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.system-node-core {
  left: 50%;
  top: 41%;
  color: rgb(136, 244, 237);
  transform: translate(-50%, -50%);
}
.system-node-crm {
  left: 9%;
  top: 14%;
}
.system-node-billing {
  right: 10%;
  top: 18%;
}
.system-node-field {
  left: 10%;
  bottom: 16%;
}
.system-node-kpi {
  right: 12%;
  bottom: 15%;
}
.system-edge {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 41%;
  height: 1px;
  width: 34%;
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    rgba(106, 216, 209, 0.68),
    transparent
  );
  opacity: 0.58;
}
.system-edge-1 {
  transform: rotate(-148deg);
}
.system-edge-2 {
  transform: rotate(-29deg);
}
.system-edge-3 {
  transform: rotate(145deg);
}
.system-edge-4 {
  transform: rotate(28deg);
}
.hero-metric-card {
  position: absolute;
  right: 1.55rem;
  bottom: 1.45rem;
  z-index: 3;
  width: 8.4rem;
  border: 1px solid rgba(106, 216, 209, 0.16);
  border-radius: 0.5rem;
  padding: 0.8rem;
  background: rgba(2, 12, 11, 0.78);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}
.hero-metric-card strong {
  display: block;
  color: rgb(136, 244, 237);
  font-size: 1.5rem;
  line-height: 1;
}
.hero-metric-card span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(222, 236, 234, 0.66);
  font-size: 0.62rem;
  line-height: 1.3;
}
.hero-laptop-base {
  position: relative;
  height: 2.2rem;
  margin: 0 auto;
  width: 88%;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  border-radius: 0 0 0.5rem 0.5rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.025)
    ),
    #090f0e;
  box-shadow: 0 19px 36px rgba(0, 0, 0, 0.38);
}
.hero-trackpad {
  position: absolute;
  left: 50%;
  top: 0.42rem;
  width: 21%;
  height: 0.42rem;
  border-radius: 0 0 0.4rem 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}
.hero-architecture-map {
  position: relative;
  min-height: 8.6rem;
  margin-top: 0.9rem;
}
.arch-node {
  position: absolute;
  z-index: 2;
  min-width: 3.2rem;
  border: 1px solid rgba(106, 216, 209, 0.15);
  border-radius: 0.45rem;
  padding: 0.45rem 0.5rem;
  background: rgba(5, 15, 14, 0.86);
  color: rgba(231, 242, 240, 0.78);
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
}
.arch-node-core {
  left: 50%;
  top: 50%;
  color: rgb(136, 244, 237);
  transform: translate(-50%, -50%);
}
.arch-node-api {
  left: 0;
  top: 0.3rem;
}
.arch-node-data {
  right: 0;
  top: 0.9rem;
}
.arch-node-app {
  left: 18%;
  bottom: 0.3rem;
}
.arch-line {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1px;
  width: 44%;
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    rgba(106, 216, 209, 0.56),
    transparent
  );
  opacity: 0.54;
}
.arch-line-1 {
  transform: rotate(-145deg);
}
.arch-line-2 {
  transform: rotate(-32deg);
}
.arch-line-3 {
  transform: rotate(144deg);
}
.hero-flow-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.hero-flow-card span {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(106, 216, 209, 0.12);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.042);
  color: rgba(237, 247, 245, 0.74);
  font-size: 0.62rem;
  font-weight: 800;
}
@keyframes heroGlowBreathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translate3d(-50%, -50%, 0) scale(0.98);
  }
  50% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1.03);
  }
}
@keyframes heroLineFallback {
  to {
    stroke-dashoffset: -400;
  }
}
@keyframes heroNodePulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.92;
  }
}
@keyframes heroParticleDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(7px, -9px, 0);
  }
}
@media (min-width: 1280px) {
  .hero-lab-title {
    font-size: 4.05rem;
  }
  .hero-lab-text {
    font-size: 1.2rem;
  }
}
@media (max-width: 1023px) {
  .hero-lab-visual {
    min-height: auto;
  }
  .hero-main-visual {
    max-width: min(100%, 42rem);
    margin: 0 auto;
    display: block;
  }
}
@media (max-width: 640px) {
  .hero-lab-visual {
    min-height: auto;
  }
  .hero-main-visual {
    max-width: 100%;
  }
  .hero-particle {
    display: none;
  }
}
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.media-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.media-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.parallax-frame {
  overflow: hidden;
  isolation: isolate;
}
.scroll-parallax {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.035);
  transform-origin: center;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-lab-kicker,
  .hero-lab-title,
  .hero-lab-text,
  .hero-lab-actions,
  .hero-lab-visual,
  .scroll-reveal,
  .media-reveal,
  .scroll-parallax {
    opacity: 1;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto;
  }
}
@media (max-width: 1023px) {
  .hero-lab {
    min-height: auto;
    padding: 8.5rem 1.5rem 3.5rem;
  }
  .hero-lab-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-lab-copy {
    max-width: 48rem;
  }
  .hero-lab-title {
    max-width: 11ch;
  }
  .hero-lab-visual {
    min-height: auto;
  }
}
@media (max-width: 640px) {
  .hero-lab {
    padding: 7rem 1.5rem 3rem;
  }
  .hero-lab-inner::before,
  .hero-lab-copy::after {
    display: none;
  }
  .hero-lab-title {
    font-size: clamp(3.25rem, 14vw, 4.7rem);
  }
  .hero-lab-text {
    margin-top: 1.45rem;
    padding-left: 0.85rem;
  }
  .hero-lab-actions {
    flex-direction: column;
    margin-top: 2rem;
  }
  .hero-lab-cta {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .hero-lab .hero-lab-visual {
    min-height: clamp(24rem, 65vw, 36rem);
  }
  .hero-lab .hero-lab-title {
    font-size: 3.8rem;
  }
}
@media (max-width: 640px) {
  .hero-lab .hero-lab-visual {
    min-height: clamp(18rem, 60vw, 24rem);
  }
  .hero-lab .hero-lab-title {
    font-size: 3rem;
  }
  .hero-lab .hero-lab-text {
    font-size: 1rem;
  }
}
@media (max-width: 380px) {
  .hero-lab .hero-lab-title {
    font-size: 2.72rem;
  }
}

/* REAL PANEL LAYER SYSTEM */

.hero-stage {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  scale: 1.45;
  translate: -2% 2%;
}

.hero-stage > * {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  transform-origin: center center;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.46));
}

.hero-stage > img[data-hero-base] {
  scale: 1.3;
  translate: 0 4%;
  z-index: 10;
}

/* Panel layers */
.hero-panel-layer {
  pointer-events: none;
  will-change: transform;
  user-select: none;
}

.hero-panel-left {
  z-index: 5;
  scale: 0.75;
  translate: -18% -2%;
}

.hero-panel-rtop {
  z-index: 8;
  scale: 0.8;
  translate: 22% -14%;
}

.hero-panel-rbot {
  z-index: 15;
  scale: 0.85;
  translate: 20% 12%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel-layer {
    transform: none !important;
  }
}
