/* =========================================================
   Product pages v2 · seven visual families
   Shared by product-*.html (except hand-authored welcome)
   ========================================================= */

.p-page {
  --p-ink: #0a1b29;
  --p-text: #172a3a;
  --p-muted: #6c7a85;
  --p-muted-2: #95a0a6;
  --p-line: rgba(10, 27, 41, 0.12);
  --p-line-soft: rgba(10, 27, 41, 0.07);
  --p-paper: #f7f9fb;
  --p-cream: #EEF2F7;
  --p-accent: #1366EC;
  --p-accent-2: #6366F1;
  --p-soft: rgba(19, 102, 236, 0.16);
  color: var(--p-text);
  background: var(--p-paper);
}

.theme-amber { --p-accent: #1366EC; --p-accent-2: #094EBD; --p-soft: rgba(19, 102, 236, 0.12); }
.theme-cyan { --p-accent: #1366EC; --p-accent-2: #6366F1; --p-soft: rgba(19, 102, 236, 0.12); }
.theme-violet { --p-accent: #8B5CF6; --p-accent-2: #6366F1; --p-soft: rgba(139, 92, 246, 0.12); }
.theme-blue { --p-accent: #1366EC; --p-accent-2: #6366F1; --p-soft: rgba(19, 102, 236, 0.12); }
.theme-teal { --p-accent: #6366F1; --p-accent-2: #8B5CF6; --p-soft: rgba(99, 102, 241, 0.12); }
.theme-rose { --p-accent: #8B5CF6; --p-accent-2: #1366EC; --p-soft: rgba(139, 92, 246, 0.12); }
.theme-lime { --p-accent: #6366F1; --p-accent-2: #094EBD; --p-soft: rgba(99, 102, 241, 0.12); }

.p-page ::selection {
  color: var(--p-ink);
  background: var(--p-accent);
}

.p-page .container {
  width: min(calc(100% - 48px), 1200px);
}

.p-page .btn--primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 14px 30px -6px rgba(19, 102, 236, 0.4);
}

.p-page .btn--primary:hover {
  box-shadow: 0 18px 38px -6px rgba(19, 102, 236, 0.5);
}

.p-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--p-accent-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.p-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.p-eyebrow--light {
  color: var(--p-accent);
}

/* ---------- Hero base ---------- */

.p-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 78px) 0 80px;
  color: #fff;
  background: #081b2a;
  isolation: isolate;
}

.p-hero-glow {
  position: absolute;
  z-index: 0;
  top: 40px;
  right: -140px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--p-soft), transparent 66%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
}

.p-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 58px;
  align-items: center;
}

.p-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.p-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--p-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--p-soft);
}

.p-cat {
  display: inline-flex;
  padding: 5px 10px;
  color: var(--p-accent);
  background: var(--p-soft);
  border: 1px solid color-mix(in srgb, var(--p-accent) 28%, transparent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.p-cat--dark {
  color: var(--p-accent-2);
  background: rgba(255, 255, 255, 0.56);
}

.p-hero h1 {
  max-width: 700px;
  margin: 14px 0 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: 1.1;
}

.p-tagline {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--p-accent);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.6;
}

.p-intro {
  max-width: 610px;
  margin: 16px 0 0;
  color: rgba(226, 238, 244, 0.58);
  font-size: 13.5px;
  line-height: 1.95;
}

.p-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.p-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
}

.p-text-link span {
  color: var(--p-accent);
}

.p-text-link:hover {
  color: #fff;
}

.p-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 30px;
  padding-top: 19px;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.p-meta strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.p-visual {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

/* ---------- Data hero ---------- */

.p-hero--data {
  background:
    radial-gradient(680px 480px at 88% 8%, var(--p-soft), transparent 65%),
    linear-gradient(180deg, #061724, #0a2030 65%, #061724);
}

.p-hero--data::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 86%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 86%);
  pointer-events: none;
}

.p-dash {
  width: min(100%, 430px);
  padding: 20px;
  background: #0d273a;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4);
  transform: rotate(-1.2deg);
}

.p-dash__top,
.p-ops__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  color: rgba(255, 255, 255, 0.44);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
}

.p-dash__top span:last-child,
.p-ops__top span:last-child {
  padding: 3px 6px;
  color: var(--p-accent);
  background: var(--p-soft);
  border-radius: 4px;
  font-size: 13px;
}

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

.p-dash__kpis > div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.p-dash__kpis span {
  display: block;
  color: rgba(255, 255, 255, 0.34);
  font-size: 13px;
}

.p-dash__kpis strong {
  display: block;
  margin-top: 4px;
  color: var(--p-accent);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.p-dash__kpis em {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.26);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.p-dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 92px;
  margin-top: 16px;
  padding: 0 2px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.p-dash__chart span {
  flex: 1;
  height: var(--h);
  min-height: 6px;
  background: linear-gradient(180deg, var(--p-accent), color-mix(in srgb, var(--p-accent) 12%, transparent));
  border-radius: 2px 2px 0 0;
  opacity: 0.85;
}

.p-dash__chart span:nth-child(3n) {
  background: linear-gradient(180deg, var(--p-accent-2), color-mix(in srgb, var(--p-accent-2) 10%, transparent));
}

.p-dash__rows {
  display: grid;
  gap: 1px;
  margin-top: 11px;
}

.p-dash__rows > div {
  display: grid;
  grid-template-columns: 13px 1fr auto;
  gap: 7px;
  align-items: center;
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.53);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.p-dash__rows b {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 500;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.dot--amber { background: var(--p-accent); }
.dot--mint { background: var(--p-accent-2); }
.dot--blue { background: #7ed6ff; }

.p-dash__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ---------- Platform hero ---------- */

.p-hero--platform {
  background:
    radial-gradient(620px 450px at 92% 10%, var(--p-soft), transparent 65%),
    linear-gradient(150deg, #071b2b, #0a2439 60%, #061724);
}

.p-stack {
  width: min(100%, 430px);
  display: grid;
  gap: 8px;
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg) rotateZ(-1deg);
}

.p-stack__layer {
  padding: 19px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.p-stack__layer:nth-child(2) {
  margin-left: 18px;
}

.p-stack__layer--base {
  margin-left: 36px;
  background: color-mix(in srgb, var(--p-accent) 13%, transparent);
  border-color: color-mix(in srgb, var(--p-accent) 30%, transparent);
}

.p-stack__layer span {
  display: block;
  color: var(--p-accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-stack__layer strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.p-phone {
  width: 255px;
  min-height: 445px;
  padding: 18px;
  color: #152536;
  background: #fbf7ef;
  border: 7px solid #0c2132;
  border-radius: 31px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(3deg);
}

.p-phone__top {
  display: flex;
  justify-content: space-between;
  color: #82909a;
  font-family: var(--font-display);
  font-size: 13px;
}

.p-phone__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
}

.p-phone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 15px;
}

.p-phone__grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.1 / 1;
  color: #4f5f69;
  background: #fff;
  border: 1px solid rgba(10, 27, 41, 0.08);
  border-radius: 9px;
  font-size: 13px;
}

.p-phone__row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 7px;
  align-items: center;
  margin-top: 7px;
  padding: 9px;
  color: #4f5f69;
  background: #fff;
  border-radius: 8px;
  font-size: 13px;
}

.p-phone__row i {
  width: 7px;
  height: 7px;
  background: var(--p-accent);
  border-radius: 50%;
}

.p-phone__row b {
  color: var(--p-accent-2);
  font-size: 13px;
}

.p-phone__bar {
  width: 74px;
  height: 3px;
  margin: 20px auto 0;
  background: #d9d2c6;
  border-radius: 3px;
}

.p-browser {
  width: min(100%, 440px);
  overflow: hidden;
  color: #1b2e3d;
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.36);
  transform: rotate(-1.4deg);
}

.p-browser__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  background: #eef3f7;
  border-bottom: 1px solid #e1e8ee;
}

.p-browser__bar i {
  width: 5px;
  height: 5px;
  background: #c9d4dd;
  border-radius: 50%;
}

.p-browser__bar span {
  margin-left: 8px;
  color: #8a9aa6;
  font-size: 13px;
}

.p-browser__body {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 285px;
}

.p-browser__side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 17px 12px;
  background: #0d273a;
}

.p-browser__side span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

.p-browser__side span:first-child {
  color: var(--p-accent);
}

.p-browser__main {
  padding: 17px;
}

.p-browser__hero {
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--p-accent-2), var(--p-accent));
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.p-browser__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 9px;
}

.p-browser__cards span {
  padding: 10px 5px;
  color: #54646e;
  text-align: center;
  background: #fff;
  border: 1px solid #e6edf2;
  border-radius: 6px;
  font-size: 13px;
}

.p-browser__lines {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.p-browser__lines i {
  display: block;
  height: 6px;
  background: #e9eff3;
  border-radius: 3px;
}

.p-form {
  width: min(100%, 385px);
  padding: 24px;
  color: #1b2e3d;
  background: #fbf7ef;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.p-form__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  color: #756c5f;
  border-bottom: 1px solid #e5ddcf;
  font-size: 13px;
}

.p-form__top span:first-child {
  color: var(--p-accent-2);
  font-weight: 700;
}

.p-form__field {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #eee6d9;
  font-size: 13px;
}

.p-form__field span {
  color: #a39786;
}

.p-form__field strong {
  color: #3a4a54;
  font-weight: 600;
}

.p-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  color: #8d8272;
  font-size: 13px;
}

.p-form__row b {
  padding: 6px 12px;
  color: var(--p-ink);
  background: var(--p-accent);
  border-radius: 999px;
  font-size: 13px;
}

.p-authrings {
  position: relative;
  width: min(100%, 390px);
  height: 390px;
}

.p-authrings__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.p-authrings__ring--1 { width: 310px; height: 310px; }
.p-authrings__ring--2 { width: 225px; height: 225px; border-color: color-mix(in srgb, var(--p-accent) 38%, transparent); }
.p-authrings__ring--3 { width: 145px; height: 145px; border-color: color-mix(in srgb, var(--p-accent) 55%, transparent); }

.p-authrings__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  color: var(--p-ink);
  background: var(--p-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 12px var(--p-soft);
}

.p-authrings__core span {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
}

.p-authrings__core b {
  font-size: 13px;
  font-weight: 600;
}

.p-authrings__tag {
  position: absolute;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
}

.p-authrings__tag--1 { top: 42px; left: 52px; }
.p-authrings__tag--2 { top: 155px; right: 0; }
.p-authrings__tag--3 { bottom: 42px; left: 62px; }

/* ---------- Sections and shared blocks ---------- */

.p-section {
  padding: 88px 0;
}

.p-section--white { background: #fff; }
.p-section--cream { background: var(--p-cream); }

.p-head {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 42px;
}

.p-head h2 {
  margin: 0;
  color: var(--p-ink);
  font-family: var(--font-display);
  font-size: clamp(33px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.p-head > p {
  max-width: 520px;
  margin: 0 0 4px auto;
  color: var(--p-muted);
  font-size: 13px;
  line-height: 1.9;
}

.p-page--data .p-head h2,
.p-page--platform .p-head h2,
.p-page--ops .p-head h2,
.p-page--micro .p-head h2 {
  font-family: var(--font-sans);
}

.p-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--p-line);
  border: 1px solid var(--p-line);
  border-radius: 16px;
}

.p-flow__step {
  position: relative;
  min-height: 150px;
  padding: 23px;
  background: #fff;
}

.p-p-page--cream .p-flow__step { background: #fff; }

.p-flow__step span {
  color: var(--p-accent-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p-flow__step strong {
  display: block;
  margin-top: 34px;
  color: var(--p-ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.p-flow__step::after {
  content: "";
  position: absolute;
  top: 31px;
  right: -5px;
  width: 8px;
  height: 8px;
  background: var(--p-accent);
  border-radius: 50%;
  opacity: 0.55;
}

.p-flow__step:last-child::after { display: none; }

.p-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.p-feature {
  min-height: 170px;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--p-line-soft);
  border-radius: 14px;
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.24s ease;
}

.p-feature:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--p-accent) 30%, transparent);
  box-shadow: 0 16px 34px rgba(10, 27, 41, 0.07);
}

.p-feature__num {
  color: var(--p-accent-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p-feature h3 {
  margin: 32px 0 6px;
  color: var(--p-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.45;
}

.p-feature p {
  margin: 0;
  color: var(--p-muted);
  font-size: 13px;
  line-height: 1.8;
}

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

.p-scenario {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--p-line-soft);
  border-radius: 12px;
}

.p-scenario__num {
  color: var(--p-accent-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.p-scenario h3 {
  margin: 0;
  color: var(--p-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.p-scenario p {
  margin: 4px 0 0;
  color: var(--p-muted);
  font-size: 13px;
  line-height: 1.8;
}

.p-pillars,
.p-stages,
.p-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

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

.p-pillar,
.p-stage,
.p-role {
  min-height: 175px;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--p-line-soft);
  border-radius: 13px;
}

.p-pillar span,
.p-stage span,
.p-role span {
  color: var(--p-accent-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p-pillar h3,
.p-stage h3,
.p-role h3 {
  margin: 33px 0 6px;
  color: var(--p-ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.p-role h3 { font-family: var(--font-sans); }

.p-pillar p,
.p-stage p,
.p-role p {
  margin: 0;
  color: var(--p-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- Value band ---------- */

.p-value-band {
  padding: 86px 0;
  color: #fff;
  background:
    radial-gradient(560px 380px at 94% 4%, var(--p-soft), transparent 65%),
    #081b2a;
}

.p-value-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: start;
}

.p-value-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.p-value-copy > p:not(.p-eyebrow) {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.9;
}

.p-value-copy .btn { margin-top: 24px; }

.p-value-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.p-value-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.p-value-list span {
  color: var(--p-accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-value-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- Journey family ---------- */

.p-hero--journey,
.p-hero--community {
  color: var(--p-ink);
  background:
    radial-gradient(600px 460px at 92% 6%, var(--p-soft), transparent 67%),
    var(--p-cream);
}

.p-hero--journey::before,
.p-hero--community::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  border-left: 1px solid rgba(10, 27, 41, 0.06);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24));
  pointer-events: none;
}

.p-hero--journey .p-kicker,
.p-hero--community .p-kicker {
  color: rgba(10, 27, 41, 0.45);
}

.p-hero--journey h1,
.p-hero--community h1 {
  color: var(--p-ink);
  font-family: var(--font-display);
  font-size: clamp(46px, 5.6vw, 74px);
}

.p-hero--journey .p-intro,
.p-hero--community .p-intro {
  color: var(--p-muted);
}

.p-hero--journey .p-meta,
.p-hero--community .p-meta {
  color: rgba(10, 27, 41, 0.38);
  border-top-color: var(--p-line);
}

.p-hero--journey .p-meta strong,
.p-hero--community .p-meta strong {
  color: var(--p-ink);
}

.p-hero--journey .p-text-link,
.p-hero--community .p-text-link {
  color: rgba(10, 27, 41, 0.5);
}

.p-journey-visual {
  position: relative;
  min-height: 500px;
}

.p-rail {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: -10px;
  width: 210px;
  padding: 19px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10, 27, 41, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.p-rail__stop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  color: #5a646b;
  font-size: 13px;
}

.p-rail__stop:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 4px;
  width: 1px;
  height: 18px;
  background: rgba(10, 27, 41, 0.14);
}

.p-rail__stop i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--p-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--p-soft);
}

.p-journey-img {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: -8px;
  display: block;
  width: 330px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(10, 27, 41, 0.18);
  transform: rotate(4deg);
}

.p-journey-img img { width: 100%; height: auto; border-radius: 5px; }

.p-journey-img span {
  display: block;
  padding: 7px 3px 0;
  color: var(--p-muted-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---------- Ops family ---------- */

.p-hero--ops {
  background:
    radial-gradient(620px 460px at 90% 8%, var(--p-soft), transparent 66%),
    linear-gradient(150deg, #071e2a, #0a2a36 62%, #071924);
}

.p-ops {
  width: min(100%, 410px);
  padding: 21px;
  background: #0d2a35;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4);
  transform: rotate(1.1deg);
}

.p-ops-row {
  display: grid;
  grid-template-columns: 13px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 13px 4px;
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.p-ops-row i {
  width: 6px;
  height: 6px;
  background: var(--p-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--p-soft);
}

.p-ops-row:nth-child(3) i { background: var(--p-accent-2); }
.p-ops-row:nth-child(4) i { background: #8B5CF6; }
.p-ops-row:nth-child(5) i { background: #76d8c0; }

.p-ops-row b {
  padding: 4px 7px;
  color: var(--p-accent);
  background: var(--p-soft);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.p-ops__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.24);
  font-size: 13px;
}

/* ---------- Sport family ---------- */

.p-hero--sport {
  background:
    radial-gradient(650px 450px at 88% 10%, var(--p-soft), transparent 65%),
    linear-gradient(145deg, #071b16, #0b2a20 62%, #061713);
}

.p-track {
  position: absolute;
  right: -160px;
  bottom: -230px;
  width: 640px;
  height: 640px;
  border: 1px solid color-mix(in srgb, var(--p-accent) 24%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.p-track::before,
.p-track::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--p-accent) 16%, transparent);
  border-radius: 50%;
}

.p-track::before { inset: 48px; }
.p-track::after { inset: 102px; }

.p-sport-card {
  position: relative;
  width: 330px;
  padding: 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.44);
  transform: rotate(-2deg);
}

.p-sport-card img { width: 100%; height: auto; border-radius: 6px; }

.p-sport-card > a > span {
  display: block;
  padding: 7px 3px 0;
  color: var(--p-muted-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-sport-badge {
  position: absolute;
  right: -22px;
  bottom: 26px;
  padding: 13px 16px;
  color: #fff;
  background: #0b2a20;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.p-sport-badge span {
  display: block;
  color: var(--p-accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p-sport-badge b {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
}

.p-metric-band {
  background: #0b2a20;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.p-metric {
  padding: 23px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.p-metric:last-child { border-right: 0; }

.p-metric strong {
  display: block;
  color: var(--p-accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.p-metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* ---------- Community family ---------- */

.p-collage {
  position: relative;
  width: min(100%, 410px);
  min-height: 480px;
}

.p-collage__main {
  position: absolute;
  top: 10px;
  right: 0;
  width: 290px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 28px 60px rgba(10, 27, 41, 0.18);
  transform: rotate(3deg);
}

.p-collage__main img { width: 100%; height: auto; border-radius: 5px; }

.p-collage__main span {
  display: block;
  padding: 7px 3px 0;
  color: var(--p-muted-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-collage__sub {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 170px;
  padding: 6px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 18px 40px rgba(10, 27, 41, 0.16);
  transform: rotate(-6deg);
}

.p-collage__sub img { width: 100%; height: auto; border-radius: 4px; }

.p-collage__note {
  position: absolute;
  right: -3px;
  bottom: 28px;
  padding: 14px 16px;
  color: #fff;
  background: var(--p-ink);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(10, 27, 41, 0.2);
}

.p-collage__note span {
  display: block;
  color: var(--p-accent);
  font-size: 13px;
}

.p-collage__note b {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 15px;
}

.p-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.p-story__item {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--p-line-soft);
  border-radius: 13px;
}

.p-story__item span {
  color: var(--p-accent-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p-story__item h3 {
  margin: 32px 0 6px;
  color: var(--p-ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.p-story__item p {
  margin: 0;
  color: var(--p-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- Microservice family ---------- */

.p-hero--micro {
  background:
    radial-gradient(650px 480px at 90% 12%, var(--p-soft), transparent 66%),
    linear-gradient(145deg, #101127, #171733 62%, #0c0d1e);
}

.p-constellation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 400px;
}

.p-constellation__core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 125px;
  height: 125px;
  color: var(--p-ink);
  background: var(--p-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 16px var(--p-soft);
}

.p-constellation__core span {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
}

.p-constellation__core b {
  font-size: 13px;
  font-weight: 600;
}

.p-constellation__chips {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 7px;
  padding: 28px;
}

.p-constellation__chips span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.p-constellation__chips span:nth-child(3n) {
  color: var(--p-accent);
  border-color: color-mix(in srgb, var(--p-accent) 30%, transparent);
}

.p-constellation__chips span:nth-child(3n + 1) {
  transform: translateY(-16px);
}

.p-constellation__chips span:nth-child(3n + 2) {
  transform: translateY(12px);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .p-hero-grid { gap: 40px; }
  .p-rail { left: 0; }
  .p-journey-img { width: 300px; }
  .p-collage { transform: scale(0.94); transform-origin: center; }
}

@media (max-width: 980px) {
  .p-hero-grid,
  .p-head,
  .p-value-grid {
    grid-template-columns: 1fr;
  }

  .p-visual {
    justify-content: center;
    margin-top: 10px;
  }

  .p-journey-visual {
    min-height: 520px;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .p-collage {
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
  }

  .p-head > p { margin-left: 0; }

  .p-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-stages,
  .p-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-flow__step:nth-child(2)::after { display: none; }
  .p-flow__step:nth-child(3)::after { display: block; }

  .p-value-copy > p:not(.p-eyebrow) { max-width: 620px; }
  .p-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-metric:nth-child(2) { border-right: 0; }
  .p-metric:nth-child(3),
  .p-metric:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .p-metric:nth-child(3) { border-right: 1px solid rgba(255, 255, 255, 0.1); }
}

@media (max-width: 760px) {
  .p-page .container { width: min(calc(100% - 36px), 1200px); }
  .p-hero { padding-top: calc(var(--header-h) + 52px); padding-bottom: 60px; }
  .p-hero h1 { font-size: clamp(37px, 9.5vw, 52px); }
  .p-hero--journey h1,
  .p-hero--community h1 { font-size: clamp(38px, 9.5vw, 54px); }
  .p-tagline { font-size: 14px; }
  .p-intro { font-size: 13px; }
  .p-section { padding: 68px 0; }
  .p-head h2 { font-size: 35px; }

  .p-features,
  .p-scenarios,
  .p-pillars,
  .p-stages,
  .p-roles,
  .p-story {
    grid-template-columns: 1fr;
  }

  .p-flow { grid-template-columns: 1fr; }
  .p-flow__step { min-height: 120px; }
  .p-flow__step::after { display: none; }
  .p-flow__step strong { margin-top: 20px; }

  .p-phone { min-height: 390px; }
  .p-stack { transform: none; }
  .p-stack__layer:nth-child(2) { margin-left: 12px; }
  .p-stack__layer--base { margin-left: 24px; }
  .p-dash,
  .p-ops { transform: none; }
  .p-browser { transform: none; }
  .p-form { transform: none; }

  .p-authrings { height: 330px; }
  .p-authrings__ring--1 { width: 280px; height: 280px; }
  .p-authrings__ring--2 { width: 205px; height: 205px; }
  .p-authrings__ring--3 { width: 130px; height: 130px; }

  .p-journey-visual { min-height: 500px; }
  .p-rail { top: 20px; left: 0; width: 180px; padding: 15px; }
  .p-journey-img { width: 260px; top: 10px; right: 0; }
  .p-collage { min-height: 430px; }
  .p-collage__main { width: 250px; }
  .p-collage__sub { width: 145px; }
  .p-collage__note { right: 0; bottom: 20px; }

  .p-sport-card { width: 280px; }
  .p-sport-badge { right: -8px; bottom: 20px; }

  .p-value-copy h2 { font-size: 34px; }
  .p-metric-grid { grid-template-columns: 1fr 1fr; }
  .p-metric { padding: 18px; }
  .p-metric span { font-size: 13px; }
}

@media (max-width: 520px) {
  .p-hero h1 { font-size: 34px; }
  .p-meta { gap: 7px 15px; }
  .p-meta strong { font-size: 14px; }
  .p-actions { align-items: flex-start; flex-direction: column; }
  .p-actions .btn { width: 100%; }
  .p-dash { padding: 15px; }
  .p-dash__kpis { grid-template-columns: 1fr; }
  .p-dash__chart { height: 72px; }
  .p-phone { width: 230px; }
  .p-browser__body { grid-template-columns: 58px 1fr; }
  .p-browser__side { padding: 13px 8px; }
  .p-browser__main { padding: 12px; }
  .p-browser__cards { grid-template-columns: repeat(2, 1fr); }
  .p-authrings { transform: scale(0.9); transform-origin: center; }
  .p-journey-visual { min-height: 430px; }
  .p-rail { width: 165px; }
  .p-journey-img { width: 220px; }
  .p-collage { min-height: 390px; }
  .p-collage__main { width: 220px; }
  .p-collage__sub { width: 125px; }
  .p-sport-card { width: 240px; }
  .p-sport-badge { display: none; }
  .p-metric-grid { grid-template-columns: 1fr; }
  .p-metric { border-right: 0 !important; }
  .p-metric + .p-metric { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .p-value-grid { gap: 30px; }
  .p-value-copy h2 { font-size: 30px; }
}

/* ---------- Data visual variants ---------- */

.p-data-stack {
  width: min(100%, 410px);
  display: grid;
  gap: 9px;
  transform: perspective(900px) rotateY(7deg) rotateZ(1.2deg);
}

.p-data-stack__layer {
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
}

.p-data-stack__layer:nth-child(2) { margin-left: 22px; }
.p-data-stack__layer--base {
  margin-left: 44px;
  background: var(--p-soft);
  border-color: color-mix(in srgb, var(--p-accent) 32%, transparent);
}

.p-data-stack__layer span {
  display: block;
  color: var(--p-accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p-data-stack__layer strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
}

.p-data-stack__layer em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 13px;
  font-style: normal;
}

.p-asset-board {
  width: min(100%, 400px);
  padding: 22px;
  color: #152536;
  background: #fbf7ef;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.37);
  transform: rotate(-1.6deg);
}

.p-asset-board__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #7b7162;
  font-size: 13px;
}

.p-asset-board__top span:last-child {
  color: var(--p-accent-2);
}

.p-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 15px;
}

.p-asset-grid span {
  padding: 14px 4px;
  color: #52616b;
  text-align: center;
  background: #fff;
  border: 1px solid #e9e1d4;
  border-radius: 6px;
  font-size: 13px;
}

.p-asset-grid span:nth-child(3n + 2) {
  color: var(--p-accent-2);
  background: #f7f1e7;
}

.p-asset-board__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding-top: 12px;
  color: #9a8f7f;
  border-top: 1px solid #e9e1d4;
  font-size: 13px;
}

.p-brain {
  position: relative;
  width: min(100%, 400px);
  height: 400px;
}

.p-brain__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.p-brain__ring--1 { width: 330px; height: 330px; }
.p-brain__ring--2 { width: 235px; height: 235px; border-color: color-mix(in srgb, var(--p-accent) 36%, transparent); }
.p-brain__ring--3 { width: 150px; height: 150px; border-color: color-mix(in srgb, var(--p-accent) 55%, transparent); }

.p-brain__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  color: var(--p-ink);
  background: var(--p-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 14px var(--p-soft);
}

.p-brain__core span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.p-brain__core b { font-size: 13px; }

.p-brain__chips span {
  position: absolute;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-size: 13px;
}

.p-brain__chips span:nth-child(1) { top: 24px; left: 44px; }
.p-brain__chips span:nth-child(2) { top: 112px; right: 0; }
.p-brain__chips span:nth-child(3) { bottom: 66px; right: 22px; }
.p-brain__chips span:nth-child(4) { bottom: 18px; left: 40px; }

/* ---------- Alternate hero layout ---------- */

@media (min-width: 981px) {
  .p-hero--alt .p-hero-grid .p-copy { order: 2; }
  .p-hero--alt .p-hero-grid .p-visual { order: 1; justify-content: flex-start; }
  .p-hero--alt .p-hero-glow { right: auto; left: -140px; }
}

@media (max-width: 760px) {
  .p-data-stack { transform: none; }
  .p-data-stack__layer:nth-child(2) { margin-left: 12px; }
  .p-data-stack__layer--base { margin-left: 24px; }
  .p-asset-board { transform: none; }
  .p-brain { height: 340px; }
  .p-brain__ring--1 { width: 285px; height: 285px; }
  .p-brain__ring--2 { width: 205px; height: 205px; }
  .p-brain__ring--3 { width: 132px; height: 132px; }
}

/* ---------- 服务类产品页：胶囊切换样板（参考 zego AI-agent） ---------- */
.svc-hero {
  padding: 96px 0 36px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.svc-hero .p-kicker { justify-content: center; }
.svc-hero h1 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
}
.svc-hero__tagline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.svc-hero__intro {
  max-width: 780px;
  margin: 0 auto 10px;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.8;
}
.svc-hero__intro--sub { color: var(--muted); font-size: 14px; }


.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 52px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(238, 244, 255, 0.7) 55%, rgba(245, 240, 255, 0.72) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 40px -20px rgba(19, 102, 236, 0.28);
}
.svc-tab {
  padding: 11px 28px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.svc-tab:hover { background: rgba(19, 102, 236, 0.08); color: var(--blue); }
.svc-tab.is-active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(19, 102, 236, 0.5);
}
.svc-stage { position: relative; }

/* showcase 大背景：与介绍区分隔 */
.svc-showcase {
  position: relative;
  padding: 64px 0 90px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.4) 100%),
    url('../images/services-band.webp') center / cover no-repeat;
  border-top: 1px solid rgba(19, 102, 236, 0.08);
}
.svc-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.1) 0%, rgba(244, 248, 255, 0.45) 100%);
  pointer-events: none;
}
.svc-showcase > .container { position: relative; z-index: 1; }
.svc-panel__shots figure { box-shadow: 0 24px 50px -26px rgba(30, 60, 140, 0.4); }
.svc-panel { display: none; }
.svc-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
  animation: svc-fade 0.4s ease;
}
@keyframes svc-fade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.svc-panel__copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.svc-panel__copy > p {
  margin: 0 0 18px;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.85;
}
.svc-panel__points { margin: 0 0 26px; padding: 0; list-style: none; }
.svc-panel__points li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}
.svc-panel__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.svc-panel__shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}
.svc-panel__shots figure {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(19, 102, 236, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(19, 102, 236, 0.3);
}
.svc-panel__shots img { width: 100%; height: auto; display: block; }
.svc-panel__shots figcaption {
  padding: 10px 14px;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
  border-top: 1px solid rgba(19, 102, 236, 0.06);
}
.svc-panel__shots figure.is-detail { background: #F7F9FC; }
.svc-note {
  margin: 56px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 960px) {
  .svc-panel.is-active { grid-template-columns: 1fr; gap: 30px; }
  .svc-tabs { border-radius: 26px; }
  .svc-hero { padding-top: 72px; }
}

/* 面包屑导航 */
.p-breadcrumb { padding: 20px 0 0; margin-top: var(--header-h, 76px); }
.p-breadcrumb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(238, 244, 255, 0.7) 55%, rgba(245, 240, 255, 0.72) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 18px 40px -24px rgba(19, 102, 236, 0.28);
}
.p-breadcrumb__path { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.p-breadcrumb__path a { color: rgba(25, 28, 33, 0.75); font-weight: 500; transition: color 0.2s ease; }
.p-breadcrumb__path a:hover { color: var(--blue); }
.p-breadcrumb__path span { color: rgba(25, 28, 33, 0.3); }
.p-breadcrumb__path em {
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}
.p-breadcrumb__nav { display: flex; align-items: center; gap: 8px; flex: none; }
.p-breadcrumb__btn {
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 102, 236, 0.14);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.p-breadcrumb__btn:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px -8px rgba(19, 102, 236, 0.5);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .p-breadcrumb__bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .p-breadcrumb__path { flex-wrap: wrap; }
}
