:root {
  --bg: #f5f7fb;
  --bg-strong: #111827;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-dark: rgba(255, 255, 255, 0.08);
  --ink: #162033;
  --ink-soft: #647084;
  --line: rgba(22, 32, 51, 0.12);
  --line-strong: rgba(22, 32, 51, 0.22);
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
  --accent-deep: #3730a3;
  --gold: #06b6d4;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(17, 24, 39, 0.12);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shell: 1180px;
  --font-body: "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --font-heading: "Alibaba PuHuiTi", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-label: "DIN Alternate", "Bahnschrift", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-legal: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, #eef3f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 72%);
}

body.auth-modal-open,
body.payment-qr-modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

#site-header,
#site-footer {
  position: relative;
  z-index: 10;
}

.shell {
  width: min(100% - 32px, var(--shell));
  margin: 0 auto;
}

.shell-wide {
  width: min(100% - 24px, 1320px);
}

.site-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 42px rgba(17, 24, 39, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 0;
  background: transparent;
}

.brand-mark svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 10px 18px rgba(17, 24, 39, 0.16));
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: var(--font-heading);
  font-size: 15px;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  position: relative;
  padding: 8px 2px;
  color: var(--ink-soft);
  font-family: var(--font-label);
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent-deep);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-label);
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.22);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-text {
  min-height: auto;
  padding: 0;
  color: var(--accent-deep);
  font-weight: 800;
}

.hero,
.inner-hero,
.section {
  position: relative;
}

.hero {
  padding: 76px 0 38px;
}

.hero-grid,
.inner-grid,
.about-home,
.contact-home,
.payment-layout,
.contact-layout,
.text-layout,
.auth-layout,
.profile-layout,
.product-detail-hero {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: stretch;
}

.hero-copy h1,
.inner-hero h1,
.auth-copy h1 {
  margin: 0;
  max-width: 920px;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead,
.inner-hero p,
.auth-copy p,
.section-head p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.85;
}

.eyebrow,
.footer-kicker,
.card-kicker {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}

.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-actions {
  margin-top: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.stat-grid article,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.stat-grid strong {
  color: var(--bg-strong);
  font-size: 2rem;
  line-height: 1;
}

.stat-grid span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-panel,
.hero-note,
.payment-action,
.capability-panel,
.support-panel,
.product-detail-side {
  padding: 28px;
}

.stage-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.inner-hero {
  padding: 58px 0 20px;
}

.inner-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr);
  align-items: end;
}

.section {
  padding: 26px 0 42px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(231, 242, 244, 0.72), rgba(255, 255, 255, 0.22));
}

.section-dark {
  background: linear-gradient(180deg, #111827 0%, #172235 100%);
  color: var(--white);
}

.section-dark .section-head p,
.section-dark .panel-copy p,
.section-dark .hero-note p,
.section-dark .chip-row span {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .panel,
.section-dark .case-card {
  background: var(--surface-dark);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.preview-grid,
.product-grid,
.card-grid,
.case-grid,
.download-grid,
.contact-cards,
.policy-layout {
  display: grid;
  gap: 18px;
}

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

.card-grid,
.case-grid,
.download-grid,
.contact-cards,
.product-grid,
.about-home,
.payment-layout,
.text-layout,
.contact-layout,
.auth-layout,
.profile-layout,
.product-detail-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-layout {
  grid-template-columns: minmax(0, 1fr);
}

.panel img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 4px);
}

.panel-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.panel-copy h3,
.hero-note strong,
.payment-action h3,
.auth-panel h1,
.auth-panel h3,
.footer-grid h2,
.contact-panel h3,
.record-panel h3,
.product-detail-side h3 {
  margin: 0;
}

.panel-copy h3 {
  font-size: 1.42rem;
  line-height: 1.24;
}

.panel-copy p,
.payment-action p,
.product-detail-side p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.solution-tag {
  color: var(--accent-deep) !important;
  font-weight: 800;
}

.chip-row,
.chip-column {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-column {
  align-content: start;
}

.chip-row span,
.chip-column span {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
}

.case-card img {
  aspect-ratio: 4 / 3;
}

.download-card .bullet-list,
.payment-preview .bullet-list,
.full-section .bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.download-card.is-compact .bullet-list {
  display: none;
}

.cooperate-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.cooperate-title h3 {
  min-width: 0;
}

.cooperate-badge {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(14, 47, 45, 0.18);
}

.cooperate-badge:hover,
.cooperate-badge:focus-visible {
  background: var(--accent);
  color: #fff;
}

.product-card {
  overflow: hidden;
}

.product-link {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100%;
}

.product-cover {
  min-height: 100%;
  background: #f8fafc;
}

.product-cover img {
  height: 100%;
  min-height: 230px;
  aspect-ratio: auto;
  object-fit: cover;
}

.product-detail-main {
  overflow: hidden;
}

.product-detail-side {
  align-self: start;
  display: grid;
  gap: 16px;
}

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

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

.gallery-grid img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.contact-panel,
.contact-form,
.auth-panel,
.record-panel {
  padding: 28px;
}

.contact-form,
.auth-form,
.profile-form {
  display: grid;
  gap: 14px;
}

.contact-form label,
.auth-form label,
.profile-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.auth-form input,
.profile-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus,
.profile-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-note,
.realname-hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.realname-hint {
  color: var(--accent-deep);
  font-weight: 700;
}

.agree-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  line-height: 1.7;
}

.agree-line input {
  width: auto;
  margin-top: 5px;
}

.agree-line a {
  color: var(--accent-deep);
  font-weight: 800;
}

.auth-wrap {
  padding: 54px 0 64px;
}

.auth-copy {
  padding: 12px 0;
}

.auth-panel {
  max-width: 560px;
  justify-self: end;
  display: grid;
  gap: 14px;
}

.auth-switch {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(22, 32, 51, 0.06);
}

.auth-switch button {
  min-width: 92px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
}

.auth-switch .is-active {
  background: var(--bg-strong);
  color: var(--white);
}

.auth-dialog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.auth-dialog-links button {
  border: 0;
  padding: 0;
  color: var(--accent-deep);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.machine-code-box {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px dashed rgba(42, 102, 160, 0.36);
  background: rgba(42, 102, 160, 0.08);
}

.machine-code-box span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.machine-code-box strong {
  color: var(--ink);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.is-hidden {
  display: none !important;
}

.payment-preview {
  overflow: hidden;
}

.payment-preview img {
  aspect-ratio: 16 / 9;
}

.payment-action {
  align-self: start;
  display: grid;
  gap: 14px;
}

.is-locked {
  position: relative;
}

.is-locked::after {
  content: "付费核验后查看完整公司方案";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(245, 247, 251, 0.82), rgba(245, 247, 251, 0.96));
  color: var(--accent-deep);
  font-size: 1.18rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(10px);
}

.text-stack,
.record-list {
  display: grid;
  gap: 14px;
}

.full-section {
  padding: 24px;
}

.full-section h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.full-section p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-family: var(--font-legal);
  line-height: 1.9;
}

.record-panel {
  align-self: start;
}

.record-list article {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.record-list strong {
  color: var(--ink);
}

.record-list span,
.record-list small {
  color: var(--ink-soft);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
}

.auth-modal.open {
  display: block;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.56);
}

.auth-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.26);
  padding: 30px;
}

.auth-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 32, 51, 0.06);
  color: var(--ink);
  font-size: 24px;
}

.auth-modal-head {
  padding-right: 42px;
}

.auth-modal-head h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.auth-modal-head p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.footer-main {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 86% 20%, rgba(79, 70, 229, 0.34), transparent 28%),
    linear-gradient(135deg, #07111d 0%, #121b2a 48%, #171b3a 100%);
}

.footer-main::before {
  content: "";
  position: absolute;
  inset: -20% -8% auto auto;
  width: 52%;
  height: 140%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px);
  transform: skewX(-18deg);
  opacity: 0.66;
}

.footer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  padding: 72px 0 34px;
}

.footer-lead {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-kicker {
  margin: 0;
  color: #6ee7d8;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.footer-lead h2,
.footer-lead p,
.terminal-row span,
.terminal-row strong,
.footer-bottom span {
  margin: 0;
}

.footer-lead h2 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.footer-lead p {
  max-width: 560px;
  line-height: 1.9;
}

.footer-legal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer-legal-line a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.footer-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 640px;
}

.footer-link-grid a {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-label);
  font-size: 13px;
}

.footer-link-grid a:hover {
  color: var(--white);
  border-color: rgba(110, 231, 216, 0.44);
}

.footer-terminal {
  display: grid;
  gap: 1px;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.terminal-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 24px;
  background: rgba(3, 12, 25, 0.42);
}

.terminal-row span {
  color: #6ee7d8;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.terminal-row strong {
  color: var(--white);
  line-height: 1.7;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .site-bar {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-actions {
    justify-content: flex-start;
  }

  .hero-grid,
  .inner-grid,
  .about-home,
  .contact-home,
  .payment-layout,
  .contact-layout,
  .text-layout,
  .auth-layout,
  .profile-layout,
  .product-detail-hero,
  .preview-grid,
  .card-grid,
  .case-grid,
  .download-grid,
  .product-grid,
  .contact-cards,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    max-width: none;
    justify-self: stretch;
  }

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

@media (max-width: 820px) {
  .hero {
    padding-top: 44px;
  }

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

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

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

  .button,
  .auth-switch button {
    width: 100%;
  }

  .site-actions,
  .hero-actions,
  .section-actions,
  .card-actions {
    width: 100%;
    flex-direction: column;
  }

  .site-actions .button,
  .hero-actions .button,
  .card-actions .button {
    width: 100%;
  }

  .terminal-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell,
  .shell-wide {
    width: min(100% - 20px, var(--shell));
  }

  .hero-copy h1,
  .inner-hero h1,
  .auth-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .hero-panel,
  .hero-note,
  .payment-action,
  .capability-panel,
  .contact-panel,
  .contact-form,
  .auth-panel,
  .full-section,
  .record-panel,
  .product-detail-side,
  .auth-dialog {
    padding: 22px;
  }
}

/* Enterprise ICT service UI reset inspired by the referenced public service page. */
:root {
  --bg: #f5f6f8;
  --bg-strong: #111827;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-dark: rgba(255, 255, 255, 0.08);
  --ink: #1f2329;
  --ink-soft: #5d6673;
  --line: rgba(31, 35, 41, 0.12);
  --line-strong: rgba(31, 35, 41, 0.22);
  --accent: #c7000b;
  --accent-soft: #fff1f1;
  --accent-deep: #9f0009;
  --gold: #d4a446;
  --shadow: 0 12px 28px rgba(31, 35, 41, 0.08);
  --radius-xl: 2px;
  --radius-lg: 2px;
  --radius-md: 2px;
  --radius-sm: 2px;
  --shell: 1200px;
}

body {
  color: var(--ink);
  background: #fff;
}

body::before {
  content: none;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(31, 35, 41, 0.04);
}

.site-bar {
  grid-template-columns: minmax(260px, auto) 1fr auto;
  margin-top: 0;
  padding: 0 28px;
  min-height: 72px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.brand-mark svg {
  width: 44px;
  height: 44px;
  filter: none;
}

.brand-copy strong {
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

.brand-copy small {
  color: #667085;
}

.site-nav {
  gap: 0;
  justify-content: flex-end;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 15px;
  color: #2f3744;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a::after {
  bottom: 0;
  height: 3px;
  border-radius: 0;
  background: var(--accent);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.site-actions {
  padding-left: 10px;
}

.user-pill {
  border: 1px solid #ffd7d7;
  border-radius: 2px;
  background: #fff5f5;
  color: var(--accent-deep);
}

.button {
  min-height: 42px;
  border-radius: 2px;
  padding: 0 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.button:hover {
  transform: none;
}

.button-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.button-accent:hover,
.button-accent:focus-visible {
  background: #a60009;
}

.button-ghost {
  border-color: #cfd4dc;
  background: #fff;
  color: #1f2329;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.button-text {
  color: var(--accent);
}

.hero,
.inner-hero {
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 18, 28, 0.94) 0%, rgba(10, 18, 28, 0.86) 44%, rgba(10, 18, 28, 0.38) 72%, rgba(10, 18, 28, 0.16) 100%),
    url("../images/ref/server-01.png") center right / auto 100% no-repeat,
    #111827;
}

.hero::after,
.inner-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  padding: 84px 0 78px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.44fr);
  gap: 52px;
  align-items: center;
}

.hero-copy h1,
.inner-hero h1,
.auth-copy h1 {
  color: inherit;
  font-size: clamp(2.45rem, 4.5vw, 4.7rem);
  line-height: 1.08;
  font-weight: 800;
}

.hero-lead,
.inner-hero p,
.auth-copy p,
.hero .eyebrow,
.inner-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero .eyebrow,
.inner-hero .eyebrow {
  letter-spacing: 0;
  font-size: 14px;
}

.hero-actions .button-ghost,
.inner-hero .button-ghost {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.62);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.hero-panel .card-kicker,
.hero-panel .stage-list {
  color: rgba(255, 255, 255, 0.84);
}

.stage-list {
  counter-reset: stage;
  list-style: none;
  padding-left: 0;
}

.stage-list li {
  position: relative;
  padding: 10px 0 10px 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stage-list li::before {
  counter-increment: stage;
  content: counter(stage, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent);
  font-weight: 900;
}

.inner-hero {
  padding: 72px 0 58px;
}

.inner-grid {
  align-items: center;
}

.section {
  padding: 64px 0;
  background: #fff;
}

.section-soft {
  background: #f5f6f8;
}

.section-dark {
  background: #1f2329;
  color: #fff;
}

.section-head {
  gap: 12px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.18;
  font-weight: 800;
}

.section-head p {
  max-width: 860px;
}

.eyebrow,
.footer-kicker,
.card-kicker {
  color: var(--accent);
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
}

.panel,
.stat-grid article {
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.panel {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.panel:hover {
  border-color: rgba(199, 0, 11, 0.28);
  box-shadow: 0 16px 34px rgba(31, 35, 41, 0.1);
  transform: translateY(-2px);
}

.preview-grid,
.card-grid,
.case-grid,
.download-grid,
.product-grid,
.contact-cards {
  gap: 24px;
}

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

.panel img {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.panel-copy {
  padding: 24px;
}

.panel-copy h3 {
  color: #111827;
  font-size: 1.25rem;
  line-height: 1.35;
}

.panel-copy p,
.payment-action p,
.product-detail-side p,
.full-section p {
  color: var(--ink-soft);
}

.product-card {
  border-top: 3px solid transparent;
}

.product-card:hover {
  border-top-color: var(--accent);
}

.product-link {
  grid-template-columns: 210px minmax(0, 1fr);
}

.product-cover {
  background: #f8fafc;
}

.chip-row span,
.chip-column span {
  border-radius: 2px;
  background: #f3f4f6;
  color: #344054;
  font-weight: 700;
}

.solution-tag {
  color: var(--accent) !important;
}

.cooperate-title {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cooperate-title .cooperate-badge {
  grid-column: 2;
  grid-row: 1;
}

.cooperate-title h3 {
  grid-column: 1;
  grid-row: 1;
}

.cooperate-badge {
  border-radius: 2px;
  background: var(--accent);
  box-shadow: none;
}

.cooperate-badge:hover,
.cooperate-badge:focus-visible {
  background: #a60009;
}

.contact-form input,
.contact-form textarea,
.auth-form input,
.profile-form input {
  border-color: #d0d5dd;
  border-radius: 2px;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus,
.profile-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(199, 0, 11, 0.1);
}

.auth-switch {
  border-radius: 2px;
  background: #f2f4f7;
}

.auth-switch button,
.auth-close,
.payment-qr-button {
  border-radius: 2px;
}

.auth-switch .is-active {
  background: var(--accent);
  color: #fff;
}

.auth-dialog,
.payment-qr-dialog {
  border-radius: 2px;
}

.footer-main {
  background: #1f2329;
}

.footer-main::before {
  opacity: 0.18;
}

.footer-shell {
  padding: 56px 0 30px;
}

.footer-legal-line a,
.footer-terminal,
.terminal-row {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.terminal-row span {
  color: #f0b8bc;
}

@media (max-width: 1120px) {
  .site-bar {
    padding: 16px 0;
  }

  .site-nav a {
    min-height: 42px;
    padding: 0 10px;
  }

  .hero-grid {
    gap: 28px;
  }
}

@media (max-width: 820px) {
  #site-header {
    position: relative;
  }

  .hero,
  .inner-hero {
    background:
      linear-gradient(180deg, rgba(10, 18, 28, 0.94), rgba(10, 18, 28, 0.86)),
      url("../images/ref/server-01.png") center / cover no-repeat,
      #111827;
  }

  .hero {
    padding: 54px 0;
  }

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

/* Full component redesign: header, footer, account panels, profile and forms. */
.top-ribbon {
  height: 34px;
  background: #111827;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.top-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-zone {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.header-auth-button {
  min-width: 112px;
}

.footer-redesign .footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.7fr) minmax(240px, 0.9fr);
  gap: 42px;
}

.footer-brand-block,
.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-logo-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-line .brand-mark {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  background: #fff;
}

.footer-logo-line .brand-mark svg {
  width: 46px;
  height: 46px;
}

.footer-brand-block h2,
.footer-column h3 {
  margin: 0;
  color: #fff;
}

.footer-brand-block p,
.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav-list a:hover {
  color: #fff;
}

.auth-dialog-redesign {
  width: min(920px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(360px, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
}

.auth-dialog-redesign.is-hidden {
  display: none !important;
}

.auth-side {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 600px;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.96)),
    url("../images/ref/server-02.png") center / cover no-repeat;
}

.auth-side h2,
.auth-side p {
  margin: 0;
}

.auth-side h2 {
  font-size: 2rem;
  line-height: 1.2;
}

.auth-side p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.auth-side .eyebrow {
  color: #ffb3b8;
}

.auth-side-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-side-list span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.auth-main {
  position: relative;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 42px;
  background: #fff;
}

.auth-main .auth-close {
  right: 18px;
  top: 18px;
}

.auth-modal-head {
  padding-right: 42px;
}

.auth-modal-head h2 {
  color: #111827;
  font-size: 1.85rem;
}

.auth-form {
  gap: 12px;
}

.auth-form label,
.contact-form label,
.profile-form label {
  color: #344054;
  font-weight: 700;
}

.auth-dialog-links {
  justify-content: space-between;
  padding-top: 4px;
}

.auth-dialog-links button {
  color: var(--accent);
}

.machine-code-box {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.auth-side .machine-code-box span,
.auth-side .machine-code-box strong {
  color: #fff;
}

.auth-panel,
.record-panel,
.contact-panel,
.contact-form,
.profile-form,
.payment-action,
.product-detail-side,
.full-section {
  border-left: 3px solid transparent;
}

.auth-panel:hover,
.record-panel:hover,
.contact-panel:hover,
.contact-form:hover,
.profile-form:hover,
.payment-action:hover,
.product-detail-side:hover,
.full-section:hover {
  border-left-color: var(--accent);
}

@media (max-width: 1120px) {
  .footer-redesign .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .top-ribbon {
    height: auto;
    padding: 8px 0;
  }

  .top-ribbon-inner,
  .site-bar {
    gap: 10px;
  }

  .auth-dialog-redesign {
    grid-template-columns: 1fr;
  }

  .auth-side {
    min-height: auto;
    padding: 28px;
  }

  .auth-main {
    padding: 28px;
  }

  .footer-nav-list {
    grid-template-columns: 1fr;
  }
}

/* Version 2: quiet service-directory interface, no oversized hero typography. */
:root {
  --bg: #f6f7f5;
  --bg-strong: #1e1b4b;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #1e2438;
  --ink-soft: #647274;
  --line: #dfe5e2;
  --line-strong: #b9c5c1;
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
  --accent-deep: #3730a3;
  --shadow: 0 10px 24px rgba(24, 48, 54, 0.07);
  --radius-xl: 14px;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
}

body {
  background:
    linear-gradient(180deg, #fbfcfb 0%, #f6f7f5 42%, #ffffff 100%);
}

.top-ribbon {
  display: none;
}

#site-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.site-bar {
  min-height: 76px;
  padding: 0;
}

.brand {
  min-width: 300px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 10px;
  background: #eef5f2;
}

.brand-mark svg {
  width: 34px;
  height: 34px;
}

.brand-copy strong {
  font-size: 18px;
  color: var(--ink);
}

.brand-copy small {
  display: none;
}

.site-nav {
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: #4f5f62;
}

.site-nav a::after {
  content: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.header-auth-button,
.button-accent {
  background: var(--accent-deep);
  color: #fff;
}

.header-auth-button:hover,
.button-accent:hover,
.button-accent:focus-visible {
  background: #1e1b4b;
}

.button,
.payment-qr-button {
  min-height: 40px;
  border-radius: 10px;
  padding: 0 18px;
}

.button-ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.button-text {
  color: var(--accent-deep);
}

.hero,
.inner-hero {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(246, 247, 245, 0.98), rgba(246, 247, 245, 0.92) 52%, rgba(246, 247, 245, 0.72)),
    url("../images/ref/workstation-01.png") right center / contain no-repeat,
    #f6f7f5;
}

.hero::after,
.inner-hero::after {
  background: var(--line);
}

.hero {
  padding: 58px 0 54px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: 34px;
}

.hero-copy h1,
.inner-hero h1,
.auth-copy h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  line-height: 1.22;
  font-weight: 780;
}

.hero-lead,
.inner-hero p,
.auth-copy p,
.hero .eyebrow,
.inner-hero .eyebrow,
.section-head p {
  color: var(--ink-soft);
}

.hero .eyebrow,
.inner-hero .eyebrow {
  color: var(--accent-deep);
}

.hero-actions .button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-panel {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel .card-kicker {
  color: var(--accent-deep);
}

.hero-panel .stage-list {
  color: var(--ink-soft);
}

.stage-list {
  gap: 0;
}

.stage-list li {
  padding: 13px 0 13px 54px;
  border-bottom: 1px solid var(--line);
}

.stage-list li::before {
  top: 13px;
  color: var(--accent-deep);
}

.section {
  padding: 54px 0;
}

.section-soft {
  background: #f2f5f3;
}

.section-dark {
  background: #1e1b4b;
}

.section-head {
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  align-items: end;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
}

.section-head p {
  margin: 0;
  font-size: 0.98rem;
}

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

.card-grid,
.case-grid,
.download-grid,
.contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel {
  border-color: var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.panel:hover {
  border-color: #b8d4cd;
  box-shadow: var(--shadow);
  transform: none;
}

.panel img {
  aspect-ratio: 18 / 10;
  border-radius: 0;
  background: #f4f6f5;
}

.panel-copy {
  padding: 20px;
}

.panel-copy h3 {
  font-size: 1.12rem;
  line-height: 1.42;
}

.product-card {
  border-top: 0;
}

.product-link {
  grid-template-columns: 180px minmax(0, 1fr);
}

.chip-row span,
.chip-column span {
  border-radius: 8px;
  background: #eef3f0;
  color: #3730a3;
}

.cooperate-title {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.cooperate-badge {
  border-radius: 999px;
  background: #1e1b4b;
  color: #fff;
}

.auth-dialog-redesign {
  width: min(760px, calc(100% - 40px));
  grid-template-columns: 1fr;
  border-radius: 18px;
  background: #fbfcfb;
}

.auth-side {
  min-height: auto;
  padding: 26px 34px 0;
  color: var(--ink);
  background: transparent;
}

.auth-side h2 {
  color: var(--ink);
  font-size: 1.55rem;
}

.auth-side p,
.auth-side-list {
  display: none;
}

.auth-side .eyebrow {
  color: var(--accent-deep);
}

.auth-main {
  padding: 24px 34px 34px;
  background: transparent;
}



.auth-form {
  gap: 16px;
}

.auth-form label,
.contact-form label,
.profile-form label {
  color: #1e2438;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea,
.auth-form input,
.profile-form input {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #eef2f0;
  color: var(--ink);
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus,
.profile-form input:focus {
  border-color: #88b7ad;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.realname-hint {
  color: #a0000a;
  font-size: 0.95rem;
  font-weight: 900;
}

.agree-line {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.auth-dialog-links {
  justify-content: flex-start;
  gap: 18px;
}

.auth-dialog-links button {
  color: var(--accent-deep);
}

.auth-close {
  border-radius: 10px;
  background: #e7ece9;
}

.machine-code-box {
  border-color: #b8d4cd;
  border-radius: 12px;
  background: #eef5f2;
}

.auth-side .machine-code-box span,
.auth-side .machine-code-box strong {
  color: var(--ink);
}

.footer-redesign .footer-shell {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.42fr) minmax(220px, 0.56fr);
}

.footer-main {
  background: #1e1b4b;
}

.contact-form .form-note,
.auth-copy p:not(.eyebrow),
.payment-action p:not(.card-kicker),
.payment-qr-desc:empty,
.auth-side p:empty,
.auth-side-list:empty {
  display: none;
}

@media (max-width: 1120px) {
  .card-grid,
  .case-grid,
  .download-grid,
  .contact-cards,
  .preview-grid,
  .product-grid,
  .footer-redesign .footer-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-bar {
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .hero,
  .inner-hero {
    background: #f6f7f5;
  }

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

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

.brand {
  min-width: auto;
  gap: 0;
}

.brand-mark {
  display: none !important;
}

.footer-logo-line {
  gap: 0;
}

.hero {
  background:
    linear-gradient(90deg, rgba(246, 247, 245, 0.98) 0%, rgba(246, 247, 245, 0.9) 46%, rgba(246, 247, 245, 0.62) 100%),
    url("../images/ref/outsource-server.png") right center / contain no-repeat,
    #f6f7f5;
}

.hero-copy h1 {
  max-width: 620px;
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: 1.05;
}

.hero-lead {
  font-size: 1.22rem;
  font-weight: 800;
  color: #43575b;
}

.hero-grid {
  grid-template-columns: minmax(380px, 0.72fr) minmax(0, 0.9fr);
  align-items: center;
}

.hero-copy {
  justify-self: end;
}

.factory-carousel {
  align-self: center;
  overflow: hidden;
  border: 1px solid #cfdad6;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7f5 100%);
  box-shadow: 0 18px 48px rgba(24, 48, 54, 0.1);
}

.factory-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.factory-head span {
  color: var(--accent-deep);
  font-weight: 900;
}

.factory-head strong {
  color: var(--ink-soft);
  font-size: 13px;
}

.assembly-window {
  position: relative;
  overflow: hidden;
  padding: 22px 0 62px;
  background:
    linear-gradient(90deg, rgba(246, 247, 245, 0.8), transparent 18%, transparent 82%, rgba(246, 247, 245, 0.8)),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(79, 70, 229, 0.08) 88px 89px);
}

.assembly-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 0 22px;
  animation: assembly-flow 18s linear infinite;
}

.factory-carousel:hover .assembly-track {
  animation-play-state: paused;
}

.assembly-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 330px;
  min-height: 144px;
  padding: 16px;
  border: 1px solid #d9e2df;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 48, 54, 0.08);
}

.assembly-image {
  display: grid;
  place-items: center;
  height: 96px;
  border-radius: 12px;
  background: #eef3f0;
}

.assembly-image img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}

.assembly-card p {
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
}

.assembly-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.38;
}

.assembly-belt {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 9px;
  border-radius: 999px;
  background: #1e2438;
  overflow: hidden;
}

.assembly-belt span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  animation: belt-pulse 1.6s linear infinite;
}

.assembly-belt span:nth-child(2) { animation-delay: 0.15s; }
.assembly-belt span:nth-child(3) { animation-delay: 0.3s; }
.assembly-belt span:nth-child(4) { animation-delay: 0.45s; }
.assembly-belt span:nth-child(5) { animation-delay: 0.6s; }

@keyframes assembly-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes belt-pulse {
  0% {
    transform: translateX(-16px);
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
  100% {
    transform: translateX(16px);
    opacity: 0.35;
  }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .factory-carousel {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .assembly-card {
    width: 280px;
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

html,
body,
button,
input,
textarea,
select {
  font-family: SimSun, "宋体", serif !important;
}

.user-pill-avatar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
}

.user-avatar,
.profile-avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #1e1b4b;
  color: #fff;
  font-weight: 900;
}

.user-avatar {
  width: 30px;
  height: 30px;
  font-size: 14px;
}

.profile-drawer-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.profile-drawer {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.profile-user-card {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 8px 6px 18px;
  border-bottom: 1px solid var(--line);
}

.profile-avatar {
  width: 54px;
  height: 54px;
  font-size: 22px;
}

.profile-user-card strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.profile-user-card small {
  color: var(--ink-soft);
}

.drawer-item {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
}

.drawer-item:hover,
.drawer-item.is-active {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.profile-drawer-main {
  display: grid;
  gap: 16px;
}

.profile-pane {
  display: none;
  padding: 24px;
}

.profile-pane.is-active {
  display: grid;
  gap: 16px;
}

.profile-pane h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
}

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

.profile-form input[type="hidden"] {
  display: none;
}

@media (max-width: 900px) {
  .profile-drawer-layout,
  .profile-record-grid {
    grid-template-columns: 1fr;
  }

  .profile-drawer {
    position: static;
  }
}

/* Readability hard gate: never allow low-contrast text on similar backgrounds. */
body,
.panel,
.full-section,
.record-panel,
.capability-panel,
.about-story,
.about-capability-board,
.about-process-card,
.about-value-card {
  color: #1e2438;
}

.panel p,
.full-section p,
.record-list span,
.record-list small,
.section-head p,
.hero-lead,
.inner-hero p {
  color: #475569;
}

.panel h1,
.panel h2,
.panel h3,
.section-head h2,
.inner-hero h1 {
  color: #10262b;
}

.chip-row span,
.chip-column span,
.about-capability-grid span {
  background: #e3ece8;
  color: #3730a3;
  border: 1px solid #c4d5ce;
}

.button-accent,
.cooperate-badge,
.drawer-item.is-active {
  color: #ffffff;
}

.button-ghost {
  color: #10262b;
  background: #ffffff;
}

.header-auth-group {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 40px;
  padding: 4px;
  border: 1px solid #b8d4cd;
  border-radius: 999px;
  background: #eef5f2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.header-login-button,
.header-register-button {
  min-width: 58px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 900;
  font-family: SimSun, "宋体", serif;
}

.header-login-button {
  background: transparent;
  color: #3730a3;
}

.header-register-button {
  background: #1e1b4b;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 51, 55, 0.18);
}

.header-login-button:hover,
.header-login-button:focus-visible {
  background: #ffffff;
  color: #3730a3;
}

.header-register-button:hover,
.header-register-button:focus-visible {
  background: #3730a3;
  color: #ffffff;
}

.button-mall {
  background: #c8102e;
  color: #fff;
  border: 0;
  border-radius: 2px;
  padding: 0 18px;
  min-height: 40px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(200, 16, 46, 0.28);
  white-space: nowrap;
}

.button-mall:hover,
.button-mall:focus-visible {
  background: #a00c24;
  color: #fff;
}

.about-theme-section {
  background:
    linear-gradient(180deg, #f7f9f7 0%, #ffffff 100%);
}

.about-theme-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.about-story,
.about-capability-board,
.about-process-card,
.about-value-card {
  border-color: #c7d8d2;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(24, 48, 54, 0.08);
}

.about-story {
  padding: 30px;
}

.about-story h2 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.32;
}

.about-story p {
  margin: 0 0 18px;
  color: #1e2438;
  font-size: 1.02rem;
  line-height: 2;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-capability-board {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f0f6f3 100%);
}

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

.about-capability-grid span {
  display: grid;
  gap: 8px;
  min-height: 94px;
  align-content: center;
  padding: 16px;
  border-radius: 14px;
  font-weight: 900;
}

.about-capability-grid b {
  color: #4f46e5;
  font-size: 0.9rem;
}

.about-process-card,
.about-value-card {
  padding: 26px;
}

.about-process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-process-line span {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: #edf4f1;
  color: #1e1b4b;
  font-weight: 900;
}

.about-process-line b {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1e1b4b;
  color: #fff;
}

.about-value-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-value-card li {
  padding: 14px 16px;
  border-left: 4px solid #4f46e5;
  background: #eef2ff;
  color: #1e2438;
  font-weight: 800;
}

.about-story-wide {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .about-theme-grid,
  .about-process-line,
  .about-capability-grid {
    grid-template-columns: 1fr;
  }
}

.inner-hero,
.hero {
  background-color: #f6f7f5;
}

.inner-hero h1,
.hero h1,
.auth-copy h1,
.profile-hero h1 {
  color: #10262b !important;
}

.inner-hero p,
.hero p,
.auth-copy p,
.profile-hero p {
  color: #3730a3 !important;
}

.section-dark {
  background-color: #1e1b4b !important;
}

.section-dark,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark .card-kicker,
.section-dark .panel-copy p {
  color: #ffffff !important;
}

.section-dark .panel,
.section-dark .case-card {
  background-color: #1e1b4b !important;
}

.card-kicker,
.about-capability-board .card-kicker,
.about-story .card-kicker,
.about-process-card .card-kicker,
.about-value-card .card-kicker {
  color: #3730a3 !important;
}

.section-dark .chip-row span,
.section-dark .chip-column span {
  background: #ffffff !important;
  color: #1e1b4b !important;
}

.hero-actions {
  margin-top: 34px;
  gap: 18px;
}

.hero-actions .button {
  min-width: 220px;
  min-height: 60px;
  padding: 0 34px;
  border-radius: 16px;
  font-size: 1.15rem;
  font-weight: 900;
}

.auth-dialog-redesign .auth-form label {
  max-width: 52%;
}

.auth-dialog-redesign .agree-line,
.auth-dialog-redesign .auth-form button,
.auth-dialog-redesign .form-note {
  max-width: 52%;
}

.auth-dialog-redesign .auth-form input {
  width: 100%;
}

@media (max-width: 760px) {
  .auth-dialog-redesign .auth-form label,
  .auth-dialog-redesign .agree-line,
  .auth-dialog-redesign .auth-form button,
  .auth-dialog-redesign .form-note {
    max-width: none;
    width: 100%;
  }

  .hero-actions .button {
    min-width: 100%;
  }
}

.inner-hero,
.auth-wrap {
  background: #f6f7f5 !important;
}

.about-story,
.about-capability-board,
.about-process-card,
.about-value-card,
.profile-drawer,
.profile-pane,
.auth-panel {
  background: #ffffff !important;
}

/* ===== Auth Modal v3: 单卡片 · 渐变品牌头 · 标签式切换 ===== */
[data-auth-modal] .auth-backdrop {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(6px);
}

[data-auth-modal] .auth-dialog-redesign {
  width: min(460px, calc(100% - 32px));
  grid-template-columns: 1fr;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.32), 0 0 0 1px rgba(79, 70, 229, 0.08);
  animation: amSlideUp 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-auth-modal] .auth-side {
  display: none;
}

[data-auth-modal] .auth-main {
  padding: 0;
  gap: 0;
  background: #fff;
}

[data-auth-modal] .auth-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, transform 180ms ease;
}

[data-auth-modal] .auth-close:hover {
  background: rgba(255, 255, 255, 0.36);
  transform: rotate(90deg);
}

[data-auth-modal] .auth-modal-head {
  display: block;
  position: relative;
  padding: 34px 48px 26px 32px;
  margin: 0;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 60%, #1e1b4b 100%);
  color: #fff;
  overflow: hidden;
}

[data-auth-modal] .auth-modal-head::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

[data-auth-modal] .auth-modal-head::after {
  content: "";
  position: absolute;
  right: 50px;
  bottom: -54px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.2);
  pointer-events: none;
}

[data-auth-modal] .auth-modal-head .eyebrow {
  position: relative;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
}

[data-auth-modal] .auth-modal-head h2 {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.22;
  padding-right: 0;
}

[data-auth-modal] .auth-form {
  padding: 26px 32px 10px;
  gap: 14px;
}

[data-auth-modal] .auth-dialog-redesign .auth-form label,
[data-auth-modal] .auth-dialog-redesign .agree-line,
[data-auth-modal] .auth-dialog-redesign .auth-form button,
[data-auth-modal] .auth-dialog-redesign .form-note {
  max-width: none !important;
  width: 100% !important;
}

[data-auth-modal] .auth-form input {
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #f8fafc;
  padding: 13px 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

[data-auth-modal] .auth-form input:focus {
  border-color: #4f46e5;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

[data-auth-modal] .auth-form .button-accent {
  margin-top: 6px;
  min-height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.3);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

[data-auth-modal] .auth-form .button-accent:hover {
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.4);
}

[data-auth-modal] .machine-code-box {
  margin: 0 32px 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(79, 70, 229, 0.4);
  border-radius: 12px;
  background: #eef2ff;
}

[data-auth-modal] .machine-code-box span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

[data-auth-modal] .machine-code-box strong {
  color: #3730a3;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

[data-auth-modal] .auth-dialog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 32px 28px;
  margin: 0;
  border-top: 1px solid var(--line);
}

[data-auth-modal] .auth-dialog-links button {
  flex: 1 1 140px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

[data-auth-modal] .auth-dialog-links button:hover {
  border-color: #4f46e5;
  color: #4f46e5;
  background: #eef2ff;
}

[data-auth-modal] .realname-hint {
  color: #4f46e5;
}

[data-auth-modal] .form-note {
  min-height: 1.4em;
  font-size: 0.88rem;
}

@keyframes amSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 520px) {
  [data-auth-modal] .auth-dialog-redesign {
    width: calc(100% - 24px);
    border-radius: 16px;
  }

  [data-auth-modal] .auth-modal-head {
    padding: 28px 44px 22px 22px;
  }

  [data-auth-modal] .auth-form {
    padding-left: 22px;
    padding-right: 22px;
  }

  [data-auth-modal] .auth-dialog-links {
    padding-left: 22px;
    padding-right: 22px;
  }

  [data-auth-modal] .machine-code-box {
    margin-left: 22px;
    margin-right: 22px;
  }

  [data-auth-modal] .auth-dialog-links button {
    flex: 1 1 100%;
  }
}

/* ===== Engineering Immersive Pages (eng-*) ===== */
.eng-hero {
  position: relative;
  padding: 88px 0 64px;
  background-color: #1e1b4b;
  background-image:
    radial-gradient(900px 480px at 85% -12%, rgba(79, 70, 229, 0.45), transparent 60%),
    radial-gradient(680px 400px at 8% 112%, rgba(55, 48, 163, 0.38), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #1e1b4b 0%, #312e81 46%, #1e1b4b 100%);
  background-size: auto, auto, 46px 46px, 46px 46px, auto;
  color: #ffffff;
  overflow: hidden;
}

.eng-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 27, 75, 0.4) 100%);
}

.eng-hero .shell {
  position: relative;
  z-index: 1;
}

.eng-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 32px;
  align-items: center;
}

.eng-hero-copy {
  min-width: 0;
}

.eng-hero-copy .eyebrow {
  margin: 0 0 16px;
  color: #a5b4fc;
  font-family: var(--font-label);
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

.eng-hero-copy h1 {
  margin: 0 0 18px;
  max-width: 720px;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  color: #ffffff;
}

.eng-hero-copy .eng-lead {
  margin: 0 0 22px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.85;
}

.eng-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eng-chip-row span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 700;
}

.eng-spec-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.eng-spec-card .eng-spec-cover {
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.3);
}

.eng-spec-card .eng-spec-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eng-spec-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.15rem;
  font-family: var(--font-heading);
}

.eng-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.eng-spec-row:last-child {
  border-bottom: 0;
}

.eng-spec-row span:first-child {
  color: rgba(255, 255, 255, 0.6);
}

.eng-spec-row span:last-child {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}

.eng-section {
  padding: 64px 0;
}

.eng-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
}

.eng-section-num {
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.eng-section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  color: var(--ink);
}

.eng-section-head p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 720px;
}

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

.eng-module-card {
  padding: 28px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(30, 27, 75, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.eng-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(30, 27, 75, 0.12);
}

.eng-module-card .eng-module-id {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.eng-module-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--ink);
}

.eng-module-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.eng-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(30, 27, 75, 0.06);
  border: 1px solid var(--line);
}

.eng-spec-table thead {
  background: var(--bg-strong);
  color: #ffffff;
}

.eng-spec-table th,
.eng-spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.eng-spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.eng-spec-table th {
  font-family: var(--font-label);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
}

.eng-spec-table td:first-child {
  color: var(--ink-soft);
  width: 32%;
}

.eng-spec-table td:last-child {
  color: var(--ink);
  font-weight: 600;
}

.eng-spec-table tbody tr:nth-child(even) {
  background: rgba(79, 70, 229, 0.02);
}

.eng-cta {
  padding: 56px 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #ffffff;
  text-align: center;
}

.eng-cta h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: #ffffff;
}

.eng-cta p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}

.eng-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-deep);
  font-family: var(--font-label);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.eng-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

/* 深色 spec-card / cta 内的 card-kicker 覆盖（行 2984 全局 !important） */
.eng-spec-card .card-kicker,
.eng-cta .card-kicker {
  color: #a5b4fc !important;
}

/* eng-hero 内标题/段落兜底（规避 inner-hero !important，因 eng-hero 不含 inner-hero 类，无需覆盖，此处仅作字号统一） */
.eng-hero h1 {
  color: #ffffff;
}
.eng-hero p {
  color: rgba(255, 255, 255, 0.78);
}

/* 响应式 */
@media (max-width: 880px) {
  .eng-hero {
    padding: 64px 0 44px;
  }
  .eng-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .eng-module-grid {
    grid-template-columns: 1fr;
  }
  .eng-section {
    padding: 44px 0;
  }
}

@media (max-width: 560px) {
  .eng-spec-table th,
  .eng-spec-table td {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
  .eng-chip-row span {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* 备案号超链 */
.footer-icp-link {
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}
.footer-icp-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 导航配套焕新 - 增强顶栏可读性 */
.site-bar {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  border-top: 0;
}
.site-nav a {
  font-size: 14px;
}
.site-nav a.is-active {
  color: var(--accent-deep);
}

/* 底部配套焕新 - 备案区强化 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

/* 首页产品板块强制一行 - 横向滚动 */
.home-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.home-row > * {
  scroll-snap-align: start;
  min-width: 0;
}
.home-row::-webkit-scrollbar {
  height: 6px;
}
.home-row::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, 0.35);
  border-radius: 999px;
}
.section-dark .home-row::-webkit-scrollbar-thumb {
  background: rgba(165, 180, 252, 0.4);
}
@media (max-width: 1120px) {
  .home-row {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    overflow-x: visible;
  }
}

/* 首页关于我们 - 紧凑版 */
.about-home-compact {
  padding: 28px 0 32px;
}
.about-home-compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.about-home-compact-text {
  flex: 1 1 540px;
  display: grid;
  gap: 6px;
}
.about-home-compact-text .eyebrow {
  margin: 0 0 2px;
}
.about-home-compact-text h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  color: var(--bg-strong);
  letter-spacing: 0;
}
.about-home-compact-text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 720px;
}
.about-home-compact-cta {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}
@media (max-width: 720px) {
  .about-home-compact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .about-home-compact-text { flex-basis: auto; }
}
