:root {
  --cyber-cyan: #40f6ff;
  --cyber-violet: #9b6bff;
  --cyber-pink: #ff4fd8;
}

body.intro-handoff-active header nav > a:first-child img,
body.intro-handoff-active header .site-clock:not(.intro-clock) {
  opacity: 0;
}

body.home-overview,
body.section-page,
body[data-mode="quote"],
body[data-mode="shop"] {
  background-image:
    radial-gradient(ellipse at 12% 18%, rgba(64, 246, 255, .055), transparent 34rem),
    radial-gradient(ellipse at 88% 62%, rgba(155, 107, 255, .06), transparent 38rem);
}

.section-page .sp-nav {
  border-bottom-color: rgba(64, 246, 255, .2);
  box-shadow: 0 8px 36px rgba(0, 0, 0, .28), 0 1px rgba(64, 246, 255, .08);
}

.section-page .sp-brand b,
.section-page .sp-nav-links > a[aria-current="page"] {
  text-shadow: 0 0 18px rgba(64, 246, 255, .45);
}

.section-page .sp-intro::before {
  background:
    radial-gradient(ellipse at 18% 44%, rgba(64, 246, 255, .2), transparent 37%),
    radial-gradient(ellipse at 82% 52%, rgba(155, 107, 255, .23), transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 79, 216, .09), transparent 48%);
}

.section-page .sp-intro::after {
  opacity: .34;
  background-image:
    linear-gradient(rgba(64, 246, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 246, 255, .07) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.section-page .sp-eyebrow {
  text-shadow: 0 0 16px rgba(64, 246, 255, .5);
}

.section-page .sp-intro h1 {
  text-shadow: 0 0 30px rgba(64, 246, 255, .2), 0 10px 50px rgba(0, 0, 0, .55);
}

.section-page .sp-content > section,
.section-page .sp-content > footer {
  position: relative;
  isolation: isolate;
  background-image:
    radial-gradient(ellipse at 8% 18%, rgba(64, 246, 255, .045), transparent 36%),
    radial-gradient(ellipse at 92% 78%, rgba(155, 107, 255, .055), transparent 38%),
    linear-gradient(rgba(64, 246, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 246, 255, .022) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-position: center, center, center, center;
  animation: cyber-grid-drift 32s linear infinite;
}

.section-page .sp-content > section:nth-of-type(even) {
  background-color: rgba(11, 16, 29, .3);
}

.section-page .sp-content > section::after {
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 90px);
  width: min(120px, 22vw);
  height: 1px;
  background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-violet), transparent);
  box-shadow: 0 0 14px rgba(64, 246, 255, .45);
  content: "";
  pointer-events: none;
}

.section-page .sp-content > section > *,
.section-page .sp-content > footer > * {
  position: relative;
  z-index: 1;
}

.section-page .sp-content > section.sp-scene,
.section-page .sp-content > footer.sp-scene {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1);
}

.section-page .sp-content > section.sp-scene.sp-visible,
.section-page .sp-content > footer.sp-scene.sp-visible {
  opacity: 1;
  transform: none;
}

.section-page .sp-content section h2 {
  text-shadow: 0 0 28px rgba(64, 246, 255, .12);
}

.section-page .sp-content section h2::after {
  width: 76px;
  height: 3px;
  transform-origin: left center;
  animation: cyber-rule-in .7s .2s both;
  box-shadow: 0 0 14px rgba(64, 246, 255, .35);
}

.section-page .sp-content section .text-center h2::after {
  transform-origin: center;
}

.section-page .sp-content .sp-reveal {
  transition-timing-function: cubic-bezier(.2, .8, .2, 1);
}

.section-page .sp-content .service-card,
.section-page .sp-content .gm-card,
.section-page .sp-content .pf-item,
.section-page .sp-content .step,
.section-page .sp-content .pc-card {
  border-color: rgba(64, 246, 255, .13);
  box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 18px 48px rgba(0, 0, 0, .2);
  transition:
    transform .38s cubic-bezier(.2, .8, .2, 1),
    border-color .3s ease,
    box-shadow .38s ease,
    background-color .3s ease;
}

.section-page .sp-content .service-card:hover,
.section-page .sp-content .gm-card:hover,
.section-page .sp-content .pf-item:hover,
.section-page .sp-content .step:hover,
.section-page .sp-content .pc-card:hover {
  border-color: rgba(64, 246, 255, .55);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .08),
    0 24px 64px rgba(0, 0, 0, .34),
    0 0 28px rgba(64, 246, 255, .12),
    0 0 48px rgba(155, 107, 255, .08);
}

.section-page .sp-content .service-card,
.section-page .sp-content .gm-card,
.section-page .sp-content .step,
.section-page .sp-content .pc-card {
  position: relative;
  overflow: hidden;
}

.section-page .sp-content .service-card::after,
.section-page .sp-content .gm-card::after,
.section-page .sp-content .step::after,
.section-page .sp-content .pc-card::after {
  position: absolute;
  inset: -120% auto -120% -45%;
  width: 34%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(64, 246, 255, .09), rgba(155, 107, 255, .1), transparent);
  content: "";
  pointer-events: none;
  transition: left .75s cubic-bezier(.2, .8, .2, 1);
}

.section-page .sp-content .service-card:hover::after,
.section-page .sp-content .gm-card:hover::after,
.section-page .sp-content .step:hover::after,
.section-page .sp-content .pc-card:hover::after {
  left: 130%;
}

.section-page .sp-content .service-card img,
.section-page .sp-content .pf-item img {
  transition: transform .75s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}

.section-page .sp-content .service-card:hover img,
.section-page .sp-content .pf-item:hover img {
  transform: scale(1.055);
  filter: saturate(1.12);
}

.section-page .sp-content :is(a, button).btn-neon,
.section-page .sp-content :is(a, button).btn-ghost {
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.section-page .sp-content :is(a, button).btn-neon:hover,
.section-page .sp-content :is(a, button).btn-ghost:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 0 24px rgba(64, 246, 255, .2), 0 10px 30px rgba(0, 0, 0, .25);
}

.home-hub {
  background:
    radial-gradient(ellipse at 12% 26%, rgba(64, 246, 255, .1), transparent 38%),
    radial-gradient(ellipse at 88% 72%, rgba(155, 107, 255, .13), transparent 38%),
    linear-gradient(180deg, rgba(9, 15, 25, .97), rgba(12, 14, 18, .98));
}

.home-hub::before {
  background-image:
    linear-gradient(rgba(64, 246, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 246, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  animation: cyber-grid-drift 32s linear infinite;
}

.home-hub-card {
  border-color: rgba(64, 246, 255, .17);
  background: linear-gradient(145deg, rgba(64, 246, 255, .055), rgba(155, 107, 255, .045) 54%, rgba(255, 255, 255, .012));
  box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 18px 44px rgba(0, 0, 0, .18);
}

.home-hub-card:hover {
  border-color: rgba(64, 246, 255, .58);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .32), 0 0 30px rgba(64, 246, 255, .15), 0 0 48px rgba(155, 107, 255, .1);
}

.home-hub-card .hub-icon {
  color: var(--cyber-cyan);
  text-shadow: 0 0 18px rgba(64, 246, 255, .5);
}

.home-hub-card strong {
  transition: color .25s ease, text-shadow .25s ease;
}

.home-hub-card:hover strong {
  color: var(--cyber-cyan);
  text-shadow: 0 0 18px rgba(64, 246, 255, .3);
}

body[data-mode="quote"] #pc-grid > *,
body[data-mode="shop"] #pc-grid > * {
  animation: cyber-card-in .65s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(min(var(--card-order, 0), 8) * 55ms);
}

body[data-mode="quote"] #pc-grid > :nth-child(1),
body[data-mode="shop"] #pc-grid > :nth-child(1) { --card-order: 0; }
body[data-mode="quote"] #pc-grid > :nth-child(2),
body[data-mode="shop"] #pc-grid > :nth-child(2) { --card-order: 1; }
body[data-mode="quote"] #pc-grid > :nth-child(3),
body[data-mode="shop"] #pc-grid > :nth-child(3) { --card-order: 2; }
body[data-mode="quote"] #pc-grid > :nth-child(4),
body[data-mode="shop"] #pc-grid > :nth-child(4) { --card-order: 3; }
body[data-mode="quote"] #pc-grid > :nth-child(5),
body[data-mode="shop"] #pc-grid > :nth-child(5) { --card-order: 4; }
body[data-mode="quote"] #pc-grid > :nth-child(6),
body[data-mode="shop"] #pc-grid > :nth-child(6) { --card-order: 5; }
body[data-mode="quote"] #pc-grid > :nth-child(7),
body[data-mode="shop"] #pc-grid > :nth-child(7) { --card-order: 6; }
body[data-mode="quote"] #pc-grid > :nth-child(8),
body[data-mode="shop"] #pc-grid > :nth-child(8) { --card-order: 7; }

body[data-mode="quote"] #pc-filters > *,
body[data-mode="shop"] #pc-filters > * {
  transition: border-color .25s ease, color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

body[data-mode="quote"] #pc-filters > *:hover,
body[data-mode="shop"] #pc-filters > *:hover {
  transform: translateY(-2px);
  border-color: rgba(64, 246, 255, .55);
  box-shadow: 0 0 20px rgba(64, 246, 255, .12);
}

@keyframes cyber-grid-drift {
  to { background-position: center, center, 96px 48px, 48px 96px; }
}

@keyframes cyber-rule-in {
  from { transform: scaleX(0); opacity: .3; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes cyber-card-in {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .section-page .sp-content > section,
  .section-page .sp-content > footer {
    background-size: auto, auto, 36px 36px, 36px 36px;
    animation-duration: 52s;
  }

  .section-page .sp-content > section::after {
    left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-page .sp-content > section,
  .section-page .sp-content > footer,
  .home-hub::before {
    animation: none !important;
  }

  .section-page .sp-content > section.sp-scene,
  .section-page .sp-content > footer.sp-scene {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section-page .sp-content section h2::after {
    animation: none;
  }

  body[data-mode="quote"] #pc-grid > *,
  body[data-mode="shop"] #pc-grid > * {
    animation: none;
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: cyber-page-out .2s ease both;
}

::view-transition-new(root) {
  animation: cyber-page-in .45s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-card {
  perspective: 1200px;
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  z-index: -1;
  inset: -9%;
  border: 1px solid rgba(64, 246, 255, .23);
  border-radius: 28px;
  content: "";
  pointer-events: none;
}

.hero-card::before {
  transform: rotate(-7deg);
  box-shadow: 0 0 30px rgba(64, 246, 255, .1), inset 0 0 30px rgba(64, 246, 255, .035);
  animation: cyber-orbit 18s linear infinite;
}

.hero-card::after {
  inset: -5%;
  transform: rotate(4deg);
  border-color: rgba(155, 107, 255, .28);
  animation: cyber-orbit 23s linear infinite reverse;
}

.hero-card [data-cyber-tilt] {
  transform-style: preserve-3d;
  animation: cyber-float 7s ease-in-out infinite;
  transition: box-shadow .3s ease;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35), 0 0 24px rgba(64, 246, 255, .09);
}

.hero-card [data-cyber-tilt]::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(64, 246, 255, .18);
  border-radius: inherit;
  background: radial-gradient(circle at var(--cyber-pointer-x, 50%) var(--cyber-pointer-y, 50%), rgba(64, 246, 255, .12), transparent 42%);
  content: "";
  opacity: .7;
  pointer-events: none;
}

.cyber-live-hud {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(64, 246, 255, .24);
  border-radius: 999px;
  background: rgba(7, 12, 21, .78);
  box-shadow: 0 0 22px rgba(64, 246, 255, .09), inset 0 1px rgba(255, 255, 255, .06);
  color: #d7faff;
  font: 600 9px/1 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  backdrop-filter: blur(12px);
}

.hero-card > .cyber-live-hud {
  position: absolute;
  z-index: 4;
  top: -18px;
  right: 3%;
}

.sp-intro-inner > .cyber-live-hud {
  margin: 0 auto 20px;
}

.cyber-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyber-cyan);
  box-shadow: 0 0 12px rgba(64, 246, 255, .85);
  animation: cyber-dot-pulse 2.4s ease-in-out infinite;
}

.cyber-live-label i {
  color: var(--cyber-cyan);
  font-style: normal;
}

.cyber-live-time {
  min-width: 48px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cyber-scroll-progress {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.cyber-scroll-progress > span {
  display: block;
  width: var(--cyber-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--cyber-cyan), var(--cyber-violet));
  box-shadow: 0 0 12px rgba(64, 246, 255, .75);
  transition: width .12s linear;
}

.cyber-cursor-glow {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  transform: translate3d(-1000px, -1000px, 0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 246, 255, .09), rgba(155, 107, 255, .035) 34%, transparent 69%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cyber-cursor-glow.is-visible {
  opacity: 1;
}

.home-overview main#top > section:not(#site-section-hub),
.section-page .sp-intro,
.section-page .sp-content > section {
  position: relative;
}

.home-overview main#top > section:not(#site-section-hub)::before,
.section-page .sp-intro::before,
.section-page .sp-content > section::before {
  background:
    radial-gradient(ellipse at 18% 44%, rgba(64, 246, 255, .2), transparent 37%),
    radial-gradient(ellipse at 82% 52%, rgba(155, 107, 255, .23), transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 79, 216, .09), transparent 48%);
}

.home-overview main#top > section:not(#site-section-hub)::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: .24;
  pointer-events: none;
}

.section-page .sp-intro::before {
  background:
    radial-gradient(ellipse at var(--cyber-pointer-x, 18%) var(--cyber-pointer-y, 44%), rgba(64, 246, 255, .2), transparent 37%),
    radial-gradient(ellipse at 82% 52%, rgba(155, 107, 255, .23), transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 79, 216, .09), transparent 48%);
}

.section-page .sp-content > section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: .18;
  pointer-events: none;
}

.home-overview main#top > section:not(#site-section-hub)::after,
.section-page .sp-intro::after {
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 90px);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-violet), transparent);
  box-shadow: 0 0 14px rgba(64, 246, 255, .45);
  content: "";
  pointer-events: none;
  transition: width .8s cubic-bezier(.2, .8, .2, 1);
}

.home-overview main#top > section:not(#site-section-hub).cyber-in-view::after,
.section-page .sp-intro.cyber-in-view::after {
  width: min(240px, 50vw);
}

.section-page .sp-content > section.cyber-in-view::after {
  animation: cyber-rule-in .75s cubic-bezier(.2, .8, .2, 1) both;
}

.home-overview main#top > section:not(#site-section-hub):not(:first-child)::before {
  content: none;
}

.hero-card .glass {
  border-color: rgba(64, 246, 255, .23);
}

.pf-item {
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, box-shadow .35s ease;
}

.pf-item::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(64, 246, 255, .15);
  border-radius: inherit;
  background: radial-gradient(circle at var(--cyber-pointer-x, 50%) var(--cyber-pointer-y, 50%), rgba(64, 246, 255, .12), transparent 52%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: border-color .3s ease, box-shadow .3s ease, opacity .3s ease;
}

.pf-item:hover::before,
.pf-item:focus-visible::before {
  border-color: rgba(64, 246, 255, .7);
  box-shadow: inset 0 0 28px rgba(64, 246, 255, .08), 0 0 24px rgba(64, 246, 255, .15);
  opacity: 1;
}

.pf-item .pf-cap {
  z-index: 2;
  padding-bottom: 48px;
  transition: padding .3s ease;
}

.pf-view {
  position: absolute;
  z-index: 3;
  right: 13px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 11px;
  transform: translateY(7px);
  border: 1px solid rgba(64, 246, 255, .4);
  border-radius: 7px;
  background: rgba(7, 12, 21, .78);
  color: #dffcff;
  font: 600 10px/1 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.pf-view > span {
  color: var(--cyber-cyan);
  font-size: 15px;
}

.pf-item:hover .pf-view,
.pf-item:focus-visible .pf-view {
  transform: none;
  opacity: 1;
  box-shadow: 0 0 16px rgba(64, 246, 255, .13);
}

.home-overview #process-steps .timeline-line {
  background: linear-gradient(180deg, var(--cyber-cyan), var(--cyber-violet), var(--neon));
  background-size: 100% 200%;
  animation: cyber-timeline 5s ease-in-out infinite alternate;
  box-shadow: 0 0 12px rgba(64, 246, 255, .25);
}

.home-overview #process-steps .step > span:first-child {
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.home-overview #process-steps .step.cyber-in-view > span:first-child {
  transform: scale(1.05);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 22px rgba(64, 246, 255, .28);
}

.home-overview .step.cyber-in-view h3 {
  color: #e7fbff;
}

.home-overview .hero-card [data-cyber-tilt]:hover {
  box-shadow: 0 28px 80px rgba(0, 0, 0, .4), 0 0 38px rgba(64, 246, 255, .16);
}

.home-overview a,
.home-overview button,
.section-page a,
.section-page button,
body[data-mode="quote"] a,
body[data-mode="quote"] button,
body[data-mode="shop"] a,
body[data-mode="shop"] button {
  -webkit-tap-highlight-color: rgba(64, 246, 255, .16);
}

.home-overview .home-hub-card:active,
.section-page .sp-content .service-card:active,
.section-page .sp-content .gm-card:active,
.section-page .sp-content .pf-item:active,
body[data-mode="quote"] #pc-grid > *:active,
body[data-mode="shop"] #pc-grid > *:active {
  transform: scale(.985);
}

@keyframes cyber-orbit {
  to { transform: rotate(353deg); }
}

@keyframes cyber-float {
  0%, 100% {
    transform: perspective(1200px) rotateX(var(--cyber-tilt-y, 0deg)) rotateY(var(--cyber-tilt-x, 0deg)) translateY(0) rotateZ(-1.5deg);
  }
  50% {
    transform: perspective(1200px) rotateX(var(--cyber-tilt-y, 0deg)) rotateY(var(--cyber-tilt-x, 0deg)) translateY(-10px) rotateZ(1deg);
  }
}

@keyframes cyber-dot-pulse {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; box-shadow: 0 0 17px rgba(64, 246, 255, 1); }
}

@keyframes cyber-timeline {
  from { background-position: 0 0; }
  to { background-position: 0 100%; }
}

@keyframes cyber-page-out {
  to { opacity: 0; filter: blur(8px); transform: scale(.99); }
}

@keyframes cyber-page-in {
  from { opacity: 0; filter: blur(8px); transform: translateY(10px) scale(.99); }
  to { opacity: 1; filter: none; transform: none; }
}

@media (hover: none), (pointer: coarse) {
  .pf-view {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .hero-card::before { inset: -4%; }
  .hero-card::after { inset: -2%; }
  .hero-card > .cyber-live-hud { top: -15px; right: 2%; }
  .cyber-live-hud { min-height: 28px; font-size: 8px; }
  .pf-view { right: 8px; bottom: 8px; padding: 7px 9px; transform: none; font-size: 9px; opacity: 1; }
  .pf-item .pf-cap { padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

  .hero-card::before,
  .hero-card::after,
  .hero-card [data-cyber-tilt],
  .cyber-live-dot,
  .home-overview #process-steps .timeline-line {
    animation: none;
  }

  .hero-card [data-cyber-tilt] {
    transform: none;
  }

  .cyber-cursor-glow {
    display: none;
  }

  .pf-view {
    transform: none;
    transition: none;
    opacity: 1;
  }

  .home-overview main#top > section:not(#site-section-hub)::after,
  .section-page .sp-intro::after {
    width: min(240px, 50vw);
    transition: none;
  }
}
