:root {
  color-scheme: dark;
  --bg: #06101f;
  --bg-deep: #030a14;
  --surface: #0a1729;
  --surface-2: #0d1d32;
  --surface-3: #10243d;
  --line: rgba(124, 173, 219, 0.16);
  --line-bright: rgba(55, 215, 255, 0.34);
  --text: #f4f9ff;
  --muted: #9eb0c6;
  --blue: #2376ff;
  --cyan: #20dfff;
  --cyan-soft: #79ecff;
  --purple: #7668ff;
  --success: #43e7bd;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 48% -20%, rgba(27, 112, 255, 0.12), transparent 38rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

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

button, textarea { font: inherit; }

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

button:focus-visible, a:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(32, 223, 255, 0.55);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #01101a;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.075;
  pointer-events: none;
}

.page-glow-one { top: 20%; left: -300px; background: var(--blue); }
.page-glow-two { right: -300px; top: 58%; background: var(--cyan); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(6, 16, 31, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 200ms ease, background 200ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(5, 14, 27, 0.92);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  width: 226px;
  flex: 0 0 auto;
  border-radius: 9px;
}

.brand img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 9px rgba(29, 198, 255, 0.12));
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  position: relative;
  color: #aebdd0;
  font-size: 0.89rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: color 180ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--cyan);
  transition: right 180ms ease;
}

.primary-nav a:hover { color: var(--text); }
.primary-nav a:hover::after { right: 0; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 760;
  letter-spacing: -0.015em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-small {
  min-height: 43px;
  padding-inline: 18px;
  border-color: rgba(80, 208, 255, 0.35);
  background: rgba(26, 112, 255, 0.12);
  color: #dbf7ff;
  font-size: 0.86rem;
}

.button-small:hover { background: rgba(26, 112, 255, 0.22); border-color: var(--cyan); }

.button-primary {
  background: linear-gradient(135deg, #286fff, #17cfee);
  color: white;
  box-shadow: 0 12px 34px rgba(23, 148, 255, 0.25);
}

.button-primary:hover { box-shadow: 0 16px 42px rgba(23, 185, 255, 0.36); }

.button-ghost {
  border-color: rgba(151, 183, 216, 0.24);
  background: rgba(11, 27, 47, 0.66);
  color: #d8e5f3;
}

.button-ghost:hover { border-color: rgba(32, 223, 255, 0.5); background: rgba(18, 42, 70, 0.8); }

.nav-toggle { display: none; }

.section-shell { position: relative; }

.hero {
  padding: 86px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(65, 131, 198, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 131, 198, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-grid {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px var(--cyan);
}

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

h1, h2 {
  letter-spacing: -0.055em;
  line-height: 1.03;
}

h1 {
  max-width: 680px;
  margin-bottom: 25px;
  font-size: clamp(3.4rem, 6.3vw, 6.45rem);
  font-weight: 820;
}

h1 span, h2 span {
  background: linear-gradient(102deg, #39e4ff 5%, #3489ff 60%, #8170ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.17rem);
  line-height: 1.75;
}

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

.hero-proof {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  color: #a7b9ce;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-proof span { color: var(--success); }

.brain-column { min-width: 0; text-align: center; }

.brain-stage {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  margin: 0 auto;
  isolation: isolate;
  perspective: 1100px;
}

.brain-stage::before,
.brain-stage::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}

.brain-stage::before {
  inset: 2%;
  border: 1px solid rgba(76, 219, 255, 0.09);
  background:
    radial-gradient(circle at 50% 45%, rgba(21, 173, 255, 0.18), transparent 43%),
    radial-gradient(circle, rgba(21, 142, 246, 0.08), transparent 70%);
  box-shadow: inset 0 0 90px rgba(27, 161, 255, 0.075);
}

.brain-stage::after {
  left: 19%;
  right: 19%;
  bottom: 4%;
  height: 8%;
  background: rgba(30, 204, 255, 0.42);
  filter: blur(26px);
}

.brain-aura {
  position: absolute;
  z-index: 0;
  inset: 13% 17% 22%;
  border-radius: 48%;
  background: radial-gradient(circle, rgba(56, 227, 255, 0.26), rgba(35, 118, 255, 0.08) 52%, transparent 74%);
  filter: blur(28px);
  animation: breathe 4s ease-in-out infinite;
}

.brain-grid {
  position: absolute;
  z-index: 0;
  inset: 16% 2% 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(45, 198, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 198, 255, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 75%, black 0%, transparent 72%);
  transform: rotateX(62deg) translateY(17%);
  transform-origin: center bottom;
}

.brain-beam {
  position: absolute;
  z-index: 1;
  left: 38%;
  right: 38%;
  top: 56%;
  bottom: 15%;
  opacity: 0.42;
  background: linear-gradient(to bottom, rgba(75, 229, 255, 0.04), rgba(34, 202, 255, 0.52));
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
  filter: blur(9px);
  animation: beam-pulse 2.8s ease-in-out infinite;
}

.brain-model {
  position: absolute;
  z-index: 3;
  top: 2.5%;
  left: 10%;
  width: 80%;
  transform-style: preserve-3d;
  transform: rotateX(var(--brain-pitch, 0deg)) rotateY(var(--brain-yaw, 0deg));
  transition: transform 280ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.brain-rotor {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  animation: brain-sculpt-turn 8.5s ease-in-out infinite;
  will-change: transform;
}

.brain-image,
.brain-depth {
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.brain-image {
  position: relative;
  z-index: 3;
  filter:
    saturate(1.08)
    drop-shadow(0 0 9px rgba(91, 235, 255, 0.65))
    drop-shadow(0 0 34px rgba(22, 137, 255, 0.4));
}

.brain-depth {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  filter: blur(6px) brightness(1.25);
}

.brain-depth-back { transform: translateZ(-36px) scale(0.985); opacity: 0.1; }
.brain-depth-mid { transform: translateZ(-18px) scale(0.993); opacity: 0.17; }

.brain-scan {
  position: absolute;
  z-index: 4;
  inset: 8% 7% 12%;
  overflow: hidden;
  border-radius: 48%;
  pointer-events: none;
  mask-image: url("assets/brain-hero-v2.png");
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("assets/brain-hero-v2.png");
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}

.brain-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 12%;
  background: linear-gradient(to bottom, transparent, rgba(213, 253, 255, 0.75), transparent);
  filter: blur(2px);
  animation: brain-scan 4.6s linear infinite;
}

.brain-card {
  position: absolute;
  z-index: 2;
  width: 126px;
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(73, 210, 255, 0.43);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(16, 66, 115, 0.76), rgba(5, 28, 55, 0.52));
  box-shadow: inset 0 0 24px rgba(30, 196, 255, 0.08), 0 15px 34px rgba(0, 0, 0, 0.28), 0 0 20px rgba(23, 159, 255, 0.07);
  backdrop-filter: blur(7px);
  color: #ecfbff;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transform-style: preserve-3d;
}

.brain-card svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #6fe9ff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(53, 219, 255, 0.55));
}

.brain-card-one { top: 13%; left: 0; transform: perspective(500px) rotateY(11deg); animation: card-float-left 5s ease-in-out infinite; }
.brain-card-two { top: 14%; right: 0; transform: perspective(500px) rotateY(-11deg); animation: card-float-right 5.6s ease-in-out infinite; }
.brain-card-three { bottom: 24%; left: 1%; transform: perspective(500px) rotateY(11deg); animation: card-float-left 6s ease-in-out infinite reverse; }
.brain-card-four { right: 1%; bottom: 25%; transform: perspective(500px) rotateY(-11deg); animation: card-float-right 5.3s ease-in-out infinite reverse; }

.holo-pedestal {
  position: absolute;
  z-index: 1;
  left: 20%;
  bottom: 2%;
  width: 60%;
  height: 108px;
  transform-style: preserve-3d;
}

.holo-pedestal::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 31px;
  bottom: 8px;
  border: 1px solid rgba(66, 207, 255, 0.56);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(22, 105, 183, 0.28), rgba(4, 23, 46, 0.74));
  box-shadow: inset 0 -13px 22px rgba(20, 122, 214, 0.18), 0 14px 25px rgba(0, 0, 0, 0.28), 0 0 20px rgba(40, 199, 255, 0.13);
}

.pedestal-top {
  position: absolute;
  z-index: 2;
  left: 3%;
  right: 3%;
  top: 2px;
  height: 64px;
  border: 2px solid rgba(73, 223, 255, 0.85);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 88, 159, 0.7), rgba(3, 23, 49, 0.88));
  box-shadow: inset 0 0 24px rgba(41, 188, 255, 0.28), 0 0 20px rgba(30, 210, 255, 0.26);
  transform: perspective(400px) rotateX(55deg);
}

.pedestal-ring {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 28px;
  border: 2px solid rgba(118, 242, 255, 0.86);
  border-radius: 50%;
  transform: translate(-50%, -50%) perspective(300px) rotateX(64deg);
  box-shadow: 0 0 12px rgba(32, 218, 255, 0.55);
  animation: pedestal-pulse 2.5s ease-in-out infinite;
}

.pedestal-ring-one { width: 96px; height: 42px; }
.pedestal-ring-two { width: 54px; height: 24px; animation-delay: -1.1s; }

.pedestal-mark {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 39px;
  transform: translateX(-50%);
  color: #d8fbff;
  font-size: 1.25rem;
  font-weight: 900;
  text-shadow: 0 0 13px var(--cyan);
}

.brain-status {
  width: max-content;
  max-width: 100%;
  margin: -18px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #849bb4;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.brain-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(67, 231, 189, 0.8);
  animation: blink 1.7s ease-in-out infinite;
}

.hero-metrics {
  margin-top: 58px;
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(3, 0.7fr) 1.9fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics > * {
  margin: 0;
  padding: 25px 24px;
  border-right: 1px solid var(--line);
}

.hero-metrics > :first-child { padding-left: 0; }
.hero-metrics > :last-child { border-right: 0; padding-right: 0; }
.hero-metrics div { display: flex; flex-direction: column; justify-content: center; }
.hero-metrics strong { color: #dffaff; font-size: 1.15rem; line-height: 1.2; }
.hero-metrics span { color: #7f96b0; font-size: 0.78rem; }
.hero-metrics p { align-self: center; color: #8fa3ba; font-size: 0.86rem; line-height: 1.6; }

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

.section-alt {
  border-top: 1px solid rgba(123, 172, 219, 0.1);
  border-bottom: 1px solid rgba(123, 172, 219, 0.1);
  background: linear-gradient(180deg, rgba(10, 25, 43, 0.76), rgba(7, 18, 32, 0.72));
}

.section-heading {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 50px;
  align-items: end;
}

.section-heading.compact { grid-template-columns: 1fr; }

.section-heading h2,
.demo-copy h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.55rem);
  font-weight: 790;
}

.section-heading > p,
.demo-copy > p {
  max-width: 470px;
  margin-bottom: 7px;
  color: var(--muted);
  line-height: 1.75;
}

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

.solution-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(140deg, rgba(18, 40, 68, 0.87), rgba(7, 20, 36, 0.88)),
    var(--surface);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.solution-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -120px;
  bottom: -130px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(80px);
  opacity: 0.04;
  transition: opacity 260ms ease;
}

.solution-card:hover { transform: translateY(-5px); border-color: rgba(47, 211, 255, 0.3); }
.solution-card:hover::after { opacity: 0.12; }

.card-number {
  position: absolute;
  top: 27px;
  right: 30px;
  color: rgba(140, 170, 203, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.icon-box {
  width: 52px;
  height: 52px;
  margin-bottom: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(55, 218, 255, 0.24);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(35, 118, 255, 0.19), rgba(32, 223, 255, 0.06));
  color: var(--cyan-soft);
  box-shadow: inset 0 0 24px rgba(32, 223, 255, 0.04);
}

.icon-box svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3,
.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
  letter-spacing: -0.03em;
}

.solution-card p,
.service-card p {
  max-width: 490px;
  margin-bottom: 22px;
  color: #91a5bc;
  font-size: 0.93rem;
  line-height: 1.7;
}

.solution-card ul {
  margin: 0;
  padding: 19px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  border-top: 1px solid var(--line);
  list-style: none;
  color: #b1c4d8;
  font-size: 0.77rem;
}

.solution-card li::before { content: "·"; margin-right: 7px; color: var(--cyan); }

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

.service-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(10, 24, 42, 0.7);
  transition: transform 260ms ease, border-color 260ms ease;
}

.service-card:hover { transform: translateY(-5px); border-color: rgba(54, 213, 255, 0.28); }

.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 31px; }
.service-top span:first-child { color: var(--cyan-soft); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.service-top span:last-child { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #9fc9e2; }

.service-visual {
  position: relative;
  height: 165px;
  margin-top: auto;
  border: 1px solid rgba(86, 156, 220, 0.13);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(17, 46, 77, 0.74), rgba(5, 17, 31, 0.7));
  overflow: hidden;
}

.browser-visual i {
  position: absolute;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(116, 199, 235, 0.5);
}
.browser-visual i:nth-child(1) { left: 14px; }
.browser-visual i:nth-child(2) { left: 25px; }
.browser-visual i:nth-child(3) { left: 36px; }
.browser-visual::after { content: ""; position: absolute; top: 31px; left: 0; right: 0; height: 1px; background: var(--line); }
.browser-visual b { position: absolute; left: 17px; top: 51px; width: 42%; height: 74px; border-radius: 8px; background: linear-gradient(145deg, rgba(39, 119, 255, 0.35), rgba(31, 221, 255, 0.08)); }
.browser-visual em { position: absolute; right: 17px; top: 55px; width: 41%; height: 8px; border-radius: 9px; background: rgba(132, 183, 224, 0.2); box-shadow: 0 19px 0 rgba(132, 183, 224, 0.11), 0 38px 0 rgba(132, 183, 224, 0.11), 0 60px 0 -1px rgba(27, 205, 255, 0.26); }

.phone-visual { display: grid; place-items: center; }
.phone-visual > div { position: relative; width: 84px; height: 144px; border: 2px solid rgba(93, 208, 255, 0.35); border-radius: 17px; background: rgba(5, 16, 30, 0.8); box-shadow: 0 0 32px rgba(28, 160, 255, 0.1); }
.phone-visual > div::before { content: ""; position: absolute; top: 7px; left: 31px; width: 18px; height: 3px; border-radius: 4px; background: rgba(151, 198, 228, 0.25); }
.phone-visual i { position: absolute; left: 12px; right: 12px; top: 24px; height: 54px; border-radius: 9px; background: linear-gradient(150deg, rgba(44, 118, 255, 0.55), rgba(29, 225, 255, 0.16)); }
.phone-visual b { position: absolute; left: 12px; right: 26px; top: 90px; height: 6px; border-radius: 4px; background: rgba(153, 194, 222, 0.2); box-shadow: 0 13px 0 rgba(153, 194, 222, 0.11); }
.phone-visual em { position: absolute; left: 12px; bottom: 12px; width: 28px; height: 7px; border-radius: 6px; background: rgba(29, 218, 255, 0.38); }

.commerce-visual i, .commerce-visual b { position: absolute; top: 28px; width: 37%; height: 88px; border-radius: 10px; border: 1px solid rgba(75, 171, 230, 0.18); background: rgba(14, 41, 67, 0.7); }
.commerce-visual i { left: 8%; }
.commerce-visual b { right: 8%; }
.commerce-visual i::before, .commerce-visual b::before { content: ""; position: absolute; inset: 10px 10px 39px; border-radius: 6px; background: linear-gradient(145deg, rgba(35, 118, 255, 0.32), rgba(32, 223, 255, 0.08)); }
.commerce-visual i::after, .commerce-visual b::after { content: ""; position: absolute; left: 10px; right: 19px; bottom: 24px; height: 5px; border-radius: 5px; background: rgba(144, 185, 216, 0.17); box-shadow: 0 12px 0 rgba(28, 214, 255, 0.22); }
.commerce-visual em { position: absolute; z-index: 2; width: 34px; height: 34px; border-radius: 50%; left: calc(50% - 17px); top: 57px; background: #147ec6; box-shadow: 0 0 24px rgba(31, 212, 255, 0.35); }
.commerce-visual em::before { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #ddfbff; font-style: normal; font-weight: 500; }

.demo-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 77% 48%, rgba(32, 149, 255, 0.12), transparent 28rem),
    linear-gradient(155deg, #08182a, #06101e);
}

.demo-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 80px; align-items: center; }
.demo-copy h2 { margin-bottom: 25px; }
.privacy-note { width: max-content; margin-top: 30px; padding: 9px 13px; border: 1px solid rgba(67, 231, 189, 0.2); border-radius: 99px; background: rgba(67, 231, 189, 0.05); color: #8dc9bd; font-size: 0.74rem; }
.privacy-note span { margin-right: 7px; color: var(--success); }

.demo-panel {
  position: relative;
  min-height: 470px;
  padding: 34px;
  border: 1px solid rgba(80, 190, 242, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(7, 20, 37, 0.86);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.demo-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(45, 219, 255, 0.18), transparent 38%, rgba(82, 87, 255, 0.11));
  filter: blur(15px);
}

#ai-demo-form label { display: block; margin-bottom: 12px; color: #e0ecf8; font-size: 0.86rem; font-weight: 700; }

#business-input {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  padding: 17px;
  border: 1px solid rgba(121, 170, 214, 0.19);
  border-radius: 13px;
  background: rgba(2, 11, 22, 0.62);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

#business-input::placeholder { color: #61778e; }
#business-input:focus { border-color: rgba(36, 215, 255, 0.58); box-shadow: 0 0 0 4px rgba(32, 223, 255, 0.06); outline: 0; }

.example-prompts { margin: 13px 0 25px; display: flex; flex-wrap: wrap; gap: 7px; }
.example-prompts button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 31, 53, 0.8); color: #91aac2; cursor: pointer; font-size: 0.69rem; transition: color 180ms ease, border-color 180ms ease; }
.example-prompts button:hover { color: var(--cyan-soft); border-color: rgba(32, 223, 255, 0.3); }
.demo-submit { width: 100%; }

.demo-panel.loading .demo-submit { pointer-events: none; opacity: 0.7; }
.demo-panel.loading .demo-submit::before { content: ""; width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, 0.36); border-top-color: white; border-radius: 50%; animation: spinner 0.7s linear infinite; }

.demo-result { animation: result-in 350ms ease both; }
.result-heading { display: flex; align-items: center; gap: 14px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.result-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(43, 221, 255, 0.3); border-radius: 12px; background: rgba(31, 184, 255, 0.1); color: var(--cyan); box-shadow: 0 0 22px rgba(31, 210, 255, 0.08); }
.result-heading small { color: var(--cyan-soft); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; }
.result-heading h3 { margin: 2px 0 0; font-size: 1.16rem; }
.result-list { padding: 12px 0 7px; }
.result-item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; }
.result-item > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(35, 118, 255, 0.13); color: var(--cyan); font-size: 0.72rem; font-weight: 800; }
.result-item h4 { margin: 0 0 3px; font-size: 0.84rem; }
.result-item p { margin: 0; color: #8298ae; font-size: 0.76rem; line-height: 1.5; }
.result-reset { padding: 0; border: 0; border-bottom: 1px solid rgba(116, 202, 231, 0.3); background: transparent; color: #9ddcee; cursor: pointer; font-size: 0.75rem; }

.process-heading { align-items: center; }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: process; }
.process-list li { min-height: 128px; display: grid; grid-template-columns: 100px 1fr; gap: 35px; align-items: center; border-bottom: 1px solid var(--line); transition: background 220ms ease, padding 220ms ease; }
.process-list li:hover { padding-inline: 20px; background: rgba(20, 50, 80, 0.24); }
.process-list > li > span { color: var(--cyan); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; }
.process-list li div { display: grid; grid-template-columns: minmax(190px, 0.7fr) 1.3fr; gap: 30px; align-items: center; }
.process-list h3 { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
.process-list p { max-width: 570px; margin: 0; color: #8fa3b9; font-size: 0.91rem; }

.case-study {
  min-height: 490px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(15, 39, 65, 0.9), rgba(5, 17, 31, 0.94));
}

.case-visual { position: relative; min-height: 490px; overflow: hidden; background: radial-gradient(circle at 52% 50%, rgba(37, 132, 255, 0.23), transparent 45%), linear-gradient(135deg, rgba(10, 37, 68, 0.65), rgba(6, 19, 35, 0.6)); }
.case-visual::before { content: ""; position: absolute; inset: 0; opacity: 0.3; background-image: linear-gradient(rgba(84, 161, 217, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(84, 161, 217, 0.1) 1px, transparent 1px); background-size: 42px 42px; }
.case-orbit { position: absolute; width: 400px; height: 250px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-20deg); border: 1px solid rgba(45, 220, 255, 0.15); border-radius: 50%; animation: case-orbit 9s linear infinite; }
.case-orbit::after { content: ""; position: absolute; left: 14%; top: 3%; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.case-card { position: absolute; border: 1px solid rgba(105, 205, 255, 0.24); background: rgba(7, 25, 45, 0.86); box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34); backdrop-filter: blur(8px); }
.case-card-main { left: 50%; top: 50%; width: 230px; height: 178px; transform: translate(-50%, -50%) rotate(-4deg); padding: 34px 28px; border-radius: 22px; }
.case-card-main span { display: inline-grid; place-items: center; width: 45px; height: 45px; margin-right: 8px; border-radius: 12px; background: linear-gradient(135deg, #2d6bff, #19d1ed); color: white; font-weight: 850; }
.case-card-main strong { font-size: 1.35rem; letter-spacing: 0.08em; }
.case-card-main small { display: block; margin-top: 23px; color: #86a6c0; }
.case-card-mini { right: 7%; top: 16%; width: 126px; padding: 16px; border-radius: 15px; animation: float-b 5s ease-in-out infinite; }
.case-card-mini span { display: block; color: var(--cyan-soft); font-size: 1.3rem; font-weight: 800; }
.case-card-mini small { color: #829db4; font-size: 0.66rem; }
.case-card-phone { left: 8%; bottom: 10%; width: 78px; height: 132px; border-radius: 16px; transform: rotate(8deg); animation: float-a 5.4s ease-in-out infinite; }
.case-card-phone i { position: absolute; inset: 15px 9px 52px; border-radius: 7px; background: linear-gradient(145deg, rgba(51, 124, 255, 0.6), rgba(27, 220, 255, 0.16)); }
.case-card-phone b { position: absolute; left: 10px; right: 20px; bottom: 37px; height: 5px; border-radius: 5px; background: rgba(148, 194, 224, 0.2); }
.case-card-phone em { position: absolute; left: 10px; bottom: 20px; width: 25px; height: 6px; border-radius: 5px; background: rgba(30, 215, 255, 0.35); }
.case-copy { align-self: center; padding: 56px; }
.case-label { color: var(--cyan-soft); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.15em; }
.case-copy h3 { margin: 12px 0 17px; font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.05em; }
.case-copy > p { color: #97aabf; line-height: 1.75; }
.tag-list { margin: 27px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag-list li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 31, 52, 0.6); color: #94abc2; font-size: 0.7rem; }

.case-study + .case-study { margin-top: 20px; }

.case-study-reverse { grid-template-columns: 0.95fr 1.05fr; }
.case-study-reverse .case-copy { grid-column: 1; grid-row: 1; }
.case-study-reverse .case-visual { grid-column: 2; grid-row: 1; }

.quickfillo-visual {
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 48%, rgba(105, 79, 255, 0.2), transparent 39%),
    radial-gradient(circle at 78% 70%, rgba(29, 217, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(12, 28, 64, 0.75), rgba(6, 19, 35, 0.68));
}

.quickfillo-orbit {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 270px;
  border: 1px solid rgba(100, 119, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(16deg);
  animation: quickfillo-orbit 11s linear infinite;
}

.quickfillo-orbit::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 11%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8e86ff;
  box-shadow: 0 0 17px #716bff;
}

.quickfillo-dashboard {
  position: absolute;
  left: 11%;
  top: 18%;
  width: 70%;
  height: 64%;
  overflow: hidden;
  border: 1px solid rgba(112, 174, 255, 0.28);
  border-radius: 18px;
  background: rgba(6, 18, 36, 0.92);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.38), 0 0 42px rgba(91, 74, 255, 0.12);
  transform: perspective(900px) rotateY(8deg) rotateX(2deg);
  animation: dashboard-float 6.5s ease-in-out infinite;
}

.qf-dashboard-top {
  height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(111, 157, 209, 0.13);
  color: #dff8ff;
  font-size: 0.68rem;
}

.qf-dashboard-top > i { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: rgba(116, 157, 198, 0.32); }
.qf-dashboard-top > i + i { margin-left: 0; }

.qf-logo {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #785fff, #24d9ef);
  color: white;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(105, 92, 255, 0.3);
}

.qf-dashboard-body { height: calc(100% - 46px); display: grid; grid-template-columns: 46px 1fr; }
.qf-sidebar { padding-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 17px; border-right: 1px solid rgba(111, 157, 209, 0.1); background: rgba(13, 28, 50, 0.48); }
.qf-sidebar span { width: 15px; height: 4px; border-radius: 4px; background: rgba(129, 165, 204, 0.18); }
.qf-sidebar span:first-child { width: 22px; height: 22px; border-radius: 7px; background: rgba(108, 93, 255, 0.26); box-shadow: inset 0 0 0 1px rgba(126, 185, 255, 0.18); }
.qf-content { padding: 16px 17px; }
.qf-content > small, .quickfillo-phone > small { display: block; color: #7089a4; font-size: 0.48rem; font-weight: 800; letter-spacing: 0.12em; }
.qf-stat { margin: 8px 0 12px; padding: 11px 12px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(106, 114, 255, 0.18); border-radius: 10px; background: linear-gradient(135deg, rgba(91, 72, 255, 0.18), rgba(28, 206, 239, 0.06)); }
.qf-stat strong { color: #e8f7ff; font-size: 1.23rem; line-height: 1; }
.qf-stat span { color: #8da3ba; font-size: 0.55rem; }
.qf-stat b { margin-left: auto; padding: 3px 6px; border-radius: 99px; background: rgba(65, 226, 181, 0.1); color: #58dfbc; font-size: 0.49rem; }
.qf-booking { padding: 7px 2px; display: grid; grid-template-columns: 38px 1fr 7px; gap: 8px; align-items: center; border-bottom: 1px solid rgba(111, 157, 209, 0.09); }
.qf-booking time { color: #728ba3; font-size: 0.52rem; }
.qf-booking span { display: flex; flex-direction: column; }
.qf-booking strong { color: #d8e9f6; font-size: 0.57rem; }
.qf-booking small { color: #687f96; font-size: 0.48rem; }
.qf-booking > i { width: 6px; height: 6px; border-radius: 50%; background: #746cff; box-shadow: 0 0 7px rgba(116, 108, 255, 0.6); }

.quickfillo-phone {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 5%;
  width: 112px;
  height: 218px;
  padding: 26px 12px 12px;
  overflow: hidden;
  border: 2px solid rgba(107, 203, 255, 0.45);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(15, 37, 72, 0.97), rgba(5, 16, 31, 0.98));
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.46), 0 0 30px rgba(80, 91, 255, 0.2);
  transform: rotate(5deg);
  animation: phone-float 5.2s ease-in-out infinite;
}

.qf-phone-notch { position: absolute; left: 36px; top: 7px; width: 38px; height: 5px; border-radius: 6px; background: rgba(109, 151, 190, 0.2); }
.qf-phone-head { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
.qf-phone-head .qf-logo { width: 22px; height: 22px; font-size: 0.65rem; }
.qf-phone-head i { width: 18px; height: 6px; border-radius: 4px; background: rgba(127, 165, 201, 0.14); }
.quickfillo-phone > strong { display: block; margin: 2px 0 14px; color: #e6f6ff; font-size: 0.77rem; }
.qf-phone-card { padding: 11px 8px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(110, 103, 255, 0.28); border-radius: 10px; background: linear-gradient(145deg, rgba(104, 80, 255, 0.23), rgba(32, 197, 239, 0.08)); }
.qf-phone-card b { color: #dffbff; font-size: 1.15rem; }
.qf-phone-card span { color: #aabed0; font-size: 0.54rem; line-height: 1.2; }
.qf-phone-card small { color: #6f8aa0; font-size: 0.43rem; }
.qf-phone-nav { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-around; }
.qf-phone-nav i { width: 16px; height: 4px; border-radius: 5px; background: rgba(123, 160, 195, 0.17); }
.qf-phone-nav i:first-child { background: #7c72ff; box-shadow: 0 0 8px rgba(124, 114, 255, 0.45); }

.quickfillo-confirm {
  position: absolute;
  z-index: 4;
  left: 6%;
  bottom: 12%;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(70, 228, 189, 0.23);
  border-radius: 12px;
  background: rgba(7, 29, 46, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.33);
  backdrop-filter: blur(8px);
  animation: confirm-float 5.8s ease-in-out infinite;
}

.quickfillo-confirm > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(65, 226, 181, 0.12); color: #59e2bd; font-size: 0.7rem; }
.quickfillo-confirm div { display: flex; flex-direction: column; text-align: left; }
.quickfillo-confirm strong { color: #d9f6f0; font-size: 0.57rem; }
.quickfillo-confirm small { color: #749b96; font-size: 0.48rem; }

.contact-section { padding-top: 112px; }
.contact-card { position: relative; min-height: 430px; padding: 74px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(72, 211, 255, 0.26); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(20, 89, 178, 0.84), rgba(14, 32, 93, 0.9)); text-align: center; box-shadow: 0 35px 90px rgba(0, 0, 0, 0.26); }
.contact-card > *:not(.contact-grid, .contact-orb) { position: relative; z-index: 2; }
.contact-card .eyebrow { color: #d5f9ff; }
.contact-card h2 { margin-bottom: 19px; }
.contact-card h2 span { background: none; color: #97efff; }
.contact-card > p:not(.eyebrow) { max-width: 590px; margin-bottom: 29px; color: #c1d7ed; }
.contact-grid { position: absolute; inset: 0; opacity: 0.26; background-image: linear-gradient(rgba(115, 211, 255, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(115, 211, 255, 0.11) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle at center, black, transparent 78%); }
.contact-orb { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: rgba(42, 217, 255, 0.14); filter: blur(78px); }
.button-light { background: white; color: #092244; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18); }

.site-footer { padding: 54px 0 34px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { display: grid; grid-template-columns: 240px 1fr auto; gap: 34px; align-items: center; }
.footer-brand { width: 210px; }
.footer-brand img { height: 56px; }
.footer-inner > p { margin: 0; color: #7f94aa; font-size: 0.83rem; }
.footer-links { display: flex; gap: 22px; color: #91a8bd; font-size: 0.78rem; }
.footer-links a:hover { color: var(--cyan-soft); }
.footer-inner small { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); color: #536a80; font-size: 0.7rem; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 120ms; }
.reveal-delay-small { transition-delay: 80ms; }
.reveal-delay-large { transition-delay: 160ms; }

@keyframes breathe { 0%, 100% { transform: scale(0.93); opacity: 0.62; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 0.42; } 50% { opacity: 1; } }
@keyframes float-a { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
@keyframes float-b { 0%, 100% { transform: translate3d(0, -3px, 0); } 50% { transform: translate3d(0, 9px, 0); } }
@keyframes brain-sculpt-turn {
  0%, 100% { transform: translateY(2px) rotateY(-11deg) rotateX(2deg) rotateZ(-0.8deg); }
  50% { transform: translateY(-8px) rotateY(11deg) rotateX(-1deg) rotateZ(0.8deg); }
}
@keyframes brain-scan { from { transform: translateY(0); opacity: 0; } 12% { opacity: 0.75; } 88% { opacity: 0.75; } to { transform: translateY(920%); opacity: 0; } }
@keyframes beam-pulse { 0%, 100% { opacity: 0.26; transform: scaleX(0.82); } 50% { opacity: 0.55; transform: scaleX(1.12); } }
@keyframes pedestal-pulse { 0%, 100% { opacity: 0.46; transform: translate(-50%, -50%) perspective(300px) rotateX(64deg) scale(0.9); } 50% { opacity: 1; transform: translate(-50%, -50%) perspective(300px) rotateX(64deg) scale(1.08); } }
@keyframes card-float-left { 0%, 100% { transform: perspective(500px) rotateY(11deg) translateY(0); } 50% { transform: perspective(500px) rotateY(8deg) translateY(-8px); } }
@keyframes card-float-right { 0%, 100% { transform: perspective(500px) rotateY(-11deg) translateY(0); } 50% { transform: perspective(500px) rotateY(-8deg) translateY(8px); } }
@keyframes case-orbit { to { transform: translate(-50%, -50%) rotate(340deg); } }
@keyframes quickfillo-orbit { to { transform: translate(-50%, -50%) rotate(376deg); } }
@keyframes dashboard-float { 0%, 100% { transform: perspective(900px) rotateY(8deg) rotateX(2deg) translateY(0); } 50% { transform: perspective(900px) rotateY(5deg) rotateX(1deg) translateY(-8px); } }
@keyframes phone-float { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-11px); } }
@keyframes confirm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes spinner { to { transform: rotate(360deg); } }
@keyframes result-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1020px) {
  .header-inner { gap: 20px; }
  .brand { width: 190px; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 0.8rem; }
  .hero-grid { grid-template-columns: 1fr 0.8fr; gap: 22px; }
  .brain-card { width: 108px; height: 68px; }
  .brain-card svg { width: 20px; height: 20px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:last-child { grid-column: 1 / -1; min-height: 400px; }
  .demo-grid { gap: 44px; }
}

@media (max-width: 850px) {
  .header-inner { min-height: 72px; }
  .brand { position: relative; z-index: 102; }
  .brand img { height: 52px; }
  .nav-toggle { position: relative; z-index: 102; width: 44px; height: 44px; margin-left: auto; padding: 0; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8, 24, 42, 0.8); cursor: pointer; }
  .nav-toggle > span:not(.sr-only) { width: 19px; height: 1.5px; background: #d9f4ff; transition: transform 180ms ease, opacity 180ms ease; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; z-index: 101; margin: 0; padding: 110px 28px 36px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: rgba(4, 13, 25, 0.98); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .primary-nav a::after { display: none; }
  .header-cta { display: none; }
  .hero { padding-top: 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-proof { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .brain-column { margin-top: -20px; }
  .brain-stage { width: min(100%, 490px); }
  .hero-metrics { margin-top: 30px; grid-template-columns: repeat(3, 1fr); }
  .hero-metrics > p { grid-column: 1 / -1; border-top: 1px solid var(--line); border-right: 0; text-align: center; }
  .hero-metrics > div:nth-child(3) { border-right: 0; }
  .section { padding: 94px 0; }
  .section-heading, .demo-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > p { margin: 0; }
  .demo-copy { text-align: center; }
  .demo-copy .eyebrow { justify-content: center; }
  .demo-copy > p { margin-inline: auto; }
  .privacy-note { margin-inline: auto; }
  .case-study { grid-template-columns: 1fr; }
  .case-visual { min-height: 390px; }
  .case-copy { padding: 42px; }
  .case-study-reverse .case-copy { grid-column: 1; grid-row: 1; }
  .case-study-reverse .case-visual { grid-column: 1; grid-row: 2; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { grid-column: 2; grid-row: 1; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand { width: 177px; }
  .hero { padding-top: 48px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.45rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-proof { gap: 8px 14px; font-size: 0.72rem; }
  .brain-column { margin-inline: -14px; }
  .brain-stage { width: 100%; }
  .brain-model { left: 8%; width: 84%; }
  .brain-card { width: 96px; height: 62px; gap: 4px; font-size: 0.61rem; border-radius: 10px; }
  .brain-card svg { width: 18px; height: 18px; }
  .brain-card-one { left: 0; top: 14%; }
  .brain-card-two { right: 0; top: 15%; }
  .brain-card-three { left: 0; bottom: 25%; }
  .brain-card-four { right: 0; bottom: 26%; }
  .holo-pedestal { left: 18%; width: 64%; }
  .brain-status { margin-top: -8px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics > * { padding: 17px 8px; border-right: 0; border-bottom: 1px solid var(--line); text-align: center; }
  .hero-metrics > :first-child { padding-left: 8px; }
  .hero-metrics > :last-child { padding-right: 8px; border-bottom: 0; }
  .hero-metrics > p { grid-column: auto; border-top: 0; }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .demo-copy h2, .contact-card h2 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .solution-grid, .service-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .solution-card { min-height: 0; padding: 27px 24px; }
  .service-card { min-height: 410px; padding: 24px; }
  .demo-panel { min-height: 0; padding: 23px 18px; border-radius: 21px; }
  .process-list li { padding: 24px 0; grid-template-columns: 50px 1fr; gap: 16px; }
  .process-list li:hover { padding-inline: 8px; }
  .process-list li div { grid-template-columns: 1fr; gap: 7px; }
  .case-visual { min-height: 330px; }
  .case-card-main { width: 205px; height: 160px; padding: 27px 21px; }
  .case-card-mini { right: 2%; }
  .case-card-phone { left: 3%; }
  .case-copy { padding: 31px 24px 36px; }
  .quickfillo-dashboard { left: 4%; width: 76%; }
  .quickfillo-phone { right: 2%; bottom: 4%; }
  .quickfillo-confirm { left: 3%; bottom: 7%; }
  .contact-section { padding-top: 70px; }
  .contact-card { min-height: 400px; padding: 54px 20px; }
  .footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
  .footer-inner small { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
