:root {
  --bg-base: #020611;
  --bg-surface: rgba(8, 16, 32, 0.78);
  --bg-surface-strong: rgba(7, 18, 36, 0.92);
  --bg-soft: rgba(110, 187, 255, 0.08);
  --panel-border: rgba(141, 214, 255, 0.15);
  --panel-border-strong: rgba(141, 214, 255, 0.28);
  --text: #f3fbff;
  --text-soft: rgba(229, 245, 255, 0.78);
  --text-muted: rgba(188, 218, 238, 0.58);
  --accent: #8ee1ff;
  --accent-strong: #2ce2ff;
  --accent-secondary: #6d8cff;
  --accent-hot: #8fa4ff;
  --accent-deep: #163f93;
  --success: #91ffd5;
  --shadow-soft: 0 28px 72px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 0 1px rgba(142, 225, 255, 0.06), 0 28px 80px rgba(18, 72, 141, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-height: 90px;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  --font-body: "Sora", sans-serif;
  --font-display: "Syncopate", sans-serif;
  --font-mono: "Azeret Mono", monospace;
  --font-arabic: "IBM Plex Sans Arabic", sans-serif;
  --scene-progress: 0;
  --scene-progress-eased: 0;
  --scene-rotate: 0deg;
  --scene-shift: 0px;
  --scene-zoom: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(32, 122, 255, 0.16), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(102, 73, 255, 0.16), transparent 24%),
    radial-gradient(circle at 52% 100%, rgba(21, 120, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #030816 0%, #040913 36%, #02040b 100%);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(59, 153, 255, 0.15), transparent 18%),
    linear-gradient(transparent, transparent);
  opacity: 0.75;
}

body::after {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 25%, #000 70%, rgba(0, 0, 0, 0) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.cosmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -2;
  perspective: 1800px;
  transform-style: preserve-3d;
  contain: layout paint style;
}

.starfield,
.grid-glow,
.nebula,
.meteor,
.warp-stage {
  position: absolute;
  inset: 0;
}

.warp-stage {
  transform-style: preserve-3d;
  transform: scale(var(--scene-zoom)) translateY(calc(var(--scene-shift) * -0.14));
  filter: saturate(1.03);
  will-change: transform;
  backface-visibility: hidden;
}

.starfield::before,
.starfield::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
  animation: drift-stars linear infinite;
}

.starfield-a::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(132, 211, 255, 0.8) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 1.2px, transparent 1.5px);
  background-size: 180px 180px, 260px 260px, 340px 340px;
  background-position: 0 0, 100px 20px, 40px 120px;
  opacity: 0.7;
  animation-duration: 80s;
}

.starfield-a::after {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0 0.9px, transparent 1.2px),
    radial-gradient(circle, rgba(143, 214, 255, 0.5) 0 1px, transparent 1.4px);
  background-size: 240px 240px, 320px 320px;
  background-position: 20px 70px, 140px 150px;
  opacity: 0.32;
  animation-duration: 115s;
  animation-direction: reverse;
}

.starfield-b::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(89, 169, 255, 0.48) 0 1.1px, transparent 1.6px);
  background-size: 420px 420px, 520px 520px;
  background-position: 60px 40px, 180px 160px;
  opacity: 0.18;
  animation-duration: 150s;
}

.grid-glow {
  background:
    radial-gradient(circle at 22% 18%, rgba(54, 165, 255, 0.18), transparent 20%),
    radial-gradient(circle at 78% 24%, rgba(92, 118, 255, 0.16), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(32, 203, 255, 0.14), transparent 28%);
  filter: blur(24px);
  opacity: 0.54;
}

.nebula {
  filter: blur(38px);
  opacity: 0.2;
}

.nebula-a {
  background: radial-gradient(circle, rgba(67, 110, 255, 0.34), transparent 68%);
  transform: translate(-18%, -10%) scale(1.2);
  animation: float-nebula 18s ease-in-out infinite;
}

.nebula-b {
  background: radial-gradient(circle, rgba(44, 226, 255, 0.22), transparent 64%);
  transform: translate(45%, 10%) scale(1.05);
  animation: float-nebula 20s ease-in-out infinite reverse;
}

.nebula-c {
  background: radial-gradient(circle, rgba(146, 119, 255, 0.22), transparent 60%);
  transform: translate(12%, 55%) scale(1.15);
  animation: float-nebula 22s ease-in-out infinite;
}

.meteor {
  inset: auto;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(177, 238, 255, 0.95), rgba(255, 255, 255, 0));
  box-shadow: 0 0 14px rgba(143, 214, 255, 0.5);
  transform: rotate(-24deg);
  opacity: 0;
}

.meteor-a {
  top: 12%;
  left: -15%;
  animation: meteor-travel 10s linear infinite;
}

.meteor-b {
  top: 38%;
  left: -20%;
  animation: meteor-travel 15s linear infinite 5s;
}

.meteor-c {
  top: 68%;
  left: -18%;
  animation: meteor-travel 13s linear infinite 2s;
}

.wormhole-core,
.wormhole-ring,
.nested-galaxy,
.galaxy-ribbon,
.dust-trail,
.orbit-line,
.signal-grid,
.code-stream,
.planet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
}

.wormhole-core {
  width: min(62vw, 860px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform:
    translate3d(-50%, -50%, calc(var(--scene-progress-eased) * 220px))
    rotate(var(--scene-rotate))
    scale(calc(0.9 + var(--scene-progress-eased) * 0.48));
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 253, 255, 0.7) 0%, rgba(145, 214, 255, 0.3) 18%, rgba(42, 95, 255, 0.12) 34%, rgba(10, 18, 36, 0.12) 54%, transparent 68%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 72%);
  box-shadow:
    0 0 68px rgba(92, 135, 255, 0.1),
    0 0 118px rgba(44, 226, 255, 0.05);
  opacity: calc(0.36 + var(--scene-progress-eased) * 0.2);
  will-change: transform, opacity;
}

.wormhole-ring {
  border-radius: 50%;
  border: 1px solid rgba(151, 220, 255, 0.12);
  opacity: 0.46;
  will-change: transform;
}

.wormhole-ring-a {
  width: min(84vw, 1280px);
  aspect-ratio: 1.2;
  transform:
    translate3d(-50%, -50%, -180px)
    rotate(calc(var(--scene-rotate) * -0.25))
    scale(calc(0.96 + var(--scene-progress-eased) * 0.2));
  border-color: rgba(144, 184, 255, 0.16);
}

.wormhole-ring-b {
  width: min(70vw, 1080px);
  aspect-ratio: 1.05;
  transform:
    translate3d(-50%, -50%, 80px)
    rotate(calc(var(--scene-rotate) * 0.4));
  border-color: rgba(44, 226, 255, 0.14);
}

.wormhole-ring-c {
  width: min(52vw, 760px);
  aspect-ratio: 1;
  transform:
    translate3d(-50%, -50%, 180px)
    rotate(calc(var(--scene-rotate) * -0.65));
  border-color: rgba(255, 255, 255, 0.12);
}

.nested-galaxy {
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: calc(0.1 + var(--scene-progress-eased) * 0.12);
  will-change: transform, opacity;
  pointer-events: none;
}

.nested-galaxy::before,
.nested-galaxy::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.nested-galaxy::before {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.82) 0 3%, rgba(169, 230, 255, 0.24) 8%, rgba(41, 96, 255, 0.08) 18%, transparent 34%),
    conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(135, 215, 255, 0.18) 52deg, rgba(190, 123, 255, 0.26) 104deg, rgba(255, 255, 255, 0) 168deg, rgba(110, 171, 255, 0.22) 224deg, rgba(255, 255, 255, 0) 296deg, rgba(133, 224, 255, 0.18) 344deg, rgba(255, 255, 255, 0) 360deg);
  filter: blur(6px);
  mask-image: radial-gradient(circle at center, transparent 0 12%, #000 24%, rgba(0, 0, 0, 0.96) 54%, transparent 78%);
  animation: nested-galaxy-spin 48s linear infinite;
}

.nested-galaxy::after {
  inset: 14%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.24), transparent 24%),
    conic-gradient(from 180deg, rgba(255, 255, 255, 0) 0deg, rgba(127, 100, 255, 0.22) 72deg, rgba(255, 255, 255, 0) 160deg, rgba(44, 226, 255, 0.18) 214deg, rgba(255, 255, 255, 0) 320deg);
  filter: blur(10px);
  opacity: 0.56;
  animation: nested-galaxy-spin-reverse 56s linear infinite, nested-galaxy-pulse 12s ease-in-out infinite;
}

.nested-galaxy-a {
  width: min(72vw, 1040px);
  transform:
    translate3d(-50%, -50%, -120px)
    rotate(calc(18deg + var(--scene-rotate) * 0.18))
    scale(calc(0.88 + var(--scene-progress-eased) * 0.14));
}

.nested-galaxy-b {
  width: min(58vw, 800px);
  transform:
    translate3d(-50%, -50%, 120px)
    rotate(calc(-34deg - var(--scene-rotate) * 0.22))
    scale(calc(0.92 + var(--scene-progress-eased) * 0.12));
  opacity: calc(0.14 + var(--scene-progress-eased) * 0.16);
}

.nested-galaxy-b::before {
  animation-duration: 40s;
}

.nested-galaxy-b::after {
  animation-duration: 48s, 11s;
}

.nested-galaxy-c {
  width: min(40vw, 560px);
  transform:
    translate3d(-50%, -50%, 220px)
    rotate(calc(62deg + var(--scene-rotate) * -0.28))
    scale(calc(0.94 + var(--scene-progress-eased) * 0.1));
  opacity: calc(0.12 + var(--scene-progress-eased) * 0.14);
}

.nested-galaxy-c::before {
  filter: blur(4px);
  animation-duration: 34s;
}

.nested-galaxy-c::after {
  inset: 18%;
  filter: blur(8px);
  animation-duration: 42s, 10s;
}

.galaxy-ribbon {
  width: min(104vw, 1700px);
  height: min(26vw, 360px);
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.28;
  will-change: transform;
}

.galaxy-ribbon-a {
  transform:
    translate3d(-50%, -50%, 40px)
    rotate(calc(12deg + var(--scene-progress-eased) * 110deg))
    scale(calc(0.9 + var(--scene-progress-eased) * 0.12));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(133, 219, 255, 0.38) 16%, rgba(181, 114, 255, 0.28) 34%, rgba(118, 87, 255, 0.3) 48%, rgba(183, 122, 255, 0.28) 66%, rgba(133, 219, 255, 0.24) 84%, rgba(255, 255, 255, 0) 100%);
}

.galaxy-ribbon-b {
  transform:
    translate3d(-50%, -50%, -60px)
    rotate(calc(-18deg - var(--scene-progress-eased) * 140deg))
    scale(calc(1 + var(--scene-progress-eased) * 0.08));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 4%, rgba(129, 95, 255, 0.16) 18%, rgba(112, 174, 255, 0.28) 38%, rgba(255, 255, 255, 0.22) 50%, rgba(112, 174, 255, 0.24) 62%, rgba(129, 95, 255, 0.2) 82%, rgba(255, 255, 255, 0) 100%);
  filter: blur(6px);
}

.dust-trail {
  width: 130vw;
  height: 130vh;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0.08) 36deg, rgba(113, 182, 255, 0.04) 100deg, rgba(255, 255, 255, 0) 200deg, rgba(140, 104, 255, 0.08) 288deg, rgba(255, 255, 255, 0) 360deg);
  opacity: 0.06;
}

.dust-trail-a {
  transform:
    translate3d(-50%, -50%, -220px)
    rotate(calc(var(--scene-rotate) * 0.35));
}

.dust-trail-b {
  transform:
    translate3d(-50%, -50%, 120px)
    rotate(calc(var(--scene-rotate) * -0.5));
}

.orbit-line {
  width: min(70vw, 1080px);
  height: min(34vw, 520px);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  opacity: 0.3;
}

.orbit-line-a {
  transform:
    translate3d(-50%, -50%, -40px)
    rotate(calc(18deg + var(--scene-rotate) * 0.25));
}

.orbit-line-b {
  width: min(56vw, 860px);
  height: min(22vw, 340px);
  transform:
    translate3d(-50%, -50%, 80px)
    rotate(calc(-28deg - var(--scene-rotate) * 0.3));
}

.signal-grid {
  width: min(84vw, 1200px);
  height: min(54vh, 620px);
  border-radius: 42px;
  overflow: hidden;
  opacity: 0.12;
  will-change: transform, opacity;
}

.signal-grid::before,
.signal-grid::after {
  content: "";
  position: absolute;
  inset: 0;
}

.signal-grid::before {
  background-image:
    linear-gradient(rgba(142, 225, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 225, 255, 0.1) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.34;
}

.signal-grid::after {
  inset: 12% 10%;
  border: 1px solid rgba(142, 225, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 32%, rgba(44, 226, 255, 0.2), transparent 12%),
    radial-gradient(circle at 72% 58%, rgba(143, 164, 255, 0.18), transparent 10%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 20px rgba(44, 226, 255, 0.04);
}

.signal-grid-a {
  transform:
    translate3d(-50%, -50%, -160px)
    rotate(calc(-18deg + var(--scene-rotate) * 0.06))
    scale(calc(0.92 + var(--scene-progress-eased) * 0.08));
}

.signal-grid-b {
  width: min(62vw, 900px);
  height: min(42vh, 480px);
  transform:
    translate3d(-50%, -50%, 120px)
    rotate(calc(22deg - var(--scene-rotate) * 0.08))
    scale(calc(0.86 + var(--scene-progress-eased) * 0.1));
  opacity: 0.12;
}

.code-stream {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(142, 225, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(4, 12, 26, 0.38);
  color: rgba(228, 247, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: calc(0.12 + var(--scene-progress-eased) * 0.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(6px);
  will-change: transform, opacity;
}

.code-stream-a {
  transform:
    translate3d(calc(-50% - 24vw + var(--scene-progress-eased) * 12vw), calc(-50% - 27vh), 160px)
    rotate(-8deg);
}

.code-stream-b {
  transform:
    translate3d(calc(-50% + 10vw - var(--scene-progress-eased) * 14vw), calc(-50% + 25vh), -30px)
    rotate(7deg);
}

.planet {
  border-radius: 50%;
  box-shadow:
    inset -14px -14px 34px rgba(0, 0, 0, 0.24),
    inset 10px 10px 18px rgba(255, 255, 255, 0.1),
    0 0 16px rgba(112, 168, 255, 0.08);
  opacity: 0.76;
  will-change: transform;
  backface-visibility: hidden;
}

.planet::before,
.planet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.planet::before {
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 58%);
  mix-blend-mode: screen;
}

.planet::after {
  inset: 12%;
  opacity: 0.35;
  filter: blur(3px);
}

.planet-a {
  width: 240px;
  height: 240px;
  transform:
    translate3d(calc(-34vw + var(--scene-progress-eased) * 64vw), calc(18vh - var(--scene-progress-eased) * 42vh), calc(var(--scene-progress-eased) * 40px))
    rotate(calc(var(--scene-progress-eased) * 180deg))
    scale(calc(0.42 + var(--scene-progress-eased) * 0.162));
  background:
    radial-gradient(circle at 32% 30%, rgba(138, 236, 255, 0.94), rgba(64, 118, 255, 0.8) 42%, rgba(21, 44, 88, 0.9) 72%, rgba(8, 16, 32, 0.94) 100%);
}

.planet-a::after {
  background:
    repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.18) 0 9px, rgba(255, 255, 255, 0.02) 9px 18px);
}

.planet-b {
  width: 160px;
  height: 160px;
  transform:
    translate3d(calc(36vw - var(--scene-progress-eased) * 90vw), calc(-22vh + var(--scene-progress-eased) * 74vh), calc(var(--scene-progress-eased) * 79px))
    rotate(calc(var(--scene-progress-eased) * -260deg))
    scale(calc(0.58 + var(--scene-progress-eased) * 0.324));
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 244, 187, 0.95), rgba(235, 167, 89, 0.82) 38%, rgba(116, 62, 28, 0.88) 74%, rgba(27, 14, 11, 0.95) 100%);
}

.planet-b::after {
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0 8px, rgba(255, 255, 255, 0) 8px 16px);
}

.planet-c {
  width: 320px;
  height: 320px;
  transform:
    translate3d(calc(12vw - var(--scene-progress-eased) * 30vw), calc(34vh - var(--scene-progress-eased) * 116vh), calc(var(--scene-progress-eased) * 128px))
    rotate(calc(var(--scene-progress-eased) * 320deg))
    scale(calc(0.74 + var(--scene-progress-eased) * 0.522));
  background:
    radial-gradient(circle at 34% 26%, rgba(210, 254, 255, 0.98), rgba(119, 220, 255, 0.72) 24%, rgba(63, 68, 177, 0.8) 52%, rgba(22, 22, 56, 0.95) 86%);
}

.planet-c::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 44%, rgba(40, 112, 255, 0.2) 100%);
}

.planet-d {
  width: 120px;
  height: 120px;
  transform:
    translate3d(calc(-8vw + var(--scene-progress-eased) * 112vw), calc(-40vh + var(--scene-progress-eased) * 18vh), calc(var(--scene-progress-eased) * 163px))
    rotate(calc(var(--scene-progress-eased) * -420deg))
    scale(calc(0.52 + var(--scene-progress-eased) * 0.666));
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.92), rgba(190, 158, 255, 0.74) 36%, rgba(88, 64, 154, 0.88) 72%, rgba(18, 10, 34, 0.96) 100%);
}

.planet-d::after {
  background:
    radial-gradient(circle at 58% 60%, rgba(255, 255, 255, 0.22), transparent 46%);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 28px), 1260px);
  transform: translateX(-50%);
  z-index: 30;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  transform: translateX(-50%) translateY(-4px);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 26px;
  border-radius: 999px;
  border: 1px solid rgba(142, 225, 255, 0.12);
  background: rgba(8, 18, 37, 0.52);
  backdrop-filter: blur(24px) saturate(145%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  position: relative;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 35%, rgba(255, 255, 255, 0.03) 64%, transparent 100%);
  pointer-events: none;
}

.site-header.scrolled .nav-shell {
  border-color: rgba(142, 225, 255, 0.22);
  background: rgba(6, 16, 34, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(143, 214, 255, 0.05);
}

.brand,
.footer-brand {
  font-family: var(--font-display);
}

.brand {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--text);
  text-shadow: 0 0 18px rgba(142, 225, 255, 0.34);
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-2px);
  border-color: rgba(142, 225, 255, 0.16);
  background: rgba(110, 187, 255, 0.08);
}

.lang-switcher {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(142, 225, 255, 0.12);
  flex-shrink: 0;
}

.lang-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--text);
  background: rgba(142, 225, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(142, 225, 255, 0.16);
}

main {
  position: relative;
  z-index: 1;
}

.hero,
.section-shell {
  scroll-margin-top: calc(var(--header-height) + 36px);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 156px 0 44px;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 10% auto auto 8%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 181, 255, 0.2), transparent 72%);
  filter: blur(18px);
  animation: pulse-hero 7s ease-in-out infinite;
}

.hero::after {
  right: 6%;
  bottom: 10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 116, 255, 0.16), transparent 72%);
  filter: blur(26px);
  animation: pulse-hero 8.5s ease-in-out infinite reverse;
}

.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: normal;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.hero-scrim {
  background: rgba(2, 8, 21, 0.34);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
  min-height: calc(100vh - 220px);
}

.hero-copy {
  position: relative;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.hero-copy {
  max-width: 920px;
  text-align: center;
  animation: rise-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(142, 225, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--success), var(--accent-strong));
  box-shadow: 0 0 18px rgba(145, 255, 213, 0.65);
  flex-shrink: 0;
}

.hero h1,
.section-header h2,
.about-text h2,
.contact-panel h2 {
  font-family: var(--font-display);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.3rem, 6.4vw, 5.4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 0 44px rgba(78, 155, 255, 0.14);
}

.hero-description {
  margin: 22px auto 0;
  max-width: 720px;
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.hero-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(100%, 760px);
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(142, 225, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%),
    rgba(5, 14, 28, 0.42);
  color: rgba(222, 242, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(142, 225, 255, 0.12);
  color: rgba(233, 246, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  cursor: pointer;
}

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

.pill-button.primary {
  color: #051121;
  background: linear-gradient(135deg, #e8fbff 0%, #97eeff 34%, #57cbff 100%);
  box-shadow: 0 18px 34px rgba(76, 203, 255, 0.3);
}

.pill-button.primary:hover {
  box-shadow: 0 24px 42px rgba(76, 203, 255, 0.38);
}

.pill-button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(142, 225, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.pill-button.secondary:hover {
  background: rgba(142, 225, 255, 0.08);
  border-color: rgba(142, 225, 255, 0.28);
}

.section-shell {
  position: relative;
  padding: 120px 0;
}

.services {
  background:
    linear-gradient(180deg, rgba(3, 9, 21, 0.24), rgba(4, 10, 22, 0.1));
}

.about {
  background:
    radial-gradient(circle at 80% 30%, rgba(48, 115, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.portfolio {
  background:
    radial-gradient(circle at 18% 72%, rgba(44, 226, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(5, 13, 28, 0.3), rgba(6, 11, 20, 0.1));
}

.testimonials {
  background:
    radial-gradient(circle at 84% 20%, rgba(117, 88, 255, 0.09), transparent 24%);
}

.process {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.contact {
  background:
    radial-gradient(circle at 20% 20%, rgba(44, 226, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(3, 10, 21, 0.18), rgba(3, 10, 21, 0.04));
}

.services::before,
.process::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.services::before {
  background:
    linear-gradient(90deg, transparent, rgba(142, 225, 255, 0.05) 50%, transparent),
    radial-gradient(circle at 14% 24%, rgba(44, 226, 255, 0.1), transparent 20%);
  opacity: 0.45;
}

.process::before {
  background:
    linear-gradient(180deg, transparent 0%, rgba(142, 225, 255, 0.05) 50%, transparent 100%),
    radial-gradient(circle at 78% 18%, rgba(143, 164, 255, 0.12), transparent 24%);
  opacity: 0.4;
}

.contact::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 36%, rgba(142, 225, 255, 0.05) 100%);
  opacity: 0.75;
}

.section-header {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header .eyebrow {
  margin-bottom: 22px;
}

.section-header h2,
.about-text h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}

.section-header p,
.about-text p,
.contact-panel p {
  margin: 20px 0 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.services-grid,
.testimonials-grid,
.process-grid,
.portfolio-grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.testimonial-card,
.process-step,
.portfolio-item,
.contact-card,
.contact-item,
.about-float-card,
.stat-box {
  position: relative;
  overflow: hidden;
}

.service-card,
.testimonial-card,
.process-step,
.portfolio-item,
.contact-card,
.contact-item,
.about-float-card,
.stat-box,
.contact-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-surface);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.service-card,
.testimonial-card,
.process-step,
.portfolio-item,
.contact-card,
.contact-panel {
  border-radius: var(--radius-lg);
}

.service-card::after,
.process-step::after,
.contact-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(44, 226, 255, 0.65), rgba(143, 164, 255, 0.18), rgba(255, 255, 255, 0));
  opacity: 0.7;
}

.service-card {
  min-height: 100%;
  padding: 26px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  display: flex;
  flex-direction: column;
}

.service-card::before,
.portfolio-item::before,
.contact-card::before,
.contact-panel::before,
.testimonial-card::before,
.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.1), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.05));
  opacity: 0.32;
  pointer-events: none;
}

.service-card:hover,
.portfolio-item:hover,
.testimonial-card:hover,
.process-step:hover,
.about-float-card:hover,
.contact-item:hover {
  transform: translateY(-8px);
  border-color: var(--panel-border-strong);
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(142, 225, 255, 0.08);
}

.service-index {
  color: rgba(142, 225, 255, 0.46);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.22em;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 20px 0 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(142, 225, 255, 0.16), rgba(93, 139, 255, 0.1));
  border: 1px solid rgba(142, 225, 255, 0.16);
  color: var(--accent);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.service-icon svg {
  width: 34px;
  height: 34px;
}

.service-card h3,
.portfolio-item h3,
.process-step h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-card p,
.testimonial-card p,
.portfolio-item p,
.process-step p {
  margin: 14px 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.service-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.service-footer span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 225, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.about-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 225, 255, 0.08);
  color: var(--text-soft);
  line-height: 1.75;
}

.about-list-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 18px rgba(44, 226, 255, 0.5);
  flex-shrink: 0;
}

.stat-box {
  padding: 18px;
  border-radius: var(--radius-md);
}

.stat-box strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.stat-box span {
  color: var(--text-muted);
}

.about-visual {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-visual::before,
.about-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about-visual::before {
  inset: 10%;
  border: 1px solid rgba(142, 225, 255, 0.12);
  border-radius: 42px;
  transform: perspective(1400px) rotateX(76deg) translateY(22%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.about-visual::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(142, 225, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 225, 255, 0.06) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(circle at center, #000 0 44%, rgba(0, 0, 0, 0.8) 58%, transparent 82%);
  opacity: 0.28;
}

.about-sphere {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(149, 222, 255, 0.72) 22%, rgba(24, 107, 255, 0.18) 48%, rgba(13, 30, 59, 0.02) 68%, transparent 72%),
    radial-gradient(circle, rgba(77, 116, 255, 0.16), transparent 74%);
  box-shadow: 0 0 90px rgba(80, 136, 255, 0.28);
  animation: pulse-hero 8s ease-in-out infinite;
}

.about-float-card {
  position: absolute;
  width: min(250px, 70%);
  padding: 18px;
  border-radius: var(--radius-md);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.about-float-card span {
  display: block;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-float-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.float-card-a {
  top: 12%;
  left: 5%;
  animation: float-card 8s ease-in-out infinite;
}

.float-card-b {
  right: 5%;
  top: 36%;
  animation: float-card 9s ease-in-out infinite reverse;
}

.float-card-c {
  left: 16%;
  bottom: 10%;
  animation: float-card 10s ease-in-out infinite;
}

.portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-item {
  min-height: 320px;
  padding: 26px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  display: flex;
  flex-direction: column;
}

.portfolio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.portfolio-index,
.portfolio-category {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.portfolio-index {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.portfolio-category {
  background: rgba(142, 225, 255, 0.12);
  color: var(--accent);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.portfolio-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(142, 225, 255, 0.1);
  color: var(--text-soft);
  font-weight: 600;
}

.portfolio-signal {
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tone-commerce {
  background:
    radial-gradient(circle at 18% 16%, rgba(44, 226, 255, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-surface);
}

.tone-banking {
  background:
    radial-gradient(circle at 82% 20%, rgba(145, 255, 213, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-surface);
}

.tone-crm {
  background:
    radial-gradient(circle at 20% 80%, rgba(109, 140, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-surface);
}

.tone-saas {
  background:
    radial-gradient(circle at 70% 65%, rgba(142, 225, 255, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-surface);
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  padding: 28px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.testimonial-card::after {
  content: "”";
  position: absolute;
  top: 10px;
  right: 18px;
  color: rgba(142, 225, 255, 0.14);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
}

.testimonial-card p {
  font-size: 1.08rem;
}

.testimonial-author {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(142, 225, 255, 0.1);
}

.testimonial-author strong,
.contact-item strong {
  display: block;
  font-size: 1.05rem;
}

.testimonial-author span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
}

.process-grid {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, rgba(44, 226, 255, 0.1), rgba(44, 226, 255, 0.46), rgba(143, 164, 255, 0.24), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.process-step {
  padding: 26px 22px;
  min-height: 100%;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  text-align: left;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(142, 225, 255, 0.12);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 30px;
  align-items: start;
}

.contact-panel,
.contact-card {
  padding: 28px;
}

.contact-card {
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.94), rgba(6, 12, 24, 0.88)),
    var(--bg-surface);
}

.form-intro {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(142, 225, 255, 0.1);
}

.form-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(142, 225, 255, 0.1);
  border: 1px solid rgba(142, 225, 255, 0.14);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-intro h3 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
}

.form-intro p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

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

.contact-info-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 225, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-cta {
  margin-top: 28px;
}

.form-group + .form-group {
  margin-top: 16px;
}

.form-row + .form-row,
.form-row + .form-group,
.form-group + .form-meta {
  margin-top: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(142, 225, 255, 0.14);
  border-radius: 18px;
  padding: 18px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
  border-color: rgba(142, 225, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(142, 225, 255, 0.08);
}

.form-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.form-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 225, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.submit-button {
  width: 100%;
  margin-top: 18px;
}

.footer {
  position: relative;
  padding: 84px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #151515;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.footer-brand-block {
  max-width: 300px;
}

.footer-mark {
  width: 24px;
  height: 24px;
  margin-bottom: 18px;
  border: 1.5px solid var(--accent-strong);
  border-radius: 7px 7px 7px 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 22px rgba(44, 226, 255, 0.16);
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--text);
}

.footer-lead {
  margin: 16px 0 0;
  color: var(--accent-strong);
  font-size: 1.55rem;
  line-height: 1.4;
  font-weight: 600;
}

.footer .social-links {
  margin-top: 28px;
  gap: 14px;
}

.footer-links-block h3 {
  margin: 0 0 18px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-links-block a {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 14px;
  font-size: 0.98rem;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-links-block a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: lowercase;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(44, 226, 255, 0.22);
  background: rgba(44, 226, 255, 0.06);
  color: var(--text);
}

.footer-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.94rem;
}

.footer-meta-links a {
  color: rgba(255, 255, 255, 0.38);
  transition: color 220ms ease;
}

.footer-meta-links a:hover {
  color: rgba(255, 255, 255, 0.72);
}

.footer-wordmark {
  width: min(100%, 1720px);
  margin: 54px auto -26px;
  padding: 0 24px;
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 19vw, 14rem);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: -0.08em;
  text-align: center;
  opacity: 0.95;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 640ms cubic-bezier(0.22, 0.7, 0.2, 1), transform 640ms cubic-bezier(0.22, 0.7, 0.2, 1);
}

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

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 240ms;
}

.space-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 120;
  box-shadow: 0 0 24px rgba(142, 225, 255, 0.6);
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  mix-blend-mode: screen;
}

.space-cursor::before {
  content: "";
  position: absolute;
  inset: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-strong);
}

.space-cursor.cursor-hover {
  width: 44px;
  height: 44px;
  border-color: rgba(142, 225, 255, 0.92);
  background: rgba(142, 225, 255, 0.08);
  box-shadow: 0 0 32px rgba(142, 225, 255, 0.38);
}

.has-fancy-cursor,
.has-fancy-cursor a,
.has-fancy-cursor button {
  cursor: none;
}

[dir="rtl"] body {
  letter-spacing: 0;
  font-family: var(--font-arabic);
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .about-text,
[dir="rtl"] .contact-panel,
[dir="rtl"] .service-card,
[dir="rtl"] .portfolio-item,
[dir="rtl"] .testimonial-card,
[dir="rtl"] .process-step,
[dir="rtl"] .footer-brand-block,
[dir="rtl"] .footer-links-block {
  text-align: right;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-note,
[dir="rtl"] .portfolio-tags,
[dir="rtl"] .social-links,
[dir="rtl"] .contact-info-grid,
[dir="rtl"] .contact-highlights,
[dir="rtl"] .service-footer {
  justify-content: flex-end;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .footer-wordmark,
[dir="rtl"] .brand,
[dir="rtl"] .footer-brand {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

[dir="rtl"] .portfolio-top,
[dir="rtl"] .about-list-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .contact-highlights span,
[dir="rtl"] .service-footer span,
[dir="rtl"] .hero-command {
  letter-spacing: 0;
}

[dir="rtl"] .footer-links-block a:hover {
  transform: translateX(-3px);
}

@keyframes drift-stars {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-120px, 120px, 0);
  }
}

@keyframes float-nebula {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -24px, 0) scale(1.05);
  }
}

@keyframes meteor-travel {
  0% {
    transform: translate3d(0, 0, 0) rotate(-24deg);
    opacity: 0;
  }
  8%,
  14% {
    opacity: 0.92;
  }
  24%,
  100% {
    transform: translate3d(140vw, 34vh, 0) rotate(-24deg);
    opacity: 0;
  }
}

@keyframes pulse-hero {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(38px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes nested-galaxy-spin {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes nested-galaxy-spin-reverse {
  from {
    transform: rotate(0deg) scale(1.02);
  }
  to {
    transform: rotate(-360deg) scale(0.98);
  }
}

@keyframes nested-galaxy-pulse {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 0.92;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .about-layout,
  .contact-grid {
    gap: 28px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid::before {
    display: none;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .about-visual {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 80px;
  }

  .site-header {
    top: 12px;
  }

  .nav-shell {
    min-height: var(--header-height);
    padding: 16px 18px;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-description,
  .section-header p,
  .about-text p,
  .contact-panel p {
    font-size: 1.05rem;
  }

  .about-stats,
  .portfolio-grid,
  .services-grid,
  .testimonials-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 460px;
  }

  .float-card-a,
  .float-card-b,
  .float-card-c {
    position: relative;
    width: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    animation: none;
  }

  .about-sphere {
    width: 240px;
    height: 240px;
  }

  .warp-stage {
    opacity: 0.8;
  }

  .signal-grid,
  .nested-galaxy,
  .code-stream {
    opacity: 0.08;
  }

  .planet-a {
    width: 180px;
    height: 180px;
  }

  .planet-b {
    width: 122px;
    height: 122px;
  }

  .planet-c {
    width: 220px;
    height: 220px;
  }

  .planet-d {
    width: 88px;
    height: 88px;
  }

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

  .footer-brand-block {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section-shell {
    padding: 88px 0;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 32px;
  }

  .brand {
    font-size: 0.92rem;
    letter-spacing: 0.24em;
  }

  .lang-switcher {
    gap: 6px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 15vw, 3.8rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-command {
    font-size: 0.74rem;
    padding: 12px 14px;
  }

  .hero-grid {
    gap: 22px;
  }

  .warp-stage {
    opacity: 0.68;
  }

  .signal-grid,
  .nested-galaxy,
  .code-stream {
    display: none;
  }

  .pill-button {
    width: 100%;
  }

  .contact-panel,
  .contact-card,
  .service-card,
  .testimonial-card,
  .process-step,
  .portfolio-item {
    padding: 22px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2,
  .about-text h2,
  .contact-panel h2 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .footer {
    padding-top: 64px;
  }

  .footer-lead {
    font-size: 1.24rem;
  }

  .footer-wordmark {
    margin-top: 40px;
    margin-bottom: -14px;
    font-size: clamp(4.4rem, 18vw, 7rem);
  }
}

@media (pointer: coarse) {
  body::before {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
