/* =========================================================
   LILISHOP · Apple-style redesign
   ========================================================= */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;

  /* neutrals */
  --ink:        #1d1d1f;       /* primary text, almost black */
  --ink-soft:   #6e6e73;       /* secondary text */
  --ink-muted:  #86868b;       /* tertiary */
  --divider:    #d2d2d7;
  --paper:      #fbfbfd;       /* page background */
  --paper-2:    #f5f5f7;       /* section alt */
  --paper-3:    #ececee;
  --surface:    #ffffff;
  --black:      #000000;

  /* accents */
  --blue:       #0071e3;       /* primary CTA */
  --blue-hover: #0077ed;
  --link:       #0066cc;       /* text link */
  --link-hover: #0088ff;

  /* radii */
  --r-card:   22px;
  --r-chip:   16px;
  --r-pill:   980px;

  /* shadows */
  --shadow-card:   0 12px 40px rgba(0,0,0,.08);
  --shadow-float:  0 24px 60px rgba(0,0,0,.12);

  /* layout */
  --gutter:       max(22px, 4vw);
  --max-w:        1240px;
  --nav-h:        48px;

  /* Apple-style easing — silky, not rubbery */
  --ease:       cubic-bezier(.4,.0,.2,1);
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --ease-apple: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  letter-spacing: -0.01em;
}

body {
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

::selection { background: #b5d7ff; color: var(--ink); }

/* ---------- typography utilities ---------- */
.eyebrow {
  display: block;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.section__head > .eyebrow { text-align: center; }

.display {
  font-size: clamp(40px, 6.8vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.headline {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
}

.title {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0;
}

.subhead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0;
  text-wrap: pretty;
}

.body-s {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ---------- CTAs ---------- */
.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
}

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-hover); }

.btn-ghost {
  background: rgba(0,0,0,.04);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(0,0,0,.08); }

.btn-dark-primary {
  background: #fff;
  color: #000;
}
.btn-dark-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  backdrop-filter: blur(20px);
}
.btn-dark-ghost:hover { background: rgba(255,255,255,.22); }

.link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--link);
  font-size: 16px;
  font-weight: 400;
  transition: color .2s var(--ease);
}
.link::after {
  content: "›";
  font-size: 18px;
  transition: transform .25s var(--ease);
}
.link:hover { color: var(--link-hover); }
.link:hover::after { transform: translateX(3px); }

.link-on-dark { color: #2997ff; }
.link-on-dark:hover { color: #62b8ff; }

/* =========================================================
   NAV
   ========================================================= */
.ap-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  background: rgba(251,251,253,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
}
.ap-nav__inner {
  width: min(100%, var(--max-w));
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
  font-size: 13px;
  color: #1d1d1f;
}
.ap-nav__logo {
  display: inline-flex; align-items: center;
  color: #1d1d1f;
}
.ap-nav__logo img { height: 28px; width: auto; display: block; }
.ap-nav__menu {
  display: flex; align-items: center; gap: 28px;
  margin: 0 auto; padding: 0; list-style: none;
}
.ap-nav__menu a {
  opacity: .85;
  transition: opacity .2s var(--ease);
}
.ap-nav__menu a:hover { opacity: 1; }
.ap-nav__menu a.is-active { opacity: 1; font-weight: 500; }

.ap-nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--link);
  font-size: 13px;
}

.ap-nav__burger {
  display: none;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.ap-nav__burger span {
  position: relative; display: block; width: 18px; height: 1.5px; background: #1d1d1f;
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s var(--ease);
}
.ap-nav__burger span + span { margin-top: 5px; }

.ap-drawer {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: rgba(251,251,253,.98);
  backdrop-filter: blur(30px);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  z-index: 99;
  padding: 32px var(--gutter);
  overflow-y: auto;
}
.ap-drawer.is-open { transform: translateX(0); }
.ap-drawer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.ap-drawer a {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

@media (max-width: 860px) {
  .ap-nav__menu,
  .ap-nav__cta { display: none; }
  .ap-nav__burger { display: inline-flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.ap-hero {
  position: relative;
  padding: calc(var(--nav-h) + 88px) var(--gutter) 0;
  text-align: center;
  overflow: hidden;
}
.ap-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.ap-hero .eyebrow { margin-bottom: 14px; }
.ap-hero h1.display {
  background: linear-gradient(180deg, #1d1d1f 0%, #1d1d1f 55%, #3f3f43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ap-hero__sub {
  margin: 18px auto 0;
  max-width: 720px;
}
.ap-hero__ctas {
  margin-top: 30px;
  justify-content: center;
}
.ap-hero__price {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* hero visual: rotating "product scenes" */
.ap-hero__stage {
  margin: 48px auto 0;
  max-width: min(1440px, calc(100vw - 48px));
  aspect-ratio: 21 / 9;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.ap-hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(8%, 0, 0) scale(.985);
  transition:
    opacity 1.1s var(--ease-apple),
    transform 1.2s var(--ease-apple);
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 6vw, 88px) clamp(48px, 7vw, 112px) clamp(64px, 7vw, 96px);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  will-change: opacity, transform;
}
.ap-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 1;
}
.ap-hero__slide.is-prev {
  /* outgoing slide drifts to the LEFT while fading */
  opacity: 0;
  transform: translate3d(-8%, 0, 0) scale(.985);
}

.ap-hero__dots {
  position: absolute;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.ap-hero__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background .25s var(--ease), width .25s var(--ease);
  padding: 0; border: 0;
}
.ap-hero__dots button[aria-current="true"] {
  background: #fff;
  width: 22px; border-radius: 4px;
}

/* inside each hero slide */
.hs-copy {
  flex: 1 1 50%;
  max-width: 560px;
  text-align: left;
}
.hs-copy h2 {
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.hs-copy p {
  font-size: clamp(14px, 1.2vw, 19px);
  opacity: .88;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
}
.hs-visual {
  flex: 1 1 44%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  max-height: 100%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hs-visual svg { width: 100%; height: 100%; display: block; }

/* =========================================================
   VALUE STRIP  (3 items under hero)
   ========================================================= */
.ap-strip {
  padding: 72px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.ap-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.ap-strip__cell {
  background: var(--paper);
  padding: 36px 28px;
  display: flex; gap: 20px; align-items: flex-start;
}
.ap-strip__icon {
  flex: 0 0 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.ap-strip__cell h3 {
  font-size: 18px; font-weight: 600; margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.ap-strip__cell p {
  font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: 0;
}
@media (max-width: 860px) {
  .ap-strip__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SECTION wrap
   ========================================================= */
.section {
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section__head .eyebrow { margin-bottom: 10px; }
.section__head .subhead { margin-top: 16px; max-width: 720px; margin-left: auto; margin-right: auto; }

.section--dark {
  background: #000;
  color: #f5f5f7;
}
.section--dark .headline,
.section--dark .title { color: #f5f5f7; }
.section--dark .subhead { color: #a1a1a6; }
.section--dark .eyebrow { color: #2997ff; }

.section--alt { background: var(--paper-2); }

/* =========================================================
   TERMINALS (iOS/Android/WeChat/MiniProgram/PC)
   ========================================================= */
.terminals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.terminal {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 36px 24px 30px;
  text-align: center;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  min-height: 320px;
  display: flex; flex-direction: column; align-items: center;
}
.terminal:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.terminal__badge {
  width: 68px; height: 68px; border-radius: 20px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--ink);
}
.terminal h4 {
  font-size: 20px; margin: 0 0 6px; font-weight: 600;
  letter-spacing: -0.01em;
}
.terminal p.tagline {
  font-size: 14px; color: var(--ink-soft); margin: 0 0 4px; line-height: 1.4;
}
.terminal p.meta {
  font-size: 12px; color: var(--ink-muted); margin: 0 0 auto;
}
.terminal__qr {
  margin-top: 22px;
  width: 80px; height: 80px;
  border-radius: 10px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
  position: relative;
}
.terminal:hover .terminal__qr { transform: scale(1.08); }
.terminal__hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--link);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .terminals { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .terminals { grid-template-columns: repeat(2, 1fr); }
  .terminal { min-height: 260px; padding: 26px 16px; }
}

/* =========================================================
   FEATURE GRID (8 functions on dark)
   ========================================================= */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1d1d1f;
  border-radius: var(--r-card);
  overflow: hidden;
}
.feat {
  background: #0a0a0a;
  padding: 36px 28px;
  min-height: 220px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .3s var(--ease);
}
.feat:hover { background: #121212; }
.feat__icon {
  width: 40px; height: 40px; color: #2997ff;
  margin-bottom: 12px;
}
.feat h3 {
  font-size: 18px; font-weight: 600; margin: 0;
  letter-spacing: -0.01em; color: #f5f5f7;
}
.feat p {
  font-size: 14px; line-height: 1.55; color: #a1a1a6; margin: 0;
  text-wrap: pretty;
}

@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TECH SERVICE (6 on light)
   ========================================================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tech-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 36px 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  min-height: 200px;
}
.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.tech-card__icon {
  width: 42px; height: 42px; color: var(--blue);
  margin-bottom: 18px;
}
.tech-card h3 {
  font-size: 20px; font-weight: 600; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.tech-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

@media (max-width: 1024px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .tech-grid { grid-template-columns: 1fr; } }

/* =========================================================
   SUPPORT — default: scheme C (vivid dark cards)
   alt: scheme B (animated gradient border on white)
   switch via [data-support-scheme="b"] on the section
   ========================================================= */
.support {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- SCHEME C — vivid color cards ---------- */
.support__card {
  --c1: #0071e3;
  --c2: #42a5ff;
  position: relative;
  background: linear-gradient(140deg, var(--c1) 0%, var(--c2) 100%);
  border-radius: var(--r-card);
  padding: 34px 30px 30px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform .55s var(--ease-apple),
    box-shadow .55s var(--ease-apple);
  box-shadow:
    0 1px 2px rgba(0,0,0,.06),
    0 10px 30px -12px color-mix(in srgb, var(--c1) 55%, transparent);
}
.support__card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 2px rgba(0,0,0,.06),
    0 28px 60px -18px color-mix(in srgb, var(--c1) 70%, transparent);
}

/* soft moving orb in the top-right */
.support__card::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0) 70%);
  transition: transform 1s var(--ease-apple), opacity .6s var(--ease-apple);
  pointer-events: none;
  z-index: 0;
}
.support__card:hover::before {
  transform: translate(-12%, 12%) scale(1.1);
}

/* subtle diagonal sheen */
.support__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
  z-index: 0;
}
.support__card > * { position: relative; z-index: 1; }

/* badge — bigger, glassy */
.support__badge {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.35);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 10px 22px rgba(0,0,0,.15);
  transition: transform .6s var(--ease-apple);
}
.support__badge svg { width: 28px; height: 28px; }
.support__card:hover .support__badge {
  transform: scale(1.08) rotate(-3deg);
}

.support__card .sc-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}
.support__card .sc-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin: 0;
  text-wrap: pretty;
}

/* tiny "learn more" affordance */
.support__card .sc-more {
  margin-top: auto;
  font-size: 13px;
  color: rgba(255,255,255,.9);
  display: inline-flex; align-items: center; gap: 4px;
  opacity: .85;
  transition: transform .4s var(--ease-apple), opacity .3s var(--ease-apple);
}
.support__card:hover .sc-more {
  opacity: 1;
  transform: translateX(3px);
}

/* ---------- SCHEME B — animated gradient border on white ---------- */
[data-support-scheme="b"] .support__card {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.08);
  border: 1px solid var(--hairline);
}
[data-support-scheme="b"] .support__card::before,
[data-support-scheme="b"] .support__card::after {
  display: none;
}
/* spinning gradient ring */
[data-support-scheme="b"] .support__card {
  background-clip: padding-box;
}
[data-support-scheme="b"] .support__card > .sc-ring {
  content: "";
  position: absolute; inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--angle, 0deg),
    var(--c1) 0deg,
    var(--c2) 120deg,
    var(--c1) 240deg,
    var(--c2) 360deg);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .55;
  animation: supportSpin 6s linear infinite;
  transition: opacity .4s var(--ease-apple);
  z-index: 0;
  pointer-events: none;
}
[data-support-scheme="b"] .support__card:hover > .sc-ring {
  opacity: 1;
  animation-duration: 2.5s;
}
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes supportSpin {
  to { --angle: 360deg; }
}
/* fallback for browsers without @property: still rotate via background-position hack */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
  [data-support-scheme="b"] .support__card > .sc-ring { display: none; }
}

[data-support-scheme="b"] .support__badge {
  background: linear-gradient(140deg, var(--c1), var(--c2));
  border: 0;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c1) 35%, transparent);
}
[data-support-scheme="b"] .support__card .sc-title { color: var(--ink); }
[data-support-scheme="b"] .support__card .sc-body  { color: var(--ink-soft); }
[data-support-scheme="b"] .support__card .sc-more  { color: var(--link); opacity: .9; }
[data-support-scheme="b"] .support__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 22px 40px -16px rgba(0,0,0,.14);
}

@media (max-width: 1024px) {
  .support { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .support { grid-template-columns: 1fr; }
  .support__card { min-height: 200px; padding: 28px 24px; }
}

/* =========================================================
   LOGO WALL
   ========================================================= */
.logos {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track {
  display: flex;
  gap: 56px;
  animation: logoscroll 50s linear infinite;
  width: max-content;
}
.logos__track img {
  height: 42px;
  width: auto;
  filter: grayscale(1) contrast(.9);
  opacity: .65;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logos__track img:hover {
  filter: none;
  opacity: 1;
}
@keyframes logoscroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   COMPANY BAND + FOOTER
   ========================================================= */
.ap-company {
  background: #000;
  color: #f5f5f7;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  text-align: center;
}
.ap-company__inner {
  max-width: 820px; margin: 0 auto;
}
.ap-company h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #fff 0%, #bfbfc4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ap-company p {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: #a1a1a6;
  margin: 0 0 32px;
}

.ap-footer {
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 12px;
  padding: 40px var(--gutter) 24px;
}
.ap-footer__inner { max-width: var(--max-w); margin: 0 auto; }
.ap-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--divider);
}
.ap-footer__col dt {
  font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 12px;
}
.ap-footer__col dd {
  margin: 0 0 8px 0;
}
.ap-footer__col dd a {
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.ap-footer__col dd a:hover { color: var(--ink); text-decoration: underline; }
.ap-footer__bot {
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between;
  font-size: 12px; color: var(--ink-muted);
}
.ap-footer__bot a { color: var(--ink-muted); }
.ap-footer__bot a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .ap-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 480px) {
  .ap-footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   floating contact
   ========================================================= */
.floating-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: grid;
  justify-items: end;
  gap: 8px;
  pointer-events: none;
}
.floating-contact__item {
  pointer-events: auto;
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 12px 0 0 12px;
  background: #0078ff;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 113, 227, .26);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: width .28s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.floating-contact__item:hover {
  background: #0067d6;
  box-shadow: 0 16px 38px rgba(0, 113, 227, .34);
}
.floating-contact__item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}
.floating-contact__phone {
  text-decoration: none;
  overflow: hidden;
}
.floating-contact__phone:hover,
.floating-contact__phone:focus-visible {
  width: 202px;
}
.floating-contact__phone-text {
  width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  transition: width .28s var(--ease), opacity .2s var(--ease), margin-right .28s var(--ease);
}
.floating-contact__phone:hover .floating-contact__phone-text,
.floating-contact__phone:focus-visible .floating-contact__phone-text {
  width: 138px;
  opacity: 1;
  margin-right: 10px;
}
.floating-contact__phone-text span {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  opacity: .82;
}
.floating-contact__phone-text strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}
.floating-contact__wechat {
  position: relative;
}
.floating-contact__qr {
  pointer-events: none;
  position: absolute;
  right: 90px;
  bottom: 0;
  width: 124px;
  height: 124px;
  padding: 8px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
  opacity: 0;
  transform: translateX(10px) scale(.96);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.floating-contact__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.floating-contact__wechat:hover + .floating-contact__qr,
.floating-contact__wechat:focus-visible + .floating-contact__qr {
  opacity: 1;
  transform: translateX(0) scale(1);
}
@media (max-width: 720px) {
  .floating-contact {
    right: 14px;
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .floating-contact__item {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .floating-contact__phone:hover,
  .floating-contact__phone:focus-visible {
    width: 178px;
  }
  .floating-contact__phone:hover .floating-contact__phone-text,
  .floating-contact__phone:focus-visible .floating-contact__phone-text {
    width: 118px;
  }
  .floating-contact__phone-text strong {
    font-size: 18px;
  }
  .floating-contact__qr {
    right: 0;
    bottom: 64px;
  }
}

/* =========================================================
   scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   mobile hero tweaks
   ========================================================= */
@media (max-width: 860px) {
  .ap-hero { padding-top: calc(var(--nav-h) + 52px); }
  .ap-hero__stage {
    aspect-ratio: auto;
    min-height: 520px;
    margin-top: 34px;
    border-radius: 22px;
  }
  .ap-hero__slide {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 28px 64px;
    gap: 24px;
  }
  .hs-copy { flex: 0 0 auto; max-width: 100%; text-align: center; order: 1; }
  .hs-copy h2 { font-size: clamp(22px, 6vw, 30px); }
  .hs-copy p  { font-size: 14px; }
  .hs-visual {
    order: 2;
    flex: 1 1 auto;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
  }
  .ap-hero__dots { bottom: 18px; }
}
@media (max-width: 480px) {
  .ap-hero__stage { min-height: 460px; }
  .ap-hero__slide { padding: 32px 22px 56px; }
  .hs-visual { max-width: 240px; }
}


/* =========================================================
   SUBPAGE — compact hero
   ========================================================= */
.sub-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 72px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--sub-accent, #0071e3) 18%, transparent), transparent 70%),
    #fbfbfd;
}
.sub-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.sub-hero .eyebrow {
  color: var(--sub-accent, #0071e3);
  margin-bottom: 16px;
}
.sub-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #1d1d1f 0%, #1d1d1f 55%, #4a4a4e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub-hero p.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
}
.sub-hero__cta { margin-top: 28px; }

@media (max-width: 640px) {
  .sub-hero { padding: calc(var(--nav-h) + 56px) var(--gutter) 52px; }
}


/* =========================================================
   FEATURE SPLIT — big copy left, visual right (alternates)
   ========================================================= */
.feat-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 88px 0;
}
.feat-split + .feat-split { border-top: 1px solid var(--hairline); }
.feat-split.is-reverse > :first-child { order: 2; }

.feat-split__copy .eyebrow { margin-bottom: 14px; }
.feat-split__copy h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--ink);
}
.feat-split__copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 480px;
}
.feat-split__copy ul {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: grid; gap: 10px;
}
.feat-split__copy li {
  position: relative; padding-left: 24px;
  font-size: 15px; color: var(--ink-soft); line-height: 1.5;
}
.feat-split__copy li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sub-accent, #0071e3);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
}

/* visual card used in split + stat cards */
.feat-visual {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: linear-gradient(140deg, var(--v1, #eef4ff) 0%, var(--v2, #dce9ff) 100%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 60px -24px rgba(0,0,0,.15);
}
.feat-visual svg {
  width: 72%; height: 72%;
}

@media (max-width: 860px) {
  .feat-split { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .feat-split.is-reverse > :first-child { order: 0; }
  .feat-visual { aspect-ratio: 16 / 11; }
}

/* =========================================================
   STAT BAND — KPI numbers
   ========================================================= */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat-band__cell {
  text-align: center;
}
.stat-band__num {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, #1d1d1f, #4a4a4e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-band__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 40px 0; }
}

/* =========================================================
   PROCESS — stepped flow
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.process__step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 28px 24px;
}
.process__num {
  font-size: 40px; font-weight: 600; line-height: 1;
  color: var(--sub-accent, #0071e3);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.process__step h4 {
  font-size: 18px; font-weight: 600;
  margin: 0 0 8px; color: var(--ink);
}
.process__step p {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}
@media (max-width: 900px)  { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .process { grid-template-columns: 1fr; } }

/* =========================================================
   PRICING
   ========================================================= */
.pricing {
  --pricing-card-max: 520px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 36px 32px 34px;
  display: flex; flex-direction: column;
  position: relative;
  min-width: 0;
  overflow: hidden;
  transition: transform .5s var(--ease-apple), box-shadow .5s var(--ease-apple);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 20px 40px -16px rgba(0,0,0,.14); }
.price-card.is-featured {
  background: linear-gradient(160deg, #1d1d1f, #333335);
  color: #fff;
  border: 0;
  box-shadow: 0 30px 60px -20px rgba(29,29,31,.4);
}
.price-card.is-featured .price-card__name,
.price-card.is-featured .price-card__amount,
.price-card.is-featured .price-card__feat { color: #fff; }
.price-card.is-featured .price-card__tag {
  background: #0071e3; color: #fff;
}
.price-card.is-featured .btn { background: #fff; color: #1d1d1f; }
.price-card.is-featured .btn:hover { background: #f1f1f3; }

.price-card__tag {
  position: static;
  align-self: flex-start;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  background: color-mix(in srgb, var(--sub-accent, #0071e3) 12%, transparent);
  color: var(--sub-accent, #0071e3);
  padding: 5px 10px; border-radius: 999px;
  margin: 0 0 18px;
}
.price-card__name {
  font-size: 14px; color: var(--ink-soft);
  letter-spacing: .04em; text-transform: uppercase;
  margin: 0 0 8px;
}
.price-card__amount {
  font-size: clamp(34px, 3.6vw, 44px); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.price-card__amount small {
  display: inline-block;
  font-size: 15px; font-weight: 400;
  color: var(--ink-muted);
  margin-left: 4px;
}
.price-card__hint {
  font-size: 13px; color: var(--ink-muted);
  margin: 10px 0 22px;
}
.price-card__feats {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
  font-size: 14px; color: var(--ink-soft);
  flex: 1;
}
.price-card__feat {
  position: relative; padding-left: 22px; line-height: 1.5;
  color: inherit;
}
.price-card__feat::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: currentColor; opacity: .9;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
}
@media (max-width: 900px) {
  .pricing {
    grid-template-columns: 1fr;
    max-width: var(--pricing-card-max);
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 560px) {
  .price-card {
    border-radius: 20px;
    padding: 30px 24px 28px;
  }
}

/* =========================================================
   能力对比表
   ========================================================= */
.compare-wrap {
  background: var(--surface);
  border: 1px solid var(--hairline, rgba(0,0,0,.1));
  border-radius: 24px;
  overflow-x: auto;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 60px -36px rgba(0,0,0,.28);
}
.compare-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--hairline, rgba(0,0,0,.1));
  text-align: center;
  vertical-align: middle;
}
.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-weight: 600;
  backdrop-filter: blur(18px);
}
.compare-table thead th:first-child,
.compare-table tbody th[scope="row"] {
  min-width: 176px;
  text-align: left;
}
.compare-table thead th:first-child,
.compare-table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--surface);
  border-right: 1px solid var(--hairline, rgba(0,0,0,.1));
}
.compare-table thead th:first-child { background: rgba(255,255,255,.98); }
.compare-table tbody th[scope="row"] {
  color: var(--ink);
  font-weight: 500;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}
.compare-group th {
  position: static;
  padding: 14px 20px;
  background: linear-gradient(90deg, rgba(0,113,227,.11), rgba(0,113,227,.03));
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}
.compare-mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.compare-mark--yes {
  background: rgba(0,113,227,.1);
  color: var(--blue);
}
.compare-mark--yes::before { content: "✓"; }
.compare-mark--no {
  background: rgba(134,134,139,.12);
  color: var(--ink-muted);
}
.compare-mark--no::before { content: "-"; }
@media (max-width: 640px) {
  .compare-wrap {
    border-radius: 20px;
    margin-right: calc(var(--gutter) * -1);
  }
  .compare-table {
    min-width: 900px;
    font-size: 13px;
  }
  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
  }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 780px; margin: 48px auto 0; }
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 4px;
}
.faq details[open] { padding-bottom: 26px; }
.faq summary {
  list-style: none;
  font-size: 18px; font-weight: 500;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p {
  margin: 12px 0 0;
  font-size: 15px; line-height: 1.65;
  color: var(--ink-soft);
}

/* =========================================================
   TIMELINE (about page)
   ========================================================= */
.timeline {
  position: relative;
  max-width: 720px; margin: 56px auto 0;
  padding-left: 32px;
}
.timeline::before {
  content: ""; position: absolute;
  top: 8px; bottom: 8px; left: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--sub-accent, #0071e3), transparent);
}
.timeline__item {
  position: relative;
  padding: 0 0 36px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute; left: -32px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sub-accent, #0071e3);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sub-accent, #0071e3) 20%, transparent);
}
.timeline__year {
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; color: var(--sub-accent, #0071e3);
  margin-bottom: 6px;
}
.timeline__item h4 {
  font-size: 19px; font-weight: 600; margin: 0 0 6px;
  color: var(--ink);
}
.timeline__item p {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-soft); margin: 0;
}

/* =========================================================
   CONTACT CARD
   ========================================================= */
.contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card__item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.contact-card__ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: color-mix(in srgb, var(--sub-accent, #0071e3) 12%, transparent);
  color: var(--sub-accent, #0071e3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.contact-card__label {
  font-size: 13px; color: var(--ink-muted);
  letter-spacing: .04em; text-transform: uppercase;
}
.contact-card__value {
  font-size: 18px; font-weight: 500; color: var(--ink);
  word-break: break-all;
}
@media (max-width: 720px) { .contact-card { grid-template-columns: 1fr; } }


/* =========================================================
   ICON GRID — feature matrix (many small items)
   ========================================================= */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.icon-grid__cell {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 24px 22px;
  transition: transform .4s var(--ease-apple), box-shadow .4s var(--ease-apple), border-color .3s;
}
.icon-grid__cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 40px -18px rgba(0,0,0,.14);
  border-color: transparent;
}
.icon-grid__ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: color-mix(in srgb, var(--sub-accent, #0071e3) 10%, transparent);
  color: var(--sub-accent, #0071e3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-grid__cell h4 {
  margin: 0 0 6px;
  font-size: 16px; font-weight: 600;
  color: var(--ink);
}
.icon-grid__cell p {
  margin: 0;
  font-size: 13px; line-height: 1.5;
  color: var(--ink-soft);
}
@media (max-width: 960px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .icon-grid { grid-template-columns: 1fr; } }

/* =========================================================
   SCENE CARDS — industry / use-case tiles with color wash
   ========================================================= */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.scene-card {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  padding: 32px 28px 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
  color: #fff;
  transition: transform .5s var(--ease-apple), box-shadow .5s var(--ease-apple);
  background: linear-gradient(155deg, var(--sc-a, #1d1d1f) 0%, var(--sc-b, #333335) 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.18);
  isolation: isolate;
}
.scene-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(0,0,0,.28), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.scene-card > * { position: relative; z-index: 1; }
.scene-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 28px 56px -16px rgba(0,0,0,.28);
}
.scene-card__tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: auto;
}
.scene-card h4 {
  margin: 28px 0 8px;
  font-size: 24px; font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.scene-card p {
  margin: 0;
  font-size: 14px; line-height: 1.6;
  opacity: .82;
}
@media (max-width: 860px) { .scene-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 520px) { .scene-grid { grid-template-columns: 1fr; } .scene-card { min-height: 220px; } }

/* =========================================================
   TECH STACK — pill row
   ========================================================= */
.tech-stack {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 40px;
  justify-content: center;
}
.tech-pill {
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .3s var(--ease), border-color .3s, color .3s;
}
.tech-pill:hover {
  transform: translateY(-2px);
  border-color: var(--sub-accent, #0071e3);
  color: var(--sub-accent, #0071e3);
}
.tech-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sub-accent, #0071e3);
}

/* =========================================================
   QUOTE / TESTIMONIAL
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 20px;
}
.testimonial__quote {
  font-size: 16px; line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  flex: 1;
}
.testimonial__who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sub-accent, #0071e3), color-mix(in srgb, var(--sub-accent, #0071e3) 50%, #fff));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px;
}
.testimonial__name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.testimonial__role { font-size: 12px; color: var(--ink-muted); }
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* =========================================================
   DEPLOYMENT / MODE TRIPLET (micro page)
   ========================================================= */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mode-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}
.mode-card__header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.mode-card__ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in srgb, var(--sub-accent, #0071e3) 12%, transparent);
  color: var(--sub-accent, #0071e3);
  display: flex; align-items: center; justify-content: center;
}
.mode-card h4 {
  margin: 0; font-size: 18px; font-weight: 600;
  color: var(--ink);
}
.mode-card p {
  font-size: 14px; line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.mode-card ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  font-size: 13px; color: var(--ink-soft);
}
.mode-card li {
  position: relative; padding-left: 18px; line-height: 1.5;
}
.mode-card li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sub-accent, #0071e3);
}
@media (max-width: 900px) { .mode-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PERF DATA — large numbers with labels & bar
   ========================================================= */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.perf-card {
  background: linear-gradient(160deg, #1d1d1f, #333335);
  color: #fff;
  border-radius: 22px;
  padding: 32px 28px;
}
.perf-card__label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.perf-card__num {
  font-size: 48px; font-weight: 600;
  letter-spacing: -.03em; line-height: 1;
  margin-bottom: 4px;
}
.perf-card__unit {
  font-size: 14px; color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.perf-card__bar {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
}
.perf-card__bar-fill {
  height: 100%;
  background: var(--sub-accent, #0071e3);
  border-radius: 2px;
  animation: perf-fill 1.6s var(--ease-apple) both;
}
@keyframes perf-fill { from { width: 0; } }
@media (max-width: 720px) { .perf-grid { grid-template-columns: 1fr; } }

/* =========================================================
   LIST 2-COL (for features long lists)
   ========================================================= */
.list-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  margin-top: 32px;
  list-style: none;
  padding: 0;
}
.list-2col li {
  position: relative;
  padding: 14px 0 14px 26px;
  font-size: 15px; color: var(--ink-soft);
  line-height: 1.5;
  border-bottom: 1px solid var(--hairline);
}
.list-2col li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--sub-accent, #0071e3) 14%, transparent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
}
.list-2col li strong {
  color: var(--ink); font-weight: 600;
  margin-right: 6px;
}
@media (max-width: 720px) { .list-2col { grid-template-columns: 1fr; } }

/* =========================================================
   TERMINAL MATRIX — screens showcase
   ========================================================= */
.term-matrix {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
  align-items: end;
}
.term-cell {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--tc-a, #e8f0ff), var(--tc-b, #c9dcff));
  padding: 28px 22px 0;
  display: flex; flex-direction: column; align-items: center;
  aspect-ratio: 3 / 4;
}
.term-cell__label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  align-self: flex-start;
}
.term-cell__device {
  width: 80%;
  flex: 1;
  background: #1d1d1f;
  border-radius: 14px 14px 0 0;
  border: 6px solid #1d1d1f;
  border-bottom: 0;
  overflow: hidden;
  position: relative;
}
.term-cell__device::before {
  content: "";
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.2);
}
.term-cell__screen {
  position: absolute; inset: 10px 4px 0 4px;
  background: #fff; border-radius: 4px;
  display: flex; flex-direction: column;
  padding: 10px 8px;
  gap: 6px;
}
.term-cell__screen .s-line {
  height: 6px; border-radius: 3px;
  background: var(--sub-accent, #0071e3);
  opacity: .85;
}
.term-cell__screen .s-line.short { width: 60%; opacity: .4; }
.term-cell__screen .s-block {
  flex: 1;
  background: linear-gradient(135deg, var(--tc-a, #e8f0ff), var(--tc-b, #c9dcff));
  border-radius: 4px;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .term-matrix { grid-template-columns: repeat(3, 1fr); }
  .term-matrix > :first-child { grid-column: span 3; aspect-ratio: 16 / 8; }
  .term-matrix > :first-child .term-cell__device { width: 40%; }
}
@media (max-width: 560px) {
  .term-matrix { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .term-matrix > :first-child { grid-column: span 2; aspect-ratio: auto; min-height: 220px; }
}

/* =========================================================
   DASHBOARD MOCK (for s2b2c)
   ========================================================= */
.dash-mock {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 28px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dash-kpi {
  padding: 20px 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--sub-accent, #0071e3) 8%, transparent), transparent);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}
.dash-kpi__label {
  font-size: 12px; color: var(--ink-muted);
  margin-bottom: 8px;
}
.dash-kpi__val {
  font-size: 26px; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.dash-kpi__trend {
  font-size: 12px; color: #1f7a56; font-weight: 500;
}
.dash-kpi__trend.is-down { color: #c73b93; }
.dash-chart {
  grid-column: span 4;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--paper-2);
}
@media (max-width: 720px) {
  .dash-mock { grid-template-columns: repeat(2, 1fr); }
  .dash-chart { grid-column: span 2; }
}


/* =========================================================
   MOBILE BANNER — iPhone triptych under sub-hero
   ========================================================= */
.m-banner {
  position: relative;
  padding: 72px var(--gutter) 96px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(0,113,227,.08), transparent 65%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}
.m-banner.is-accent {
  background:
    radial-gradient(60% 80% at 50% 0%, color-mix(in oklab, var(--sub-accent, #0071e3) 22%, transparent), transparent 65%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}
.m-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.m-banner__copy .eyebrow {
  display: block;
  color: var(--sub-accent, #0071e3);
  margin-bottom: 12px;
}
.m-banner__copy h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}
.m-banner__copy p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 460px;
}
.m-banner__chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.m-banner__chip {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.m-banner__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: -40px;
  min-height: 560px;
}
.m-phone {
  position: relative;
  width: 240px;
  height: 500px;
  border-radius: 40px;
  background: #111;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.6) inset,
    0 40px 80px -30px rgba(0,0,0,.35),
    0 15px 40px -10px rgba(0,0,0,.2);
  flex-shrink: 0;
  transition: transform .5s var(--ease-apple);
}
.m-phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
}
.m-phone__notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #111;
  border-radius: 14px;
  z-index: 5;
}
.m-phone.is-left  { transform: translateY(40px) rotate(-6deg) scale(.86); z-index: 1; }
.m-phone.is-main  { transform: translateY(0) scale(1); z-index: 3; margin: 0 -36px; }
.m-phone.is-right { transform: translateY(40px) rotate(6deg) scale(.86); z-index: 2; }
.m-banner__stage:hover .m-phone.is-left  { transform: translateY(30px) rotate(-8deg) scale(.88); }
.m-banner__stage:hover .m-phone.is-main  { transform: translateY(-6px) scale(1.02); }
.m-banner__stage:hover .m-phone.is-right { transform: translateY(30px) rotate(8deg) scale(.88); }

/* phone screen mock — generic building blocks */
.mp { padding: 36px 14px 20px; height: 100%; display: flex; flex-direction: column; gap: 10px; font-size: 10px; color: #1d1d1f; }
.mp-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 4px;
  font-size: 10px; font-weight: 600; color: #1d1d1f;
}
.mp-search {
  height: 30px; border-radius: 15px; background: #f2f2f5;
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
  font-size: 10px; color: #86868b;
}
.mp-pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--sub-accent, #0071e3); color: #fff;
  font-size: 10px; font-weight: 500;
}
.mp-card {
  border-radius: 10px; padding: 10px;
  background: #f5f5f7;
  display: flex; flex-direction: column; gap: 4px;
}
.mp-card__img {
  aspect-ratio: 16/10; border-radius: 6px;
  background: linear-gradient(135deg, var(--sub-accent, #0071e3), color-mix(in oklab, var(--sub-accent, #0071e3) 40%, #fff));
  opacity: .75;
}
.mp-card__title { font-size: 10px; font-weight: 600; line-height: 1.3; }
.mp-card__price { font-size: 11px; color: var(--sub-accent, #0071e3); font-weight: 600; }
.mp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mp-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; background: #f5f5f7;
  font-size: 10px;
}
.mp-row__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sub-accent, #0071e3); flex-shrink: 0; }
.mp-row__label { flex: 1; font-weight: 500; }
.mp-row__val { color: #86868b; font-size: 10px; }
.mp-bars {
  display: flex; align-items: flex-end; gap: 4px; height: 60px;
  padding: 8px; background: #f5f5f7; border-radius: 8px;
}
.mp-bars span {
  flex: 1; background: var(--sub-accent, #0071e3);
  border-radius: 2px 2px 0 0;
  opacity: .85;
}
.mp-stat {
  padding: 10px; border-radius: 8px; background: #f5f5f7;
}
.mp-stat__num { font-size: 18px; font-weight: 700; color: #1d1d1f; letter-spacing: -.02em; }
.mp-stat__lbl { font-size: 9px; color: #86868b; margin-top: 2px; }
.mp-tab {
  margin-top: auto;
  display: flex; justify-content: space-around;
  padding: 10px 0 4px;
  border-top: 1px solid #f2f2f5;
  font-size: 9px; color: #86868b;
}
.mp-tab__item.is-active { color: var(--sub-accent, #0071e3); font-weight: 600; }

/* responsive */
@media (max-width: 960px) {
  .m-banner__inner { grid-template-columns: 1fr; text-align: center; }
  .m-banner__copy p { margin-left: auto; margin-right: auto; }
  .m-banner__chips { justify-content: center; }
  .m-banner__stage { margin-top: 32px; min-height: 480px; }
}
@media (max-width: 520px) {
  .m-phone { width: 180px; height: 380px; border-radius: 30px; }
  .m-phone__screen { border-radius: 22px; }
  .m-phone__notch { width: 70px; height: 18px; }
  .m-phone.is-main { margin: 0 -28px; }
  .m-banner__stage { min-height: 380px; }
  .m-banner { padding: 48px var(--gutter) 64px; }
}

/* =========================================================
   SMOOTH SCROLL SPOTLIGHT
   ========================================================= */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.scroll-flash {
  position: relative;
  animation: scroll-flash 2.8s var(--ease-apple-out, var(--ease-apple));
}
.scroll-flash::after {
  content: "";
  position: absolute;
  inset: -10px -14px;
  border-radius: 28px;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(0,113,227,.14), transparent 70%);
  animation: scroll-flash-glow 2.8s var(--ease-apple-out, var(--ease-apple));
  opacity: 0;
  z-index: -1;
}
@keyframes scroll-flash {
  0%   { box-shadow: 0 0 0 0 rgba(0,113,227,0); }
  10%  { box-shadow: 0 0 0 6px rgba(0,113,227,.22); }
  55%  { box-shadow: 0 0 0 4px rgba(0,113,227,.16); }
  100% { box-shadow: 0 0 0 0 rgba(0,113,227,0); }
}
@keyframes scroll-flash-glow {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  60%  { opacity: .55; }
  100% { opacity: 0; }
}

/* =========================================================
   TOP SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 200;
  pointer-events: none;
  background: transparent;
  contain: strict;
}
.scroll-progress__bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg,
    #0071e3 0%,
    #2997ff 50%,
    #5ac8fa 100%);
  box-shadow: 0 0 8px rgba(0,113,227,.45);
  will-change: transform;
  border-radius: 0 2px 2px 0;
}

/* =========================================================
   MOUSE-FOLLOW SPOTLIGHT (Apple-style highlight on cards)
   --------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .terminal,
  .feat,
  .tech-card,
  .icon-grid__cell,
  .testimonial,
  .price-card,
  .process__step,
  .contact-card__item,
  .mode-card,
  .ap-strip__cell {
    position: relative;
  }
  .terminal::after,
  .feat::after,
  .tech-card::after,
  .icon-grid__cell::after,
  .testimonial::after,
  .price-card::after,
  .process__step::after,
  .contact-card__item::after,
  .mode-card::after,
  .ap-strip__cell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
      240px circle at var(--mx, 50%) var(--my, 50%),
      rgba(0,113,227,.10),
      transparent 55%
    );
    opacity: 0;
    transition: opacity .35s var(--ease-apple);
    z-index: 0;
  }
  .terminal.is-spot::after,
  .feat.is-spot::after,
  .tech-card.is-spot::after,
  .icon-grid__cell.is-spot::after,
  .testimonial.is-spot::after,
  .price-card.is-spot::after,
  .process__step.is-spot::after,
  .contact-card__item.is-spot::after,
  .mode-card.is-spot::after,
  .ap-strip__cell.is-spot::after {
    opacity: 1;
  }
  .feat::after {
    background: radial-gradient(
      260px circle at var(--mx, 50%) var(--my, 50%),
      rgba(41,151,255,.18),
      transparent 55%
    );
  }
  .terminal > *,
  .feat > *,
  .tech-card > *,
  .icon-grid__cell > *,
  .testimonial > *,
  .price-card > *,
  .process__step > *,
  .contact-card__item > *,
  .mode-card > *,
  .ap-strip__cell > * {
    position: relative;
    z-index: 1;
  }
}
