:root {
  --void: #0a0f1a;
  --surface: #10192b;
  --surface-2: #182338;
  --surface-rgb: 16, 25, 43;
  --white-rgb: 255, 255, 255;
  --line: rgba(148, 163, 184, 0.12);
  --line-strong: rgba(148, 163, 184, 0.2);
  --blue: #1780d4;
  --blue-glow: #4da8ea;
  --blue-deep: #0c4a7a;
  --white: #f1f5f9;
  --muted: #9aa7bd;
  --muted-2: #6b7890;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --accent-rgb: 23, 128, 212;
  --container: 1220px;
  color-scheme: dark;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* ===== LIGHT THEME ===== */
html[data-theme="light"] {
  --void: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --surface-rgb: 255, 255, 255;
  --white-rgb: 15, 23, 42;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --blue: #1170bd;
  --blue-glow: #1780d4;
  --blue-deep: #0c4a7a;
  --white: #0f172a;
  --muted: #4b5670;
  --muted-2: #6b7890;
  color-scheme: light;
}
html[data-theme="light"] .grid-overlay {
  opacity: 0.6;
}
html[data-theme="light"] .grain {
  opacity: 0.02;
}
/* ===== Light theme: section-wise alternating backgrounds ===== */
html[data-theme="light"] body {
  background: var(--void);
}
html[data-theme="light"] .trusted {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 34px;
  padding-bottom: 34px;
}
html[data-theme="light"] .stats-band {
  background: var(--void);
}
html[data-theme="light"] #services {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
html[data-theme="light"] #why {
  background: var(--void);
  border-top: 1px solid var(--line);
}
html[data-theme="light"] #process {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
html[data-theme="light"] #industries {
  background: var(--void);
  border-top: 1px solid var(--line);
}
html[data-theme="light"] #testimonials {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
html[data-theme="light"] .tech-band {
  background: var(--void);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
html[data-theme="light"] #contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
html[data-theme="light"] footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
html[data-theme="light"] .stat-cell {
  background: var(--void);
}
html[data-theme="light"] .hero-stars {
  opacity: 0.35;
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.5;
  margin:0;
  padding:0;
  box-sizing: border-box;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--blue-glow);
  outline-offset: 3px;
}
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(var(--white-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--white-rgb), 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    black,
    transparent 70%
  );
}
#preloader {
  position: fixed;
  inset: 0;
  background: var(--void);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}
.pre-logo {
  width: 150px;
}
.pre-bar {
  width: 180px;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.pre-bar::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue-glow),
    transparent
  );
  animation: preload 1.1s ease-in-out infinite;
}
@keyframes preload {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}
.pre-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition:
    padding 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}
header.scrolled {
  padding: 12px 0;
  background: rgba(var(--surface-rgb), 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  height: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 100px;
  transition: color 0.25s ease;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a.active {
  color: var(--white);
}
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 100px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(23, 128, 212, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(23, 128, 212, 0.65);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--blue-glow);
  background: rgba(77, 168, 234, 0.08);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--white);
  position: relative;
  transition: 0.3s;
}
.burger span::before {
  position: absolute;
  top: -5px;
}
.burger span::after {
  position: absolute;
  top: 5px;
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}
.theme-toggle:hover {
  border-color: var(--blue-glow);
  background: rgba(77, 168, 234, 0.08);
  transform: translateY(-1px);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
}
.theme-toggle .icon-sun {
  display: none;
}
.theme-toggle .icon-moon {
  display: block;
}
html[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}
html[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}
@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    background: rgba(var(--surface-rgb), 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.6, 0, 0.2, 1);
    border-left: 1px solid var(--line);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-cta-group .btn-ghost {
    display: none;
  }
  .burger {
    display: flex;
  }
}
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  top: 0;
  right: -8%;
  width: 64%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.7fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-glow);
  border: 1px solid rgba(77, 168, 234, 0.3);
  background: rgba(23, 128, 212, 0.08);
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-glow);
  box-shadow: 0 0 8px var(--blue-glow);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: inline-block;
}
.hero h1 .grad {
  background: linear-gradient(
    97deg,
    var(--blue-glow),
    var(--blue) 60%,
    #8f5bff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 38px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
}
.hero-stat span {
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
.hero-visual-frame {
  position: relative;
  height: 520px;
}
.pipeline-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--surface-rgb), 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}
.pipeline-badge b {
  color: var(--blue-glow);
  font-weight: 600;
}
.pipeline-badge .sep {
  color: var(--muted-2);
}
.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  z-index: 2;
}
.scroll-cue .line-v {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--muted-2), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line-v::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--blue-glow);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual-frame {
    height: 340px;
    order: -1;
  }
  #hero-canvas {
    position: relative;
    width: 100%;
    right: 0;
    height: 340px;
  }
  .scroll-cue {
    display: none;
  }
}
.trusted {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trusted-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 30px;
}
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.marquee-track .mitem {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--muted-2);
  opacity: 0.6;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
section {
  position: relative;
  padding: 40px 0;
}
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
}
.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head .eyebrow {
  margin-bottom: 0px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
 
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.stats-band {
  border-top: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.stat-cell {
  background: var(--void);
  padding: 40px 28px;
  text-align: center;
}
.stat-cell b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  background: linear-gradient(180deg, #f1f5f9, #1780d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
 
}
.stat-cell span {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), );
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 30px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(var(--accent-rgb), 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.4);
}
.service-card:hover::before {
  opacity: 1;
}
.service-num{
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 72px;      /* Increase: 80px, 90px, 100px */
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    opacity: 0.12;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(var(--accent-rgb), 0.13);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: rgb(var(--accent-rgb));
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}
.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  position: relative;
  margin-bottom: 18px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgb(var(--accent-rgb));
  position: relative;
}
.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}
.service-card:hover .service-link svg {
  transform: translateX(4px);
}
@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.why-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(23, 128, 212, 0.18),
      transparent 60%
    ),
    var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.orbit-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #6ec1f5,
    var(--blue) 60%,
    var(--blue-deep)
  );
  box-shadow: 0 0 60px rgba(23, 128, 212, 0.6);
  z-index: 2;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.why-item {
  display: flex;
  gap: 20px;
  /* padding: 40px 0; */
  border-bottom: 1px solid var(--line);
}
.why-item:first-child {
  padding-top: 0;
}
.why-item .wi-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(23, 128, 212, 0.1);
  border: 1px solid rgba(77, 168, 234, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item .wi-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-glow);
}
.why-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.why-item p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .why-wrap {
    grid-template-columns: 1fr;
  }
  .why-visual {
    max-width: 340px;
    margin: 0 auto;
  }
}
.process-flow {
  position: relative;
}
.process-line {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-glow));
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  row-gap: 56px;
  position: relative;
  z-index: 1;
}

/* remove the old single straight line across the whole section */
.process-flow .process-line {
  display: none;
}

/* connect each dot to the next dot in the SAME row */
.process-step {
  position: relative;
}
.process-step:not(:nth-child(4n)):not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px; /* vertical center of the 68px dot */
  left: calc(50% + 34px);
  width: calc(100% - 68px);
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-step:hover::after {
  background: var(--blue-glow);
}

@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-step:not(:nth-child(3n)):not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    left: calc(50% + 34px);
    width: calc(100% - 68px);
    height: 1px;
    background: var(--line);
    z-index: 0;
  }
  .process-step:nth-child(4n)::after {
    display: none;
  }
}
@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }
  .process-step::after {
    display: none;
  }
}
@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Process steps entrance animation ===== */
.process-step {
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step.reveal.active,
.process-step.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* stagger each step */
.process-step:nth-child(1) { transition-delay: 0.05s; }
.process-step:nth-child(2) { transition-delay: 0.15s; }
.process-step:nth-child(3) { transition-delay: 0.25s; }
.process-step:nth-child(4) { transition-delay: 0.35s; }
.process-step:nth-child(5) { transition-delay: 0.45s; }
.process-step:nth-child(6) { transition-delay: 0.55s; }
.process-step:nth-child(7) { transition-delay: 0.65s; }

/* dot pop + glow pulse once visible */
.process-dot {
  transform: scale(0.7);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.process-step.reveal.active .process-dot,
.process-step.reveal.in-view .process-dot {
  transform: scale(1);
  animation: dot-settle-glow 1.4s ease-out;
}
@keyframes dot-settle-glow {
  0% {
    box-shadow: 0 0 0 rgba(77, 168, 234, 0);
  }
  40% {
    box-shadow: 0 0 26px rgba(77, 168, 234, 0.55);
  }
  100% {
    box-shadow: 0 0 0 rgba(77, 168, 234, 0);
  }
}

/* connecting line: draw-in from left to right */
.process-step::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s ease 0.3s;
}
.process-step.reveal.active::after,
.process-step.reveal.in-view::after {
  transform: scaleX(1);
}

/* number tick-up feel on hover, plus existing hover styles stay */
.process-step:hover .process-dot {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .process-step,
  .process-dot,
  .process-step::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-tile {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: 0.3s;
}
.industry-tile:hover {
  border-color: rgba(77, 168, 234, 0.3);
  transform: translateY(-4px);
}
.industry-tile h5 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.industry-tile span {
  font-size: 13px;
  color: var(--muted-2);
}
@media (max-width: 900px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  transition: 0.35s;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 168, 234, 0.3);
}
.pc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pc-bg.b1 {
  background: linear-gradient(155deg, #1a2740, #10192b 70%);
}
.pc-bg.b2 {
  background: linear-gradient(155deg, #221d3a, #10192b 70%);
}
.pc-bg.b3 {
  background: linear-gradient(155deg, #143247, #10192b 70%);
}
.pc-tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-glow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pc-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pc-desc {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
a.portfolio-card {
  display: flex;
  text-decoration: none;
}
.pc-monogram {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(46px, 8vw, 68px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(var(--white-rgb), 0.05);
  pointer-events: none;
  user-select: none;
}
.pc-thumb-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(var(--surface-rgb), 0.94) 100%
  );
  pointer-events: none;
}
.pc-body {
  position: relative;
  z-index: 2;
}
.pc-body .pc-title {
  margin-bottom: 6px;
}
.pc-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-glow);
}
.pc-visit svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}
.portfolio-card:hover .pc-visit svg {
  transform: translate(3px, -3px);
}

/* testimonials */
.test-track-wrap {
  overflow: hidden;
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.test-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
/* Default (Dark Theme) */
.test-quote {
  font-size: 15.5px;
  line-height: 1.7;
  color: #ffffff;
}

/* Light Theme */
html[data-theme="light"] .test-quote {
  color: #121314;
}
.test-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #f1f1f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.test-person b {
  display: block;
  font-size: 14px;
}
.test-person span {
  font-size: 12.5px;
  color: var(--muted-2);
}
@media (max-width: 900px) {
  .test-grid {
    grid-template-columns: 1fr;
  }
}

.tech-band {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-banner {
  position: relative;
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(
      ellipse 80% 100% at 50% 120%,
      rgba(23, 128, 212, 0.35),
      transparent 60%
    ),
    var(--surface);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.cta-banner p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 16px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .cta-banner {
    padding: 56px 26px;
  }
}

footer {
  padding-top: 90px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand img {
  height: 26px;
  margin-bottom: 18px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 22px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(247, 248, 252, 0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}
.social-row a:hover {
  border-color: var(--blue-glow);
  background: rgba(23, 128, 212, 0.1);
  color: var(--blue-glow);
}
.social-row svg {
  width: 16px;
  height: 16px;
}
.fcol h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.fcol a,
.fcol .fitem {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 13px;
  transition: 0.2s;
}
.fcol a:hover {
  color: var(--white);
}
.fcol .fitem {
  color: var(--muted);
}
.fcol .fitem b {
  display: block;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 2px;
}
.newsletter-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.newsletter-row input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  font-size: 13.5px;
}
.newsletter-row input::placeholder {
  color: var(--muted-2);
}
.newsletter-row button {
  background: var(--blue);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .flinks {
  display: flex;
  gap: 22px;
}
.footer-bottom .flinks a:hover {
  color: var(--white);
}
@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.sticky-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sticky-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}
.sticky-btn:hover {
  transform: scale(1.08);
}
.sticky-btn.whatsapp {
  background: #25d366;
}
.sticky-btn.call {
  background: var(--blue);
}
.sticky-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
@media (max-width: 640px) {
  .sticky-actions {
    right: 16px;
    bottom: 16px;
  }
  .sticky-btn {
    width: 46px;
    height: 46px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ===== INNER PAGES ===== */
.page-hero {
  position: relative;
  padding: 36px 0 100px;
  overflow: hidden;

}
.page-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(
    circle,
    rgba(23, 128, 212, 0.22),
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}


/* ===== Breadcrumb bar — sits right under the fixed nav, every inner page ===== */
/* ===== Breadcrumb Bar ===== */

/* Dark Theme (Default) */
.breadcrumb-bar {
  position: relative;
  z-index: 3;
  margin-top: 78px;
  padding: 15px 0;
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-bar .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.breadcrumb-bar .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s ease;
}

.breadcrumb-bar .breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb-bar .breadcrumb svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  flex-shrink: 0;
}

.breadcrumb-bar .breadcrumb span {
  color: #ffffff;
  font-weight: 500;
}

/* ===== Light Theme ===== */
html[data-theme="light"] .breadcrumb-bar {
  background: #badbe4;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .breadcrumb-bar .breadcrumb {
  color: #0f172a;
}

html[data-theme="light"] .breadcrumb-bar .breadcrumb a {
  color: #64748b;
}

html[data-theme="light"] .breadcrumb-bar .breadcrumb a:hover {
  color: #0f172a;
}

html[data-theme="light"] .breadcrumb-bar .breadcrumb svg {
  stroke: #0f172a;
}

html[data-theme="light"] .breadcrumb-bar .breadcrumb span {
  color: #0f172a;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .breadcrumb-bar {
    margin-top: 70px;
  }
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.page-hero p.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.page-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 40px 0 70px;
  }
}

.page-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phv-glow {
  position: absolute;
  inset: 6%;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(23, 128, 212, 0.35),
    transparent 68%
  );
  filter: blur(30px);
  z-index: 0;
  animation: phvPulse 5s ease-in-out infinite;
}
@keyframes phvPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}
.phv-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.18);
}
.phv-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.phv-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--surface-rgb), 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  padding: 10px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.18);
}
.phv-float b {
  color: var(--blue-glow);
  font-weight: 600;
}
.phv-float.f1 {
  top: 8%;
  left: -4%;
  animation: floatY 4.5s ease-in-out infinite;
}
.phv-float.f2 {
  bottom: 10%;
  right: -6%;
  animation: floatY 4.5s ease-in-out infinite 1.4s;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 980px) {
  .page-hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }
  .phv-float {
    display: none;
  }
}

.crumb-sep {
  width: 12px;
  height: 12px;
  stroke: var(--muted-2);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 168, 234, 0.3);
}
.team-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--blue), #f7f8f9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
}
.team-card h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-card span {
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
}
@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
   background: radial-gradient(
    circle at 30% 0%,
    rgba(var(--accent-rgb), 0.16),
    transparent 60%
  );
  transition: 0.3s;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 168, 234, 0.3);
}
.value-card .service-icon {
  margin-bottom: 20px;
}
.value-card h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 980px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--blue-glow);
  box-shadow: 0 0 12px rgba(77, 168, 234, 0.5);
}
.timeline-item .t-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-glow);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}
.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  transition: 0.35s;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 168, 234, 0.3);
}
.case-card .case-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.case-tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-glow);
  border: 1px solid rgba(77, 168, 234, 0.3);
  background: rgba(23, 128, 212, 0.08);
  padding: 5px 12px;
  border-radius: 100px;
}
.case-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}
.case-card p {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 18px;
}
.case-stats-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
}
.case-stats-row div b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}
.case-stats-row div span {
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
}
@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-tab {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: 0.25s;
  cursor: pointer;
}
.filter-tab.active,
.filter-tab:hover {
  color: var(--white);
  border-color: var(--blue-glow);
  background: rgba(23, 128, 212, 0.1);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  transition: 0.35s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 168, 234, 0.3);
}
.blog-thumb {
  height: 190px;
  position: relative;
}
.blog-thumb.b1 {
  background: linear-gradient(155deg, #1a2740, #10192b 70%);
}
.blog-thumb.b2 {
  background: linear-gradient(155deg, #221d3a, #10192b 70%);
}
.blog-thumb.b3 {
  background: linear-gradient(155deg, #143247, #10192b 70%);
}
.blog-thumb.b4 {
  background: linear-gradient(155deg, #271f3d, #10192b 70%);
}
.blog-thumb.b5 {
  background: linear-gradient(155deg, #163022, #10192b 70%);
}
.blog-thumb.b6 {
  background: linear-gradient(155deg, #3a2019, #10192b 70%);
}
.blog-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-body h3 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 14px;
  transition: 0.3s;
  flex-wrap: wrap;
}
.job-item:hover {
  border-color: rgba(77, 168, 234, 0.3);
  background: rgba(23, 128, 212, 0.04);
}
.job-info h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.job-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.job-tag {
  font-size: 12px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  border: 1px solid var(--line-strong);
  padding: 4px 12px;
  border-radius: 100px;
}
.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.perk-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.perk-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.perk-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .perk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .perk-grid {
    grid-template-columns: 1fr;
  }
}

.faq-list {
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
}
.faq-q svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-q svg {
  transform: rotate(45deg);
  stroke: var(--blue-glow);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 4px 26px;
  max-width: 680px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 50px;
  align-items: start;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--white);
  font-size: 14.5px;
  font-family: inherit;
  transition: 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-glow);
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-2);
}
.contact-info-card {
  background: linear-gradient(180deg, var(--surface), rgba(113, 164, 235, 0.5));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 10px;
}
.contact-info-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 18px;
}
.contact-info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-row:last-child {
  border-bottom: none;
}
.contact-info-row .ci-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(23, 128, 212, 0.1);
  border: 1px solid rgba(77, 168, 234, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-row .ci-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--blue-glow);
}
.contact-info-row b {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.contact-info-row span {
  font-size: 13px;
  color: var(--muted);
}
.map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 220px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(0.96);
}
@media (max-width: 980px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

.legal-content {
  max-width: 760px;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 16px 22px;
}
.legal-content li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 8px;
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.05em;
  margin-bottom: 44px;
  display: inline-block;
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 100px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}
.page-num {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  color: var(--muted);
  transition: 0.25s;
}
.page-num.active,
.page-num:hover {
  border-color: var(--blue-glow);
  color: var(--white);
  background: rgba(23, 128, 212, 0.1);
}

.page-hero h1 .grad {
  background: linear-gradient(
    97deg,
    var(--blue-glow),
    var(--blue) 60%,
    #8f5bff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.offer-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface), rgba(16, 32, 54, 0.5));
  transition: 0.3s;
}
.offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 168, 234, 0.3);
}
.offer-check {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(23, 128, 212, 0.12);
  border: 1px solid rgba(77, 168, 234, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-check svg {
  width: 15px;
  height: 15px;
  stroke: var(--blue-glow);
}
.offer-card span {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
  padding-top: 4px;
}
@media (max-width: 980px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.tech-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface), rgba(16, 32, 54, 0.5));
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: 0.3s;
}
.tech-chip:hover {
  color: var(--white);
  border-color: rgba(77, 168, 234, 0.35);
  transform: translateY(-3px);
}
@media (max-width: 980px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 640px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 460px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface), rgba(16, 32, 54, 0.5));
  transition: 0.35s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 168, 234, 0.3);
}
.pricing-card.featured {
  border-color: rgba(77, 168, 234, 0.45);
  background: linear-gradient(
    180deg,
    rgba(23, 128, 212, 0.1),
    rgba(16, 32, 54, 0.6)
  );
}
.pricing-tag {
  position: absolute;
  top: -13px;
  right: 28px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 100px;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.pricing-audience {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 26px;
}
.pricing-amount span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 30px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.pricing-features li svg {
  flex: none;
  width: 15px;
  height: 15px;
  stroke: var(--blue-glow);
  margin-top: 2px;
}
.pricing-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 6px;
  font-style: italic;
}
@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.error-wrap {
  text-align: center;
  padding: 180px 0 140px;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(90px, 16vw, 180px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(
    97deg,
    var(--blue-glow),
    var(--blue) 60%,
    #8f5bff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

/* ===== START A PROJECT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 34px 36px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.modal-dialog .contact-form {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.modal-dialog .form-row {
  margin-bottom: 14px;
}
.modal-dialog .form-group {
  margin-bottom: 14px;
}
.modal-dialog .form-group input,
.modal-dialog .form-group select,
.modal-dialog .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
}
.modal-dialog .form-group textarea {
  min-height: 90px;
}
.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.modal-close:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(90deg);
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin: 10px 0 6px;
}
.modal-header p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 20px;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 600px) {
  .modal-dialog {
    padding: 26px 20px;
  }
  .modal-dialog .form-row {
    grid-template-columns: 1fr;
  }
  .modal-header h3 {
    font-size: 20px;
  }
}

.form-group input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
}
.form-group input[type="file"]::file-selector-button {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  margin-right: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.form-group input[type="file"]::file-selector-button:hover {
  background: var(--blue-deep);
}
.radio-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-group {
  margin-bottom: 8px;
}
.checkbox-option a {
  color: var(--blue-glow);
  text-decoration: underline;
}

/* ======================================================================
   HERO — AI NEURAL BRAIN (light theme)
====================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 50px 0 90px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(
    120% 90% at 82% 8%,
    #16233d 0%,
    var(--surface) 45%,
    var(--void) 100%
  );
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#brainCanvas {
  position: absolute;
  top: 0;
  right: -6%;
  width: 66%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.1s ease;
}
#brainCanvas.is-ready {
  opacity: 1;
}
.hero-aurora {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background:
    radial-gradient(
      38% 45% at 18% 20%,
      rgba(143, 91, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      40% 50% at 78% 12%,
      rgba(34, 178, 224, 0.16),
      transparent 60%
    ),
    radial-gradient(
      45% 55% at 60% 85%,
      rgba(23, 128, 212, 0.18),
      transparent 60%
    );
  filter: blur(10px);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2%, 2%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(2%, -2%, 0) scale(1.02);
  }
}
.hero-stars {
  display: none;
}
.hero-cursor-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 40%),
    rgba(23, 128, 212, 0.16),
    transparent 62%
  );
  transition: opacity 0.4s ease;
  opacity: 0;
}
.hero:hover .hero-cursor-glow {
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 32px;
  align-items: center;
  width: 100%;
}
.hero-copy {
  position: relative;
  padding: 38px 40px 38px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-deep);
  border: 1px solid rgba(23, 128, 212, 0.3);
  background: rgba(23, 128, 212, 0.06);
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: inline-block;
}
.hero h1 .grad {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    97deg,
    #1e8fae,
    var(--blue-glow) 45%,
    var(--blue) 65%,
    #8f5bff
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 7s ease-in-out infinite;
}
@keyframes grad-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.hero h1 .grad::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1e8fae, var(--blue-glow), #8f5bff);
  background-size: 220% 100%;
  animation: grad-shift 7s ease-in-out infinite;
  opacity: 0.75;
}
.hero p.lead {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 38px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
}
.hero-stat span {
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* ===== Hero trust strip (avatars + rating) ===== */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatars .ta {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, var(--tc, var(--blue)), rgba(0, 0, 0, 0.25));
  border: 2px solid var(--surface);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  margin-left: -10px;
}
.hero-trust-avatars .ta:first-child {
  margin-left: 0;
}
.hero-trust-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-trust-stars {
  display: flex;
  gap: 2px;
  color: #f5b942;
}
.hero-trust-stars svg {
  width: 13px;
  height: 13px;
}
.hero-trust-copy span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ===== Hero "live" status badge (floats over the visual) ===== */
.hero-live-badge {
  position: absolute;
  top: 6%;
  left: 2%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--white);
  background: rgba(var(--surface-rgb), 0.55);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.5);
  animation: heroBadgeFloat 4.5s ease-in-out infinite;
}
.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes heroBadgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.btn-magnet {
  position: relative;
  will-change: transform;
}
.btn-magnet span {
  pointer-events: none;
}
.btn-primary.btn-magnet {
  background: linear-gradient(97deg, var(--blue), #8f5bff);
  box-shadow:
    0 0 0 1px rgba(var(--white-rgb), 0.15) inset,
    0 12px 34px -14px rgba(23, 128, 212, 0.5);
}
.btn-primary.btn-magnet:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(var(--white-rgb), 0.2) inset,
    0 16px 42px -12px rgba(143, 91, 255, 0.5);
}
.btn-ghost.btn-magnet {
  backdrop-filter: blur(6px);
  background: rgba(var(--surface-rgb), 0.4);
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.5);
  transform: scale(0);
  animation: btn-ripple-anim 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes btn-ripple-anim {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.hero-visual-frame {
  position: relative;
  height: 580px;
  z-index: 2;
  --brain-cyan: #0891b2;
  --brain-cyan-2: #2563eb;
  --brain-orange: #ea8a1f;
  --brain-purple: #7c3aed;
  transform: translateY(-64px);
}
.hero-brain-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(86%, 560px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  border: 1.5px solid rgba(23, 128, 212, 0.28);
  box-shadow:
    0 0 26px rgba(8, 145, 178, 0.16),
    inset 0 0 30px rgba(124, 58, 237, 0.1);
  animation: orbit-spin 46s linear infinite;
}
.hero-brain-orbit::before,
.hero-brain-orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brain-cyan);
  box-shadow:
    0 0 10px var(--brain-cyan),
    0 0 22px var(--brain-cyan);
  top: -3.5px;
  left: calc(50% - 3.5px);
}
.hero-brain-orbit::after {
  top: auto;
  bottom: -3.5px;
  background: var(--brain-purple);
  box-shadow:
    0 0 10px var(--brain-purple),
    0 0 22px var(--brain-purple);
}
@keyframes orbit-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-brain-orbit {
    animation: none;
  }
}

/* Bare orbit-ring used directly inside hero (index.html has no r1/r2/r3 class here) */
.hero-visual-frame > .orbit-ring {
  left: 50%;
  top: 50%;
  width: min(84%, 540px);
  aspect-ratio: 1/1;
  transform: translate(-50%, -50%);
  border-color: rgba(23, 128, 212, 0.22);
  /* box-shadow: */
    0 0 26px rgba(8, 145, 178, 0.14),
    inset 0 0 30px rgba(124, 58, 237, 0.08);
  animation: spin 50s linear infinite;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual-frame > .orbit-ring {
    animation: none;
  }
}

/* Real hero image (assets/img/hero-brain-neural.png) — used by index.html */
.brain-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.brain-glow-layer {
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(23, 128, 212, 0.22),
    transparent 68%
  );
  filter: blur(28px);
  animation: phvPulse 5s ease-in-out infinite;
}
@keyframes phvPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}
.hero-brain-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(23, 128, 212, 0.25));
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
#brainCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
#brainCanvas.is-ready {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .brain-stage,
  .brain-glow-layer {
    animation: none;
  }
}

.brain-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  max-width: 480px;
  aspect-ratio: 600 / 480;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(23, 128, 212, 0.18));
  animation: brain-float 6.5s ease-in-out infinite;
}
@keyframes brain-float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-9px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .brain-wrap {
    animation: none;
  }
}
.brain-profile-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}
.brain-mesh-lines line {
  stroke: var(--brain-cyan);
  stroke-width: 1;
  opacity: 0.4;
}
.brain-outline {
  fill: none;
  stroke: var(--brain-cyan-2);
  stroke-width: 2;
  opacity: 0.9;
}
.bnode {
  fill: var(--brain-cyan);
  opacity: 0.55;
  animation: bnode-pulse 2.8s ease-in-out infinite;
}
.bhot {
  fill: var(--brain-orange);
  opacity: 0.75;
  filter: drop-shadow(0 0 6px var(--brain-orange));
  animation: bhot-pulse 2.3s ease-in-out infinite;
}
@keyframes bnode-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.9;
  }
}
@keyframes bhot-pulse {
  0%,
  100% {
    opacity: 0.55;
    r: 3;
  }
  50% {
    opacity: 1;
    r: 4.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bnode,
  .bhot {
    animation: none;
    opacity: 0.85;
  }
}
.neuro-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}
.neuro-lines .neuro-path {
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0.45;
}
.neuro-lines .neuro-spark {
  filter: drop-shadow(0 0 4px currentColor);
}

.neuro-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%) translate3d(var(--tx, 0), var(--ty, 0), 0);
  animation: neuro-float 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.45s);
}
@keyframes neuro-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}
.neuro-glass {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--surface-rgb), 0.65);
  border: 1px solid rgba(var(--white-rgb), 0.08);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(23, 128, 212, 0.05) inset,
    0 8px 22px -10px rgba(15, 23, 42, 0.18),
    0 0 18px -6px rgba(23, 128, 212, 0.2);
  color: var(--blue-deep);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}
.neuro-glass svg {
  width: 22px;
  height: 22px;
}
.neuro-icon:hover .neuro-glass {
  transform: scale(1.14);
  color: var(--blue);
  border-color: rgba(23, 128, 212, 0.5);
  box-shadow:
    0 0 0 1px rgba(23, 128, 212, 0.15) inset,
    0 10px 26px -10px rgba(15, 23, 42, 0.22),
    0 0 28px -4px rgba(23, 128, 212, 0.35);
}
.neuro-icon em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  background: rgba(var(--surface-rgb), 0.92);
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid var(--line);
}
.neuro-icon:hover em {
  opacity: 1;
  transform: translateY(0);
}

.pipeline-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--surface-rgb), 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
  z-index: 3;
}
.pipeline-badge b {
  color: var(--blue-deep);
  font-weight: 600;
}
.pipeline-badge .sep {
  color: var(--muted-2);
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  z-index: 4;
}
.scroll-cue .line-v {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--muted-2), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line-v::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--blue);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

@media (max-width: 1180px) {
  .hero-copy {
    padding-right: 0;
  }
  .neuro-glass {
    width: 50px;
    height: 50px;
  }
  .neuro-glass svg {
    width: 19px;
    height: 19px;
  }
}
@media (max-width: 980px) {
  .hero {
    padding: 130px 0 60px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-visual-frame {
    height: 420px;
    order: -1;
    margin-bottom: 12px;
    transform: none;
  }
  #brainCanvas {
    right: 0;
    width: 100%;
  }
  .neuro-icon em {
    display: none;
  }
  .scroll-cue {
    display: none;
  }
  .hero-brain-orbit {
    width: min(90%, 380px);
  }
  .brain-wrap {
    width: 78%;
    max-width: 340px;
  }
  .brain-stage {
    width: 72%;
    max-width: 320px;
  }
}
@media (max-width: 640px) {
  .hero-visual-frame {
    height: 340px;
  }
  .hero-brain-orbit {
    width: min(92%, 290px);
  }
  .brain-wrap {
    width: 80%;
    max-width: 250px;
  }
  .brain-stage {
    width: 74%;
    max-width: 240px;
  }
  .neuro-glass {
    width: 42px;
    height: 42px;
  }
  .neuro-glass svg {
    width: 16px;
    height: 16px;
  }
  .pipeline-badge {
    font-size: 10px;
    padding: 8px 14px;
    gap: 6px;
  }
  .hero-stats {
    gap: 24px;
  }
  .hero-live-badge {
    font-size: 10px;
    padding: 7px 12px;
    top: 4%;
    left: 4%;
  }
  .hero-trust {
    margin-bottom: 28px;
  }
}
@media (max-width: 980px) {
  .hero-live-badge {
    top: 10px;
    left: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora,
  .neuro-icon,
  .hero h1 .grad,
  .hero h1 .grad::after,
  .eyebrow .dot,
  .hero-live-dot,
  .hero-live-badge,
  .scroll-cue .line-v::after {
    animation: none !important;
  }
}
.process-flow {
  position: relative;
}
.process-line {
  display: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
  border-top: none;
  border-left: none;
}

.process-step {
  position: relative;
  padding: 40px 28px 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease,
    border-color 0.4s ease;
}
.process-step.active {
  opacity: 1;
  transform: translateY(0);
}

/* giant ghost number in the background */
.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: -6px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 700;
  line-height: 1;
  color: rgba(var(--white-rgb), 0.035);
  z-index: 0;
  pointer-events: none;
  transition: color 0.4s ease, transform 0.5s ease;
}
.process-step:hover::before {
  color: rgba(var(--white-rgb), 0.07);
  transform: translateY(-4px);
}

.process-step:hover {
  background: rgba(var(--white-rgb), 0.03);
}

.process-dot {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  background: none;
  border: none;
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background-color: var(--surface-2);
}

.process-step h4 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.process-step p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 220px;
}

@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-step::before {
    font-size: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step, .process-step::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.process-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 24px);
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(77, 168, 234, 0.55);
  border-right: 1px solid rgba(77, 168, 234, 0.55);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  transition: border-color 0.4s ease;
}

/* stronger connector once the step has animated in */
.process-step.active .process-dot::after {
  background: linear-gradient(
    90deg,
    var(--blue-glow),
    rgba(77, 168, 234, 0.1)
  );
}
/* .process-step.active .process-dot::before {
  border-color: var(--blue-glow);
} */

/* hide connector at end of each row: 4th item (end of row 1) and last item overall */
/* .process-step:nth-child(4n) .process-dot::after,
.process-step:nth-child(4n) .process-dot::before,
.process-step:last-child .process-dot::after,
.process-step:last-child .process-dot::before {
  display: none;
} */

/* connector only makes sense in the 4-column layout — hide below 1100px */
@media (max-width: 1100px) {
  .process-dot::after,
  .process-dot::before {
    display: none;
  }
}
.why-visual{
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-visual img{
    width: 100%;
    max-width: 600px;   /* Adjust as needed */
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.12));
    transition: transform .4s ease;
    display: block;
}

.why-visual:hover img{
    transform: translateY(-8px) scale(1.03);
}