:root {
  --bg: #fffafd;
  --paper: #ffffff;
  --ink: #07091c;
  --deep: #17104e;
  --muted: #65657a;
  --line: #ece7fb;
  --purple: #6236f6;
  --violet: #8d42ff;
  --pink: #f239b8;
  --orange: #ff8908;
  --red: #ff4e48;
  --blue-soft: #f2f0ff;
  --shadow: 0 18px 54px rgba(95, 60, 196, 0.15);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 92% 7%, rgba(114, 76, 255, 0.24), transparent 26%),
    radial-gradient(circle at 8% 82%, rgba(255, 137, 8, 0.16), transparent 28%),
    radial-gradient(circle at 20% 92%, rgba(242, 57, 184, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
  color: var(--ink);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(98, 54, 246, 0.12);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 210px;
  height: auto;
}

.site-nav,
.hero-actions,
.hero-metrics,
.case-row,
.site-footer {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(98, 54, 246, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(98, 54, 246, 0.08);
  color: var(--deep);
  font-size: 14px;
  font-weight: 900;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-nav a small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  border-radius: 8px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 950;
  background: rgba(98, 54, 246, 0.10);
}

.site-nav a span {
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--purple);
  border-color: rgba(98, 54, 246, 0.26);
  background: linear-gradient(135deg, rgba(98, 54, 246, 0.10), rgba(242, 57, 184, 0.08));
  box-shadow: 0 10px 24px rgba(98, 54, 246, 0.12);
  transform: translateY(-1px);
}

.site-nav .nav-action {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 12px 28px rgba(242, 57, 184, 0.22);
}

.site-nav .nav-action small {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.site-nav .nav-action:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 6vw, 76px) clamp(20px, 5vw, 64px) clamp(34px, 5vw, 58px);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 1;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.24;
}

.hero-lede {
  max-width: 600px;
  color: #35324b;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
  box-shadow: 0 16px 34px rgba(242, 57, 184, 0.24);
}

.button.secondary {
  color: var(--purple);
  border-color: rgba(98, 54, 246, 0.24);
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

.hero-metrics div {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding: 14px 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(98, 54, 246, 0.08);
}

.hero-metrics div::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid rgba(242, 57, 184, 0.38);
  background: linear-gradient(135deg, rgba(98, 54, 246, 0.12), rgba(242, 57, 184, 0.06), rgba(255, 137, 8, 0.06));
  opacity: 0.72;
  pointer-events: none;
}

.hero-metrics dt {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--purple);
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 0.95;
  font-weight: 950;
  white-space: nowrap;
}

.hero-metrics dt span {
  font-size: 16px;
}

.hero-metrics dd {
  position: relative;
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-metrics dd strong {
  color: var(--deep);
  font-size: 13px;
  font-weight: 950;
}

.hero-metrics dd span {
  font-weight: 750;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid rgba(98, 54, 246, 0.16);
  border-radius: 8px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(98, 54, 246, 0.08);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(98, 54, 246, 0.18), rgba(242, 57, 184, 0.18), rgba(255, 137, 8, 0.16));
  filter: blur(10px);
}

.hero-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.88 / 1;
  object-fit: cover;
  border: 1px solid rgba(98, 54, 246, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.desktop-frame {
  position: relative;
  margin-bottom: 45px;
  padding: 10px 10px 12px;
  border: 1px solid rgba(137, 122, 227, 0.45);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(7, 9, 28, 0.94), rgba(36, 31, 92, 0.92)),
    #08071d;
  box-shadow:
    0 30px 70px rgba(23, 16, 78, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.desktop-frame::before,
.desktop-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.desktop-frame::before {
  bottom: -34px;
  width: 30%;
  height: 34px;
  background: linear-gradient(180deg, rgba(37, 31, 91, 0.9), rgba(98, 54, 246, 0.28));
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.desktop-frame::after {
  bottom: -45px;
  width: 48%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(98, 54, 246, 0.28), rgba(242, 57, 184, 0.28), rgba(255, 137, 8, 0.22));
  filter: blur(0.2px);
}

.frame-top {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.frame-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
}

.frame-top span:nth-child(1) {
  background: var(--pink);
}

.frame-top span:nth-child(2) {
  background: var(--orange);
}

.frame-top span:nth-child(3) {
  background: #24d66f;
}

.desktop-frame img {
  aspect-ratio: 8 / 5;
  object-fit: contain;
  border: 1px solid rgba(137, 122, 227, 0.24);
  border-radius: 0 0 10px 10px;
  background: #05071d;
  box-shadow: none;
}

.pain,
.solution,
.products,
.cases,
.contact {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.products .section-heading,
.cases .section-heading {
  max-width: 980px;
}

.pain {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(245, 241, 255, 0.72));
  border-top: 1px solid rgba(98, 54, 246, 0.10);
  border-bottom: 1px solid rgba(98, 54, 246, 0.10);
}

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

.pain-strip article,
.feature-card,
.function-card,
.case-card,
.qr-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.pain-strip article {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-height: 250px;
  padding: 28px;
}

.pain-strip article + article {
  margin-top: 0;
}

.pain-strip strong {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  width: 132px;
  margin-bottom: 24px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.pain-strip article:nth-child(2) strong {
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.pain-strip article:nth-child(3) strong {
  background: linear-gradient(135deg, var(--purple), #2f55f5);
}

.pain-strip h3 {
  margin-bottom: 6px;
}

.pain-strip p,
.solution-copy p,
.feature-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.solution {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(rgba(98, 54, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 54, 246, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(98, 54, 246, 0.08), rgba(242, 57, 184, 0.055), rgba(255, 137, 8, 0.06));
  background-size: 32px 32px, 32px 32px, auto;
  border-top: 1px solid rgba(98, 54, 246, 0.10);
  border-bottom: 1px solid rgba(98, 54, 246, 0.10);
}

.solution-copy {
  max-width: 620px;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.solution-tags span {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
  box-shadow: 0 12px 28px rgba(242, 57, 184, 0.16);
}

.automation-map {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(98, 54, 246, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.automation-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 21px, rgba(98, 54, 246, 0.06) 22px),
    linear-gradient(180deg, transparent 0 21px, rgba(242, 57, 184, 0.045) 22px);
  background-size: 22px 22px;
  pointer-events: none;
}

.map-topline,
.knowledge-stack,
.input-package,
.engine-core,
.process-steps,
.sales-flow,
.maintenance-grid,
.process-outcome {
  position: relative;
}

.map-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--deep);
}

.map-topline span {
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.map-topline strong {
  font-size: 15px;
}

.knowledge-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.knowledge-stack span {
  min-height: 46px;
  padding: 13px 12px;
  border: 1px solid rgba(98, 54, 246, 0.14);
  border-radius: 8px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, 0.84);
}

.input-package {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(98, 54, 246, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(98, 54, 246, 0.10), rgba(242, 57, 184, 0.06)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(98, 54, 246, 0.08);
}

.input-copy {
  display: grid;
  gap: 8px;
}

.input-copy small {
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.input-copy strong {
  color: var(--deep);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.input-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.input-pills {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px;
}

.input-pills span,
.maintenance-grid span {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid rgba(98, 54, 246, 0.16);
  border-radius: 8px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.82);
}

.engine-core {
  display: grid;
  place-items: center;
  min-height: 76px;
}

.engine-core::before,
.engine-core::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, var(--purple), var(--pink));
  transform: translateX(-50%);
}

.engine-core::before {
  top: -15px;
}

.engine-core::after {
  bottom: -15px;
}

.engine-core span {
  position: relative;
  z-index: 1;
  min-width: min(100%, 320px);
  padding: 18px 24px;
  border-radius: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  text-align: center;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--orange));
  box-shadow: 0 16px 36px rgba(98, 54, 246, 0.22);
}

.sales-core {
  gap: 8px;
}

.sales-core small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.sales-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
}

.sales-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
}

.sales-flow li {
  position: relative;
  min-height: 210px;
  padding: 20px 14px 16px;
  border: 1px solid rgba(98, 54, 246, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(98, 54, 246, 0.08);
}

.sales-flow h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.sales-flow p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.sales-flow p strong {
  color: var(--purple);
  font-weight: 950;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.maintenance-grid span {
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
}

.process-steps::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 40px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
}

.process-steps li {
  position: relative;
  min-height: 158px;
  padding: 22px 14px 16px;
  border: 1px solid rgba(98, 54, 246, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(98, 54, 246, 0.08);
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
}

.process-steps h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.process-steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.process-outcome {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.process-outcome strong {
  font-size: 20px;
}

.process-outcome span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

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

.workflow-grid {
  display: grid;
  gap: 26px;
}

.workflow-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(22px, 4vw, 38px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(98, 54, 246, 0.06), rgba(242, 57, 184, 0.04)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workflow-card.reverse {
  grid-template-columns: minmax(0, 0.64fr) minmax(280px, 0.36fr);
}

.workflow-card.reverse .workflow-copy {
  order: 2;
}

.workflow-copy {
  align-self: center;
}

.workflow-label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 950;
  background: rgba(98, 54, 246, 0.10);
}

.workflow-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
}

.workflow-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.78;
}

.workflow-media {
  position: relative;
  min-width: 0;
}

.screenshot-carousel {
  padding: 14px;
  border: 1px solid rgba(98, 54, 246, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(98, 54, 246, 0.08), rgba(242, 57, 184, 0.055)),
    rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.screenshot-carousel::after {
  content: "";
  position: absolute;
  top: 58px;
  right: 0;
  bottom: 58px;
  width: 74px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 250, 253, 0.92));
  pointer-events: none;
}

.single-screenshot::after {
  display: none;
}

.single-screenshot .screenshot-track {
  overflow: hidden;
  padding: 2px;
  cursor: zoom-in;
}

.single-screenshot .screenshot-slide {
  flex: 1 1 100%;
}

.carousel-header,
.carousel-actions,
.scroll-cue {
  display: flex;
  align-items: center;
}

.carousel-header {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.carousel-header span {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(98, 54, 246, 0.08);
}

.carousel-actions {
  gap: 8px;
}

.scroll-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 34px;
  border: 1px solid rgba(98, 54, 246, 0.22);
  border-radius: 8px;
  color: var(--purple);
  font-size: 18px;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(98, 54, 246, 0.08);
}

.scroll-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.screenshot-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 56px 16px 2px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  scrollbar-color: var(--purple) rgba(98, 54, 246, 0.12);
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}

.screenshot-track:focus {
  outline: 2px solid rgba(98, 54, 246, 0.35);
  outline-offset: 3px;
}

.screenshot-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.screenshot-track::-webkit-scrollbar {
  height: 10px;
}

.screenshot-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(98, 54, 246, 0.10);
}

.screenshot-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
}

.screenshot-slide {
  flex: 0 0 min(82%, 820px);
  display: grid;
  gap: 10px;
  margin: 0;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.screenshot-slide:hover img {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(98, 54, 246, 0.18);
}

.screenshot-link {
  display: block;
  border-radius: 8px;
  cursor: zoom-in;
}

.screenshot-link:focus {
  outline: 3px solid rgba(98, 54, 246, 0.36);
  outline-offset: 4px;
}

.screenshot-slide img {
  width: 100%;
  border: 1px solid rgba(98, 54, 246, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(98, 54, 246, 0.12);
  aspect-ratio: 1.88 / 1;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.screenshot-slide figcaption {
  padding: 0 4px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.scroll-cue {
  position: relative;
  z-index: 1;
  gap: 7px;
  min-height: 28px;
  margin-top: 2px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
}

.scroll-cue span {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
}

.scroll-cue span:nth-child(2) {
  width: 14px;
  opacity: 0.58;
}

.scroll-cue span:nth-child(3) {
  width: 8px;
  opacity: 0.32;
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 0;
  background: rgba(7, 9, 28, 0.86);
  backdrop-filter: blur(18px);
}

.image-lightbox.is-open {
  display: grid;
}

.lightbox-viewer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 46px 16px 22px;
}

.lightbox-figure {
  display: grid;
  gap: 8px;
  width: min(calc(100vw - 24px), 1680px);
  margin: 0;
  transition: width 0.22s ease;
}

.lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 70px);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.image-lightbox.is-zoomed .lightbox-viewer {
  place-items: start center;
  padding-top: 74px;
}

.image-lightbox.is-zoomed .lightbox-figure {
  width: min(220vw, 2560px);
}

.image-lightbox.is-zoomed .lightbox-figure img {
  max-height: none;
}

.lightbox-figure figcaption {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.lightbox-close,
.lightbox-nav,
.lightbox-toolbar {
  position: fixed;
  z-index: 101;
}

.lightbox-close,
.lightbox-nav,
.lightbox-toolbar button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.lightbox-toolbar {
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  transform: translateX(-50%);
}

.lightbox-toolbar button {
  min-width: 96px;
  min-height: 40px;
  padding: 8px 14px;
  font: inherit;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 76px;
  font-size: 48px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-toolbar button:hover {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

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

.function-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  overflow: hidden;
}

.function-card.feature-large {
  grid-column: span 2;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(98, 54, 246, 0.06), rgba(242, 57, 184, 0.05)),
    rgba(255, 255, 255, 0.92);
}

.function-card.feature-large.reverse {
  grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
}

.function-card.feature-large.reverse .function-copy {
  order: 2;
}

.function-copy {
  align-self: center;
}

.function-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.function-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.function-points li {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid rgba(98, 54, 246, 0.16);
  border-radius: 8px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(98, 54, 246, 0.08);
}

.function-card img {
  width: 100%;
  aspect-ratio: 1.88 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(98, 54, 246, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(98, 54, 246, 0.12);
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
}

.feature-card.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 20px;
  align-items: center;
  min-height: 370px;
  background: linear-gradient(135deg, #fff, var(--blue-soft));
}

.feature-card.image-card {
  padding: 0;
  background: var(--blue-soft);
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.feature-card.wide img {
  min-height: 280px;
  box-shadow: 0 16px 36px rgba(98, 54, 246, 0.12);
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--purple), var(--violet));
}

.feature-card:nth-child(2) .num,
.feature-card:nth-child(5) .num {
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.feature-card:nth-child(4) .num,
.feature-card:nth-child(7) .num {
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.cases {
  background: linear-gradient(135deg, rgba(98, 54, 246, 0.07), rgba(242, 57, 184, 0.08), rgba(255, 137, 8, 0.08));
  border-top: 1px solid rgba(98, 54, 246, 0.10);
  border-bottom: 1px solid rgba(98, 54, 246, 0.10);
}

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

.case-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 14px;
  overflow: hidden;
}

.case-card:last-child {
  grid-column: span 2;
}

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.case-card span {
  color: var(--deep);
  font-size: 18px;
  font-weight: 950;
}

.case-row {
  flex-wrap: wrap;
  gap: 14px;
}

.case-row span {
  min-height: 58px;
  padding: 17px 22px;
  border: 1px solid rgba(98, 54, 246, 0.18);
  border-radius: 8px;
  color: var(--deep);
  font-size: 18px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(98, 54, 246, 0.08);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(98, 54, 246, 0.08), rgba(242, 57, 184, 0.08), rgba(255, 137, 8, 0.08)),
    #fff;
}

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

.qr-card {
  display: inline-grid;
  gap: 12px;
  justify-items: center;
  padding: 22px;
  text-align: center;
}

.qr-card img {
  width: clamp(220px, 24vw, 300px);
  border-radius: 8px;
}

.qr-card span {
  color: var(--deep);
  font-weight: 950;
}

.contact-phone {
  color: var(--purple);
  font-size: 17px;
  font-weight: 950;
}

.contact-phone:hover {
  color: var(--pink);
}

.floating-service {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.service-trigger {
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 8px;
  min-height: 66px;
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(98, 54, 246, 0.22);
  border-radius: 999px;
  color: var(--deep);
  font: inherit;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(76, 45, 180, 0.24);
  cursor: pointer;
}

.service-trigger img {
  width: 48px;
  height: 48px;
  padding: 5px;
  border-radius: 50%;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(242, 57, 184, 0.12), rgba(98, 54, 246, 0.14));
}

.service-panel {
  display: grid;
  width: 220px;
  gap: 8px;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(98, 54, 246, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(23, 16, 78, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.service-panel strong {
  color: var(--deep);
  font-size: 18px;
}

.service-panel a {
  color: var(--purple);
  font-size: 18px;
  font-weight: 950;
}

.service-panel img {
  width: 170px;
  border-radius: 8px;
}

.service-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.floating-service.is-open .service-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(98, 54, 246, 0.12);
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    align-items: center;
    gap: 8px;
    padding-block: 8px 10px;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: nowrap;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    padding-block: 6px;
  }

  .hero,
  .solution,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .workflow-card,
  .workflow-card.reverse {
    grid-template-columns: 1fr;
  }

  .workflow-card.reverse .workflow-copy {
    order: 0;
  }

  .screenshot-slide {
    flex-basis: min(86%, 820px);
  }

  .sales-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales-flow::before {
    display: none;
  }

  .function-card.feature-large,
  .function-card.feature-large.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .function-card.feature-large.reverse .function-copy {
    order: 0;
  }

  .feature-card.wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

}

@media (max-width: 820px) {
  .input-package {
    grid-template-columns: 1fr;
  }

  .input-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-steps,
  .sales-flow,
  .maintenance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 116px;
  }

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

  .brand img {
    width: 150px;
  }

  .site-nav {
    gap: 5px;
    padding: 4px;
    font-size: 13px;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 10px;
  }

  .site-nav a small {
    display: none;
  }

  .site-nav .nav-action {
    flex-basis: auto;
  }

  .floating-service {
    right: 12px;
    bottom: 72px;
  }

  .service-trigger {
    grid-template-columns: 42px;
    min-height: 54px;
    padding: 6px;
  }

  .service-trigger img {
    width: 42px;
    height: 42px;
  }

  .service-trigger span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .service-panel {
    width: 200px;
  }

  .service-panel img {
    width: 150px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-metrics div {
    padding: 14px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .pain-strip {
    grid-template-columns: 1fr;
  }

  .function-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .function-card,
  .case-card {
    padding: 16px;
  }

  .function-card.feature-large,
  .case-card:last-child {
    grid-column: span 1;
  }

  .automation-map {
    padding: 18px;
  }

  .map-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .knowledge-stack,
  .process-steps,
  .sales-flow,
  .maintenance-grid {
    grid-template-columns: 1fr;
  }

  .input-pills {
    grid-template-columns: 1fr;
  }

  .engine-core span {
    min-width: 0;
    width: 100%;
  }

  .screenshot-carousel {
    padding: 12px;
  }

  .screenshot-carousel::after {
    width: 46px;
  }

  .screenshot-track {
    gap: 12px;
    padding-right: 38px;
  }

  .screenshot-slide {
    flex-basis: 88%;
  }

  .carousel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .feature-card,
  .pain-strip article {
    padding: 20px;
  }

  .pain-strip article {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pain-strip strong {
    margin-bottom: 16px;
  }

  .hero-visual img {
    aspect-ratio: 1.88 / 1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox-viewer {
    padding: 62px 14px 74px;
  }

  .lightbox-figure {
    width: calc(100vw - 28px);
  }

  .lightbox-figure img {
    max-height: calc(100vh - 150px);
  }

  .image-lightbox.is-zoomed .lightbox-viewer {
    padding-top: 68px;
  }

  .image-lightbox.is-zoomed .lightbox-figure {
    width: min(260vw, 2560px);
  }

  .lightbox-toolbar {
    top: 12px;
    left: 14px;
    right: 62px;
    justify-content: flex-start;
    transform: none;
  }

  .lightbox-toolbar span {
    display: none;
  }

  .lightbox-toolbar button {
    min-width: 90px;
    min-height: 38px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 48px;
    height: 44px;
    font-size: 34px;
    transform: none;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }
}
