:root {
  color-scheme: dark;
  --deep-navy: #0f172a;
  --midnight: #020617;
  --soft-white: #f8fafc;
  --electric: #3b82f6;
  --cyan: #38bdf8;
  --slate: #475569;
  --steel: #94a3b8;
  --line: rgba(248, 250, 252, 0.12);
  --glass: rgba(15, 23, 42, 0.56);
  --glass-strong: rgba(2, 6, 23, 0.78);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mx: 50vw;
  --my: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--midnight);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Satoshi, "General Sans", Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--soft-white);
  background:
    radial-gradient(circle at 50% -10%, rgba(59, 130, 246, 0.2), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #07111f 45%, #020617 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 78%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}

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

[id] {
  scroll-margin-top: 28px;
}

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

button {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  background:
    radial-gradient(circle at 50% 65%, rgba(59, 130, 246, 0.24), transparent 28rem),
    #020617;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader p {
  margin: 0;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.loader-mark,
.brand-mark {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 58px;
  height: 48px;
  filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.4));
}

.loader-mark span,
.brand-mark span {
  display: block;
  border-radius: 10px 3px 14px 3px;
  transform: skew(-23deg);
}

.loader-mark span:first-child,
.brand-mark span:first-child {
  background: linear-gradient(135deg, #ffffff, #dbeafe 50%, rgba(248, 250, 252, 0.62));
}

.loader-mark span:last-child,
.brand-mark span:last-child {
  margin-left: -4px;
  background: linear-gradient(145deg, #93c5fd, #2563eb 45%, #0b1120 92%);
  transform: skew(-23deg) translateY(11px);
}

.loader-line {
  width: min(280px, 58vw);
  height: 1px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.08);
}

.loader-line::before {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #93c5fd, transparent);
  animation: loader-scan 1.3s infinite var(--ease);
}

@keyframes loader-scan {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}

.scene-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor-light {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(59, 130, 246, 0.18), transparent 42%);
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1160px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.58);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.site-header.is-scrolled {
  border-color: rgba(56, 189, 248, 0.22);
  background: rgba(2, 6, 23, 0.76);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 132px;
  height: 42px;
  object-fit: cover;
  object-position: 50% 43%;
  border-radius: 999px;
  filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.24));
}

.footer-logo {
  width: 146px;
  height: 46px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.86rem;
}

.desktop-nav a,
.footer nav a {
  position: relative;
  padding: 10px 12px;
  transition: color 0.25s ease;
}

.desktop-nav a::after,
.footer nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transition: transform 0.28s var(--ease);
}

.desktop-nav a:hover,
.footer nav a:hover {
  color: var(--soft-white);
}

.desktop-nav a:hover::after,
.footer nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 50%;
  color: var(--soft-white);
  background: rgba(248, 250, 252, 0.05);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.icon-button span {
  width: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.7;
  transform-origin: bottom;
}

.icon-button span:nth-child(1) { height: 9px; }
.icon-button span:nth-child(2) { height: 16px; }
.icon-button span:nth-child(3) { height: 12px; }

.icon-button.is-on {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(59, 130, 246, 0.16);
}

.icon-button.is-on span {
  animation: meters 0.9s ease-in-out infinite alternate;
}

.icon-button.is-on span:nth-child(2) { animation-delay: 0.15s; }
.icon-button.is-on span:nth-child(3) { animation-delay: 0.3s; }

@keyframes meters {
  to { transform: scaleY(0.42); opacity: 1; }
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 650;
  white-space: nowrap;
}

.header-cta {
  padding: 0 16px;
  color: #020617;
  background: var(--soft-white);
  font-size: 0.86rem;
}

.section-shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 54px;
  padding: 170px 0 94px;
}

.hero::after,
.final-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: -16vw;
  bottom: 10%;
  height: 2px;
  transform: rotate(-9deg);
  background: linear-gradient(90deg, transparent 8%, rgba(59, 130, 246, 0.18), #93c5fd 54%, rgba(56, 189, 248, 0.18), transparent 86%);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.95), 0 0 70px rgba(59, 130, 246, 0.6);
  opacity: 0.9;
}

.hero-depth {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 900px;
}

.light-ribbon {
  position: absolute;
  width: 42vw;
  height: 8px;
  border-radius: 999px;
  opacity: 0.5;
  filter: blur(1px);
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.96), transparent);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.82);
  animation: drift-ribbon 10s infinite var(--ease);
}

.ribbon-one {
  top: 22%;
  right: -15%;
  transform: rotate(-18deg);
}

.ribbon-two {
  bottom: 22%;
  left: -14%;
  transform: rotate(-9deg);
  animation-delay: -4s;
}

.glass-prism {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(147, 197, 253, 0.16);
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.12), transparent 42%),
    rgba(59, 130, 246, 0.05);
  transform-style: preserve-3d;
  clip-path: polygon(50% 0, 100% 28%, 82% 100%, 15% 90%, 0 24%);
  filter: drop-shadow(0 0 35px rgba(59, 130, 246, 0.2));
  animation: float-prism 12s infinite var(--ease);
}

.prism-one {
  top: 18%;
  right: 10%;
}

.prism-two {
  left: 3%;
  bottom: 18%;
  width: 108px;
  height: 108px;
  animation-delay: -6s;
}

@keyframes drift-ribbon {
  0%, 100% { opacity: 0.24; transform: translate3d(-4%, 0, 0) rotate(-14deg); }
  50% { opacity: 0.62; transform: translate3d(7%, -16px, 0) rotate(-9deg); }
}

@keyframes float-prism {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(18deg) rotateY(-20deg); }
  50% { transform: translate3d(18px, -28px, 40px) rotateX(28deg) rotateY(28deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 7.4vw, 7.7rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 760;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  color: rgba(248, 250, 252, 0.96);
  font-size: clamp(2.2rem, 4.8vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 740;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.15;
}

p {
  color: rgba(203, 213, 225, 0.78);
  line-height: 1.7;
}

.hero-content p {
  max-width: 660px;
  margin-bottom: 34px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  min-width: 154px;
  padding: 0 22px;
  border: 1px solid rgba(248, 250, 252, 0.13);
  transition: transform 0.26s var(--ease), border-color 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.button.primary {
  color: #020617;
  background: linear-gradient(135deg, #f8fafc, #bfdbfe 54%, #38bdf8);
  box-shadow: 0 18px 70px rgba(59, 130, 246, 0.24);
}

.button.secondary {
  color: var(--soft-white);
  background: rgba(248, 250, 252, 0.06);
  backdrop-filter: blur(14px);
}

.button:hover,
.header-cta:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.button.secondary:hover {
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 16px 54px rgba(59, 130, 246, 0.18);
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 24px;
  border: 1px solid rgba(248, 250, 252, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(248, 250, 252, 0.1), transparent 32%),
    rgba(2, 6, 23, 0.58);
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(248, 250, 252, 0.12);
  backdrop-filter: blur(26px);
  transform-style: preserve-3d;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 140deg, transparent, rgba(56, 189, 248, 0.22), transparent 30%, rgba(248, 250, 252, 0.12), transparent 58%);
  animation: panel-spin 12s linear infinite;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.76));
}

@keyframes panel-spin {
  to { transform: rotate(360deg); }
}

.panel-topline,
.signal-frame,
.panel-metrics {
  position: relative;
  z-index: 1;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  color: rgba(248, 250, 252, 0.54);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-frame {
  height: 330px;
  margin: 42px 0 28px;
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(248, 250, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 52% 62%, rgba(59, 130, 246, 0.22), transparent 34%),
    rgba(15, 23, 42, 0.35);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.signal-bars {
  position: absolute;
  inset: 44px 34px;
  display: flex;
  align-items: end;
  gap: 14px;
}

.signal-bars span {
  flex: 1;
  height: var(--h);
  min-width: 12px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, #dbeafe, #3b82f6 42%, rgba(56, 189, 248, 0.08));
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.36);
  animation: level 2.8s infinite ease-in-out alternate;
}

.signal-bars span:nth-child(2n) {
  animation-delay: -1.1s;
}

.signal-bars span:nth-child(3n) {
  animation-delay: -1.8s;
}

@keyframes level {
  to { height: calc(var(--h) * 0.72); filter: brightness(1.2); }
}

.timeline-scan {
  position: absolute;
  left: -20%;
  bottom: 44%;
  width: 150%;
  height: 2px;
  transform: rotate(-11deg);
  background: linear-gradient(90deg, transparent, rgba(248, 250, 252, 0.98), rgba(56, 189, 248, 0.58), transparent);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.8);
  animation: timeline-scan 3.8s infinite var(--ease);
}

@keyframes timeline-scan {
  0%, 100% { translate: -5% 0; opacity: 0.3; }
  50% { translate: 9% -8px; opacity: 0.96; }
}

.panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.panel-metrics div,
.stat-card,
.testimonial-card,
.service-card,
.video-card {
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.08), rgba(15, 23, 42, 0.28));
  box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.08);
}

.panel-metrics div {
  padding: 18px;
}

.panel-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.panel-metrics span {
  color: rgba(203, 213, 225, 0.68);
  font-size: 0.82rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 28px;
  height: 46px;
  transform: translateX(-50%);
  border: 1px solid rgba(248, 250, 252, 0.2);
  border-radius: 999px;
  opacity: 0.65;
}

.scroll-cue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--soft-white);
  transform: translateX(-50%);
  animation: scroll-dot 1.7s infinite;
}

@keyframes scroll-dot {
  to { top: 24px; opacity: 0; }
}

.trusted {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 84px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: center;
  padding: 24px;
  border-block: 1px solid rgba(248, 250, 252, 0.08);
  color: rgba(248, 250, 252, 0.46);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.services,
.portfolio,
.process,
.results,
.about,
.testimonials,
.final-cta {
  padding: 110px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.section-heading p {
  max-width: 660px;
  font-size: 1.04rem;
}

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

.service-card {
  position: relative;
  min-height: 255px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(56, 189, 248, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(248, 250, 252, 0.08), rgba(15, 23, 42, 0.18));
  transition: transform 0.32s var(--ease), border-color 0.32s ease, box-shadow 0.32s ease;
}

.service-card:hover,
.video-card:hover,
.testimonial-card:hover,
.stat-card:hover {
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), 0 0 42px rgba(59, 130, 246, 0.1);
}

.service-card > span {
  color: rgba(56, 189, 248, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3 {
  margin-top: 86px;
  font-size: 1.35rem;
}

.portfolio {
  width: min(100%, 1400px);
}

.portfolio-heading {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.filter-row {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar,
.portfolio-track::-webkit-scrollbar {
  display: none;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.68);
  background: rgba(248, 250, 252, 0.04);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.filter.active,
.filter:hover {
  color: var(--soft-white);
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(59, 130, 246, 0.13);
}

.portfolio-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 31vw);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 8px max(20px, calc((100vw - 1180px) / 2)) 34px;
}

.video-card {
  min-height: 520px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.6);
  transition: opacity 0.35s ease, transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-card.is-hidden {
  opacity: 0.18;
  transform: scale(0.94);
  pointer-events: none;
}

.video-card.wide {
  grid-column: span 1;
}

.video-thumb {
  position: relative;
  flex: 1;
  min-height: 340px;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(248, 250, 252, 0.16), transparent 30%),
    #07111f;
  isolation: isolate;
}

.video-thumb::before,
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}

.video-thumb::before {
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 12%, rgba(248, 250, 252, 0.22) 18%, transparent 26%),
    repeating-linear-gradient(90deg, rgba(248, 250, 252, 0.07) 0 1px, transparent 1px 44px),
    radial-gradient(circle at 65% 22%, rgba(56, 189, 248, 0.26), transparent 25%),
    linear-gradient(135deg, #020617, #0f172a 58%, #1d4ed8);
}

.video-thumb::after {
  background:
    linear-gradient(180deg, transparent 54%, rgba(2, 6, 23, 0.9)),
    linear-gradient(90deg, rgba(2, 6, 23, 0.16), transparent, rgba(2, 6, 23, 0.2));
}

.video-card:hover .video-thumb::before {
  transform: scale(1.08) translateX(14px);
}

.reel-two::before {
  background:
    linear-gradient(120deg, transparent, rgba(248, 250, 252, 0.18), transparent),
    radial-gradient(circle at 22% 30%, rgba(56, 189, 248, 0.24), transparent 23%),
    linear-gradient(135deg, #050816, #101828 54%, #0e7490);
}

.reel-three::before {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0 50%, rgba(59, 130, 246, 0.2) 50% 100%),
    linear-gradient(135deg, #020617, #111827, #3b82f6);
}

.reel-four::before {
  background:
    repeating-linear-gradient(0deg, rgba(248, 250, 252, 0.08) 0 1px, transparent 1px 38px),
    linear-gradient(145deg, #020617, #111827 60%, #1d4ed8);
}

.reel-five::before {
  background:
    linear-gradient(120deg, transparent 10%, rgba(248, 250, 252, 0.24) 16%, transparent 24%),
    linear-gradient(145deg, #030712, #0f172a, #0891b2);
}

.play-glyph {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(248, 250, 252, 0.18);
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(12px);
}

.play-glyph::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-left: 15px solid var(--soft-white);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.hover-preview {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.72);
  background: rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.podcast-wave {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 44px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.podcast-wave span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.78);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.48);
  animation: wave 1.3s infinite alternate ease-in-out;
}

.podcast-wave span:nth-child(2) { animation-delay: -0.4s; }
.podcast-wave span:nth-child(3) { animation-delay: -0.7s; }
.podcast-wave span:nth-child(4) { animation-delay: -1s; }

@keyframes wave {
  to { transform: scaleX(0.35); opacity: 0.45; }
}

.split-line {
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: 2;
  width: 2px;
  background: rgba(248, 250, 252, 0.78);
  box-shadow: 0 0 24px rgba(248, 250, 252, 0.58);
  animation: split-drift 2.6s infinite var(--ease);
}

@keyframes split-drift {
  0%, 100% { left: 45%; }
  50% { left: 58%; }
}

.youtube-window {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.youtube-window span {
  height: 10px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.72);
}

.youtube-window span:nth-child(1) { width: 78%; }
.youtube-window span:nth-child(2) { width: 52%; opacity: 0.52; }
.youtube-window span:nth-child(3) { width: 64%; opacity: 0.34; }

.video-copy {
  padding: 20px 6px 8px;
}

.video-copy span {
  color: rgba(56, 189, 248, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-copy h3 {
  margin: 10px 0 8px;
  font-size: 1.32rem;
}

.video-copy p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.08), rgba(56, 189, 248, 0.8), rgba(56, 189, 248, 0.08));
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.38);
}

.timeline article {
  position: relative;
  padding: 76px 18px 22px;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(248, 250, 252, 0.38);
  background: #020617;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.timeline span {
  color: rgba(56, 189, 248, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.16), transparent 36%),
    rgba(2, 6, 23, 0.52);
}

.stat-card strong {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
}

.stat-card span {
  margin-top: 12px;
  color: rgba(203, 213, 225, 0.72);
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.about-visual {
  min-height: 560px;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.1), transparent 28%),
    radial-gradient(circle at 58% 42%, rgba(59, 130, 246, 0.24), transparent 28%),
    rgba(2, 6, 23, 0.64);
  box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.08), 0 28px 90px rgba(0, 0, 0, 0.28);
}

.system-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
  background:
    linear-gradient(rgba(248, 250, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
}

.system-map span {
  position: absolute;
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.06);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.13);
  animation: map-float 8s infinite var(--ease);
}

.system-map span:nth-child(1) {
  left: 16%;
  top: 18%;
  width: 46%;
  height: 22%;
}

.system-map span:nth-child(2) {
  right: 12%;
  top: 46%;
  width: 52%;
  height: 18%;
  animation-delay: -2s;
}

.system-map span:nth-child(3) {
  left: 20%;
  bottom: 15%;
  width: 32%;
  height: 16%;
  animation-delay: -4s;
}

.system-map span:nth-child(4) {
  right: 20%;
  top: 20%;
  width: 1px;
  height: 62%;
  border: 0;
  background: linear-gradient(180deg, transparent, #93c5fd, transparent);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.8);
}

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

.about-copy p {
  max-width: 620px;
  font-size: 1.06rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  min-height: 260px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.09), rgba(2, 6, 23, 0.48));
  backdrop-filter: blur(18px);
}

.testimonial-card p {
  color: rgba(248, 250, 252, 0.84);
  font-size: 1.08rem;
}

.testimonial-card span {
  color: rgba(148, 163, 184, 0.84);
  font-size: 0.88rem;
}

.final-cta {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  display: grid;
  place-items: center;
  margin-bottom: 60px;
  overflow: hidden;
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 74%, rgba(59, 130, 246, 0.2), transparent 28rem),
    rgba(2, 6, 23, 0.58);
}

.final-cta::after {
  bottom: 22%;
  transform: rotate(-7deg);
}

.final-light {
  position: absolute;
  inset: auto -10% 15% -10%;
  height: 170px;
  transform: rotate(-7deg);
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), rgba(248, 250, 252, 0.42), rgba(56, 189, 248, 0.22), transparent);
  filter: blur(20px);
  animation: cta-light 7s infinite var(--ease);
}

@keyframes cta-light {
  0%, 100% { opacity: 0.34; translate: -3% 0; }
  50% { opacity: 0.84; translate: 4% -14px; }
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.cta-content h2 {
  max-width: 900px;
  margin: 18px 0 30px;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(248, 250, 252, 0.08);
}

.footer nav,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: rgba(248, 250, 252, 0.56);
  font-size: 0.88rem;
}

.socials a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 50%;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.socials a:hover {
  color: var(--soft-white);
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(59, 130, 246, 0.12);
}

.footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(148, 163, 184, 0.58);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.magnetic {
  will-change: transform;
}

@media (max-width: 980px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 138px;
  }

  .hero-panel,
  .about-visual {
    min-height: 430px;
  }

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

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

  .timeline::before {
    display: none;
  }

  .portfolio-track {
    grid-auto-columns: minmax(310px, 58vw);
  }

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

@media (max-width: 640px) {
  .section-shell,
  .trusted,
  .portfolio-heading,
  .filter-row,
  .final-cta,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 10px;
  }

  .brand {
    max-width: 132px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 100svh;
    gap: 34px;
    padding: 124px 0 78px;
  }

  h1 {
    font-size: clamp(3.05rem, 15vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .about-visual {
    min-height: 360px;
  }

  .signal-frame {
    height: 220px;
    margin: 32px 0 18px;
  }

  .panel-metrics,
  .service-grid,
  .stats-grid,
  .testimonial-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .services,
  .portfolio,
  .process,
  .results,
  .about,
  .testimonials,
  .final-cta {
    padding: 74px 0;
  }

  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .portfolio-track {
    grid-auto-columns: minmax(286px, 84vw);
    padding-inline: 14px;
  }

  .video-card {
    min-height: 480px;
  }

  .final-cta {
    min-height: 570px;
  }
}

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