@font-face {
  font-family: "Octarine Light";
  src: url("assets/fonnts.com-Octarine-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0f20;
  --text: #f5f7ff;
  --text-muted: rgba(245, 247, 255, 0.72);
  --frame-pad: clamp(6px, 1.2vw, 12px);
  --frame-radius: clamp(18px, 3vw, 32px);
  --hero-blend: 0;
  --blob-tilt-x: 0deg;
  --blob-tilt-y: 0deg;
  --blob-fade: 1;
  --blob-shift: 0px;
  --blob-move-x: 0px;
  --blob-move-y: 0px;
  --blob-spin: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Octarine Light", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: radial-gradient(circle at 15% 20%, rgba(0, 198, 255, 0.18), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(155, 77, 255, 0.2), transparent 55%),
    linear-gradient(135deg, #0a0f20 0%, #111730 45%, #1c103a 100%);
  background-size: 140% 140%;
  text-transform: lowercase;
  overflow-x: hidden;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.services-locked {
  overflow: hidden;
}

.top-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  width: min(680px, 92vw);
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(10, 15, 32, 0.32);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.top-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.top-bar-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.top-bar-links {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.top-bar-links.left {
  justify-self: start;
  justify-content: flex-start;
}

.top-bar-links.right {
  justify-self: end;
  justify-content: flex-end;
}

.top-bar-link {
  text-decoration: none;
  font-size: clamp(12px, 1.8vw, 16px);
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--text-muted);
  padding-bottom: 2px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: color 0.3s ease, background-size 0.3s ease;
}

.top-bar-link:hover {
  color: var(--text);
  background-size: 100% 1px;
}

body.is-scrolled .top-bar {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

body.is-scrolled .top-bar-logo-slot,
body.is-scrolled .top-bar-links {
  opacity: 1;
  transform: translateY(0);
}

body.is-scrolled .top-bar-logo-slot {
  transition-delay: 0.06s;
}

body.is-scrolled .top-bar-links {
  transition-delay: 0.12s;
}

.top-bar .logo-swarm {
  font-size: clamp(28px, 6vw, 48px);
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.top-bar .logo-letter + .logo-letter {
  margin-left: -0.06em;
}

.logo-hero {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: left;
  padding: min(12vh, 96px) 6vw;
  gap: clamp(10px, 2vw, 18px);
  border-radius: calc(var(--frame-radius) - var(--frame-pad));
  transition: border-radius 0.35s ease;
  background: #0a0f20;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(1.05);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-frame {
  min-height: 100vh;
  display: flex;
  padding: var(--frame-pad);
  border: 0;
  background: #ffffff;
  border-radius: 0;
  transition: padding 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
}

body.is-scrolled .hero-frame {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

body.is-scrolled .hero-frame .logo-hero {
  border-radius: calc(var(--frame-radius) - var(--frame-pad));
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2.4vw, 22px);
}

.hero-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 3.1rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  color: #ffffff;
  mix-blend-mode: screen;
}

.hero-title-line {
  display: block;
  position: relative;
  padding: 4px 0;
  overflow: hidden;
  white-space: nowrap;
}

.hero-title-line .title-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(220, 200, 255, 0.9), rgba(255, 255, 255, 0));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  animation: lineToText 0.8s ease forwards;
  animation-delay: var(--line-delay, 0s);
}

.hero-title-line .title-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  letter-spacing: 0.2em;
  font-weight: 300;
  color: transparent;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(204, 232, 255, 0.96) 28%,
    rgba(232, 214, 255, 0.98) 58%,
    rgba(255, 255, 255, 0.98) 100%
  );
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.25),
    0 0 18px rgba(150, 190, 255, 0.35);
  animation: titleReveal 0.9s ease forwards, crystalShine 6s ease-in-out infinite;
  animation-delay: calc(var(--line-delay, 0s) + 0.2s);
}

.hero-copy .logo-tagline {
  margin: 0;
  max-width: 520px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(245, 247, 255, 0.7);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.hero-btn.primary {
  color: #0b0f1c;
  background: linear-gradient(120deg, rgba(255, 136, 202, 0.85), rgba(132, 165, 255, 0.85));
  border: 1px solid transparent;
}

.hero-btn.ghost {
  color: rgba(245, 247, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 11, 20, 0.35);
}

.hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.hero-btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-blob-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(260px, 40vw, 460px);
  opacity: var(--blob-fade);
  transform: translateY(var(--blob-shift));
  transition: opacity 0.45s ease, transform 0.45s ease;
  will-change: opacity, transform;
}

.hero-blob {
  position: relative;
  width: clamp(240px, 36vw, 420px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: translate3d(var(--blob-move-x), var(--blob-move-y), 0)
    rotateX(var(--blob-tilt-x, 0deg)) rotateY(var(--blob-tilt-y, 0deg))
    rotateZ(var(--blob-spin, 0deg)) scale(calc(0.85 + var(--blob-fade) * 0.15));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.hero-blob::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16%;
  width: 70%;
  height: 20%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  transform: translateX(-50%);
  filter: blur(18px);
  opacity: 0.7;
}

.blob-surface {
  position: absolute;
  inset: 0;
  border-radius: 48% 52% 60% 40% / 44% 46% 54% 56%;
  background: radial-gradient(circle at 30% 25%, rgba(215, 188, 255, 0.9), transparent 55%),
    linear-gradient(135deg, #6a46ff 0%, #b06bff 45%, #6f5bff 100%);
  box-shadow: 0 30px 80px rgba(114, 82, 255, 0.35),
    inset 0 0 28px rgba(255, 255, 255, 0.2);
  transform: translateZ(30px);
  animation: blobMorph 12s ease-in-out infinite, blobFloat 10s ease-in-out infinite;
  overflow: hidden;
  mask-image: radial-gradient(circle, transparent 0 42%, #000 46% 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 42%, #000 46% 100%);
}

.blob-surface::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      rgba(255, 255, 255, 0) 1px 5px
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 220% 220%, 120px 120px;
  background-position: 0% 0%, 0 0;
  mix-blend-mode: soft-light;
  opacity: 0.45;
  animation: textureDrift 8s linear infinite;
  pointer-events: none;
}

.blob-rings,
.blob-wire {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: blobMorph 12s ease-in-out infinite;
}

.blob-rings {
  --spin-depth: 18px;
  background: repeating-radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0 1px,
    transparent 1px 12px
  );
  mask-image: radial-gradient(circle, transparent 0 44%, #000 48% 70%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 44%, #000 48% 70%, transparent 74%);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: blobMorph 12s ease-in-out infinite, blobSpin 18s linear infinite;
}

.blob-wire {
  --spin-depth: 8px;
  inset: 4%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0 1px,
    rgba(255, 255, 255, 0) 1px 6px
  );
  mask-image: radial-gradient(circle, transparent 0 44%, #000 48% 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 44%, #000 48% 100%);
  opacity: 0.4;
  mix-blend-mode: screen;
  animation: blobMorph 12s ease-in-out infinite, blobSpin 22s linear infinite reverse;
}

.blob-glow {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 130, 255, 0.35), transparent 70%);
  filter: blur(28px);
  opacity: 0.8;
  animation: blobGlow 8s ease-in-out infinite;
  transform: translateZ(-40px);
}

.blob-bubble-orbit {
  position: absolute;
  inset: 12%;
  transform-origin: center;
  pointer-events: none;
  z-index: 3;
}

.blob-bubble {
  position: absolute;
  min-width: 130px;
  min-height: 36px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  animation: bubblePulse 9s ease-in-out infinite;
  will-change: opacity, transform;
  z-index: 4;
  mix-blend-mode: normal;
  white-space: nowrap;
}

.blob-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

.bubble-1 {
  top: 18%;
  left: 66%;
  animation-delay: 0s;
}

.bubble-2 {
  top: 52%;
  left: 16%;
  animation-delay: 3s;
}

.bubble-3 {
  top: 82%;
  left: 70%;
  animation-delay: 6s;
}

.logo-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle at 20% 20%, rgba(130, 92, 255, 0.35), transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(176, 110, 255, 0.35), transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(88, 132, 255, 0.3), transparent 55%);
  opacity: 0.9;
  animation: heroDrift 26s ease-in-out infinite;
  will-change: transform, opacity;
  z-index: 0;
}

.logo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 18, 0) 0%,
    rgba(10, 10, 18, 0.4) 55%,
    rgba(10, 10, 18, 0.9) 100%
  );
  opacity: var(--hero-blend);
  transition: opacity 0.45s ease-out;
  will-change: opacity;
  pointer-events: none;
  z-index: 1;
}

.logo-hero > *:not(.hero-shapes):not(.hero-fade):not(.hero-video) {
  position: relative;
}

.hero-shapes {
  position: absolute;
  inset: -10% 0 0;
  pointer-events: none;
  z-index: 0;
}

.hero-shapes::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at 50% 40%, #000 45%, transparent 70%);
  animation: gridDrift 30s linear infinite;
}

.shape {
  position: absolute;
  border-radius: 2px;
  filter: blur(0.5px);
  opacity: 0.45;
  animation: metaStreak 12s linear infinite;
  --base-x: 0px;
  --base-y: 0px;
  --tilt: 0deg;
  will-change: transform, opacity;
}

.shape-orb {
  width: clamp(220px, 40vw, 520px);
  height: 3px;
  left: -8%;
  top: 18%;
  background: linear-gradient(
    90deg,
    rgba(255, 168, 122, 0),
    rgba(255, 168, 122, 0.65),
    rgba(255, 136, 202, 0.6),
    rgba(124, 198, 255, 0.7),
    rgba(255, 168, 122, 0)
  );
  animation-duration: 7s;
  --tilt: -6deg;
}

.shape-orb.alt {
  width: clamp(200px, 38vw, 460px);
  height: 2px;
  right: -6%;
  top: 28%;
  background: linear-gradient(
    90deg,
    rgba(255, 136, 202, 0),
    rgba(255, 136, 202, 0.7),
    rgba(255, 168, 122, 0.65),
    rgba(124, 198, 255, 0.45),
    rgba(255, 136, 202, 0)
  );
  animation-delay: -3s;
  animation-duration: 6.5s;
  --tilt: 8deg;
}

.shape-ring {
  width: clamp(260px, 46vw, 620px);
  height: 2px;
  right: 6%;
  bottom: 22%;
  background: linear-gradient(
    90deg,
    rgba(124, 198, 255, 0),
    rgba(124, 198, 255, 0.6),
    rgba(255, 136, 202, 0.55),
    rgba(255, 168, 122, 0.55),
    rgba(124, 198, 255, 0)
  );
  animation-duration: 8s;
  animation-delay: -5s;
  --tilt: -4deg;
}

.shape-pill {
  width: clamp(200px, 36vw, 520px);
  height: 4px;
  left: 8%;
  bottom: 26%;
  background: linear-gradient(
    90deg,
    rgba(124, 198, 255, 0),
    rgba(124, 198, 255, 0.65),
    rgba(255, 136, 202, 0.6),
    rgba(255, 168, 122, 0.65),
    rgba(124, 198, 255, 0)
  );
  animation-duration: 7.5s;
  animation-delay: -2s;
  --tilt: 2deg;
}

.shape-wave {
  width: clamp(260px, 48vw, 640px);
  height: clamp(80px, 12vw, 140px);
  left: 50%;
  top: 62%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 168, 122, 0.35) 18%,
    rgba(255, 136, 202, 0.4) 36%,
    rgba(124, 198, 255, 0.4) 54%,
    rgba(255, 255, 255, 0) 72%
  );
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  opacity: 0.4;
  animation-duration: 9s;
  animation-delay: -4s;
  --base-x: -50%;
  --tilt: -2deg;
}

.logo-swarm {
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  font-size: clamp(72px, 18vw, 200px);
  letter-spacing: 0em;
  line-height: 1;
  text-transform: lowercase;
  font-weight: 600;
  color: var(--text);
  text-shadow: none;
  text-decoration: none;
  cursor: pointer;
}

.logo-hero .logo-swarm {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #ffffff;
  text-shadow: none;
  -webkit-text-stroke: 0 transparent;
  position: relative;
  z-index: 3;
  font-size: clamp(44px, 7vw, 96px);
  justify-content: flex-start;
  align-self: flex-start;
  font-weight: 600;
}

.logo-letter {
  display: inline-block;
  will-change: transform, filter;
}

.logo-letter + .logo-letter {
  margin-left: -0.002em;
}

.logo-tagline {
  margin: 0;
  max-width: 720px;
  font-size: clamp(14px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--text-muted);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.is-scrolled .logo-tagline {
  opacity: 0;
  transform: translateY(-12px);
}

.services {
  background: radial-gradient(circle at 10% 20%, rgba(88, 132, 255, 0.2), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(176, 107, 255, 0.22), transparent 50%),
    linear-gradient(135deg, #0a0f20 0%, #121637 50%, #1a1035 100%);
  color: #f5f7ff;
  min-height: 100vh;
  padding: clamp(80px, 12vw, 140px) 6vw;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(140, 120, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(90, 155, 255, 0.2), transparent 50%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 120px 120px;
  pointer-events: none;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: clamp(48px, 6vw, 80px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.services-title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 600;
}

.services-desc {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(245, 247, 255, 0.7);
  line-height: 1.7;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.services-scroll {
  max-height: none;
  overflow: visible;
  padding: 0;
  overscroll-behavior: auto;
  mask-image: none;
  scrollbar-width: none;
}

.services-scroll::-webkit-scrollbar {
  width: 0;
}

.services-scroll::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 255, 0.28);
  border-radius: 999px;
}

.services-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.service-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 22px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 8px;
  border: 1px solid rgba(160, 180, 255, 0.25);
  background: linear-gradient(160deg, rgba(18, 24, 48, 0.85), rgba(32, 25, 64, 0.7));
  box-shadow: 0 20px 40px rgba(5, 8, 18, 0.45);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease,
    box-shadow 0.3s ease;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(37, 99, 255, 0.9),
    rgba(176, 107, 255, 0.9),
    rgba(255, 131, 210, 0.9),
    rgba(37, 99, 255, 0.9)
  );
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.75;
  animation: serviceBorderFlow 6s linear infinite;
  pointer-events: none;
}

.service-item:hover {
  border-color: rgba(180, 200, 255, 0.55);
  background: linear-gradient(160deg, rgba(28, 34, 72, 0.9), rgba(48, 38, 96, 0.75));
  transform: translateY(-4px) translateX(4px);
  box-shadow: 0 26px 50px rgba(5, 8, 18, 0.55);
}

.service-index {
  position: relative;
  display: inline-block;
  font-size: 0.75rem;
  color: rgba(245, 247, 255, 0.85);
  letter-spacing: 0.2em;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-index::before {
  display: none;
}

.service-item:hover .service-index {
  color: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}

.service-text h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
}

.service-preview {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.95rem;
  color: rgba(245, 247, 255, 0.7);
  opacity: 0.75;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-item:hover .service-preview {
  opacity: 1;
  transform: translateY(0);
}


.split-words {
  display: block;
  overflow: hidden;
}

.split-word {
  display: inline-block;
  margin-right: 0.3em;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

.split-word:last-child {
  margin-right: 0;
}

.reveal-up.split-words {
  opacity: 1;
  transform: none;
}

.reveal-up.split-words.is-visible .split-word {
  transform: translateY(0);
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tagline-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.who {
  background: #0b0b0b;
  color: #ffffff;
  padding: clamp(72px, 10vw, 120px) 6vw;
}

.who-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.who-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
}

.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.who-card {
  position: relative;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  padding: 24px 22px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.who-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(0, 198, 255, 0.6), rgba(155, 77, 255, 0.6)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.55;
  animation: strokeGlow 4s linear infinite;
  pointer-events: none;
}

.who-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.who-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.who-card:hover::after {
  transform: scaleX(1);
}

@keyframes metaStreak {
  0% {
    opacity: 0;
    transform: translate3d(var(--base-x), var(--base-y), 0) rotate(var(--tilt));
  }
  12% {
    opacity: 0.8;
  }
  60% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--base-x) + 180px), calc(var(--base-y) - 80px), 0)
      rotate(var(--tilt));
  }
}

@keyframes heroDrift {
  0% {
    transform: translate3d(-2%, -2%, 0) scale(1.06);
    opacity: 0.78;
  }
  50% {
    transform: translate3d(2%, 3%, 0) scale(1.12);
    opacity: 1;
  }
  100% {
    transform: translate3d(-2%, -2%, 0) scale(1.06);
    opacity: 0.82;
  }
}

@keyframes lineToText {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  40% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0.2);
    opacity: 0;
  }
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
    letter-spacing: 0.22em;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.01em;
  }
}

@keyframes crystalShine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes serviceBorderFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes blobMorph {
  0% {
    border-radius: 48% 52% 60% 40% / 44% 46% 54% 56%;
  }
  50% {
    border-radius: 58% 42% 46% 54% / 50% 60% 40% 50%;
  }
  100% {
    border-radius: 48% 52% 60% 40% / 44% 46% 54% 56%;
  }
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes blobGlow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

@keyframes bubblePulse {
  0%,
  18% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
  }
  26%,
  46% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  62%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
}

@keyframes blobSpin {
  0% {
    transform: translateZ(var(--spin-depth, 0px)) rotateZ(0deg);
  }
  100% {
    transform: translateZ(var(--spin-depth, 0px)) rotateZ(360deg);
  }
}

@keyframes textureDrift {
  0% {
    background-position: 0% 0%, 0 0;
  }
  50% {
    background-position: 100% 100%, 60px 40px;
  }
  100% {
    background-position: 0% 0%, 120px 80px;
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 140px 140px, 140px 140px;
  }
}

@keyframes strokeGlow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes ringSpin {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

.contact {
  background: radial-gradient(circle at 20% 10%, rgba(0, 198, 255, 0.08), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(155, 77, 255, 0.1), transparent 50%),
    #0c0c12;
  color: #ffffff;
  padding: clamp(80px, 12vw, 140px) 6vw;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact-title {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
}

.contact-desc {
  margin: 0 0 24px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.contact-details span {
  display: inline-block;
  min-width: 92px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-size: 0.72rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.6);
}

.contact-form input,
.contact-form textarea {
  background: rgba(8, 10, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 12px 14px;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(0, 198, 255, 0.6);
  border-color: rgba(0, 198, 255, 0.4);
}

.contact-button {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(120deg, rgba(0, 129, 251, 0.35), rgba(155, 77, 255, 0.35));
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-button:active {
  transform: scale(0.98);
  filter: brightness(1.05);
}

.about {
  background: radial-gradient(circle at 20% 20%, rgba(0, 198, 255, 0.08), transparent 40%),
    radial-gradient(circle at 70% 0%, rgba(155, 77, 255, 0.08), transparent 45%),
    #0b0b10;
  color: #ffffff;
  padding: clamp(96px, 12vw, 140px) 6vw clamp(72px, 10vw, 120px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-inner {
  max-width: 960px;
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

.about-title {
  margin: 0;
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: rgba(245, 247, 255, 0.6);
  font-weight: 500;
}

.about-lines {
  display: grid;
  gap: clamp(8px, 2vw, 14px);
}

.about-line {
  display: block;
  font-size: clamp(1.4rem, 3.2vw, 2.8rem);
  line-height: 1.25;
  font-weight: 400;
  color: rgba(200, 210, 235, 0.35);
  opacity: 0.25;
  filter: blur(6px);
  transform: translateY(12px);
  will-change: opacity, transform, filter;
}

@media (max-width: 900px) {
  .services-head {
    grid-template-columns: 1fr;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    align-items: center;
  }

  .hero-copy .logo-swarm {
    align-self: center;
    justify-content: center;
  }

  .hero-copy .logo-tagline {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .hero-title-line {
    white-space: normal;
  }

  .service-item {
    grid-template-columns: auto 1fr;
  }

  .service-icon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shape {
    animation: none;
  }

  .blob-surface,
  .blob-glow,
  .blob-rings,
  .blob-wire,
  .blob-bubble-orbit,
  .blob-bubble {
    animation: none;
  }

  .blob-surface::before {
    animation: none;
  }

  .logo-hero::before,
  .hero-shapes::before {
    animation: none;
  }

  .hero-title-line .title-line,
  .hero-title-line .title-text {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-title-line .title-text {
    letter-spacing: 0.01em;
  }

  .blob-bubble {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
