:root {
  --bg: #080b12;
  --bg-soft: #0d111b;
  --card: rgba(255,255,255,.045);
  --card-strong: #111722;
  --text: #f5f7fb;
  --muted: #a0a8b8;
  --line: rgba(255,255,255,.11);
  --primary: #7c5cff;
  --primary-2: #31d6ff;
  --lime: #b9ff66;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 28px 90px rgba(0,0,0,.34);
  --font: "Inter", sans-serif;
  --display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--primary);
  color: white;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 112px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 5000;
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}

.site-header.scrolled {
  background: rgba(8,11,18,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--line);
}

.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 180px;
  object-fit: contain;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
}

.brand-mark {
  width: 35px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg,var(--primary),var(--primary-2));
  color: white;
  font-family: var(--display);
  box-shadow: 0 0 30px rgba(124,92,255,.28);
}

.brand-name {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -.04em;
}

.brand-name span {
  color: var(--primary-2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: #d7dbea;
}

.site-nav > a {
  position: relative;
  white-space: nowrap;
}

.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--primary-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg,var(--primary),#5b7cff);
  color: white;
  box-shadow: 0 15px 40px rgba(124,92,255,.23);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s, box-shadow .25s;
}

.header-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(124,92,255,.4);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  flex: 0 0 42px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 6002;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: white;
  transition:
    transform .25s ease,
    opacity .25s ease;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg,var(--primary),#5b7cff);
  color: white;
  box-shadow: 0 15px 40px rgba(124,92,255,.23);
}

.btn-primary:hover {
  box-shadow: 0 20px 50px rgba(124,92,255,.4);
}

.btn-outline {
  border-color: var(--line);
  padding: 14px 20px;
  background: rgba(255,255,255,.025);
}

.btn-outline:hover {
  background: rgba(255,255,255,.07);
}

.btn-small {
  padding: 10px 17px;
}

.btn-large {
  padding: 16px 24px;
  min-height: 54px;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 700;
}

.text-link span,
.card-link span {
  transition: transform .25s;
}

.text-link:hover span,
.card-link:hover span {
  transform: translate(3px,-3px);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 900px;
  padding-top: 170px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 10%,rgba(73,83,255,.12),transparent 35%),
    linear-gradient(180deg,#080b12 0%,#090d15 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 65px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
  color: #bac2d3;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 rgba(185,255,102,.7);
  animation: pulse 1.8s infinite;
}

.hero h1,
h2 {
  font-family: var(--display);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
}

.hero h1 {
  font-size: clamp(56px,7vw,94px);
  max-width: 760px;
}

.gradient-text {
  background: linear-gradient(105deg,#fff 12%,#9c8cff 48%,#3ad8ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 34px;
  color: #b3bac8;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  gap: 42px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 650px;
}

.hero-proof div {
  display: grid;
  gap: 2px;
}

.hero-proof strong {
  font-family: var(--display);
  font-size: 16px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.13);
  transform: rotate(1.2deg);
}

.hero-image-frame img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  filter: saturate(.75) contrast(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,transparent 35%,rgba(5,8,13,.72) 100%),
    linear-gradient(120deg,rgba(124,92,255,.13),transparent 45%);
}

.floating-card {
  position: absolute;
  background: rgba(9,13,22,.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border-radius: 18px;
  padding: 17px 19px;
}

.card-code {
  left: 26px;
  bottom: 30px;
  display: grid;
  gap: 5px;
}

.card-stat {
  top: 26px;
  right: 24px;
}

.card-stat strong {
  font-size: 24px;
}

.mini-label {
  color: var(--primary-2);
  font-size: 10px;
  letter-spacing: .13em;
  font-weight: 800;
}

.status-row {
  color: #aeb7c5;
  font-size: 12px;
}

.status-row i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  background: var(--lime);
  border-radius: 50%;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .24;
  pointer-events: none;
}

.orb-one {
  width: 430px;
  height: 430px;
  background: var(--primary);
  top: 80px;
  right: -170px;
}

.orb-two {
  width: 280px;
  height: 280px;
  background: #00b7ff;
  left: -150px;
  bottom: 40px;
  opacity: .12;
}

.logo-strip {
  margin-top: 78px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #727c8f;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 11px;
  font-weight: 800;
}

.logo-strip i {
  width: 4px;
  height: 4px;
  background: #394253;
  border-radius: 50%;
}


/* =========================================================
   GENERAL CONTENT
   ========================================================= */

.split-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

h2 {
  margin-top: 18px;
  font-size: clamp(42px,5vw,72px);
}

.intro-copy {
  font-size: 17px;
  color: var(--muted);
}

.intro-copy p:first-child {
  margin-top: 0;
  color: #d4d8e2;
  font-size: 20px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
  background: #0a0e16;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading p,
.split-heading > p {
  color: var(--muted);
  font-size: 17px;
  max-width: 570px;
}

.capability-group {
  margin-top: 70px;
}

.group-label {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #d7dce5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 16px;
}

.group-label span {
  color: var(--primary-2);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.two-wide {
  grid-template-columns: repeat(2,1fr);
}

.service-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 29px;
  min-height: 340px;
  transition: .35s ease;
}

/*
   IMPORTANT FIX:
   Normal service cards now use flex layout.
   This keeps tags and links from overlapping.
*/
.service-card:not(.service-image-card) {
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(124,92,255,.5);
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0,0,0,.25);
}

.service-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -100px;
  top: -100px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(65px);
  opacity: 0;
  transition: .4s;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: .18;
}

.featured-card {
  background: linear-gradient(145deg,rgba(124,92,255,.18),rgba(255,255,255,.03));
}

.service-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  font-weight: 800;
  color: var(--primary-2);
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}

.service-card h3 {
  margin: 42px 0 13px;
  font-size: 23px;
  letter-spacing: -.025em;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.tags span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  border: 1px solid var(--line);
  padding: 6px 8px;
  border-radius: 999px;
  color: #bac2d1;
  line-height: 1.2;
}

/*
   Normal cards:
   link is no longer absolutely positioned.
*/
.service-card:not(.service-image-card) > .card-link {
  position: static;
  left: auto;
  bottom: auto;
  margin-top: auto;
  padding-top: 22px;
  align-self: flex-start;
  flex-shrink: 0;
}

.card-link {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

/*
   Image-based service card retains its own structure.
*/
.service-image-card {
  padding: 0;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 410px;
}

.service-image {
  min-height: 100%;
  overflow: hidden;
}

.service-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(.2) saturate(.72);
  transition: transform .6s ease;
}

.service-image-card:hover img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 29px 29px 70px;
  position: relative;
}

.service-card-body .service-card h3,
.service-card-body h3 {
  margin-top: 28px;
}

.service-card-body .card-link {
  position: absolute;
  left: 29px;
  bottom: 26px;
}

.compact-grid .service-card {
  min-height: 340px;
}


/* =========================================================
   ADVANTAGES
   ========================================================= */

.dark-band {
  background: #f2f4f8;
  color: #0b0e14;
}

.dark-band .section-kicker {
  color: #666f7e;
}

.dark-band .section-heading p {
  color: #5d6470;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 55px;
  border-top: 1px solid #ccd1da;
  border-left: 1px solid #ccd1da;
}

.advantage {
  padding: 34px;
  border-right: 1px solid #ccd1da;
  border-bottom: 1px solid #ccd1da;
  min-height: 250px;
  transition: .3s;
}

.advantage:hover {
  background: white;
}

.advantage > span {
  font-size: 11px;
  color: #7b63ff;
  font-weight: 800;
}

.advantage h3 {
  font-size: 20px;
  margin: 38px 0 10px;
}

.advantage p {
  color: #626a76;
  font-size: 14px;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-title {
  align-items: center;
}

.process-title > p {
  justify-self: end;
}

.process-list {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 90px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 28px 10px;
  border-bottom: 1px solid var(--line);
  transition: .3s;
}

.process-item:hover {
  padding-left: 22px;
  background: linear-gradient(90deg,rgba(124,92,255,.08),transparent);
}

.process-num {
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 800;
}

.process-item h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.process-item p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.process-item i {
  font-style: normal;
  font-size: 24px;
  color: #70798a;
}


/* =========================================================
   AI
   ========================================================= */

.ai-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%,rgba(124,92,255,.16),transparent 32%),
    #0b1019;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-visual {
  position: relative;
}

.ai-visual img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 30px;
  filter: saturate(.72) contrast(1.05);
}

.ai-code-card {
  right: -25px;
  bottom: 35px;
  width: 250px;
  display: grid;
  gap: 10px;
}

.ai-code-card > span {
  color: var(--primary-2);
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 4px;
}

.ai-code-card div {
  font-size: 12px;
  color: #c8cfdb;
}

.ai-code-card i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 7px;
}

.ai-copy p {
  color: var(--muted);
  font-size: 16px;
}

.ai-points {
  margin: 32px 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.ai-points > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.ai-points strong {
  color: var(--primary-2);
  font-size: 11px;
}

.ai-points span {
  display: grid;
  color: var(--muted);
  font-size: 13px;
}

.ai-points b {
  color: white;
  font-size: 15px;
  margin-bottom: 3px;
}


/* =========================================================
   MODELS
   ========================================================= */

.models-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.model-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
  min-height: 360px;
  transition: .3s;
}

.model-card.active,
.model-card:hover {
  background: linear-gradient(160deg,rgba(124,92,255,.18),rgba(255,255,255,.035));
  border-color: rgba(124,92,255,.42);
  transform: translateY(-5px);
}

.model-card > span {
  font-size: 11px;
  color: var(--primary-2);
  font-weight: 800;
}

.model-card h3 {
  font-size: 21px;
  margin: 45px 0 14px;
}

.model-card p {
  color: var(--muted);
  font-size: 14px;
  min-height: 105px;
}

.model-card small {
  display: block;
  color: #747e8e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 7px;
}

.model-card > div {
  font-size: 12px;
  color: #d2d7e2;
}


/* =========================================================
   TECH
   ========================================================= */

.tech-section {
  padding-top: 60px;
  overflow: hidden;
}

.tech-marquee {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 12px;
  padding: 22px 0;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  color: #b8c0ce;
  font-size: 12px;
  font-weight: 600;
}

.tech-marquee:hover .marquee-track {
  animation-play-state: paused;
}


/* =========================================================
   WORK
   ========================================================= */

.work-section {
  background: #0a0e16;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 15px;
}

.case-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 26px;
  overflow: hidden;
  min-height: 360px;
  transition: .35s;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
}

.case-large {
  grid-row: span 2;
  display: grid;
  grid-template-rows: 1.15fr .85fr;
}

.case-image {
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(.7);
  transition: transform .6s;
}

.case-card:hover .case-image img {
  transform: scale(1.04);
}

.case-content {
  padding: 30px;
}

.case-content > span {
  color: var(--primary-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.case-content h3 {
  font-size: 25px;
  margin: 14px 0 10px;
  letter-spacing: -.03em;
}

.case-content p {
  color: var(--muted);
  font-size: 14px;
}

.case-results {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 8px 12px;
  align-items: center;
  margin-top: 22px;
}

.case-results b {
  font-family: var(--display);
  font-size: 28px;
}

.case-results span {
  color: var(--muted);
  font-size: 11px;
}

.case-content small,
.dummy-note {
  display: block;
  color: #697383;
  font-size: 9px;
  margin-top: 14px;
}

.accent-case {
  background: linear-gradient(145deg,rgba(124,92,255,.2),rgba(49,214,255,.06));
}


/* =========================================================
   INDUSTRIES
   ========================================================= */

.industry-list {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.industry-list > div {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  align-items: center;
  gap: 25px;
  padding: 25px 8px;
  border-bottom: 1px solid var(--line);
  transition: .25s;
}

.industry-list > div:hover {
  padding-left: 18px;
  background: rgba(255,255,255,.025);
}

.industry-list span {
  color: var(--primary-2);
  font-size: 11px;
  font-weight: 800;
}

.industry-list h3 {
  margin: 0;
  font-size: 18px;
}

.industry-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials-section {
  background: #f2f4f8;
  color: #0a0d13;
}

.testimonials-section .section-kicker {
  color: #6d7581;
}

.testimonial-shell {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
  background: white;
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(23,31,48,.12);
  padding: 55px 80px;
}

.testimonial-track {
  position: relative;
  min-height: 310px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(35px) scale(.98);
  pointer-events: none;
  transition: .45s ease;
}

.testimonial.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.stars {
  color: #7b63ff;
  letter-spacing: .18em;
  font-size: 13px;
}

blockquote {
  margin: 25px 0 30px;
  font-family: var(--display);
  font-size: clamp(22px,3vw,34px);
  line-height: 1.35;
  letter-spacing: -.035em;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0e1320;
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.reviewer div {
  display: grid;
}

.reviewer small {
  color: #77808d;
}

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #dce0e7;
  background: #fff;
  color: #0e1320;
  cursor: pointer;
  transition: .2s;
}

.review-arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.review-arrow.prev {
  left: 18px;
}

.review-arrow.next {
  right: 18px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}

.review-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bcc2cc;
  cursor: pointer;
}

.review-dots button.active {
  width: 24px;
  border-radius: 10px;
  background: #7b63ff;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 80px;
}

.faq-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.faq-intro p {
  color: var(--muted);
  max-width: 420px;
  margin: 24px 0;
}

.accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

.faq-question i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  transition: .25s;
}

.faq-question:hover i {
  background: var(--primary);
  border-color: var(--primary);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer > p {
  padding-bottom: 24px;
}

.faq-item.open .faq-question i {
  animation: microBounce .45s ease;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  background:
    radial-gradient(circle at 20% 20%,rgba(49,214,255,.1),transparent 28%),
    radial-gradient(circle at 85% 85%,rgba(124,92,255,.17),transparent 30%),
    #0a0e16;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 125px;
}

.contact-copy p {
  color: var(--muted);
  max-width: 500px;
  font-size: 16px;
}

.contact-meta {
  margin-top: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.contact-meta div {
  display: grid;
  gap: 5px;
}

.contact-meta small {
  color: #788292;
  font-size: 9px;
  letter-spacing: .12em;
  font-weight: 800;
}

.contact-meta a,
.contact-meta span {
  font-size: 13px;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  font-size: 12px;
  font-weight: 700;
  color: #d2d7e1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(5,8,13,.54);
  color: white;
  padding: 14px 15px;
  outline: none;
  transition: .25s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,92,255,.12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select option {
  color: #111;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-note,
.form-status {
  color: #788292;
  font-size: 10px;
  margin: 12px 4px 0;
}

.form-status {
  color: var(--lime);
  min-height: 18px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: #070a10;
  border-top: 1px solid var(--line);
}

.footer-top {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-links {
  display: flex;
  gap: 25px;
  color: #8e97a6;
  font-size: 12px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #697382;
  font-size: 10px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 190px;
  object-fit: contain;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.2,.7,.2,1);
}

.reveal-up {
  transform: translateY(38px);
}

.reveal-left {
  transform: translateX(-38px);
}

.reveal-right {
  transform: translateX(38px);
}

.reveal-scale {
  transform: scale(.94);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.float-soft {
  animation: floatSoft 6s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(185,255,102,.55);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(185,255,102,0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(185,255,102,0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) rotate(1.2deg);
  }

  50% {
    transform: translateY(-8px) rotate(.5deg);
  }
}

@keyframes microBounce {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.16);
  }

  70% {
    transform: scale(.96);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1020px) {

  .hero-grid,
  .ai-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 145px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-visual {
    max-width: 760px;
    min-height: 0;
    margin-top: 25px;
  }

  .hero-image-frame img {
    height: 520px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid .service-card:last-child {
    grid-column: span 2;
  }

  .two-wide .service-card:last-child,
  .compact-grid .service-card:last-child {
    grid-column: auto;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .models-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ai-visual {
    max-width: 760px;
  }

  .ai-visual img {
    height: 520px;
  }

  .contact-copy {
    position: static;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

  .section {
    padding: 85px 0;
  }

  .site-header .container {
    width: calc(100% - 28px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .brand-logo {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .brand-logo img {
    width: auto;
    height: 40px;
    max-width: 145px;
  }

  .header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    gap: 8px;
  }

  .header-contact-btn {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    min-width: 42px;
    max-width: 42px;
    flex: 0 0 42px;
    margin: 0;
    z-index: 6002;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: 100%;
    z-index: 6000;
    margin: 0;
    padding: 18px 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: #080b12;
    color: #f5f7fb;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition:
      opacity .25s ease,
      visibility 0s linear .25s;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
      opacity .25s ease,
      visibility 0s;
  }

  .site-nav > a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    flex: 0 1 auto;
    min-height: 0;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: #f5f7fb;
    opacity: 1;
    visibility: visible;
    font-family: var(--display);
    font-size: clamp(19px,5vw,24px);
    font-weight: 700;
    line-height: 1.15;
    white-space: normal;
  }

  .site-nav > a:first-child {
    border-top: 1px solid var(--line);
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav > a:hover {
    color: var(--primary-2);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(52px,12vw,78px);
  }

  .hero-proof {
    gap: 25px;
  }

  .logo-strip {
    overflow-x: auto;
    gap: 25px;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .split-heading,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-intro {
    position: static;
  }

  .service-image-card {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 240px;
  }

  /*
     Mobile service cards:
     allow content to determine card height.
  */
  .service-card:not(.service-image-card) {
    min-height: 0;
    height: auto;
  }

  .service-card:not(.service-image-card) > .card-link {
    margin-top: 22px;
    padding-top: 0;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-large {
    grid-row: auto;
  }

  .industry-list > div {
    grid-template-columns: 45px 1fr;
  }

  .industry-list p {
    grid-column: 2;
  }

  .testimonial-shell {
    padding: 45px 60px;
  }

  .testimonial-track {
    min-height: 350px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 620px) {

  .container {
    width: min(100% - 28px,1180px);
  }

  .section {
    padding: 70px 0;
  }

  .site-header .container {
    width: calc(100% - 24px);
  }

  .nav-wrap {
    height: 70px;
    gap: 7px;
  }

  .brand-logo img {
    height: 34px;
    max-width: 105px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-contact-btn {
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    flex: 0 0 40px;
  }

  .site-nav {
    top: 70px;
    bottom: 0;
    height: auto;

    padding:
      14px
      max(20px, env(safe-area-inset-right))
      18px
      max(20px, env(safe-area-inset-left));

    justify-content: center;
    overflow: hidden;
  }

  .site-nav > a {
    min-height: 0;
    padding: 12px 4px;
    font-size: clamp(18px,5.5vw,22px);
    line-height: 1.1;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 49px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    width: 100%;
  }

  .hero-proof strong {
    font-size: 13px;
  }

  .hero-proof span {
    font-size: 10px;
  }

  .hero-image-frame {
    border-radius: 24px;
  }

  .hero-image-frame img {
    height: 420px;
  }

  .card-stat {
    top: 15px;
    right: 15px;
  }

  .card-code {
    left: 15px;
    bottom: 15px;
  }

  .floating-card {
    padding: 13px 14px;
  }

  .service-grid,
  .two-wide,
  .models-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .service-grid .service-card:last-child {
    grid-column: auto;
  }

  /*
     ALL standard mobile service cards:
     natural height + normal-flow link.
  */
  .service-card:not(.service-image-card) {
    min-height: 0;
    height: auto;
    padding: 28px;
  }

  .service-card:not(.service-image-card) h3 {
    margin-top: 38px;
  }

  .service-card:not(.service-image-card) .tags {
    margin-top: 20px;
  }

  .service-card:not(.service-image-card) > .card-link {
    position: static;
    margin-top: 20px;
    padding-top: 0;
    left: auto;
    bottom: auto;
  }

  .service-image-card {
    min-height: 530px;
  }

  .advantages-grid {
    border-left: 0;
  }

  .advantage {
    border-left: 1px solid #ccd1da;
  }

  .process-item {
    grid-template-columns: 44px 1fr;
    padding: 22px 3px;
  }

  .process-item i {
    display: none;
  }

  .ai-visual img {
    height: 430px;
  }

  .ai-code-card {
    right: 10px;
    bottom: 15px;
    width: 220px;
  }

  .model-card {
    min-height: 320px;
  }

  .model-card p {
    min-height: 0;
  }

  .industry-list > div {
    grid-template-columns: 34px 1fr;
    padding: 22px 0;
  }

  .testimonial-shell {
    padding: 34px 25px 55px;
    border-radius: 22px;
  }

  .testimonial-track {
    min-height: 390px;
  }

  .review-arrow {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .review-arrow:hover {
    transform: scale(1.08);
  }

  .review-arrow.prev {
    left: calc(50% - 50px);
  }

  .review-arrow.next {
    right: calc(50% - 50px);
  }

  blockquote {
    font-size: 23px;
  }

  .field-row,
  .contact-meta {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
    border-radius: 22px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-logo img {
    height: 38px;
    max-width: 140px;
  }
}


/* =========================================================
   SHORT MOBILE SCREENS
   ========================================================= */

@media (max-width: 620px) and (max-height: 700px) {

  .site-nav {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-nav > a {
    padding: 9px 4px;
    font-size: 18px;
    line-height: 1.05;
  }
}

@media (max-width: 820px) and (max-height: 560px) {

  .site-nav {
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: center;
  }

  .site-nav > a {
    padding: 6px 4px;
    font-size: 16px;
    line-height: 1;
  }
}


/* =========================================================
   EXTRA SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .site-header .container {
    width: calc(100% - 18px);
  }

  .brand-logo img {
    height: 30px;
    max-width: 82px;
  }

  .header-contact-btn {
    padding: 0 9px;
    font-size: 10px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    flex: 0 0 38px;
  }

  .site-nav > a {
    font-size: 18px;
  }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}