:root {
  --ink: #121827;
  --muted: #667085;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #e2e8f0;
  --navy: #070c16;
  --purple: #2a214f;
  --purple-2: #17122f;
  --purple-soft: #f1eefb;
  --coral: #ee5a66;
  --coral-dark: #cb3f4d;
  --teal: #0aa6b4;
  --teal-dark: #047481;
  --green: #38a36b;
  --amber: #f5a623;
  --shadow: 0 22px 64px rgba(15, 23, 42, 0.13);
  --soft-shadow: 0 14px 34px rgba(15, 23, 42, 0.075);
  --radius: 8px;
  --page-width: min(2200px, calc(100% - clamp(32px, 3.5vw, 80px)));
  --compact-page-width: min(1600px, calc(100% - clamp(32px, 3.5vw, 80px)));
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(243, 247, 251, 0.98) 48%, rgba(255, 255, 255, 0.98) 100%),
    linear-gradient(118deg, rgba(10, 166, 180, 0.075) 0%, rgba(10, 166, 180, 0.075) 18%, transparent 18%, transparent 70%, rgba(238, 90, 102, 0.055) 70%, rgba(238, 90, 102, 0.055) 100%);
  background-position:
    0 0,
    0 0;
  background-size:
    100% 100%,
    100% 760px;
  background-repeat: no-repeat;
  background-attachment: scroll;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(42, 33, 79, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 166, 180, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  opacity: 0.42;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 13px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(7, 12, 22, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(7, 12, 22, 0.96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(118px, 11vw, 146px);
  height: auto;
  padding: 5px 8px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.main-nav a {
  transition: color 160ms ease;
}

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

.main-nav a[aria-current="page"] {
  color: var(--coral);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 820;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(238, 90, 102, 0.24);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.header-cta {
  min-height: 40px;
  padding: 10px 15px;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../img/apra-industrial-ai-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 22, 0.98) 0%, rgba(20, 17, 42, 0.90) 42%, rgba(20, 17, 42, 0.36) 72%, rgba(7, 12, 22, 0.20) 100%),
    linear-gradient(180deg, rgba(7, 12, 22, 0.20), rgba(7, 12, 22, 0.82));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  width: var(--page-width);
  min-height: 540px;
  margin: 0 auto;
  padding: 46px 0 50px;
}

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

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #67e8ef;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 4.9vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.85rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h4 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.hero-console {
  min-width: 0;
  padding: 16px;
  background: rgba(18, 16, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(18px);
}

.console-top,
.console-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
}

.console-top strong {
  color: var(--white);
}

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

.console-card {
  min-height: 120px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.08);
}

.console-card.big {
  grid-row: span 2;
}

.console-card.wide {
  grid-column: span 2;
}

.console-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.console-card strong {
  display: block;
  color: var(--coral);
  font-size: 1.85rem;
  line-height: 1;
}

.console-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 130px;
  margin-top: 16px;
}

.bars i {
  flex: 1;
  min-width: 10px;
  background: linear-gradient(180deg, var(--teal), rgba(8, 184, 199, 0.18));
  border-radius: 5px 5px 0 0;
}

.focus-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: var(--page-width);
  margin: -42px auto 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.focus-strip div {
  min-height: 118px;
  padding: 22px 24px;
  color: var(--ink);
  background: var(--white);
}

.focus-strip strong {
  display: block;
  margin-bottom: 9px;
  color: var(--coral);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1;
}

.focus-strip span {
  color: var(--muted);
  font-size: 0.95rem;
}

.workspace {
  position: relative;
  isolation: isolate;
  width: var(--page-width);
  margin: 0 auto;
  padding: clamp(62px, 7vw, 84px) 0;
  scroll-margin-top: 82px;
}

.content-section {
  position: relative;
  isolation: isolate;
  width: var(--page-width);
  margin: 0 auto;
  padding: clamp(52px, 6vw, 74px) 0;
  scroll-margin-top: 82px;
}

.overview-section {
  width: var(--page-width);
  padding-top: clamp(34px, 4vw, 48px);
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.74fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  width: var(--page-width);
  margin: 0 auto;
  padding: clamp(82px, 9vw, 122px) 0 clamp(34px, 5vw, 60px);
  scroll-margin-top: 82px;
}

.page-hero::before,
.workspace::before,
.content-section:not(.final-cta)::before {
  position: absolute;
  pointer-events: none;
  content: "";
}

.page-hero::before {
  inset: clamp(42px, 6vw, 78px) calc(50% - 50vw) clamp(14px, 3vw, 32px);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(247, 250, 252, 0.86) 48%, rgba(255, 255, 255, 0.96) 100%),
    repeating-linear-gradient(90deg, rgba(42, 33, 79, 0.045) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(180deg, rgba(10, 166, 180, 0.040) 0 1px, transparent 1px 86px),
    linear-gradient(120deg, rgba(10, 166, 180, 0.075), transparent 38%, rgba(238, 90, 102, 0.055));
  border-block: 1px solid rgba(226, 232, 240, 0.68);
  opacity: 1;
}

.workspace::before,
.content-section:not(.final-cta)::before {
  inset: clamp(22px, 4vw, 44px) max(-7vw, -88px);
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.86) 54%, rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(42, 33, 79, 0.030) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(180deg, rgba(10, 166, 180, 0.026) 0 1px, transparent 1px 92px);
  border: 1px solid rgba(226, 232, 240, 0.72);
  border-radius: var(--radius);
  opacity: 1;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.035);
}

main > .content-section:nth-of-type(odd):not(.final-cta)::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 238, 251, 0.64) 55%, rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(42, 33, 79, 0.032) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(180deg, rgba(238, 90, 102, 0.022) 0 1px, transparent 1px 92px);
}

.page-hero h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

.page-hero-text {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero .btn {
  justify-self: start;
  align-self: start;
}

.page-visual {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.page-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 12, 22, 0.06), rgba(7, 12, 22, 0.72)),
    linear-gradient(90deg, rgba(42, 33, 79, 0.52), rgba(7, 12, 22, 0.08));
}

.page-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  padding: 18px;
  color: var(--white);
  background: rgba(18, 16, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.page-visual span,
.page-visual em {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.page-visual strong {
  display: block;
  margin: 7px 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.workspace-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head.compact {
  display: block;
  margin-bottom: 22px;
}

.workspace-head p:not(.eyebrow),
.section-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.route-card {
  min-height: 220px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.route-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 166, 180, 0.34);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
}

.route-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.route-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.13;
}

.route-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.route-card-primary {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(238, 90, 102, 0.16), rgba(10, 166, 180, 0.11)),
    var(--purple);
  border-color: rgba(255, 255, 255, 0.08);
}

.route-card-primary span,
.route-card-primary p {
  color: rgba(255, 255, 255, 0.74);
}

.need-panel {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(10, 166, 180, 0.04), rgba(238, 90, 102, 0.032)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.085);
  scroll-margin-top: 82px;
}

.homepage-need {
  gap: clamp(28px, 4vw, 46px);
  padding: clamp(28px, 5vw, 58px);
}

.homepage-need .panel-copy {
  max-width: 1040px;
}

.homepage-need .panel-copy h2 {
  max-width: 980px;
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 5.2vw, 4.7rem);
  line-height: 1.02;
}

.homepage-need .panel-copy p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.12rem;
}

.panel-copy {
  max-width: 820px;
}

.panel-copy p:not(.eyebrow),
.contact-copy p,
.recommendation p,
.mini-panel p,
.solution-grid p,
.sector-list p,
.proof-grid p {
  color: var(--muted);
}

.need-layout,
.contact-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
  gap: 22px;
  align-items: start;
}

.homepage-need .need-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.52fr);
  gap: clamp(18px, 3vw, 32px);
}

.need-left {
  display: grid;
  gap: 12px;
}

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

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

.need-card {
  width: 100%;
  min-height: 124px;
  padding: 18px;
  text-align: left;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  appearance: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.homepage-need .need-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 168px;
  padding: clamp(20px, 2.2vw, 26px);
  overflow: hidden;
}

.homepage-need .need-card::after {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 118px;
  height: 72px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(10, 166, 180, 0.16), rgba(238, 90, 102, 0.10));
  border-radius: var(--radius);
  opacity: 0;
  transform: rotate(-8deg) translate(22px, 22px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.homepage-need .need-card strong {
  max-width: 420px;
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.16;
}

.homepage-need .need-card small {
  display: block;
  max-width: 380px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.42;
}

.need-card:hover,
.need-card.active {
  background: #f3fbfc;
  border-color: rgba(10, 166, 180, 0.44);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.need-card:active {
  transform: translateY(1px);
}

.need-card:focus-visible {
  outline: 3px solid rgba(10, 166, 180, 0.36);
  outline-offset: 3px;
}

.homepage-need .need-card:hover::after,
.homepage-need .need-card.active::after {
  opacity: 1;
  transform: rotate(-8deg) translate(8px, 8px);
}

.need-card span,
.solution-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 8px;
  color: var(--teal-dark);
  background: rgba(8, 184, 199, 0.10);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
}

.homepage-need .need-card span {
  justify-self: start;
}

.need-card strong {
  display: block;
  line-height: 1.32;
}

.need-card > * {
  pointer-events: none;
}

.recommendation {
  position: relative;
  min-height: 300px;
  padding: 24px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(238, 90, 102, 0.13), rgba(10, 166, 180, 0.08)),
    #2a214f;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.recommendation::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(118deg, transparent 0%, transparent 56%, rgba(10, 166, 180, 0.20) 56%, rgba(10, 166, 180, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 38%);
}

.recommendation > * {
  position: relative;
  z-index: 1;
}

.recommendation-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.recommendation-head .eyebrow {
  margin-bottom: 0;
}

.recommendation-head > span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.recommendation .eyebrow {
  color: #82edf3;
}

.recommendation h4 {
  font-size: 1.55rem;
}

.homepage-need .recommendation {
  min-height: auto;
  padding: clamp(22px, 2.5vw, 30px);
}

.homepage-need .recommendation h4 {
  max-width: 520px;
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 2.25vw, 2.42rem);
  line-height: 1.02;
}

.solution-title span,
.solution-title small {
  display: block;
}

.solution-title span {
  margin-bottom: 8px;
}

.solution-title small {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 820;
  line-height: 1.25;
}

.homepage-need .recommendation p:not(.eyebrow) {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.48;
}

.recommendation p {
  color: rgba(255, 255, 255, 0.78);
}

.recommendation-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.recommendation-flow {
  display: grid;
  gap: 8px;
  margin: 14px 0 12px;
}

.recommendation-flow div {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.recommendation-meta div {
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.recommendation-meta span,
.recommendation-flow span,
.assistant-result span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.recommendation-meta strong,
.recommendation-flow strong,
.assistant-result strong {
  display: block;
  color: var(--white);
  line-height: 1.25;
}

.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recommendation-actions .btn {
  margin-top: 0;
  min-height: 48px;
}

.process-section {
  padding-top: 0;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.process-rail article {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
}

.process-rail span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 900;
}

.process-rail h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.process-rail p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-switch {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.mini-tabs {
  grid-row: 1;
  grid-column: 1;
  display: grid;
  gap: 8px;
  align-content: start;
  position: relative;
  z-index: 2;
}

.mini-tab {
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 860;
  cursor: pointer;
}

.mini-tab:hover,
.mini-tab.active {
  color: var(--white);
  background: #31285b;
  border-color: #31285b;
}

.mini-panel {
  grid-row: 1;
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 18px 24px;
  align-content: start;
  min-height: 360px;
  padding: clamp(24px, 4vw, 36px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.985);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.mini-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mini-panel h4 {
  grid-column: 1;
  max-width: 720px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.mini-panel > p {
  grid-column: 1;
}

.tab-visual {
  position: relative;
  grid-row: 1 / span 2;
  grid-column: 2;
  min-height: 240px;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(238, 90, 102, 0.14), rgba(10, 166, 180, 0.14)),
    #211a43;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 16px 34px rgba(42, 33, 79, 0.18);
}

.tab-visual::before,
.solution-visual::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.38;
}

.tab-visual::after {
  position: absolute;
  right: -42px;
  bottom: -28px;
  width: 176px;
  height: 92px;
  content: "";
  background: linear-gradient(135deg, rgba(130, 237, 243, 0.26), rgba(238, 90, 102, 0.12));
  border-radius: var(--radius);
  transform: rotate(-10deg);
}

.tab-visual span,
.tab-visual strong,
.tab-visual small,
.tab-visual > div {
  position: relative;
  z-index: 1;
}

.tab-visual span,
.tab-visual small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tab-visual strong {
  display: block;
  max-width: 280px;
  margin: 8px 0 14px;
  font-size: 1.35rem;
  line-height: 1.08;
}

.tab-visual small {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
}

.visual-bars,
.visual-steps,
.visual-line,
.visual-ring,
.visual-nodes,
.visual-frame,
.visual-energy-bars {
  min-height: 104px;
}

.visual-bars {
  display: flex;
  align-items: end;
  gap: 9px;
  width: 76%;
  margin-top: 20px;
}

.visual-bars i {
  flex: 1;
  min-width: 10px;
  background: linear-gradient(180deg, #28d8df, rgba(10, 166, 180, 0.28));
  border-radius: 6px 6px 0 0;
}

.visual-bars i:nth-child(1) { height: 38px; }
.visual-bars i:nth-child(2) { height: 70px; }
.visual-bars i:nth-child(3) { height: 54px; }
.visual-bars i:nth-child(4) { height: 84px; }
.visual-bars i:nth-child(5) { height: 64px; }

.visual-line {
  position: relative;
  margin-top: 12px;
}

.visual-line::before {
  position: absolute;
  top: 52px;
  right: 8px;
  left: 8px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--coral));
  border-radius: 999px;
  transform: rotate(-8deg);
}

.visual-line i {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--white);
  border: 6px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(10, 166, 180, 0.12);
}

.visual-line i:nth-child(1) { top: 62px; left: 6%; }
.visual-line i:nth-child(2) { top: 46px; left: 33%; }
.visual-line i:nth-child(3) { top: 34px; left: 60%; border-color: var(--coral); }
.visual-line i:nth-child(4) { top: 22px; left: 84%; border-color: var(--coral); }

.visual-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  margin-top: 14px;
}

.visual-steps i {
  display: block;
  min-height: 54px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(10, 166, 180, 0.30));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
}

.visual-steps i:nth-child(2) { min-height: 78px; }
.visual-steps i:nth-child(3) { min-height: 98px; }
.visual-steps i:nth-child(4) { min-height: 68px; background: linear-gradient(180deg, rgba(238, 90, 102, 0.42), rgba(238, 90, 102, 0.16)); }

.visual-ring {
  position: relative;
  margin-top: 8px;
}

.visual-ring i {
  position: absolute;
  border-radius: 50%;
}

.visual-ring i:nth-child(1) {
  top: 8px;
  left: 18px;
  width: 112px;
  height: 112px;
  border: 14px solid rgba(40, 216, 223, 0.76);
  border-right-color: rgba(238, 90, 102, 0.78);
}

.visual-ring i:nth-child(2) {
  top: 42px;
  left: 52px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.14);
}

.visual-ring i:nth-child(3) {
  top: 86px;
  left: 150px;
  width: 74px;
  height: 16px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  border-radius: 999px;
}

.visual-nodes {
  position: relative;
  margin-top: 8px;
}

.visual-nodes::before {
  position: absolute;
  top: 54px;
  right: 18px;
  left: 18px;
  height: 2px;
  content: "";
  background: rgba(130, 237, 243, 0.56);
}

.visual-nodes i {
  position: absolute;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--teal), #82edf3);
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.visual-nodes i:nth-child(1) { top: 42px; left: 4%; }
.visual-nodes i:nth-child(2) { top: 18px; left: 26%; }
.visual-nodes i:nth-child(3) { top: 58px; left: 48%; background: linear-gradient(135deg, var(--coral), #ff8790); }
.visual-nodes i:nth-child(4) { top: 30px; left: 68%; }
.visual-nodes i:nth-child(5) { top: 42px; left: 88%; background: linear-gradient(135deg, var(--coral), #ff8790); }

.visual-frame {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 78%;
  margin-top: 16px;
}

.visual-frame i {
  display: block;
  min-height: 46px;
  background: rgba(255, 255, 255, 0.10);
  border: 2px solid rgba(130, 237, 243, 0.52);
  border-radius: 7px;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.045);
}

.visual-frame i:nth-child(2),
.visual-frame i:nth-child(3) {
  border-color: rgba(238, 90, 102, 0.58);
}

.visual-energy-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  width: 74%;
  margin-top: 16px;
}

.visual-energy-bars i {
  display: block;
  min-height: 44px;
  background: linear-gradient(180deg, rgba(130, 237, 243, 0.88), rgba(10, 166, 180, 0.26));
  border-radius: 999px 999px 6px 6px;
}

.visual-energy-bars i:nth-child(2) { min-height: 76px; }
.visual-energy-bars i:nth-child(3) { min-height: 58px; background: linear-gradient(180deg, rgba(238, 90, 102, 0.72), rgba(238, 90, 102, 0.24)); }
.visual-energy-bars i:nth-child(4) { min-height: 96px; }

.visual-quality,
.visual-paint {
  background-image:
    linear-gradient(90deg, rgba(15, 14, 34, 0.82), rgba(15, 14, 34, 0.12) 58%, rgba(15, 14, 34, 0.42)),
    url("../img/generated/apra-quality-ai.jpg");
}

.visual-production,
.visual-plastic {
  background-image:
    linear-gradient(90deg, rgba(12, 20, 38, 0.82), rgba(12, 20, 38, 0.10) 58%, rgba(12, 20, 38, 0.36)),
    url("../img/generated/apra-production-ai.jpg");
}

.visual-maintenance {
  background-image:
    linear-gradient(90deg, rgba(12, 17, 30, 0.84), rgba(12, 17, 30, 0.14) 58%, rgba(12, 17, 30, 0.40)),
    url("../img/generated/apra-maintenance-ai.jpg");
}

.visual-apiot,
.visual-automotive,
.visual-multi {
  background-image:
    linear-gradient(90deg, rgba(10, 16, 31, 0.84), rgba(10, 16, 31, 0.12) 58%, rgba(10, 16, 31, 0.38)),
    url("../img/generated/apra-iiot-traceability-ai.jpg");
}

.visual-energy {
  background-image:
    linear-gradient(90deg, rgba(12, 31, 32, 0.84), rgba(12, 31, 32, 0.12) 58%, rgba(12, 31, 32, 0.38)),
    url("../img/generated/apra-iiot-traceability-ai.jpg");
}

.visual-apsight {
  background-image:
    linear-gradient(90deg, rgba(13, 16, 34, 0.92), rgba(13, 16, 34, 0.22) 52%, rgba(13, 16, 34, 0.34)),
    url("../img/generated/apra-apsight-machine-vision-ai.jpg");
  background-position: center right;
}

.visual-apeny {
  background-image:
    linear-gradient(90deg, rgba(12, 31, 32, 0.84), rgba(12, 31, 32, 0.12) 58%, rgba(12, 31, 32, 0.38)),
    url("../img/generated/apra-iiot-traceability-ai.jpg");
}

.visual-apravisor {
  background-image:
    linear-gradient(90deg, rgba(18, 14, 36, 0.84), rgba(18, 14, 36, 0.12) 58%, rgba(18, 14, 36, 0.40)),
    url("../img/generated/apra-product-platform-ai.jpg");
}

.sector-detail .tab-visual {
  background-image:
    linear-gradient(135deg, rgba(42, 33, 79, 0.96), rgba(12, 18, 36, 0.94)),
    repeating-linear-gradient(90deg, rgba(130, 237, 243, 0.12) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px);
  background-color: #17122f;
}

.sector-detail .tab-visual::before {
  background:
    linear-gradient(115deg, transparent 0 54%, rgba(10, 166, 180, 0.22) 54% 72%, transparent 72%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  opacity: 0.78;
}

.product-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.product-meta div {
  min-height: 104px;
  padding: 14px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
}

.product-meta span {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}

.mini-panel ul {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mini-panel li,
.proof-grid article,
.solution-grid article,
.about-grid article,
.detail-grid div,
.contact-list a,
.contact-list span {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-panel li {
  padding: 13px 14px;
  color: var(--purple);
  background: #f4f1fb;
  font-weight: 820;
}

.solution-grid,
.proof-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.solution-grid article,
.proof-grid article,
.about-grid article {
  min-height: 190px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.solution-grid article {
  min-height: 300px;
}

.solution-visual {
  position: relative;
  height: 86px;
  margin: 2px 0 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 166, 180, 0.12), rgba(238, 90, 102, 0.09)),
    #f8fafc;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
}

.solution-iiot {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.38)),
    url("../img/generated/apra-iiot-traceability-ai.jpg");
}

.solution-efficiency,
.solution-ai {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.36)),
    url("../img/generated/apra-production-ai.jpg");
}

.solution-quality {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.36)),
    url("../img/generated/apra-quality-ai.jpg");
}

.solution-uptime {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.36)),
    url("../img/generated/apra-maintenance-ai.jpg");
}

.solution-energy {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.38)),
    url("../img/generated/apra-iiot-traceability-ai.jpg");
}

.solution-visual i {
  position: absolute;
  display: block;
  background: linear-gradient(180deg, var(--teal), rgba(10, 166, 180, 0.24));
  border-radius: 999px;
}

.solution-visual i:nth-child(1) { right: 18px; bottom: 14px; width: 20px; height: 42px; }
.solution-visual i:nth-child(2) { right: 48px; bottom: 14px; width: 20px; height: 62px; }
.solution-visual i:nth-child(3) { right: 78px; bottom: 14px; width: 20px; height: 34px; }
.solution-visual i:nth-child(4) { left: 18px; top: 18px; width: 54px; height: 12px; background: rgba(42, 33, 79, 0.22); }

.solution-ai i,
.solution-quality i,
.solution-uptime i {
  background: linear-gradient(180deg, var(--coral), rgba(238, 90, 102, 0.24));
}

.solution-energy i {
  background: linear-gradient(180deg, var(--green), rgba(56, 163, 107, 0.22));
}

.solution-grid ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.solution-grid li {
  padding: 9px 11px;
  color: var(--purple);
  background: #f4f1fb;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 780;
}

.solution-grid article:nth-child(2n) span {
  color: var(--coral-dark);
  background: rgba(242, 92, 106, 0.10);
}

.traceability-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.76fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

.traceability-copy {
  display: grid;
  align-content: center;
  min-height: 390px;
  padding: clamp(28px, 4vw, 42px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(238, 90, 102, 0.16), rgba(10, 166, 180, 0.13)),
    #2a214f;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.traceability-copy .eyebrow {
  color: #82edf3;
}

.traceability-copy h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.04;
}

.traceability-copy p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.traceability-copy .btn {
  justify-self: start;
  margin-top: 8px;
}

.traceability-map {
  display: grid;
  gap: 12px;
}

.traceability-map article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 16px;
  align-content: center;
  min-height: 122px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.traceability-map span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal-dark);
  background: rgba(8, 184, 199, 0.11);
  border-radius: 7px;
  font-weight: 900;
}

.traceability-map strong {
  display: block;
  align-self: center;
  font-size: 1.25rem;
  line-height: 1.15;
}

.traceability-map p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.sector-switch {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.sector-detail {
  min-height: 430px;
  align-content: start;
}

.sector-detail h4 {
  max-width: 840px;
}

.detail-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.detail-grid div {
  min-height: 140px;
  padding: 16px;
  background: #fbfcfe;
}

.detail-grid strong,
.detail-grid span,
.about-grid span {
  display: block;
}

.detail-grid strong {
  margin-bottom: 8px;
  color: var(--purple);
}

.detail-grid span {
  color: var(--muted);
}

.sector-fit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  background: #f6fbfc;
  border: 1px solid rgba(10, 166, 180, 0.18);
  border-radius: var(--radius);
}

.sector-fit strong {
  color: var(--teal-dark);
}

.sector-fit span {
  color: var(--muted);
}

.sector-fit a {
  padding: 10px 12px;
  color: var(--white);
  background: var(--coral);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 820;
  text-align: center;
}

.about-grid article {
  min-height: 240px;
}

.about-grid span {
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--purple);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.about-grid article:nth-child(2) span {
  background: var(--coral);
}

.about-grid article:nth-child(3) span {
  background: var(--teal-dark);
}

.award {
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.98), rgba(255, 253, 247, 0.96)) !important;
  border-color: rgba(245, 166, 35, 0.38) !important;
}

.award strong {
  display: block;
  margin-bottom: 14px;
  color: #805500;
  font-size: 1.2rem;
  line-height: 1.22;
}

.proof-block {
  margin-top: clamp(44px, 6vw, 68px);
}

.section-head.proof-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 30px;
  align-items: end;
}

.section-head.proof-head > p {
  max-width: 520px;
}

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

.proof-grid article {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.proof-block.is-motion-ready:not(.is-in-view) .proof-grid article {
  opacity: 0;
  transform: translateY(18px);
}

.proof-block.is-motion-ready .proof-grid article {
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: calc(var(--proof-index, 0) * 70ms);
}

.proof-block.is-in-view .proof-grid article {
  opacity: 1;
  transform: translateY(0);
}

.proof-grid article:nth-child(1) { --proof-index: 0; }
.proof-grid article:nth-child(2) { --proof-index: 1; }
.proof-grid article:nth-child(3) { --proof-index: 2; }
.proof-grid article:nth-child(4) { --proof-index: 3; }
.proof-grid article:nth-child(5) { --proof-index: 4; }
.proof-grid article:nth-child(6) { --proof-index: 5; }
.proof-grid article:nth-child(7) { --proof-index: 6; }
.proof-grid article:nth-child(8) { --proof-index: 7; }

.proof-grid article span {
  width: max-content;
  margin-bottom: 20px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--purple);
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-feature span {
  background: #8a5a00;
}

.proof-case span {
  color: var(--teal-dark);
  background: rgba(10, 166, 180, 0.11);
}

.proof-ecosystem span {
  color: var(--purple);
  background: rgba(42, 33, 79, 0.10);
}

.proof-case h4 {
  margin-bottom: 16px;
  color: var(--ink);
}

.proof-case p,
.proof-feature p {
  margin-bottom: 0;
}

.reference-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.reference-panel h4 {
  max-width: 360px;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.reference-strip {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 2px;
}

.reference-strip::before,
.reference-strip::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 64px;
  pointer-events: none;
  content: "";
}

.reference-strip::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.reference-strip::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.reference-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: referenceMarquee 34s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.proof-block.is-in-view .reference-track {
  animation-play-state: running;
}

.reference-set {
  display: flex;
  gap: 10px;
}

.reference-set span {
  display: grid;
  place-items: center;
  width: clamp(170px, 13vw, 230px);
  min-height: 70px;
  padding: 12px 16px;
  color: var(--purple);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

@keyframes referenceMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 5px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-block.is-motion-ready .proof-grid article {
    transition: none;
  }

  .reference-track {
    width: auto;
    animation: none;
  }

  .reference-set {
    flex-wrap: wrap;
  }

  .reference-set[aria-hidden="true"] {
    display: none;
  }
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: clamp(34px, 5vw, 62px);
  padding: clamp(28px, 5vw, 42px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(238, 90, 102, 0.16), rgba(10, 166, 180, 0.10)),
    var(--purple-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.final-cta .eyebrow {
  color: #82edf3;
}

.assistant-section {
  scroll-margin-top: 82px;
}

.assistant-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

.assistant-card,
.assistant-result {
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.assistant-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.assistant-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.assistant-options {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.assistant-options button {
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  text-align: left;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 820;
  cursor: pointer;
}

.assistant-options button:hover,
.assistant-options button.active {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

.assistant-result {
  padding: clamp(24px, 4vw, 36px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(238, 90, 102, 0.14), rgba(10, 166, 180, 0.10)),
    var(--purple-2);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.assistant-result h3 {
  max-width: 760px;
}

.assistant-result p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.76);
}

.assistant-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.assistant-result-grid div {
  min-height: 120px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.floating-assistant {
  position: fixed;
  right: clamp(16px, 2.6vw, 30px);
  bottom: clamp(16px, 2.6vw, 30px);
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.floating-assistant > * {
  pointer-events: auto;
}

.assistant-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 9px 15px 9px 10px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(238, 90, 102, 0.94), rgba(42, 33, 79, 0.98) 58%, rgba(10, 166, 180, 0.94)),
    var(--purple);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  box-shadow: 0 20px 42px rgba(7, 12, 22, 0.24);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.assistant-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(7, 12, 22, 0.30);
  filter: saturate(1.06);
}

.assistant-fab span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--purple);
  background: var(--white);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
}

.assistant-fab strong {
  font-size: 0.95rem;
  line-height: 1;
}

.assistant-popover[hidden] {
  display: none;
}

.assistant-popover {
  width: min(420px, calc(100vw - 32px));
  max-height: min(74vh, 640px);
  overflow: auto;
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(10, 166, 180, 0.18) 0%, transparent 34%),
    linear-gradient(145deg, rgba(238, 90, 102, 0.12), transparent 38%),
    rgba(23, 18, 47, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(7, 12, 22, 0.36);
  backdrop-filter: blur(18px);
  transform-origin: 100% 100%;
  animation: assistantReveal 180ms ease both;
}

@keyframes assistantReveal {
  from {
    opacity: 0.96;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.assistant-popover-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.assistant-popover-head span {
  display: block;
  color: #82edf3;
  font-size: 0.78rem;
  font-weight: 920;
  text-transform: uppercase;
}

.assistant-popover-head strong {
  display: block;
  margin-top: 2px;
  font-size: 1.24rem;
  line-height: 1.08;
}

.assistant-close {
  min-height: 34px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  cursor: pointer;
}

.assistant-close:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.assistant-intro {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  line-height: 1.45;
}

.assistant-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 14px;
}

.assistant-quick-grid button {
  min-height: 39px;
  padding: 8px 9px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.assistant-quick-grid button:hover,
.assistant-quick-grid button.active {
  color: var(--white);
  background: rgba(10, 166, 180, 0.28);
  border-color: rgba(130, 237, 243, 0.45);
}

.assistant-route {
  padding: 15px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.assistant-route > span {
  display: block;
  margin-bottom: 8px;
  color: #82edf3;
  font-size: 0.74rem;
  font-weight: 920;
  text-transform: uppercase;
}

.assistant-route h3 {
  margin: 0 0 10px;
  font-size: clamp(1.22rem, 2.2vw, 1.48rem);
  line-height: 1.1;
}

.assistant-route p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.42;
}

.assistant-route-grid {
  display: grid;
  gap: 0;
  margin-bottom: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.assistant-route-grid div {
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.assistant-route-grid div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.assistant-route-grid small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
  font-weight: 880;
  text-transform: uppercase;
}

.assistant-route-grid strong {
  display: block;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.25;
}

.assistant-popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.assistant-popover-actions .btn {
  min-height: 40px;
  padding: 10px 11px;
  font-size: 0.86rem;
}

.contact-copy {
  max-width: 530px;
}

.contact-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.contact-list a,
.contact-list span {
  padding: 13px 14px;
}

.contact-list a {
  color: var(--teal-dark);
  font-weight: 860;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

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

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 760;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 184, 199, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-note.success {
  color: var(--green);
  font-weight: 760;
}

.form-note.error {
  color: var(--coral-dark);
  font-weight: 760;
}

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(16px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy);
}

.footer-brand img {
  width: 138px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer span {
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(6, 11, 19, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
  }

  .main-nav.is-open a {
    padding: 10px 6px;
  }

  .hero-inner,
  .page-hero,
  .final-cta,
  .traceability-section,
  .workspace-head,
  .section-head,
  .need-layout,
  .homepage-need .need-layout,
  .contact-panel.active,
  .assistant-shell,
  .product-switch,
  .sector-fit,
  .reference-panel {
    grid-template-columns: 1fr;
  }

  .hero-console {
    max-width: 680px;
  }

  .section-head.proof-head {
    grid-template-columns: 1fr;
  }

  .focus-strip,
  .route-grid,
  .process-rail,
  .solution-grid,
  .proof-grid,
  .about-grid,
  .detail-grid,
  .reference-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-tabs {
    display: flex;
    flex-wrap: wrap;
  }

  .mini-panel {
    grid-row: 2;
    grid-column: 1;
  }

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

@media (max-width: 720px) {
  body {
    background-position:
      0 0,
      0 0;
    background-size:
      100% 100%,
      100% 680px;
    background-attachment: scroll;
  }

  body::before {
    background-size: 54px 54px;
    opacity: 0.24;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 118px;
    padding: 4px 6px;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding: 56px 0 56px;
  }

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

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  h3 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .hero-actions,
  .hero-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-console {
    padding: 12px;
  }

  .console-top,
  .console-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .console-card.big,
  .console-card.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .bars {
    height: 96px;
  }

  .focus-strip {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
    margin-top: -24px;
  }

  .focus-strip div {
    min-height: auto;
    padding: 20px;
  }

  .workspace {
    width: min(100% - 32px, 1180px);
    padding-block: 60px;
    scroll-margin-top: 82px;
  }

  .content-section {
    width: min(100% - 32px, 1180px);
    padding-block: 58px;
    scroll-margin-top: 82px;
  }

  .homepage-need {
    padding: 24px;
  }

  .homepage-need .panel-copy h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .page-hero::before {
    inset: 18px calc(50% - 50vw) 22px;
    opacity: 0.62;
  }

  .workspace::before,
  .content-section:not(.final-cta)::before {
    inset: 22px -16px;
    opacity: 0.55;
  }

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

  .route-card {
    min-height: auto;
    padding: 20px;
  }

  .page-visual,
  .page-visual img {
    min-height: 320px;
  }

  .mini-tabs {
    display: flex;
    overflow-x: auto;
    gap: 1px;
    scrollbar-width: thin;
  }

  .mini-tab {
    min-width: max-content;
    white-space: nowrap;
  }

  .mini-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mini-panel h4,
  .mini-panel > p,
  .tab-visual {
    grid-column: 1;
  }

  .tab-visual {
    grid-row: auto;
    min-height: 210px;
  }

  .need-cards,
  .homepage-need .need-cards,
  .process-rail,
  .solution-grid,
  .traceability-map article,
  .product-meta,
  .assistant-result-grid,
  .detail-grid,
  .about-grid,
  .proof-grid,
  .reference-strip,
  .form-grid,
  .mini-panel ul,
  .reference-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .need-card,
  .solution-grid article,
  .about-grid article,
  .detail-grid div,
  .proof-grid article {
    min-height: auto;
  }

  .homepage-need .need-card {
    min-height: 142px;
  }

  .traceability-copy {
    min-height: auto;
  }

  .traceability-map article {
    grid-template-columns: 1fr;
  }

  .traceability-map p {
    grid-column: auto;
  }

  .recommendation-head,
  .recommendation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .recommendation,
  .mini-panel,
  .quote-form {
    padding: 20px;
  }

  .floating-assistant {
    right: 16px;
    left: auto;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 32px);
    justify-items: end;
  }

  .assistant-fab {
    justify-content: start;
    width: auto;
    min-height: 50px;
    padding: 8px;
    gap: 0;
    border-radius: 999px;
  }

  .assistant-fab strong {
    display: none;
  }

  .assistant-popover {
    width: min(380px, calc(100vw - 32px));
    max-height: min(62dvh, 520px);
    padding: 15px;
    background:
      linear-gradient(118deg, rgba(10, 166, 180, 0.16) 0%, transparent 34%),
      linear-gradient(145deg, rgba(238, 90, 102, 0.10), transparent 38%),
      var(--purple-2);
  }

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

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