/* =========================================================
   PentaPhoenix Robotics — Single-page landing page
   Self-contained, responsive, accessible, no external fonts.
   ========================================================= */

:root {
  --navy-950: #041026;
  --navy-900: #07152f;
  --navy-850: #0a1b3c;
  --navy-800: #0d2348;
  --navy-700: #143565;
  --ink: #09182f;
  --ink-soft: #43536a;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --sand: #f2f0ea;
  --line: rgba(9, 24, 47, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --orange: #ff5a00;
  --orange-2: #ff7a00;
  --gold: #f6b500;
  --teal: #00b3a4;
  --blue: #2563eb;
  --purple: #7539d7;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(6, 20, 48, 0.12);
  --shadow-dark: 0 28px 90px rgba(0, 0, 0, 0.26);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 40px));
  --header-height: 82px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--orange);
}

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

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

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

button {
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.section-light {
  background: var(--surface);
}

.section-dark {
  color: var(--white);
  background: var(--navy-950);
}

.section-sand {
  background: var(--sand);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--navy-950);
  background: #fff;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

.page-noise {
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  opacity: .028;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(20, 90, 255, .10), rgba(20, 90, 255, 0) 68%);
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 16, 38, .86);
  border-color: rgba(255, 255, 255, .09);
  box-shadow: 0 14px 50px rgba(0, 0, 0, .20);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 47px;
  height: 39px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  display: flex;
  align-items: baseline;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.035em;
}

.brand-copy strong span {
  color: #fff;
}

.brand-copy strong em {
  color: var(--orange);
  font-style: normal;
}

.brand-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .74);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: .46em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 600;
}

.primary-nav > a {
  position: relative;
  padding: 10px 0;
  transition: color .2s ease;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.primary-nav > a:hover,
.primary-nav > a:focus-visible {
  color: #fff;
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 18px !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  transition: border-color .2s ease, background .2s ease, transform .2s ease !important;
}

.nav-cta:hover {
  border-color: rgba(255, 122, 0, .7);
  background: rgba(255, 90, 0, .12);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

/* Generic elements */
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .7);
}

.eyebrow-dot,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 90, 0, .12), 0 0 24px rgba(255, 90, 0, .8);
}

.section-heading,
.process-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 66px;
}

.section-heading h2,
.process-header h2,
.flow-copy h2,
.cta-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -.052em;
}

.section-heading > p,
.process-header > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.section-heading-dark > p {
  color: rgba(255, 255, 255, .62);
}

.section-heading-dark h2 {
  color: #fff;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease);
}

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

.button:hover svg {
  transform: translateX(4px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 14px 32px rgba(255, 90, 0, .28);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(255, 90, 0, .38);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .09);
}

.play-dot {
  position: relative;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}

.play-dot::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  content: "";
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #fff;
  transform: translate(-50%, -50%);
}

/* Hero */
.hero {
  position: relative;
  min-height: 920px;
  padding: 170px 0 54px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 220px;
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(3, 12, 28, .8));
}

.hero-grid,
.insights-grid-bg,
.cta-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}

.hero-grid::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.16), transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  top: -260px;
  right: -100px;
  width: 740px;
  height: 740px;
  background: radial-gradient(circle, rgba(37, 99, 235, .20), transparent 68%);
}

.hero-orb-two {
  bottom: -360px;
  left: -220px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(117, 57, 215, .18), transparent 68%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr);
  align-items: center;
  gap: 60px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 6.2vw, 86px);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.06em;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(90deg, #ff6a00 0%, #f6b500 45%, #00b3a4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 700px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.hero-trust span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, .60);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  isolation: isolate;
}

.hero-core {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 345px;
  transform: translate(-50%, -48%);
}

.hero-core img {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 32px 50px rgba(0, 0, 0, .34));
  animation: coreFloat 5.6s ease-in-out infinite;
}

.core-halo {
  position: absolute;
  z-index: 0;
  inset: 15% 5% 3%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .22), rgba(117, 57, 215, .08) 46%, transparent 72%);
  filter: blur(18px);
  animation: haloPulse 4s ease-in-out infinite;
}

.tech-ring {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.tech-ring::before,
.tech-ring::after {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px rgba(255, 90, 0, .8);
}

.tech-ring-outer {
  width: 580px;
  height: 580px;
  border-style: dashed;
  animation: spin 38s linear infinite;
}

.tech-ring-outer::before { top: 11%; left: 22%; }
.tech-ring-outer::after { right: 8%; bottom: 24%; background: var(--teal); box-shadow: 0 0 16px rgba(0,179,164,.8); }

.tech-ring-inner {
  width: 430px;
  height: 430px;
  animation: spinReverse 28s linear infinite;
}

.tech-ring-inner::before { top: 50%; left: -4px; background: var(--blue); box-shadow: 0 0 16px rgba(37,99,235,.9); }
.tech-ring-inner::after { top: 5%; right: 28%; background: var(--gold); box-shadow: 0 0 16px rgba(246,181,0,.9); }

.data-arc {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
}

.data-arc-a {
  top: 38px;
  right: 32px;
  width: 220px;
  height: 220px;
  border-top-color: rgba(0,179,164,.45);
  border-right-color: rgba(0,179,164,.12);
  transform: rotate(20deg);
}

.data-arc-b {
  bottom: 60px;
  left: 28px;
  width: 190px;
  height: 190px;
  border-bottom-color: rgba(117,57,215,.45);
  border-left-color: rgba(117,57,215,.12);
  transform: rotate(-12deg);
}

.orbit-node {
  position: absolute;
  z-index: 10;
  display: grid;
  grid-template-columns: 39px auto;
  grid-template-rows: auto auto;
  min-width: 140px;
  align-items: center;
  column-gap: 10px;
  padding: 10px 13px 10px 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  background: rgba(9, 28, 60, .70);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

.orbit-node::after {
  position: absolute;
  width: 55px;
  height: 1px;
  content: "";
  opacity: .45;
  background: linear-gradient(90deg, currentColor, transparent);
}

.orbit-node b {
  align-self: end;
  font-size: 11px;
  letter-spacing: .12em;
}

.orbit-node small {
  align-self: start;
  color: rgba(255,255,255,.55);
  font-size: 10px;
}

.node-icon {
  grid-row: 1 / span 2;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 10px;
}

.node-icon svg {
  width: 21px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node-orange { background: linear-gradient(135deg, #ff4e00, #ff7b00); }
.node-gold { background: linear-gradient(135deg, #d99300, #ffc700); }
.node-teal { background: linear-gradient(135deg, #008f87, #00c9b8); }
.node-blue { background: linear-gradient(135deg, #0b46c5, #2f7cff); }
.node-purple { background: linear-gradient(135deg, #5423aa, #8d4ae5); }

.node-ai { top: 8%; left: 38%; animation: nodeFloat 5s ease-in-out infinite; }
.node-ai::after { top: 50%; right: 100%; width: 42px; transform: rotate(-18deg); }
.node-mech { top: 26%; left: 0; animation: nodeFloat 5.8s .3s ease-in-out infinite; }
.node-mech::after { top: 50%; left: 100%; width: 62px; }
.node-vision { top: 27%; right: -4%; animation: nodeFloat 6.2s .6s ease-in-out infinite; }
.node-vision::after { top: 50%; right: 100%; width: 65px; transform: rotate(180deg); }
.node-motion { bottom: 16%; left: 2%; animation: nodeFloat 5.6s .9s ease-in-out infinite; }
.node-motion::after { top: 10%; left: 100%; width: 56px; transform: rotate(-28deg); transform-origin: left; }
.node-system { right: 0; bottom: 15%; animation: nodeFloat 6s 1.2s ease-in-out infinite; }
.node-system::after { top: 10%; right: 100%; width: 58px; transform: rotate(205deg); transform-origin: right; }

.hero-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.7fr;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.metric {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 16px;
  padding: 24px 30px;
  border-right: 1px solid rgba(255,255,255,.10);
}

.metric strong {
  color: #fff;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.04em;
}

.metric span,
.metric p {
  margin: 0;
  color: rgba(255,255,255,.56);
  font-size: 13px;
  line-height: 1.35;
}

.metric-wide {
  border-right: 0;
}

.metric-wide p {
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.intro-band {
  padding: 34px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.intro-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.intro-band p,
.intro-band strong {
  margin: 0;
}

.intro-band p {
  color: var(--ink-soft);
}

.intro-band strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

/* Capabilities */
.capabilities {
  overflow: hidden;
}

.capabilities::before {
  position: absolute;
  top: 12%;
  left: -180px;
  width: 500px;
  height: 500px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.065), transparent 68%);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.capability-card {
  position: relative;
  grid-column: span 2;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 50px rgba(6,20,48,.045);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}

.capability-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--card-accent);
}

.capability-card::after {
  position: absolute;
  z-index: 0;
  top: -80px;
  right: -80px;
  width: 210px;
  height: 210px;
  content: "";
  border-radius: 50%;
  opacity: .08;
  background: var(--card-accent);
  transition: transform .4s var(--ease), opacity .35s ease;
}

.capability-card:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--card-accent), transparent 68%);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.capability-card:hover::after {
  opacity: .13;
  transform: scale(1.18);
}

.capability-orange { --card-accent: var(--orange); }
.capability-gold { --card-accent: var(--gold); }
.capability-teal { --card-accent: var(--teal); }
.capability-blue { --card-accent: var(--blue); }
.capability-purple { --card-accent: var(--purple); }

.card-number {
  position: absolute;
  top: 29px;
  right: 29px;
  z-index: 1;
  color: rgba(9,24,47,.26);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.capability-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 44px;
  place-items: center;
  color: var(--card-accent);
  border: 1px solid color-mix(in srgb, var(--card-accent), transparent 68%);
  border-radius: 17px;
  background: color-mix(in srgb, var(--card-accent), transparent 92%);
}

.capability-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.capability-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.capability-card ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.capability-card li {
  padding: 6px 9px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafbfc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.capability-featured {
  grid-column: span 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 230px;
  align-items: center;
  gap: 28px;
  min-height: 310px;
}

.capability-featured .capability-icon {
  margin: 0;
}

.featured-copy h3 {
  font-size: 30px;
}

.mini-diagram {
  position: relative;
  width: 210px;
  height: 210px;
  border: 1px dashed rgba(117,57,215,.28);
  border-radius: 50%;
  animation: spin 32s linear infinite;
}

.mini-diagram::before,
.mini-diagram::after {
  position: absolute;
  inset: 25px;
  content: "";
  border: 1px solid rgba(117,57,215,.15);
  border-radius: 50%;
}

.mini-diagram::after {
  inset: 55px;
}

.diagram-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 12px 30px rgba(117,57,215,.30);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.diagram-dot {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 4px 14px rgba(117,57,215,.28);
}

.d1 { top: 8px; left: 95px; }
.d2 { top: 60px; right: 7px; background: var(--teal); }
.d3 { right: 35px; bottom: 14px; background: var(--blue); }
.d4 { bottom: 14px; left: 35px; background: var(--orange); }
.d5 { top: 60px; left: 7px; background: var(--gold); }

/* Solutions */
.solutions {
  overflow: hidden;
}

.solutions-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 1100px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,.14), transparent 68%);
  transform: translateX(-50%);
}

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

.solution-card {
  position: relative;
  min-height: 430px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: 0 18px 55px rgba(0,0,0,.14);
  transition: transform .35s var(--ease), border-color .35s ease, background .35s ease;
}

.solution-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  content: "";
  border-radius: 50%;
  opacity: .08;
  background: radial-gradient(circle, var(--orange), transparent 68%);
}

.solution-card:hover {
  border-color: rgba(255,122,0,.42);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  transform: translateY(-7px);
}

.solution-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.38);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.solution-topline i {
  width: 42px;
  height: 1px;
  background: rgba(255,255,255,.18);
}

.solution-symbol {
  display: grid;
  width: 120px;
  height: 120px;
  margin: 36px 0 30px;
  place-items: center;
  color: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 32px;
  background: radial-gradient(circle at 30% 20%, rgba(37,99,235,.25), rgba(255,255,255,.025));
  transform: rotate(-3deg);
}

.solution-symbol svg {
  width: 70px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card:nth-child(2) .solution-symbol { background: radial-gradient(circle at 30% 20%, rgba(0,179,164,.25), rgba(255,255,255,.025)); }
.solution-card:nth-child(3) .solution-symbol { background: radial-gradient(circle at 30% 20%, rgba(246,181,0,.25), rgba(255,255,255,.025)); }
.solution-card:nth-child(4) .solution-symbol { background: radial-gradient(circle at 30% 20%, rgba(255,90,0,.25), rgba(255,255,255,.025)); }
.solution-card:nth-child(5) .solution-symbol { background: radial-gradient(circle at 30% 20%, rgba(117,57,215,.28), rgba(255,255,255,.025)); }
.solution-card:nth-child(6) .solution-symbol { background: radial-gradient(circle at 30% 20%, rgba(37,99,235,.28), rgba(255,255,255,.025)); }

.solution-card h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.solution-card p {
  margin: 0;
  color: rgba(255,255,255,.56);
  font-size: 15px;
  line-height: 1.72;
}

.solution-card a {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 25px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  color: rgba(255,255,255,.78);
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.solution-card a span {
  color: var(--orange);
  font-size: 18px;
  transition: transform .25s ease;
}

.solution-card:hover a span {
  transform: translate(3px, -3px);
}

.solution-card-accent {
  border-color: rgba(255,90,0,.30);
  background: linear-gradient(155deg, rgba(255,90,0,.15), rgba(255,255,255,.025));
}

/* Flow */
.intelligence-flow {
  overflow: hidden;
}

.intelligence-flow::after {
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 500px;
  height: 500px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,179,164,.08), transparent 68%);
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr);
  align-items: center;
  gap: 90px;
}

.flow-copy h2 {
  margin-bottom: 25px;
}

.flow-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-bottom: 7px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--orange);
  font-size: 18px;
}

.flow-visual {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 0;
}

.flow-line {
  position: absolute;
  z-index: 0;
  top: 52px;
  bottom: 52px;
  left: 35px;
  width: 1px;
  background: linear-gradient(to bottom, var(--orange), var(--gold), var(--teal), var(--blue), var(--purple));
}

.flow-step {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 78%;
  padding: 18px 22px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 38px rgba(6,20,48,.06);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

.flow-step:hover {
  border-color: rgba(37,99,235,.22);
  box-shadow: 0 18px 46px rgba(6,20,48,.10);
  transform: translateX(8px);
}

.flow-step:nth-of-type(even) {
  align-self: flex-end;
}

.flow-step > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--step-color);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--step-color), transparent 68%);
  font-size: 11px;
  font-weight: 850;
}

.flow-step b,
.flow-step small {
  display: block;
}

.flow-step b {
  font-size: 12px;
  letter-spacing: .15em;
}

.flow-step small {
  margin-top: 2px;
  color: var(--ink-soft);
}

.flow-step-1 { --step-color: var(--orange); }
.flow-step-2 { --step-color: var(--gold); }
.flow-step-3 { --step-color: var(--teal); }
.flow-step-4 { --step-color: var(--blue); }
.flow-step-5 { --step-color: var(--purple); }

.flow-pulse {
  position: absolute;
  z-index: 3;
  top: 43px;
  left: 30px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255,90,0,.14), 0 0 18px rgba(255,90,0,.55);
  animation: flowPulse 6s linear infinite;
}

/* Applications */
.application-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.application-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  box-shadow: 0 18px 65px rgba(6,20,48,.12);
}

.application-large {
  grid-row: span 2;
  min-height: 858px;
}

.application-wide {
  grid-column: 1 / -1;
  min-height: 410px;
  background: linear-gradient(120deg, #091a3b, #0a2447 54%, #102d5f);
}

.application-tag {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: 24px;
  padding: 8px 10px;
  color: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.application-copy {
  position: absolute;
  z-index: 5;
  right: 30px;
  bottom: 30px;
  left: 30px;
}

.application-copy > span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

.application-copy h3 {
  margin: 8px 0 12px;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: -.04em;
}

.application-large .application-copy h3,
.application-wide .application-copy h3 {
  font-size: 38px;
}

.application-copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(255,255,255,.60);
  font-size: 15px;
  line-height: 1.72;
}

.application-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.application-art::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(4,16,38,.92));
}

.art-pick-place {
  background: radial-gradient(circle at 65% 20%, rgba(37,99,235,.30), transparent 37%), linear-gradient(145deg, #08162f, #0a2550);
}

.art-grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(560px) rotateX(65deg) translateY(210px) scale(1.5);
  transform-origin: bottom;
}

.robot-base {
  position: absolute;
  z-index: 2;
  top: 42%;
  left: 17%;
  width: 100px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, #295bba, #0d2c65);
  box-shadow: 0 30px 50px rgba(0,0,0,.35);
}

.robot-arm {
  position: absolute;
  z-index: 3;
  height: 32px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: linear-gradient(180deg, #3276e8, #17489d);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  transform-origin: left center;
}

.arm-a {
  top: 36%;
  left: 23%;
  width: 190px;
  transform: rotate(-51deg);
}

.arm-b {
  top: 22%;
  left: 41%;
  width: 170px;
  transform: rotate(28deg);
}

.robot-joint {
  position: absolute;
  z-index: 4;
  width: 54px;
  height: 54px;
  border: 6px solid #183f87;
  border-radius: 50%;
  background: radial-gradient(circle, #d9e7ff 0 21%, #4d8cf6 22% 54%, #173f88 55%);
  box-shadow: 0 12px 25px rgba(0,0,0,.28);
}

.joint-a { top: 33%; left: 19%; }
.joint-b { top: 18%; left: 39%; }

.robot-gripper {
  position: absolute;
  z-index: 4;
  top: 29%;
  left: 65%;
  width: 44px;
  height: 54px;
  border: 7px solid #ff7a00;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  transform: rotate(18deg);
}

.conveyor {
  position: absolute;
  z-index: 1;
  top: 48%;
  right: -8%;
  width: 68%;
  height: 68px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: repeating-linear-gradient(90deg, #263b5f 0 38px, #1b2e50 38px 44px);
  box-shadow: 0 20px 44px rgba(0,0,0,.3);
  transform: rotate(-3deg);
}

.box {
  position: absolute;
  z-index: 3;
  width: 72px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 8px;
  background: linear-gradient(145deg, #f29a20, #a95600);
  box-shadow: 0 18px 30px rgba(0,0,0,.25);
}

.box-a { top: 42%; right: 30%; transform: rotate(-3deg); }
.box-b { top: 39%; right: 12%; transform: rotate(-3deg); }

.art-vision {
  background: radial-gradient(circle at 50% 35%, rgba(0,179,164,.30), transparent 47%), #07172f;
}

.vision-frame {
  position: absolute;
  z-index: 2;
  border: 2px solid #00d1bb;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(0,209,187,.22), inset 0 0 18px rgba(0,209,187,.08);
}

.vf1 { top: 24%; left: 17%; width: 130px; height: 110px; }
.vf2 { top: 18%; right: 15%; width: 95px; height: 145px; border-color: #54e5d8; }

.vision-object {
  position: absolute;
  z-index: 1;
  border-radius: 16px;
  background: linear-gradient(145deg, #25436e, #122844);
  box-shadow: 0 20px 34px rgba(0,0,0,.28);
}

.vo1 { top: 29%; left: 21%; width: 92px; height: 70px; transform: rotate(-7deg); }
.vo2 { top: 24%; right: 19%; width: 64px; height: 101px; transform: rotate(8deg); }
.vo3 { top: 48%; left: 43%; width: 74px; height: 52px; transform: rotate(14deg); }

.scan-line {
  position: absolute;
  z-index: 4;
  top: 20%;
  right: 10%;
  left: 10%;
  height: 1px;
  background: #00e6ce;
  box-shadow: 0 0 16px #00e6ce;
  animation: scan 3s ease-in-out infinite;
}

.art-motion {
  background: radial-gradient(circle at 55% 30%, rgba(246,181,0,.20), transparent 45%), #08172f;
}

.motion-axis {
  position: absolute;
  z-index: 2;
  border-radius: 14px;
  background: linear-gradient(180deg, #38567e, #142b4e);
  box-shadow: 0 18px 32px rgba(0,0,0,.32);
}

.axis-x { top: 43%; left: 10%; width: 80%; height: 30px; }
.axis-y { top: 14%; left: 52%; width: 30px; height: 53%; }

.motion-head {
  position: absolute;
  z-index: 4;
  top: 28%;
  left: calc(52% - 20px);
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: linear-gradient(145deg, #e69b00, #8a5600);
  box-shadow: 0 18px 34px rgba(0,0,0,.35);
}

.motion-path {
  position: absolute;
  z-index: 3;
  top: 18%;
  left: 22%;
  width: 56%;
  height: 42%;
  border: 1px dashed rgba(255,193,48,.62);
  border-radius: 48%;
  transform: rotate(-12deg);
}

.application-wide .application-copy {
  right: auto;
  width: 52%;
}

.factory-network {
  position: absolute;
  top: 50%;
  right: 7%;
  width: 390px;
  height: 300px;
  transform: translateY(-50%);
}

.network-core,
.network-node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(10,35,72,.86);
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.network-core {
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  border-color: rgba(255,90,0,.58);
  background: radial-gradient(circle at 35% 25%, #ff7a00, #b63600);
  box-shadow: 0 0 0 15px rgba(255,90,0,.08), 0 20px 45px rgba(0,0,0,.28);
  transform: translate(-50%, -50%);
}

.network-node { width: 62px; height: 62px; }
.nn1 { top: 4%; left: 42%; }
.nn2 { top: 23%; right: 3%; }
.nn3 { right: 13%; bottom: 8%; }
.nn4 { bottom: 6%; left: 16%; }
.nn5 { top: 23%; left: 0; }

.network-line {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,122,0,.8), rgba(255,255,255,.12));
  transform-origin: left center;
}

.nl1 { transform: rotate(-90deg); }
.nl2 { transform: rotate(-26deg); }
.nl3 { transform: rotate(35deg); }
.nl4 { transform: rotate(140deg); }
.nl5 { transform: rotate(205deg); }

/* Process */
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 38px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding .25s ease;
}

.process-item:hover {
  padding-right: 22px;
  padding-left: 22px;
  background: var(--surface-soft);
}

.process-index {
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

.process-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.process-body h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.process-body p {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.process-tag {
  color: rgba(9,24,47,.34);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
}

/* Insights */
.insights {
  overflow: hidden;
}

.insights-grid-bg {
  opacity: .24;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.insight-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.insight-card {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.035);
  transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
}

.insight-card:hover {
  border-color: rgba(255,122,0,.35);
  background: rgba(255,255,255,.055);
  transform: translateY(-6px);
}

.insight-featured {
  grid-row: span 2;
  min-height: 698px;
}

.insight-visual {
  position: relative;
  height: 335px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(37,99,235,.22), transparent 48%), linear-gradient(135deg, #0a1e40, #07142e);
}

.insight-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .45;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
}

.insight-category {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: 24px;
  padding: 7px 10px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.brain-circuit {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 48% 52% 46% 54% / 54% 45% 55% 46%;
  box-shadow: inset 0 0 55px rgba(37,99,235,.16), 0 0 60px rgba(37,99,235,.10);
  transform: translate(-50%, -45%) rotate(-8deg);
  animation: brainFloat 5s ease-in-out infinite;
}

.brain-circuit::before,
.brain-circuit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(0,209,187,.45);
  border-radius: 50%;
}

.brain-circuit::before { inset: 30px; }
.brain-circuit::after { inset: 65px; border-color: rgba(255,122,0,.55); }

.brain-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  box-shadow: 0 0 32px rgba(255,90,0,.35);
  transform: translate(-50%, -50%);
}

.brain-circuit i {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  border: 2px solid #07142e;
  border-radius: 50%;
  background: #00c9b8;
  box-shadow: 0 0 14px rgba(0,201,184,.7);
}

.bc1 { top: 16%; left: 46%; }
.bc2 { top: 41%; right: 12%; background: var(--orange) !important; }
.bc3 { right: 24%; bottom: 12%; background: var(--purple) !important; }
.bc4 { bottom: 18%; left: 18%; background: var(--blue) !important; }
.bc5 { top: 30%; left: 9%; background: var(--gold) !important; }

.insight-content {
  padding: 30px;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.36);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
}

.insight-card h3 {
  margin: 24px 0 14px;
  color: #fff;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.insight-featured h3 {
  font-size: 35px;
}

.insight-card p {
  margin: 0;
  color: rgba(255,255,255,.56);
  line-height: 1.72;
}

.insight-card a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.insight-card a span {
  color: var(--orange);
  font-size: 18px;
}

/* CTA */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #ff5600 0%, #f06b00 48%, #d94300 100%);
}

.cta-section::before,
.cta-section::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::before {
  top: -260px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.018);
}

.cta-section::after {
  bottom: -260px;
  left: -220px;
  width: 570px;
  height: 570px;
  background: radial-gradient(circle, rgba(117,57,215,.34), transparent 67%);
}

.cta-grid {
  opacity: .18;
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}

.cta-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(470px, .78fr);
  align-items: center;
  gap: 90px;
}

.eyebrow-light {
  color: rgba(255,255,255,.72);
}

.eyebrow-light .eyebrow-dot {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 0 22px rgba(255,255,255,.6);
}

.cta-copy h2 {
  color: #fff;
  font-size: clamp(48px, 6vw, 76px);
}

.cta-copy h2 span {
  color: #160b05;
}

.cta-copy > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.8;
}

.cta-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
}

.cta-note img {
  width: 68px;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.22));
}

.cta-note strong,
.cta-note span {
  display: block;
}

.cta-note strong {
  font-size: 16px;
}

.cta-note span {
  margin-top: 3px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

.contact-form {
  padding: 30px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 30px 80px rgba(85,22,0,.24);
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}

.contact-form label > span {
  display: block;
  margin: 0 0 7px 3px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid rgba(9,24,47,.14);
  outline: none;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 15px;
  border-radius: 12px;
}

.contact-form textarea {
  min-height: 112px;
  padding: 13px 15px;
  resize: vertical;
  border-radius: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255,90,0,.72);
  box-shadow: 0 0 0 4px rgba(255,90,0,.09);
}

.contact-form .is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.08);
}

.button-submit {
  width: 100%;
  margin-top: 2px;
}

.contact-form small {
  display: block;
  margin-top: 12px;
  color: rgba(9,24,47,.48);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: #087f5b;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

/* Footer */
.site-footer {
  color: rgba(255,255,255,.62);
  background: #030b1a;
}

.footer-top {
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: 70px;
  padding-top: 52px;
  padding-bottom: 48px;
}

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

.footer-top > p {
  max-width: 520px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  z-index: 999;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  cursor: pointer;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  opacity: 0;
  background: rgba(4,16,38,.88);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(12px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Reveal animations */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-delay-1 { transition-delay: .10s; }
.js .reveal-delay-2 { transition-delay: .20s; }

/* Keyframes */
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes coreFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes nodeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes haloPulse { 0%,100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes flowPulse { 0% { top: 43px; background: var(--orange); } 24% { background: var(--gold); } 48% { background: var(--teal); } 72% { background: var(--blue); } 100% { top: calc(100% - 54px); background: var(--purple); } }
@keyframes scan { 0%,100% { top: 20%; opacity: .25; } 50% { top: 60%; opacity: 1; } }
@keyframes brainFloat { 0%,100% { transform: translate(-50%, -45%) rotate(-8deg); } 50% { transform: translate(-50%, -50%) rotate(-4deg); } }

/* Responsive */
@media (max-width: 1100px) {
  :root { --container: min(100% - 32px, 960px); }

  .primary-nav { gap: 22px; }
  .hero-layout { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding-top: 150px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { min-height: 610px; margin-top: 10px; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); }
  .metric-wide { grid-column: 1 / -1; min-height: 72px; border-top: 1px solid rgba(255,255,255,.10); }
  .section-heading, .process-header { gap: 45px; }
  .capability-card { grid-column: span 3; }
  .capability-featured { grid-column: 1 / -1; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-layout { grid-template-columns: 1fr; gap: 50px; }
  .flow-copy { max-width: 700px; }
  .flow-visual { width: min(100%, 720px); }
  .application-large { min-height: 760px; }
  .cta-layout { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-top { grid-template-columns: auto 1fr; gap: 28px 50px; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 860px) {
  :root { --header-height: 72px; }

  .section { padding: 92px 0; }

  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    z-index: 900;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    opacity: 0;
    background: rgba(4,16,38,.96);
    box-shadow: 0 26px 70px rgba(0,0,0,.34);
    pointer-events: none;
    transform: translateY(-12px) scale(.98);
    transition: opacity .25s ease, transform .25s var(--ease);
    backdrop-filter: blur(20px);
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .primary-nav > a {
    padding: 13px 14px;
    border-radius: 10px;
  }

  .primary-nav > a:hover { background: rgba(255,255,255,.06); }
  .primary-nav > a::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { min-height: auto; padding: 135px 0 45px; }
  .hero-copy h1 { font-size: clamp(50px, 11vw, 74px); }
  .hero-visual { min-height: 560px; transform: scale(.92); margin: -10px -20px 0; }
  .hero-metrics { margin-top: 12px; }
  .metric { padding: 22px 18px; }

  .intro-band-inner { flex-direction: column; align-items: flex-start; gap: 5px; }

  .section-heading,
  .process-header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .section-heading h2,
  .process-header h2,
  .flow-copy h2 { font-size: clamp(38px, 7vw, 56px); }

  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-card { grid-column: auto; }
  .capability-featured { grid-column: 1 / -1; grid-template-columns: auto 1fr; }
  .mini-diagram { display: none; }

  .application-grid { grid-template-columns: 1fr; }
  .application-large { grid-row: auto; min-height: 680px; }
  .application-wide { grid-column: auto; min-height: 570px; }
  .application-wide .application-copy { right: 30px; width: auto; }
  .factory-network { top: 42%; right: 50%; transform: translate(50%, -50%) scale(.88); }

  .process-item { grid-template-columns: 55px 1fr; gap: 18px; }
  .process-tag { display: none; }
  .process-body { grid-template-columns: 1fr; gap: 9px; }

  .insight-grid { grid-template-columns: 1fr; }
  .insight-featured { grid-row: auto; min-height: 630px; }

  .cta-layout { grid-template-columns: 1fr; }
  .cta-copy { max-width: 760px; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 24px, 560px); }

  .section { padding: 78px 0; }
  .brand img { width: 40px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 7.5px; }

  .hero { padding-top: 118px; }
  .hero-copy h1 { font-size: clamp(43px, 13vw, 64px); line-height: 1.01; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-trust { margin-top: 24px; }

  .hero-visual { min-height: 510px; margin: 4px 0 0; transform: none; }
  .hero-core { width: 270px; }
  .tech-ring-outer { width: 470px; height: 470px; }
  .tech-ring-inner { width: 350px; height: 350px; }
  .orbit-node {
    grid-template-columns: 33px auto;
    min-width: 112px;
    column-gap: 8px;
    padding: 8px 9px 8px 8px;
    border-radius: 11px;
  }
  .node-icon { width: 33px; height: 33px; border-radius: 9px; }
  .node-icon svg { width: 18px; }
  .orbit-node b { font-size: 9px; }
  .orbit-node small { font-size: 8px; }
  .orbit-node::after { display: none; }
  .node-ai { top: 5%; left: 35%; }
  .node-mech { top: 29%; left: 0; }
  .node-vision { top: 29%; right: 0; }
  .node-motion { bottom: 13%; left: 0; }
  .node-system { right: 0; bottom: 13%; }

  .hero-metrics { grid-template-columns: 1fr; }
  .metric { min-height: 78px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .metric-wide { grid-column: auto; border-top: 0; border-bottom: 0; }

  .section-heading h2,
  .process-header h2,
  .flow-copy h2 { font-size: clamp(36px, 11vw, 48px); }
  .section-heading > p, .process-header > p, .flow-copy p { font-size: 16px; }

  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 360px; }
  .capability-featured { grid-column: auto; display: block; min-height: 410px; }
  .capability-featured .capability-icon { margin-bottom: 44px; }

  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 410px; }

  .flow-visual { min-height: 600px; }
  .flow-step { width: 88%; }
  .flow-step:nth-of-type(even) { align-self: flex-end; }

  .application-large { min-height: 600px; }
  .application-card { min-height: 460px; }
  .application-wide { min-height: 600px; }
  .application-large .application-copy h3,
  .application-wide .application-copy h3 { font-size: 31px; }
  .robot-base { left: 8%; }
  .joint-a { left: 10%; }
  .arm-a { left: 15%; }
  .arm-b { left: 38%; }
  .joint-b { left: 36%; }
  .robot-gripper { left: 68%; }
  .factory-network { transform: translate(50%, -50%) scale(.72); }

  .process-item { padding: 28px 3px; }
  .process-item:hover { padding-right: 9px; padding-left: 9px; }
  .process-body h3 { font-size: 23px; }

  .insight-featured { min-height: 610px; }
  .insight-visual { height: 280px; }
  .insight-content { padding: 24px; }
  .insight-featured h3 { font-size: 29px; }
  .insight-card h3 { font-size: 23px; }

  .cta-section { padding: 80px 0; }
  .cta-copy h2 { font-size: clamp(43px, 12vw, 60px); }
  .contact-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { gap: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

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