:root {
  --bg-0: #0a0a0a;
  --bg-1: #101012;
  --panel: rgba(16, 16, 19, 0.7);
  --panel-soft: rgba(255, 255, 255, 0.025);
  --text: #f5f7fb;
  --muted: #9ea7b4;
  --blue: #00a6ff;
  --red: #ff2d55;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1180px;
  --shadow-blue: 0 0 28px rgba(0, 166, 255, 0.08);
  --shadow-red: 0 0 24px rgba(255, 45, 85, 0.05);
}

* {
  box-sizing: border-box;
  -ms-overflow-style: none; /* Hide scrollbars for all elements IE/Edge */
  scrollbar-width: none; /* Hide scrollbars for all elements Firefox */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 166, 255, 0.07), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(255, 45, 85, 0.045), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.025), transparent 35%),
    linear-gradient(180deg, #080808 0%, var(--bg-0) 35%, var(--bg-1) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  scroll-snap-type: y proximity;
}

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

body::before {
  background:
    linear-gradient(130deg, transparent 20%, rgba(0, 166, 255, 0.04) 38%, transparent 50%),
    linear-gradient(310deg, transparent 25%, rgba(255, 45, 85, 0.03) 48%, transparent 62%);
  filter: blur(34px);
  transform: scale(1.15);
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 85%);
  opacity: 0.2;
}

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

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

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

.light-streak {
  position: fixed;
  width: 34vw;
  height: 1px;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.34;
  pointer-events: none;
  z-index: -1;
}

.light-streak.blue {
  top: 18%;
  left: -8%;
  transform: rotate(-18deg);
  background: linear-gradient(90deg, transparent, rgba(0, 166, 255, 0.46), transparent);
  box-shadow: 0 0 18px rgba(0, 166, 255, 0.18);
}

.light-streak.red {
  top: 58%;
  right: -8%;
  transform: rotate(12deg);
  background: linear-gradient(90deg, transparent, rgba(255, 45, 85, 0.34), transparent);
  box-shadow: 0 0 16px rgba(255, 45, 85, 0.12);
}

.page-main,
.section-inner,
.hero-grid,
.footer-panel,
.nav-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.page-main {
  display: grid;
  gap: 16vh;
  padding-top: 8vh;
  padding-bottom: 16vh;
}

.story-section {
  min-height: 82vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.story-section.compact {
  min-height: 72vh;
}

.story-section.full {
  min-height: 100vh;
}

.story-panel {
  width: 100%;
  padding: clamp(32px, 4.8vw, 56px);
}

.story-panel.narrow {
  max-width: 920px;
  margin: 0 auto;
}

.focal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.focal-copy {
  display: grid;
  gap: 26px;
}

.focal-visual {
  min-height: 360px;
  border-radius: calc(var(--radius-xl) - 10px);
  background:
    radial-gradient(circle at 22% 20%, rgba(0, 166, 255, 0.08), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(255, 45, 85, 0.045), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 18%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.045);
  overflow: hidden;
  position: relative;
}

.focal-visual::before,
.focal-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.focal-visual::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.16;
}

.focal-visual::after {
  background:
    linear-gradient(130deg, transparent 30%, rgba(0, 166, 255, 0.055) 45%, transparent 56%),
    linear-gradient(310deg, transparent 34%, rgba(255, 45, 85, 0.03) 52%, transparent 64%);
  filter: blur(22px);
}

.visual-pillars,
.stacked-list {
  display: grid;
  gap: 12px;
}

.visual-pillar,
.stacked-item {
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.045);
}

.stacked-item strong,
.visual-pillar strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.panel,
.content-box,
.results-board,
.team-copy,
.page-card,
.showcase-card,
.contact-card,
.shared-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.28),
    var(--shadow-blue),
    var(--shadow-red);
  backdrop-filter: blur(16px);
}

.panel::before,
.content-box::before,
.results-board::before,
.team-copy::before,
.page-card::before,
.showcase-card::before,
.contact-card::before,
.shared-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 166, 255, 0.18), rgba(255, 255, 255, 0.03), rgba(255, 45, 85, 0.1));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.eyebrow,
.box-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.025);
  color: #cfd6e3;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  box-shadow: 0 0 10px rgba(0, 166, 255, 0.28);
}

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

.section-title {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 12ch;
}

.chrome-text {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(171, 184, 200, 0.78) 55%, rgba(255, 255, 255, 0.95));
  -webkit-background-clip: text;
  color: transparent;
}

.pulse-text {
  background: linear-gradient(135deg, var(--blue), rgba(255, 255, 255, 0.9) 48%, var(--red));
  -webkit-background-clip: text;
  color: transparent;
}

.lead,
.body-copy,
.page-copy,
.shared-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.9;
  max-width: 54ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease, background 280ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.8), rgba(255, 75, 75, 0.58));
  box-shadow: 0 10px 24px rgba(255, 45, 85, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button.secondary:hover {
  box-shadow: 0 0 16px rgba(0, 166, 255, 0.08);
  background: rgba(0, 166, 255, 0.08);
}

.button.primary:hover {
  box-shadow: 0 14px 28px rgba(255, 45, 85, 0.18), 0 0 18px rgba(255, 45, 85, 0.08);
}

.action-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-intro {
  padding: 34px;
}

.reveal-text {
  display: grid;
  gap: 12px;
  max-width: 58ch;
}

.reveal-line {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1), opacity 900ms ease, filter 900ms ease;
}

.reveal-group [data-reveal="heading"],
.reveal-group [data-reveal="container"],
.reveal-group [data-reveal="action"],
.reveal-group .reveal-card {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(12px);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1), opacity 900ms ease, filter 900ms ease;
}

.reveal-group.is-visible [data-reveal="container"] {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0ms;
}

.reveal-group.is-visible [data-reveal="heading"],
.reveal-group.is-visible [data-reveal="action"],
.reveal-group.is-visible .reveal-card,
.reveal-group.is-visible .reveal-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-group.is-visible [data-reveal="heading"] {
  transition-delay: 140ms;
}

.reveal-group.is-visible [data-reveal="action"] {
  transition-delay: 520ms;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 22px;
}

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

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

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

.metric-box {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.metric-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.shared-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.shared-card {
  padding: 24px;
}

.shared-card small {
  display: inline-block;
  margin-bottom: 14px;
  color: #cfd6e3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shared-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.2rem;
  max-width: 20ch;
}

.shared-lines {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.shared-lines span {
  display: block;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  padding: 0 0 42px;
  scroll-snap-align: none;
}

.footer-panel {
  padding: 28px 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.redirect-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .use-custom-cursor,
  .use-custom-cursor body,
  .use-custom-cursor a,
  .use-custom-cursor button,
  .use-custom-cursor input,
  .use-custom-cursor textarea,
  .use-custom-cursor select,
  .use-custom-cursor [role="button"] {
    cursor: none !important;
  }

  .custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.9);
    clip-path: polygon(50% 4%, 96% 92%, 4% 92%);
    border-radius: 1px;
    transform: translate(-50%, -50%) scale(0.92) rotate(-22deg);
    transform-origin: center center;
    opacity: 0;
    z-index: 2147483647;
    pointer-events: none;
    transition:
      opacity 120ms ease,
      clip-path 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
      border-radius 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
      background-color 240ms ease;
  }

  .custom-cursor.is-visible {
    opacity: 1;
  }

  .custom-cursor.is-idle {
    clip-path: inset(0 round 50%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.72);
    background: rgba(255, 255, 255, 0.2);
  }

  .custom-cursor.is-pop {
    transform: translate(-50%, -50%) scale(1.34) rotate(-22deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-cursor {
    transition: opacity 80ms linear;
  }
}

@media (max-width: 980px) {
  body {
    scroll-snap-type: none;
  }

  .grid-2,
  .grid-3,
  .metric-strip,
  .shared-card-grid {
    grid-template-columns: 1fr;
  }

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

  .story-section,
  .story-section.compact,
  .story-section.full {
    min-height: auto;
  }
}
