:root {
  --bg: #09090b;
  --surface: #111218;
  --surface-strong: rgba(17, 18, 24, 0.92);
  --border: rgba(30, 41, 59, 0.9);
  --border-soft: rgba(148, 163, 184, 0.12);
  --text: #ffffff;
  --muted: #94a3b8;
  --primary: #00e5ff;
  --secondary: #00b4ff;
  --tertiary: #7a5cff;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.42);
  --glow: 0 0 48px rgba(0, 229, 255, 0.18);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: min(1240px, calc(100vw - 48px));
  --grid-columns: repeat(12, minmax(0, 1fr));
  --gradient-main: linear-gradient(135deg, #00e5ff 0%, #00b4ff 45%, #7a5cff 100%);
  --gradient-soft: radial-gradient(circle at top, rgba(0, 229, 255, 0.16), transparent 48%),
    radial-gradient(circle at bottom right, rgba(122, 92, 255, 0.18), transparent 40%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.12), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(122, 92, 255, 0.14), transparent 28%),
    radial-gradient(circle at 50% 70%, rgba(0, 180, 255, 0.08), transparent 22%);
  pointer-events: none;
  z-index: -3;
}

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

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

.site-shell {
  position: relative;
  isolation: isolate;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.grid-12 {
  display: grid;
  grid-template-columns: var(--grid-columns);
  gap: 24px;
}

.section {
  position: relative;
  padding: 110px 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(9, 9, 11, 0.62);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: #03131d;
  background: var(--gradient-main);
  box-shadow: var(--glow);
}

.brand-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.96);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

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

.button-primary {
  background: var(--gradient-main);
  color: #041019;
  box-shadow: 0 10px 40px rgba(0, 180, 255, 0.22);
}

.button-secondary,
.button-tertiary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--text);
}

.button-tertiary:hover,
.button-secondary:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.18);
}

.button-xl {
  min-height: 64px;
  padding: 0 34px;
  font-size: 1.05rem;
}

.glass-card,
.glass-pill {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #d8e3f1;
  font-size: 0.9rem;
}

.eyebrow-dot,
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.7);
}

.status-dot.live {
  background: #52ffa8;
  box-shadow: 0 0 18px rgba(82, 255, 168, 0.5);
}

.ambient,
.ambient-grid,
.flow-lines,
.particles {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.ambient {
  z-index: -2;
  filter: blur(60px);
}

.ambient-one {
  background: radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.12), transparent 35%);
  animation: ambientMoveOne 18s ease-in-out infinite alternate;
}

.ambient-two {
  background: radial-gradient(circle at 85% 25%, rgba(122, 92, 255, 0.16), transparent 32%);
  animation: ambientMoveTwo 20s ease-in-out infinite alternate;
}

.ambient-grid {
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
}

.flow-lines {
  z-index: -1;
  opacity: 0.85;
}

.flow-lines span {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 180px;
  border-top: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 50%;
  animation: flowWave 14s linear infinite;
}

.flow-lines span:nth-child(1) {
  top: 12%;
}

.flow-lines span:nth-child(2) {
  top: 42%;
  animation-duration: 18s;
  animation-delay: -6s;
  border-color: rgba(122, 92, 255, 0.16);
}

.flow-lines span:nth-child(3) {
  top: 72%;
  animation-duration: 20s;
  animation-delay: -12s;
}

.particles {
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0.18;
  animation: particleFloat linear infinite;
}

.hero {
  position: relative;
}

.hero-cinematic {
  min-height: 100vh;
  margin-top: -76px;
  padding-top: 76px;
  overflow: clip;
  background: #040507;
}

.hero-media-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.02);
  transition: opacity 480ms ease, transform 900ms ease;
  will-change: opacity, transform;
}

.hero-video.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-video-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.38) 40%, rgba(0, 0, 0, 0.25) 100%),
    radial-gradient(circle at 70% 20%, rgba(0, 180, 255, 0.14), transparent 32%);
}

.hero-video-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  opacity: 0.45;
}

.hero-video-glow {
  position: absolute;
  inset: auto -10% -28% auto;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.16) 0%, transparent 70%);
  filter: blur(24px);
  opacity: 0.7;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: clamp(108px, 16vh, 164px);
  padding-bottom: 72px;
}

.hero-copy {
  display: grid;
  gap: 24px;
  max-width: 760px;
  align-self: flex-end;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
}

.hero-logo-frame {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(12, 15, 21, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.hero-logo-image {
  width: 76%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.35));
}

.hero-brand-text {
  display: grid;
  gap: 6px;
}

.hero-brand-text span {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.hero-brand-text small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(4rem, 7.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 900;
  max-width: 10ch;
}

.hero-title span,
.section-intro h2 span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.14rem;
  line-height: 1.8;
}

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

.hero-play-fallback {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  transform: translateX(-50%);
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(11, 12, 18, 0.56);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.hero-play-fallback:hover {
  border-color: rgba(0, 229, 255, 0.28);
}

.hero-play-fallback[hidden] {
  display: none;
}

.hero-play-fallback.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

.video-panel {
  min-height: 100vh;
  padding: 0;
  overflow: clip;
  background: #050608;
}

.video-panel-media {
  position: absolute;
  inset: 0;
}

.video-panel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 420ms ease, transform 900ms ease;
}

.video-panel-video.is-active {
  opacity: 1;
  transform: scale(1);
}

.video-panel-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.22) 38%, rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(circle at 82% 20%, rgba(0, 180, 255, 0.16), transparent 28%);
}

.video-panel-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  align-content: end;
  gap: 18px;
  padding-top: 120px;
  padding-bottom: 72px;
  max-width: 860px;
}

.video-panel-overlay h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.video-panel-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 700px;
}

.hero-visual {
  grid-column: 8 / span 5;
  min-height: 740px;
  position: relative;
}

.orbital-shell {
  position: sticky;
  top: 120px;
  height: 740px;
}

.visual-card {
  position: absolute;
  border-radius: 30px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 18, 24, 0.94), rgba(17, 18, 24, 0.72)),
    var(--gradient-soft);
}

.visual-card::before,
.service-card::before,
.project-card::before,
.testimonial-card::before,
.timeline-item::before,
.metric-card::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04), rgba(0, 229, 255, 0.18));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dashboard-card {
  inset: 0 52px auto 0;
  height: 300px;
}

.automation-card {
  top: 262px;
  right: 0;
  width: 300px;
}

.chat-card {
  left: 28px;
  bottom: 78px;
  width: 320px;
}

.media-card {
  right: 28px;
  bottom: 0;
  width: 280px;
}

.card-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.dashboard-card h3,
.media-meta strong {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 24px;
}

.dashboard-metrics span,
.media-meta span,
.project-copy span,
.testimonial-card span,
.footer-copy,
.section-intro p,
.service-card p,
.timeline-item p,
.metric-card span,
.cta-panel p,
.section-copy p {
  color: var(--muted);
}

.dashboard-metrics span {
  display: block;
  font-size: 0.76rem;
  margin-bottom: 8px;
}

.dashboard-metrics strong {
  font-size: 1.2rem;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 120px;
}

.mini-chart span {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: var(--gradient-main);
  opacity: 0.85;
  animation: chartPulse 4s ease-in-out infinite;
}

.mini-chart span:nth-child(1) { height: 40%; }
.mini-chart span:nth-child(2) { height: 62%; animation-delay: -1s; }
.mini-chart span:nth-child(3) { height: 44%; animation-delay: -2s; }
.mini-chart span:nth-child(4) { height: 80%; animation-delay: -1.5s; }
.mini-chart span:nth-child(5) { height: 58%; animation-delay: -3s; }
.mini-chart span:nth-child(6) { height: 100%; animation-delay: -2.5s; }

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

.flow-node {
  min-height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.flow-node.active {
  background: rgba(0, 180, 255, 0.14);
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.06);
}

.chat-bubble {
  max-width: 92%;
  border-radius: 18px;
  padding: 14px 16px;
  line-height: 1.6;
  font-size: 0.94rem;
}

.incoming {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.outgoing {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(122, 92, 255, 0.18));
  border: 1px solid rgba(122, 92, 255, 0.16);
  color: rgba(255, 255, 255, 0.95);
}

.media-preview {
  height: 150px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(122, 92, 255, 0.18)),
    rgba(255, 255, 255, 0.03);
  margin-bottom: 16px;
}

.media-preview::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: scan 4s linear infinite;
}

.play-button {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.play-button::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 53%;
  transform: translate(-50%, -50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(255, 255, 255, 0.88);
}

.section-grid {
  align-items: start;
}

.section-heading {
  grid-column: span 5;
}

.section-copy {
  grid-column: 7 / span 6;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(207, 250, 254, 0.86);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-heading h2,
.section-intro h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-copy p,
.section-intro p,
.cta-panel p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.85;
}

.manifesto-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.mini-panel {
  padding: 22px;
  border-radius: 24px;
}

.mini-panel strong {
  display: block;
  margin-bottom: 10px;
}

.mini-panel span {
  color: var(--muted);
  line-height: 1.7;
}

.section-intro {
  max-width: 840px;
  margin-bottom: 42px;
}

.section-intro-inline {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-intro h2 {
  margin-bottom: 18px;
}

.section-intro-inline h2 {
  margin-bottom: 0;
}

.slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.slider-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.slider-shell {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

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

.services-grid.slider-track {
  display: flex;
}

.services-grid.slider-track .service-card {
  width: min(360px, calc(100vw - 56px));
}

.service-card,
.project-card,
.timeline-item,
.metric-card,
.testimonial-card,
.cta-panel {
  position: relative;
  overflow: hidden;
}

.service-card {
  min-height: 290px;
  padding: 24px;
  border-radius: 28px;
}

.service-card h3 {
  margin: 24px 0 12px;
  font-size: 1.35rem;
}

.service-card p,
.timeline-item p,
.testimonial-card p {
  margin: 0;
  line-height: 1.75;
}

.service-index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-icon::after,
.service-icon::before {
  content: "";
  position: absolute;
}

.gradient-orb::before {
  inset: 12px;
  border-radius: 50%;
  background: var(--gradient-main);
  box-shadow: var(--glow);
}

.prism::before {
  inset: 16px;
  clip-path: polygon(50% 0%, 100% 35%, 82% 100%, 18% 100%, 0% 35%);
  background: var(--gradient-main);
}

.ring::before {
  inset: 11px;
  border-radius: 50%;
  border: 10px solid rgba(0, 229, 255, 0.26);
}

.ring::after {
  inset: 20px;
  border-radius: 50%;
  background: rgba(122, 92, 255, 0.26);
}

.cube::before {
  width: 34px;
  height: 34px;
  left: 20px;
  top: 20px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.8), rgba(122, 92, 255, 0.8));
}

.beam::before {
  inset: 14px 30px;
  border-radius: 999px;
  background: var(--gradient-main);
  transform: rotate(42deg);
}

.node::before {
  inset: 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8), transparent 18%),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.8), transparent 18%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(122, 92, 255, 0.24));
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.timeline.slider-track {
  display: flex;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.16), rgba(122, 92, 255, 0.24), rgba(0, 229, 255, 0.16));
}

.timeline.slider-track::before {
  display: none;
}

.timeline-item {
  min-height: 260px;
  padding: 28px 24px 24px;
  border-radius: 28px;
}

.timeline.slider-track .timeline-item {
  width: min(280px, calc(100vw - 72px));
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.timeline-item h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
}

.portfolio-grid.slider-track {
  display: flex;
}

.portfolio-grid.slider-track .project-card {
  width: min(420px, calc(100vw - 56px));
}

.portfolio-grid.slider-track .project-large {
  min-height: 420px;
}

.project-card {
  min-height: 300px;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(0, 229, 255, 0.08), transparent 40%),
    rgba(17, 18, 24, 0.74);
}

.project-large {
  grid-row: span 2;
  min-height: 620px;
}

.project-copy {
  margin-top: 18px;
}

.project-copy h3 {
  margin: 10px 0 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.project-surface {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(122, 92, 255, 0.16), transparent 34%);
}

.screen {
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(122, 92, 255, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.screen::before,
.screen::after {
  content: "";
  position: absolute;
}

.screen::before {
  inset: 18px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.screen::after {
  inset: auto 24px 24px 24px;
  height: 40%;
  border-radius: 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.26));
}

.laptop {
  min-height: 500px;
}

.laptop::before {
  content: "";
  position: absolute;
  inset: auto 14% 18px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04));
}

.phone {
  min-height: 235px;
}

.phone .screen {
  inset: 18px 34% 18px 18px;
  border-radius: 28px;
}

.analytics {
  min-height: 235px;
}

.analytics .screen::after {
  inset: auto 16px 16px 16px;
  height: 44%;
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.8), rgba(122, 92, 255, 0.8));
  clip-path: polygon(0 100%, 12% 76%, 28% 80%, 44% 36%, 60% 54%, 76% 24%, 100% 0, 100% 100%);
}

.video {
  min-height: 235px;
}

.video .screen::after {
  inset: 50% auto auto 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

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

.metric-card {
  padding: 30px 24px;
  border-radius: 28px;
  text-align: center;
}

.metric-card strong {
  display: block;
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}

.metric-card span {
  font-size: 1rem;
}

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

.testimonials-grid.slider-track {
  display: flex;
}

.testimonials-grid.slider-track .testimonial-card {
  width: min(360px, calc(100vw - 56px));
}

.testimonial-card {
  padding: 24px;
  border-radius: 28px;
}

.avatar {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.56), transparent 16%),
    linear-gradient(135deg, rgba(0, 229, 255, 0.42), rgba(122, 92, 255, 0.42)),
    rgba(255, 255, 255, 0.04);
}

.avatar-two {
  background:
    radial-gradient(circle at 60% 24%, rgba(255, 255, 255, 0.56), transparent 14%),
    linear-gradient(135deg, rgba(122, 92, 255, 0.42), rgba(0, 180, 255, 0.42)),
    rgba(255, 255, 255, 0.04);
}

.avatar-three {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.56), transparent 14%),
    linear-gradient(135deg, rgba(0, 180, 255, 0.42), rgba(0, 229, 255, 0.42)),
    rgba(255, 255, 255, 0.04);
}

.testimonial-card strong {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
}

.cta-panel {
  padding: 56px;
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(0, 229, 255, 0.1), transparent 42%),
    radial-gradient(circle at bottom right, rgba(122, 92, 255, 0.13), transparent 42%),
    rgba(17, 18, 24, 0.82);
}

.cta-panel p {
  max-width: 620px;
  margin: 18px auto 30px;
}

.footer {
  padding-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  padding-top: 18px;
  padding-bottom: 46px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-copy {
  max-width: 620px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 14px;
  justify-items: end;
  color: rgba(255, 255, 255, 0.86);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 200;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}

.floating-card {
  animation: floatCard 8s ease-in-out infinite;
}

.delay-one { animation-delay: -1.5s; }
.delay-two { animation-delay: -3.2s; }
.delay-three { animation-delay: -4.8s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes ambientMoveOne {
  from { transform: translate3d(-4%, -2%, 0) scale(1); }
  to { transform: translate3d(5%, 4%, 0) scale(1.08); }
}

@keyframes ambientMoveTwo {
  from { transform: translate3d(4%, 1%, 0) scale(1); }
  to { transform: translate3d(-6%, 3%, 0) scale(1.06); }
}

@keyframes flowWave {
  from { transform: translateX(-2%) translateY(0) scaleX(1); }
  50% { transform: translateX(2%) translateY(10px) scaleX(1.02); }
  to { transform: translateX(-2%) translateY(0) scaleX(1); }
}

@keyframes particleFloat {
  from {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0;
  }
  20% {
    opacity: 0.22;
  }
  to {
    transform: translate3d(20px, -120px, 0) scale(1.2);
    opacity: 0;
  }
}

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

@keyframes chartPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes scan {
  from { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.7; }
  80% { opacity: 0.7; }
  to { transform: translateY(-150px); opacity: 0; }
}

@keyframes cuePulse {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.35); opacity: 1; }
}

@media (max-width: 1180px) {
  .section-intro-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .section-heading,
  .section-copy {
    grid-column: span 12;
  }

  .hero-copy {
    max-width: 900px;
  }

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

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

  .timeline::before {
    display: none;
  }

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

  .project-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 460px;
  }

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

  .video-panel-overlay {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring,
  .nav,
  .topbar-cta {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(3.2rem, 13vw, 4.8rem);
  }

  .hero-description,
  .section-copy p,
  .section-intro p,
  .cta-panel p {
    font-size: 1rem;
  }

  .manifesto-points,
  .services-grid,
  .testimonials-grid,
  .metrics-grid,
  .portfolio-grid,
  .footer-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-cinematic {
    margin-top: -76px;
  }

  .hero-overlay {
    min-height: 100svh;
    padding-top: 112px;
    padding-bottom: 112px;
    justify-content: flex-end;
    gap: 20px;
  }

  .hero-media-stack {
    inset: 0;
  }

  .hero-video {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-position: center center;
    transform: scale(1.03);
    box-shadow: none;
  }

  .hero-video.is-active {
    transform: scale(1);
  }

  .hero-video-scrim {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.3) 34%, rgba(0, 0, 0, 0.38) 72%, rgba(0, 0, 0, 0.88) 100%),
      radial-gradient(circle at 50% 18%, rgba(0, 180, 255, 0.14), transparent 28%);
  }

  .hero-video-noise {
    opacity: 0.22;
  }

  .hero-copy {
    gap: 18px;
    max-width: 100%;
  }

  .hero-brand-lockup {
    gap: 14px;
    margin-bottom: 6px;
  }

  .hero-logo-frame {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .hero-brand-text span {
    font-size: 1.1rem;
  }

  .hero-brand-text small {
    font-size: 0.76rem;
  }

  .hero-description,
  .section-copy p,
  .section-intro p,
  .cta-panel p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-actions .button {
    width: 100%;
  }

  .slider-controls {
    width: 100%;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
  }

  .hero-play-fallback {
    bottom: 24px;
    width: calc(100% - 32px);
  }

  .video-panel-overlay {
    min-height: 100svh;
    padding-top: 112px;
    padding-bottom: 56px;
    gap: 14px;
  }

  .video-panel-overlay h2 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .video-panel-overlay p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .project-large {
    grid-column: auto;
    min-height: 380px;
  }

  .laptop {
    min-height: 280px;
  }

  .cta-panel {
    padding: 34px 22px;
  }

  .footer-links {
    justify-items: start;
  }
}
