:root {
  color-scheme: dark;
  --black: #03050a;
  --charcoal: #070b12;
  --navy: #07162c;
  --blue: #0a66ff;
  --cyan: #21f3ff;
  --ice: #f5fbff;
  --muted: #a7b5c8;
  --line: rgba(130, 222, 255, 0.22);
  --glass: rgba(8, 19, 34, 0.58);
  --glass-strong: rgba(9, 22, 40, 0.78);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
}

body[data-theme="light"] {
  --black: #f5fbff;
  --charcoal: #edf6ff;
  --navy: #d9ecff;
  --ice: #07111f;
  --muted: #465970;
  --line: rgba(0, 84, 160, 0.22);
  --glass: rgba(245, 251, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --shadow: 0 22px 70px rgba(5, 28, 58, 0.16);
  background:
    radial-gradient(ellipse at top, rgba(33, 243, 255, 0.2), transparent 34rem),
    linear-gradient(180deg, #f5fbff, #eaf5ff 46%, #f9fcff);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at top, rgba(0, 117, 255, 0.18), transparent 36rem),
    linear-gradient(180deg, var(--black), #05080d 40%, #020407 100%);
  color: var(--ice);
  font-family: "Bahnschrift", "Rajdhani", "Agency FB", "Trebuchet MS", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(33, 243, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 243, 255, 0.038) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 78%, transparent);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

#neural-canvas {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  background: #02040a;
}

.cursor-glow {
  position: fixed;
  z-index: 5;
  width: 28rem;
  height: 28rem;
  pointer-events: none;
  opacity: 0.36;
  transform: translate3d(-50%, -50%, 0);
  background:
    radial-gradient(circle, rgba(33, 243, 255, 0.22), rgba(10, 102, 255, 0.11) 34%, transparent 66%),
    conic-gradient(from 90deg, transparent, rgba(10, 102, 255, 0.14), transparent);
  filter: blur(8px);
  mix-blend-mode: screen;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.09;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 4px,
    rgba(33, 243, 255, 0.22) 5px
  );
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(33, 243, 255, 0.38) 40% 48%, rgba(10, 102, 255, 0.44) 50% 58%, transparent 60%);
  transform: translateX(-120%) scaleX(1.2);
}

.page-transition.is-active {
  animation: cinematicSwipe 680ms ease;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1140px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 8, 18, 0.62);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand-mark {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(10, 102, 255, 0.38);
}

.brand-mark strong,
.brand-mark small {
  display: block;
  line-height: 1;
}

.brand-mark strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brand-mark small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(245, 251, 255, 0.76);
  font-size: 0.78rem;
  text-transform: uppercase;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.nav-links a:hover {
  border-color: rgba(33, 243, 255, 0.28);
  background: rgba(33, 243, 255, 0.08);
  color: var(--ice);
}

.theme-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(33, 243, 255, 0.28);
  border-radius: 6px;
  background: rgba(33, 243, 255, 0.06);
  color: var(--ice);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-shell {
  width: min(1140px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  align-items: center;
  padding: 120px 0 34px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  column-gap: clamp(32px, 6vw, 72px);
  row-gap: clamp(18px, 3vw, 34px);
}

.hero::before,
.content-band::before {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(33, 243, 255, 0.54), transparent);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(33, 243, 255, 0.54);
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 22px;
  font-family: "Agency FB", "Bahnschrift SemiCondensed", "Bahnschrift", sans-serif;
  font-size: clamp(4.1rem, 13vw, 9.8rem);
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(10, 102, 255, 0.44),
    0 0 70px rgba(33, 243, 255, 0.24);
}

h2 {
  max-width: 770px;
  margin-bottom: 0;
  font-family: "Bahnschrift SemiCondensed", "Bahnschrift", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.26rem;
}

.hero-intro-line {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(33, 243, 255, 0.44);
  transform-origin: left;
  animation: textSignal 5s ease-in-out infinite;
}

.hero-subtitle {
  max-width: min(640px, 100%);
  color: rgba(245, 251, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.6;
  overflow-wrap: break-word;
}

.agent-flow-summary {
  display: grid;
  max-width: 590px;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(33, 243, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(33, 243, 255, 0.1), rgba(10, 102, 255, 0.04)),
    rgba(2, 8, 18, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 34px rgba(10, 102, 255, 0.14);
  backdrop-filter: blur(16px);
}

.agent-flow-summary span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-flow-summary strong {
  color: var(--ice);
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-transform: uppercase;
}

.agent-flow-summary p {
  margin-bottom: 0;
  color: rgba(245, 251, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.5;
}

.mobile-break {
  display: none;
}

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

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

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

.button:hover::before {
  transform: translateX(120%);
}

.button.primary {
  border-color: rgba(33, 243, 255, 0.5);
  background: linear-gradient(135deg, rgba(10, 102, 255, 0.92), rgba(33, 243, 255, 0.8));
  color: #00101a;
  box-shadow: 0 0 34px rgba(10, 102, 255, 0.42);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ice);
}

.hero-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 520px;
  place-items: center;
  perspective: 1100px;
}

.agent-orbit {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.agent-orbit::before,
.agent-orbit::after {
  position: absolute;
  inset: 9% 6%;
  border: 1px solid rgba(33, 243, 255, 0.16);
  border-radius: 50%;
  content: "";
  transform: rotateX(68deg) rotateZ(-12deg);
  box-shadow: 0 0 42px rgba(10, 102, 255, 0.12);
}

.agent-orbit::after {
  inset: 16% 12%;
  border-color: rgba(10, 102, 255, 0.22);
  transform: rotateX(66deg) rotateZ(28deg);
}

.orbit-ring {
  position: absolute;
  inset: 20% 10%;
  border: 1px dashed rgba(33, 243, 255, 0.22);
  border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
  transform: rotateX(68deg);
}

.ring-two {
  inset: 27% 18%;
  animation-duration: 12s;
  animation-direction: reverse;
}

.agent-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 138px;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(33, 243, 255, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(3, 12, 24, 0.74);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 28px rgba(33, 243, 255, 0.12);
  backdrop-filter: blur(16px);
  animation: agentPulse 4.8s ease-in-out infinite;
}

.agent-node::before {
  position: absolute;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(33, 243, 255, 0.7), transparent);
  content: "";
  filter: drop-shadow(0 0 12px rgba(33, 243, 255, 0.64));
  transform-origin: left;
}

.agent-node small {
  color: var(--cyan);
  font-weight: 900;
}

.agent-node strong {
  color: var(--ice);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.agent-node span {
  color: rgba(245, 251, 255, 0.64);
  font-size: 0.76rem;
}

.agent-brief {
  top: 6%;
  left: 4%;
}

.agent-brief::before {
  top: 54%;
  left: 100%;
  transform: rotate(26deg);
}

.agent-design {
  top: 8%;
  right: 0;
  animation-delay: 0.4s;
}

.agent-design::before {
  top: 60%;
  right: 100%;
  transform: rotate(154deg);
}

.agent-build {
  right: -3%;
  bottom: 27%;
  animation-delay: 0.8s;
}

.agent-build::before {
  top: 40%;
  right: 100%;
  transform: rotate(190deg);
}

.agent-qa {
  bottom: 7%;
  left: 9%;
  animation-delay: 1.2s;
}

.agent-qa::before {
  bottom: 68%;
  left: 100%;
  transform: rotate(-28deg);
}

.agent-launch {
  bottom: 0;
  right: 18%;
  animation-delay: 1.6s;
}

.agent-launch::before {
  right: 100%;
  bottom: 78%;
  transform: rotate(210deg);
}

.logo-hologram {
  position: relative;
  width: min(410px, 82vw);
  padding: 14px;
  border: 1px solid rgba(33, 243, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(5, 17, 34, 0.55);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 120px rgba(10, 102, 255, 0.28);
  transform: rotateX(6deg) rotateY(-12deg);
  transform-style: preserve-3d;
  animation: floatPanel 7s ease-in-out infinite;
  backdrop-filter: blur(18px);
}

.agent-core {
  width: min(330px, 70vw);
}

.logo-hologram::before,
.logo-hologram::after {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(33, 243, 255, 0.75), transparent);
  opacity: 0.32;
  filter: blur(14px);
}

.logo-hologram img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.core-caption {
  position: absolute;
  right: 16px;
  bottom: -52px;
  left: 16px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(33, 243, 255, 0.2);
  border-radius: 7px;
  background: rgba(1, 7, 15, 0.72);
  backdrop-filter: blur(16px);
}

.core-caption span {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.core-caption strong {
  color: rgba(245, 251, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.35;
}

.reflection {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.18) 46%, transparent 58%);
  mix-blend-mode: screen;
  transform: translateX(-44%);
  animation: reflectionSweep 4.8s ease-in-out infinite;
}

.wireframe {
  position: absolute;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(33, 243, 255, 0.44);
  box-shadow: inset 0 0 34px rgba(10, 102, 255, 0.14), 0 0 36px rgba(33, 243, 255, 0.14);
  transform-style: preserve-3d;
  animation: spinDepth 13s linear infinite;
}

.wireframe::before,
.wireframe::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(10, 102, 255, 0.36);
  content: "";
  transform: translateZ(-42px) rotate(12deg);
}

.wireframe::after {
  inset: 24px;
  transform: translateZ(48px) rotate(-12deg);
}

.cube-one {
  top: 4%;
  right: 8%;
}

.cube-two {
  bottom: 8%;
  left: 4%;
  width: 84px;
  height: 84px;
  animation-duration: 10s;
  animation-direction: reverse;
}

.data-ribbon {
  position: absolute;
  width: 52%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(33, 243, 255, 0.9), rgba(10, 102, 255, 0.6), transparent);
  filter: drop-shadow(0 0 18px rgba(33, 243, 255, 0.7));
  transform-origin: center;
  animation: streak 4.5s ease-in-out infinite;
}

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

.ribbon-two {
  right: -2%;
  bottom: 18%;
  animation-delay: 1.4s;
  transform: rotate(17deg);
}

.hero-metrics {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: -8px;
}

.hero-metrics span {
  min-height: 74px;
  padding: 16px;
  border: 1px solid rgba(33, 243, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(7, 15, 28, 0.5);
  color: var(--muted);
  backdrop-filter: blur(14px);
}

.hero-metrics strong {
  display: block;
  color: var(--ice);
  font-size: 1.35rem;
  text-shadow: 0 0 18px rgba(33, 243, 255, 0.38);
}

.content-band {
  position: relative;
  padding: clamp(82px, 11vw, 140px) 0;
}

.split-grid,
.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: clamp(28px, 6vw, 76px);
}

.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading {
  position: relative;
}

.section-heading p {
  color: var(--cyan);
}

.glass-panel,
.service-card,
.portfolio-card,
.why-item,
.stat-card {
  border: 1px solid rgba(130, 222, 255, 0.19);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02)),
    var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.glass-panel {
  padding: clamp(22px, 4vw, 36px);
}

.about-copy p,
.contact-copy p,
.service-card p,
.why-item span {
  color: rgba(245, 251, 255, 0.72);
  line-height: 1.65;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-list span {
  padding: 9px 12px;
  border: 1px solid rgba(33, 243, 255, 0.24);
  border-radius: 5px;
  background: rgba(33, 243, 255, 0.06);
  color: rgba(245, 251, 255, 0.84);
  font-size: 0.85rem;
}

.section-note {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(245, 251, 255, 0.68);
  line-height: 1.7;
}

body[data-theme="light"] .section-note,
body[data-theme="light"] .about-copy p,
body[data-theme="light"] .contact-copy p,
body[data-theme="light"] .service-card p,
body[data-theme="light"] .why-item span,
body[data-theme="light"] .portfolio-card p {
  color: rgba(7, 17, 31, 0.68);
}

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

.service-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  padding: 24px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.service-card::before,
.portfolio-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 25%, rgba(33, 243, 255, 0.16), transparent 54%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(33, 243, 255, 0.18), transparent 32%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.service-card:hover,
.portfolio-card:hover,
.why-item:hover {
  border-color: rgba(33, 243, 255, 0.42);
  box-shadow: var(--shadow), 0 0 54px rgba(10, 102, 255, 0.22);
}

.service-card:hover::before,
.portfolio-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(33, 243, 255, 0.3);
  border-radius: 7px;
  background: rgba(33, 243, 255, 0.08);
  box-shadow: 0 0 30px rgba(10, 102, 255, 0.22);
  font-size: 1.6rem;
}

.portfolio-grid {
  display: grid;
  gap: 16px;
  margin-top: 52px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 16px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.portfolio-card.tall {
  grid-row: span 2;
  min-height: 536px;
}

.portfolio-card.wide {
  grid-column: span 2;
}

.portfolio-card span {
  display: inline-flex;
  margin: 18px 0 10px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-card p {
  margin-bottom: 0;
  color: rgba(245, 251, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.55;
}

.project-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid rgba(33, 243, 255, 0.34);
  border-radius: 6px;
  background: rgba(33, 243, 255, 0.08);
  color: var(--ice);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.project-link:hover {
  border-color: rgba(33, 243, 255, 0.72);
  background: rgba(33, 243, 255, 0.16);
  transform: translateY(-2px);
}

.preview {
  min-height: 160px;
  border: 1px solid rgba(33, 243, 255, 0.14);
  border-radius: 6px;
  background-color: rgba(2, 6, 12, 0.66);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.34);
  transition: transform 440ms ease;
}

.portfolio-card.tall .preview {
  min-height: 410px;
}

.portfolio-card:hover .preview {
  transform: scale(1.05) translateY(-4px);
}

.project-thumb {
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: top center;
}

.preview-web {
  background-image:
    linear-gradient(150deg, rgba(10, 102, 255, 0.24), transparent 52%),
    repeating-linear-gradient(90deg, rgba(33, 243, 255, 0.24) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, #061832, #02060e);
}

.preview-app {
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(33, 243, 255, 0.36), transparent 32%),
    linear-gradient(90deg, transparent 20%, rgba(245, 251, 255, 0.18) 21% 23%, transparent 24% 76%, rgba(245, 251, 255, 0.14) 77% 79%, transparent 80%),
    linear-gradient(180deg, #081124, #02060e);
}

.preview-game {
  background-image:
    linear-gradient(135deg, transparent 0 28%, rgba(33, 243, 255, 0.22) 29% 30%, transparent 31%),
    conic-gradient(from 45deg, rgba(10, 102, 255, 0.42), transparent, rgba(33, 243, 255, 0.34), transparent),
    linear-gradient(180deg, #06112a, #03050a);
}

.preview-product {
  background-image:
    linear-gradient(90deg, rgba(33, 243, 255, 0.16) 0 22%, transparent 22% 25%, rgba(10, 102, 255, 0.18) 25% 58%, transparent 58%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(245, 251, 255, 0.1) 19px 20px),
    linear-gradient(180deg, #071b30, #02070d);
}

.preview-ui {
  background-image:
    linear-gradient(135deg, rgba(33, 243, 255, 0.22), transparent 38%),
    linear-gradient(180deg, transparent 14%, rgba(255, 255, 255, 0.14) 15% 18%, transparent 19% 30%, rgba(10, 102, 255, 0.25) 31% 48%, transparent 49%),
    linear-gradient(180deg, #081124, #02060e);
}

.preview-brand {
  background-image:
    linear-gradient(120deg, transparent 0 20%, rgba(33, 243, 255, 0.25) 21% 22%, transparent 23% 54%, rgba(10, 102, 255, 0.28) 55% 58%, transparent 59%),
    radial-gradient(circle at 66% 34%, rgba(245, 251, 255, 0.18), transparent 18%),
    repeating-linear-gradient(135deg, rgba(33, 243, 255, 0.12) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #08142a, #02060e);
}

.calculator-grid,
.app-demo-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
}

.calculator-panel {
  display: grid;
  gap: 24px;
}

.calculator-group {
  display: grid;
  gap: 12px;
}

.calculator-group > span,
.estimate-output > span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

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

.choice-button,
.showcase-button,
.booking-options button {
  min-height: 44px;
  border: 1px solid rgba(33, 243, 255, 0.2);
  border-radius: 6px;
  background: rgba(1, 7, 15, 0.46);
  color: var(--ice);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.choice-button:hover,
.showcase-button:hover,
.booking-options button:hover,
.choice-button.is-active,
.showcase-button.is-active {
  border-color: rgba(33, 243, 255, 0.62);
  background: rgba(33, 243, 255, 0.14);
  transform: translateY(-2px);
}

.estimate-output {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(33, 243, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(33, 243, 255, 0.07);
}

.estimate-output strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.estimate-output p {
  margin-bottom: 0;
  color: rgba(245, 251, 255, 0.7);
  line-height: 1.55;
}

.live-showcase {
  display: grid;
  align-items: center;
  gap: 28px;
  margin-top: 52px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
}

.showcase-copy h3 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.showcase-copy p:not(.eyebrow) {
  color: rgba(245, 251, 255, 0.7);
  line-height: 1.65;
}

.showcase-controls,
.booking-options,
.phone-controls,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.showcase-button {
  padding: 0 14px;
}

.device-cluster {
  position: relative;
  min-height: 360px;
  perspective: 1200px;
}

.laptop-mockup {
  position: absolute;
  right: 4%;
  bottom: 34px;
  width: min(520px, 88%);
  height: 294px;
  padding: 12px;
  border: 1px solid rgba(33, 243, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4), 0 0 50px rgba(10, 102, 255, 0.22);
  transform: rotateX(7deg) rotateY(-14deg);
  animation: deviceFloat 8s ease-in-out infinite;
}

.laptop-mockup::after {
  position: absolute;
  right: 10%;
  bottom: -18px;
  left: 10%;
  height: 16px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, rgba(10, 102, 255, 0.28), rgba(33, 243, 255, 0.42), rgba(10, 102, 255, 0.18));
  content: "";
}

.mockup-screen,
.phone-screen,
.trailer-frame,
.phone-shell {
  border: 1px solid rgba(33, 243, 255, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(140deg, rgba(33, 243, 255, 0.18), transparent 38%),
    repeating-linear-gradient(90deg, rgba(245, 251, 255, 0.12) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, #071a34, #02060e);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.38);
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, rgba(2, 6, 14, 0.1), rgba(2, 6, 14, 0.34)), url("assets/edu-connect.png");
  background-position: top center;
  background-size: cover;
  transition: background 360ms ease, transform 360ms ease;
}

.mockup-screen[data-showcase-screen="kids"] {
  background-image: linear-gradient(180deg, rgba(2, 6, 14, 0.05), rgba(2, 6, 14, 0.34)), url("assets/mzanzi-kids-hub.png");
}

.mockup-screen[data-showcase-screen="secure"] {
  background-image: linear-gradient(180deg, rgba(2, 6, 14, 0.05), rgba(2, 6, 14, 0.34)), url("assets/secure-guard.png");
}

.phone-mockup {
  position: absolute;
  bottom: 0;
  left: 4%;
  width: 148px;
  height: 292px;
  padding: 10px;
  border: 1px solid rgba(33, 243, 255, 0.26);
  border-radius: 22px;
  background: rgba(2, 6, 14, 0.82);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.44), 0 0 44px rgba(33, 243, 255, 0.2);
  transform: rotateX(3deg) rotateY(18deg);
  animation: deviceFloat 7s ease-in-out infinite reverse;
}

.phone-screen {
  display: grid;
  height: 100%;
  align-content: center;
  gap: 8px;
  padding: 16px;
}

.phone-screen span,
.app-slide span,
.trailer-frame span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-screen strong {
  font-size: 1.7rem;
}

.app-preview,
.game-demo {
  overflow: hidden;
}

.interactive-phone {
  display: grid;
  justify-items: center;
  margin-top: 30px;
}

.phone-shell {
  position: relative;
  width: min(280px, 78vw);
  height: 510px;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  animation: deviceFloat 8s ease-in-out infinite;
}

.phone-shell::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 76px;
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 251, 255, 0.2);
  content: "";
  transform: translateX(-50%);
}

.app-slide {
  position: absolute;
  inset: 42px 22px 22px;
  display: grid;
  align-content: end;
  gap: 14px;
  opacity: 0;
  transform: translateX(34px) scale(0.96);
  transition: opacity 360ms ease, transform 360ms ease;
}

.app-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.app-slide strong {
  font-size: 2.1rem;
}

.app-slide p {
  color: rgba(245, 251, 255, 0.72);
  line-height: 1.55;
}

.phone-dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(33, 243, 255, 0.52);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.phone-dot.is-active {
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(33, 243, 255, 0.8);
}

.store-buttons a {
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid rgba(33, 243, 255, 0.25);
  border-radius: 6px;
  background: rgba(1, 7, 15, 0.45);
  font-weight: 900;
  text-transform: uppercase;
}

.trailer-frame {
  display: grid;
  min-height: 300px;
  align-content: end;
  gap: 12px;
  margin-top: 30px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(33, 243, 255, 0.16), transparent 34%),
    conic-gradient(from 70deg, rgba(10, 102, 255, 0.5), transparent, rgba(33, 243, 255, 0.32), transparent),
    linear-gradient(180deg, #06112a, #02060e);
}

.trailer-frame strong {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 0.92;
}

.play-demo-button {
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(33, 243, 255, 0.52);
  border-radius: 6px;
  background: rgba(33, 243, 255, 0.13);
  color: var(--ice);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-panel {
  margin-top: 30px;
}

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

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  text-shadow: 0 0 28px rgba(33, 243, 255, 0.45);
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: rgba(245, 251, 255, 0.7);
  text-transform: uppercase;
}

.testimonial-slider {
  margin-top: 18px;
}

.testimonial-track {
  position: relative;
  min-height: 140px;
}

.testimonial {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial p {
  max-width: 820px;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.25;
}

.testimonial cite {
  color: var(--cyan);
  font-style: normal;
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(37, 211, 102, 0.58);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.94), rgba(33, 243, 255, 0.78));
  color: #00160a;
  box-shadow: 0 0 34px rgba(37, 211, 102, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trail-dot {
  position: fixed;
  z-index: 6;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  pointer-events: none;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(33, 243, 255, 0.86);
  animation: trailFade 700ms ease forwards;
}

.why-grid {
  display: grid;
  gap: 14px;
}

.why-item {
  display: grid;
  align-items: center;
  padding: 20px;
  grid-template-columns: 92px 1fr;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.why-item:hover {
  transform: translateX(6px);
}

.why-item strong {
  color: var(--cyan);
  font-size: 1.6rem;
  text-shadow: 0 0 22px rgba(33, 243, 255, 0.5);
}

.contact-band {
  padding-bottom: 90px;
}

.contact-copy h2 {
  margin-bottom: 22px;
}

address {
  margin-top: 32px;
  color: rgba(245, 251, 255, 0.78);
  font-style: normal;
  line-height: 1.8;
}

address strong {
  display: block;
  color: var(--ice);
}

address a {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(245, 251, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(33, 243, 255, 0.22);
  border-radius: 6px;
  outline: 0;
  background: rgba(1, 7, 15, 0.68);
  color: var(--ice);
  padding: 13px 14px;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(33, 243, 255, 0.72);
  background: rgba(4, 12, 24, 0.86);
  box-shadow: 0 0 0 3px rgba(33, 243, 255, 0.12);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 28px 18px 40px;
  border-top: 1px solid rgba(33, 243, 255, 0.16);
  color: rgba(245, 251, 255, 0.6);
  font-size: 0.84rem;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.85, 0.22, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes floatPanel {
  0%,
  100% {
    transform: rotateX(6deg) rotateY(-12deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotateX(10deg) rotateY(-4deg) translate3d(0, -18px, 34px);
  }
}

@keyframes reflectionSweep {
  0%,
  22% {
    transform: translateX(-70%);
    opacity: 0;
  }

  45% {
    opacity: 0.55;
  }

  74%,
  100% {
    transform: translateX(70%);
    opacity: 0;
  }
}

@keyframes spinDepth {
  from {
    transform: rotateX(62deg) rotateY(0deg) rotateZ(22deg);
  }

  to {
    transform: rotateX(62deg) rotateY(360deg) rotateZ(22deg);
  }
}

@keyframes streak {
  0%,
  100% {
    opacity: 0.14;
    translate: -24px 0;
  }

  50% {
    opacity: 0.9;
    translate: 32px 0;
  }
}

@keyframes textSignal {
  0%,
  100% {
    opacity: 0.74;
    transform: scaleX(1);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.035);
  }
}

@keyframes deviceFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -16px;
  }
}

@keyframes trailFade {
  to {
    opacity: 0;
    transform: scale(3.8);
  }
}

@keyframes cinematicSwipe {
  0% {
    opacity: 0;
    transform: translateX(-120%) scaleX(1.2);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%) scaleX(1.2);
  }
}

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

  .cursor-glow {
    display: none;
  }

  .trail-dot {
    display: none;
  }
}

@keyframes orbitSpin {
  from {
    transform: rotateX(68deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(68deg) rotateZ(360deg);
  }
}

@keyframes agentPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(0, -8px, 18px);
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .site-header {
    top: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 24px;
    row-gap: 18px;
  }

  h1 {
    font-size: clamp(4rem, 8.5vw, 7.2rem);
  }

  .hero-intro-line {
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 2.25vw, 1.85rem);
  }

  .hero-subtitle {
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-stage {
    min-height: 410px;
  }

  .logo-hologram {
    width: min(360px, 72vw);
  }

  .agent-core {
    width: min(260px, 58vw);
  }

  .agent-node {
    min-width: 120px;
    padding: 9px 10px;
  }

  .agent-node strong {
    font-size: 0.76rem;
  }

  .agent-node span {
    font-size: 0.68rem;
  }

  .core-caption {
    bottom: -46px;
    padding: 9px;
  }

  .hero-metrics {
    margin-top: 0;
  }

  .hero-metrics span {
    min-height: 62px;
    padding: 12px 14px;
  }

  .hero-metrics strong {
    font-size: 1.15rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .hero,
  .split-grid,
  .contact-grid,
  .calculator-grid,
  .app-demo-grid,
  .live-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-stage {
    min-height: 390px;
  }

  .agent-flow-summary {
    max-width: 100%;
  }

  .agent-node {
    min-width: 116px;
    padding: 9px;
  }

  .agent-brief {
    top: 2%;
    left: 2%;
  }

  .agent-design {
    top: 2%;
    right: 2%;
  }

  .agent-build {
    right: 1%;
    bottom: 30%;
  }

  .agent-qa {
    bottom: 2%;
    left: 4%;
  }

  .agent-launch {
    right: 8%;
    bottom: 2%;
  }

  .agent-node::before {
    width: 48px;
  }

  .hero-copy {
    margin-top: 0;
  }

  .hero-metrics {
    position: static;
    grid-column: auto;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .card-grid,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .device-cluster {
    min-height: 420px;
  }

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

  .portfolio-card.tall,
  .portfolio-card.wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 260px;
  }

  .portfolio-card.tall .preview {
    min-height: 160px;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: min(100% - 24px, 1140px);
  }

  .site-header {
    width: calc(100% - 24px);
    padding-right: 12px;
  }

  .brand-mark small {
    display: none;
  }

  .theme-toggle {
    position: fixed;
    top: 22px;
    right: auto;
    left: min(72vw, 288px);
    width: 50px;
    padding: 0;
  }

  .theme-toggle span {
    font-size: 0;
  }

  .theme-toggle span::after {
    content: "MODE";
    font-size: 0.6rem;
  }

  h1 {
    font-size: clamp(3.2rem, 20vw, 5.2rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .mobile-break {
    display: block;
  }

  .hero-actions {
    display: grid;
    max-width: 100%;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid,
  .package-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .live-showcase,
  .calculator-panel,
  .app-preview,
  .game-demo {
    padding: 18px;
  }

  .device-cluster {
    min-height: 350px;
  }

  .laptop-mockup {
    right: -8%;
    width: 100%;
    height: 230px;
  }

  .phone-mockup {
    left: 0;
    width: 126px;
    height: 250px;
  }

  .phone-shell {
    height: 450px;
  }

  .hero-stage {
    min-height: 300px;
    overflow: hidden;
  }

  .logo-hologram {
    width: min(300px, 82vw);
  }

  .agent-flow-summary {
    padding: 12px;
  }

  .agent-flow-summary strong {
    font-size: 0.9rem;
  }

  .agent-flow-summary p {
    font-size: 0.84rem;
  }

  .agent-orbit::before,
  .agent-orbit::after,
  .orbit-ring,
  .agent-node::before {
    display: none;
  }

  .agent-node {
    min-width: 104px;
    padding: 8px;
  }

  .agent-node strong {
    font-size: 0.68rem;
  }

  .agent-node span {
    display: none;
  }

  .agent-core {
    width: min(240px, 70vw);
  }

  .core-caption {
    right: 8px;
    bottom: -42px;
    left: 8px;
    padding: 8px;
  }

  .core-caption strong {
    font-size: 0.68rem;
  }

  .wireframe,
  .data-ribbon {
    opacity: 0.58;
  }

  .why-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    width: 54px;
    padding: 0;
    font-size: 0;
  }

  .whatsapp-float::after {
    content: "WA";
    font-size: 0.72rem;
  }
}
