/* ==========================================================================
   ATB.unit — site.css
   官网全站样式（2026 改版）。与旧模板 style.css 互不依赖：
   新页面只引用本文件，旧作品详情页仍走旧样式，避免互相污染。
   设计基调：深海军蓝 + 品牌金，内容区浅色以保证中文长文可读性。
   ========================================================================== */

:root {
  --ink: #0a1024;
  --navy: #0e1733;
  --navy-2: #131f42;
  --navy-3: #1b2a55;
  --paper: #ffffff;
  --paper-2: #f6f7fa;
  --paper-3: #eef1f7;
  --text: #101728;
  --text-2: #58627a;
  --text-3: #8b95ab;
  --line: #e5e9f2;
  --line-dark: rgba(255, 255, 255, 0.12);

  --gold: #f2c230;
  --gold-deep: #d9a411;
  --gold-soft: rgba(242, 194, 48, 0.14);
  --blue: #3554d1;
  --blue-deep: #24399b;
  --blue-soft: #eaeefb;
  --green: #12855f;
  --red: #c93b30;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(16, 23, 40, 0.06);
  --shadow: 0 12px 32px rgba(16, 23, 40, 0.1);
  --shadow-lg: 0 30px 70px rgba(6, 12, 30, 0.35);

  --container: 1200px;
  --header-h: 76px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: inherit;
}

p {
  margin: 0;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 15px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   布局基础
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

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

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

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section--dark .eyebrow {
  color: var(--gold);
}

.h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
}

.h3 {
  font-size: clamp(20px, 2vw, 24px);
}

.lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.68);
}

.muted {
  color: var(--text-2);
}

.gold {
  color: var(--gold-deep);
}

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--gold);
  color: #2a2000;
  box-shadow: 0 10px 24px rgba(242, 194, 48, 0.28);
}

.btn--primary:hover {
  background: #ffd24d;
  box-shadow: 0 14px 30px rgba(242, 194, 48, 0.36);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--navy-3);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

.btn--outline:hover {
  border-color: #c9d1e2;
  box-shadow: var(--shadow-sm);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(53, 84, 209, 0.25);
}

.btn--blue:hover {
  background: var(--blue-deep);
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn[aria-disabled="true"],
.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-deep);
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 16, 36, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(10, 16, 36, 0.94);
  border-bottom-color: var(--line-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

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

.brand__divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
}

.brand__sub {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  white-space: nowrap;
}

/* 导航增至 8 项后，1280 以下先把品牌副标题收起来，避免挤压 */
@media (max-width: 1280px) {
  .brand__sub,
  .brand__divider {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 10px;
  font-size: 14.5px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav a.is-active {
  color: var(--gold);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.lang-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 7px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.lang-select > svg {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: 0.8;
}

.lang-select > svg:last-of-type {
  width: 12px;
  height: 12px;
  opacity: 0.55;
  pointer-events: none;
}

.lang-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  max-width: 6.6em;
  text-align: center;
  text-align-last: center;
}

.lang-select select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.lang-select option {
  background: #fff;
  color: #16181d;
  font-weight: 500;
}

.header-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 2px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.header-admin svg {
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

.header-admin:hover {
  color: var(--gold);
  background: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  margin: 0 auto;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  overflow-y: auto;
  z-index: 99;
  padding: 16px 24px 28px;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.mobile-menu a.is-active,
.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu a.btn {
  justify-content: center;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 96px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 82% 12%, rgba(242, 194, 48, 0.18), transparent 62%),
    radial-gradient(760px 520px at 8% 86%, rgba(53, 84, 209, 0.35), transparent 65%),
    linear-gradient(180deg, #0a1024 0%, #0d1633 60%, #0a1024 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

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

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.hero__badge span {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: #2a2000;
  font-weight: 700;
  font-size: 12px;
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__desc {
  max-width: 560px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__meta div strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero__meta div > span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.hero__meta strong span {
  font-size: inherit;
  color: var(--gold);
}

.hero__visual {
  position: relative;
  min-height: 460px;
}

.hero__shot {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shot--main {
  width: 78%;
  aspect-ratio: 4 / 3;
  right: 0;
  top: 8%;
}

.hero__shot--sub {
  width: 52%;
  aspect-ratio: 4 / 3;
  left: 0;
  bottom: 0;
}

.hero__note {
  position: absolute;
  left: 4%;
  top: 2%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(16, 23, 51, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero__note i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
  flex: none;
}

.hero__note i svg {
  width: 18px;
  height: 18px;
}

.hero__note b {
  display: block;
  font-size: 14px;
  color: #fff;
}

.hero__note small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* 业务能力 */
.capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cap-card {
  position: relative;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.cap-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}

.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #dbe2ef;
}

.cap-card:hover::after {
  width: 100%;
}

.cap-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  margin-bottom: 20px;
}

.cap-card__icon svg {
  width: 24px;
  height: 24px;
}

.cap-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.cap-card p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
}

.cap-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.cap-card__tags span {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--paper-3);
  font-size: 12px;
  color: var(--text-2);
}

/* 案例 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

@media (max-width: 860px) {
  .case-grid--2 {
    grid-template-columns: 1fr;
  }
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.case-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover .case-card__media img {
  transform: scale(1.06);
}

.case-card__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(10, 16, 36, 0.72);
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(4px);
}

.case-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.case-card__body h3 {
  font-size: 18px;
  line-height: 1.5;
}

.case-card__body p {
  font-size: 14px;
  color: var(--text-2);
}

.case-card__foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-3);
}

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

/* 数据带 */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat-band div {
  padding-right: 24px;
  border-right: 1px solid var(--line-dark);
}

.stat-band div:last-child {
  border-right: 0;
}

.stat-band strong {
  display: block;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-band strong span {
  color: var(--gold);
}

.stat-band p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   教育软件板块
   -------------------------------------------------------------------------- */
.edu {
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(700px 420px at 88% 18%, rgba(53, 84, 209, 0.1), transparent 70%),
    linear-gradient(180deg, #faf7f0 0%, #f6f2e8 100%);
  overflow: hidden;
}

.edu__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.edu .eyebrow {
  color: var(--blue);
}

.edu .eyebrow::before {
  background: var(--blue);
}

.edu__title {
  font-size: clamp(28px, 3.6vw, 44px);
  color: #1b1e24;
}

.edu__title em {
  font-style: normal;
  color: var(--blue);
}

.edu__desc {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.85;
  color: #5c5f68;
  max-width: 560px;
}

.edu__points {
  display: grid;
  gap: 14px;
  margin: 30px 0 34px;
}

.edu__point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.edu__point i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ece7dc;
  color: var(--blue);
  flex: none;
}

.edu__point i svg {
  width: 17px;
  height: 17px;
}

.edu__point b {
  display: block;
  font-size: 15.5px;
  color: #1b1e24;
}

.edu__point small {
  display: block;
  font-size: 13.5px;
  color: #6b6f76;
  line-height: 1.7;
}

.edu__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.edu__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #e6dfd0;
}

.edu__stats strong {
  display: block;
  font-size: 24px;
  color: #1b1e24;
}

.edu__stats span {
  font-size: 13px;
  color: #6b6f76;
}

/* 手机样机 */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 84, 209, 0.16), transparent 68%);
  top: 6%;
}

.phone {
  position: relative;
  z-index: 1;
  width: 290px;
  height: 590px;
  padding: 10px;
  border-radius: 42px;
  background: #1b1e24;
  box-shadow: 0 30px 60px rgba(27, 30, 36, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: #faf7f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #1b1e24;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px 4px;
  font-size: 10px;
  font-weight: 600;
  color: #4a4d55;
}

.phone__appbar {
  padding: 10px 20px 14px;
}

.phone__appbar small {
  font-size: 10px;
  color: #6b6f76;
  letter-spacing: 0.08em;
}

.phone__appbar h4 {
  margin-top: 2px;
  font-size: 18px;
  color: #1b1e24;
  letter-spacing: -0.01em;
}

.phone__scale {
  display: flex;
  gap: 3px;
  margin-top: 10px;
}

.phone__scale i {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: #e8e2d4;
}

.phone__scale i.on {
  background: var(--blue);
}

.phone__scale i.half {
  background: linear-gradient(90deg, var(--blue) 50%, #e8e2d4 50%);
}

.phone__body {
  flex: 1;
  padding: 4px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone__card {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #ece7dc;
}

.phone__card--accent {
  background: #3554d1;
  border-color: #3554d1;
  color: #fff;
}

.phone__card--accent .tag {
  background: #f5c518;
  color: #3a2c00;
}

.phone__card .tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eaeefb;
  color: #24399b;
  font-size: 10px;
  font-weight: 600;
}

.phone__card h5 {
  margin: 8px 0 4px;
  font-size: 14px;
  color: inherit;
}

.phone__card p {
  font-size: 11px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.72;
}

.phone__card--accent p {
  opacity: 0.85;
}

.phone__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.phone__row b {
  font-size: 12px;
}

.phone__row span {
  font-size: 11px;
  color: #6b6f76;
}

.phone__bar {
  height: 6px;
  border-radius: 3px;
  background: #f2eee4;
  margin-top: 8px;
  overflow: hidden;
}

.phone__bar i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 3px;
  background: #12855f;
}

.phone__week {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  margin-top: 8px;
}

.phone__week i {
  flex: 1;
  border-radius: 3px;
  background: #eee9dd;
}

.phone__week i.on {
  background: var(--blue);
}

.phone__nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 8px 16px;
  background: #fff;
  border-top: 1px solid #f2eee4;
  font-size: 9px;
  color: #8b8578;
  text-align: center;
}

.phone__nav span.on {
  color: var(--blue);
  font-weight: 700;
}

.phone__nav b {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 2px;
  border-radius: 5px;
  background: #eee9dd;
  color: #8b8578;
}

.phone__nav b svg {
  display: block;
  width: 12px;
  height: 12px;
  margin: 3px auto;
}

.phone__nav span.on b {
  background: #eaeefb;
  color: var(--blue);
}

.phone__nav span.on b svg {
  stroke: var(--blue);
}

.phone-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ece7dc;
  box-shadow: 0 16px 36px rgba(27, 30, 36, 0.14);
  font-size: 12px;
}

.phone-badge b {
  display: block;
  font-size: 13px;
  color: #1b1e24;
}

.phone-badge small {
  color: #6b6f76;
  font-size: 11px;
}

.phone-badge i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #e9f6f0;
  color: var(--green);
  flex: none;
}

.phone-badge i svg {
  width: 16px;
  height: 16px;
}

.phone-badge--one {
  right: -8px;
  top: 100px;
}

.phone-badge--two {
  left: -6px;
  bottom: 90px;
}

/* --------------------------------------------------------------------------
   产品分层 / 流程
   -------------------------------------------------------------------------- */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.layer-card {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.layer-card__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.layer-card h3 {
  margin: 12px 0 6px;
  font-size: 20px;
}

.layer-card .role {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

.layer-card ul {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.layer-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-2);
}

.layer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}

.process__item {
  position: relative;
  padding: 0 28px 0 0;
  counter-increment: step;
}

.process__item::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.process__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 28px;
  top: 40px;
  height: 1px;
  background: var(--line-dark);
}

.process__item:last-child::after {
  display: none;
}

.process__item h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.process__item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   下载中心
   -------------------------------------------------------------------------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.dl-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dl-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper-3);
  color: var(--navy-3);
  flex: none;
}

.dl-card__icon svg {
  width: 22px;
  height: 22px;
}

.dl-card__head h3 {
  font-size: 18px;
  margin-bottom: 2px;
}

.dl-card__head p {
  font-size: 13px;
  color: var(--text-2);
}

.dl-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dl-meta dt {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 2px;
}

.dl-meta dd {
  margin: 0;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text);
}

.dl-card__notes {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

.dl-card__foot {
  margin-top: auto;
}

.release-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff8e1;
  border: 1px solid #f3e2b0;
  font-size: 13.5px;
  color: #6b5300;
}

.release-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   页面头（内页）
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 72px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(242, 194, 48, 0.16), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(53, 84, 209, 0.3), transparent 65%);
}

.page-head .container {
  position: relative;
  z-index: 1;
}

.page-head h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.16;
  max-width: 860px;
}

.page-head p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   关于 / 时间线 / 联系
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.prose p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-2);
}

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

.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  position: relative;
  padding-bottom: 30px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}

.timeline__item h3 {
  margin: 6px 0 4px;
  font-size: 17px;
}

.timeline__item p {
  font-size: 14px;
  color: var(--text-2);
}

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

.office {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.office h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.office p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  flex: none;
}

.contact-item i svg {
  width: 18px;
  height: 18px;
}

.contact-item b {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
}

.contact-item a:hover {
  color: var(--gold-deep);
}

.form-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-3);
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
}

.form-status.is-ok {
  display: block;
  background: #e9f6f0;
  color: #0f6b4d;
}

.form-status.is-err {
  display: block;
  background: #fceae8;
  color: #a32a20;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
}

.faq__q i {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq__q i::before,
.faq__q i::after {
  content: "";
  position: absolute;
  background: var(--text-3);
  transition: transform 0.25s;
}

.faq__q i::before {
  left: 0;
  top: 10px;
  width: 22px;
  height: 2px;
}

.faq__q i::after {
  left: 10px;
  top: 0;
  width: 2px;
  height: 22px;
}

.faq__item.is-open .faq__q i::after {
  transform: rotate(90deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__a p {
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   CTA / 页脚
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(120deg, #101a3a, #1b2a55);
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, rgba(242, 194, 48, 0.22), transparent 70%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  max-width: 640px;
}

.cta-band p {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.66);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  background: #070c1c;
  color: rgba(255, 255, 255, 0.62);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

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

.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a2000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
}

.backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.backtop svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   动效（尊重 prefers-reduced-motion）
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav a {
    padding: 8px 9px;
    font-size: 14px;
  }

  .hero__grid,
  .edu__grid,
  .split,
  .contact-grid {
    gap: 40px;
  }

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

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

  .case-card--wide {
    grid-column: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 68px;
  }

  /* 窄屏只留语言下拉与汉堡，登录入口收进菜单，避免只剩一个锁图标 */
  .nav,
  .header-admin {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-tools {
    margin-left: 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
  }

  .hero__grid,
  .edu__grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 380px;
    margin-top: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .edu {
    padding: 72px 0;
  }

  .layer-grid,
  .download-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

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

  .process__item:nth-child(2)::after {
    display: none;
  }

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

  .stat-band div:nth-child(2) {
    border-right: 0;
  }

  .phone-badge--one {
    right: 0;
    top: 60px;
  }

  .phone-badge--two {
    left: 0;
    bottom: 40px;
  }

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

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

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

  .hero__meta {
    gap: 18px;
  }

  .hero__meta div strong {
    font-size: 22px;
  }

  .hero__shot--main {
    width: 84%;
  }

  .hero__shot--sub {
    width: 58%;
  }

  .phone {
    width: 268px;
    height: 550px;
  }

  .phone-badge {
    padding: 10px 12px;
    font-size: 11px;
  }

  .phone-badge--one {
    right: -4px;
    top: 40px;
  }

  .phone-badge--two {
    display: none;
  }

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

  .process__item {
    padding-right: 0;
  }

  .process__item::after {
    display: none;
  }

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

  .form-card {
    padding: 24px 20px;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 112px;
  }

  .brand__sub {
    display: none;
  }

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

/* --------------------------------------------------------------------------
   内页补充
   -------------------------------------------------------------------------- */
.capabilities--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.gallery-entry {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
}

.gallery-entry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 36, 0) 35%, rgba(10, 16, 36, 0.88) 100%);
}

.gallery-entry:hover img {
  transform: scale(1.06);
}

.gallery-entry__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px;
}

.gallery-entry__body h3 {
  font-size: 17px;
  color: #fff;
}

.gallery-entry__body p {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

.gallery-entry__body span {
  display: inline-flex;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.api-table th,
.api-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.api-table th {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}

.api-table td code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper-3);
}

.code-block {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  background: #0c1226;
  color: #d7e0f5;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  overflow-x: auto;
}

.code-block .c {
  color: #7d8ba8;
}

.code-block .k {
  color: #f2c230;
}

.code-block .s {
  color: #7fe0c0;
}

.note-list {
  display: grid;
  gap: 16px;
}

.note-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
}

.note-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, transparent, rgba(10, 16, 36, 0.85));
}

@media (max-width: 1100px) {
  .capabilities--3,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .capabilities--3,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   案例详情 · 画廊（与全站统一风格，替代旧模板 blog-details 布局）
   ========================================================================== */
.case-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 400px at 88% 4%, rgba(242, 194, 48, 0.14), transparent 62%),
    radial-gradient(620px 420px at 0% 100%, rgba(53, 84, 209, 0.28), transparent 66%);
}

.case-hero .container {
  position: relative;
  z-index: 1;
}

.case-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.case-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242, 194, 48, 0.42);
  background: rgba(242, 194, 48, 0.1);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.case-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(27px, 3.4vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 720px;
}

.case-hero__desc {
  margin-top: 18px;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}

.case-hero__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--navy-2);
}

.case-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.case-meta > div {
  min-width: 140px;
  padding-right: 34px;
  margin-right: 34px;
  border-right: 1px solid var(--line-dark);
}

.case-meta > div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.case-meta dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.case-meta dd {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 64px;
  align-items: start;
}

.case-body .prose p {
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--text);
}

.case-body .prose p + p {
  margin-top: 18px;
}

.case-body h2 {
  margin: 40px 0 16px;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.35;
}

.case-body h2:first-child {
  margin-top: 0;
}

.case-quote {
  margin: 30px 0;
  padding: 26px 28px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-2);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-2);
}

.case-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}

.case-aside h2 {
  margin: 0 0 16px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.case-aside dl {
  margin: 0;
  font-size: 14px;
}

.case-aside dt {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.case-aside dd {
  margin: 3px 0 0;
  color: var(--text);
  line-height: 1.7;
}

.case-aside .btn {
  margin-top: 22px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.case-tags span {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--paper-3);
  font-size: 12.5px;
  color: var(--text-2);
}

/* 图片画廊 */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.shot {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.shot:hover img {
  transform: scale(1.04);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 36, 0);
  transition: background 0.3s;
}

.shot:hover::after {
  background: rgba(10, 16, 36, 0.14);
}

.shot--wide {
  grid-column: span 2;
  aspect-ratio: 8 / 5;
}

.shot--tall {
  aspect-ratio: 3 / 4;
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(6, 12, 30, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(242, 194, 48, 0.18);
  border-color: var(--gold);
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__prev {
  left: 24px;
  top: 50%;
  margin-top: -23px;
}

.lightbox__next {
  right: 24px;
  top: 50%;
  margin-top: -23px;
}

.lightbox svg {
  width: 20px;
  height: 20px;
}

.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-variant-numeric: tabular-nums;
}

/* 上下篇 */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.pager a {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pager a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pager small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.pager strong {
  display: block;
  margin-top: 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.pager__next {
  text-align: right;
}

/* 作品集索引卡片 */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.album-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(242, 194, 48, 0.6);
}

.album-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
}

.album-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.album-card:hover .album-card__media img {
  transform: scale(1.05);
}

.album-card__body {
  padding: 20px 22px 24px;
}

.album-card__body h3 {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
}

.album-card__body p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-3);
}

.album-card__body span {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
}

/* ==========================================================================
   下载中心 · 产品分组
   ========================================================================== */
.dl-group + .dl-group {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.dl-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.dl-group__head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
}

.dl-group__head p {
  margin-top: 8px;
  max-width: 620px;
  font-size: 14.5px;
  color: var(--text-2);
}

.dl-group__tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  margin-bottom: 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.dl-card__foot .btn + .btn {
  margin-top: 10px;
}

/* ==========================================================================
   场馆管理系统
   ========================================================================== */
.vp-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: vp;
}

.vp-flow__item {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.vp-flow__item::before {
  counter-increment: vp;
  content: "0" counter(vp);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}

.vp-flow__item h3 {
  font-size: 15.5px;
  line-height: 1.5;
}

.vp-flow__item p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
}

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

.module-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.25s, transform 0.25s;
}

.module-card:hover {
  border-color: rgba(242, 194, 48, 0.72);
  transform: translateY(-3px);
}

.module-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.module-card__icon svg {
  width: 21px;
  height: 21px;
}

.module-card h3 {
  font-size: 16px;
  line-height: 1.5;
}

.module-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-2);
}

.module-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-3);
}

.module-card ul li {
  position: relative;
  padding-left: 14px;
  line-height: 1.9;
}

.module-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table thead th {
  background: var(--paper-3);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 600;
}

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

.spec-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 26%;
}

.spec-table td {
  color: var(--text-2);
}

@media (max-width: 1100px) {
  .case-hero__grid,
  .case-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .case-aside {
    position: static;
  }

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

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

@media (max-width: 920px) {
  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .shot-grid,
  .shot-grid--2,
  .vp-flow,
  .module-grid,
  .album-grid,
  .pager {
    grid-template-columns: 1fr;
  }

  .shot--wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .case-meta > div {
    min-width: 50%;
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    margin-bottom: 16px;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
  }
}

/* 下载中心：分组布局与状态标签 */
.download-grid--grouped {
  display: block;
}

.dl-card__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 11.5px;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
}

/* 标题换行更均衡：避免「三山五 / 园」这类把词拆开的断行 */
.case-hero h1,
.page-head h1,
.hero h1,
.edu__title,
.h2,
.section-head h2 {
  text-wrap: balance;
}

/* ==========================================================================
   阿拉伯语 / RTL（2026-11）
   切换语言时 site.js 会在 <html> 上设置 lang="ar" dir="rtl"。
   这里的规则只做三件事：镜像方向性间距、取消阿拉伯语不能用的字距、
   让表格与代码块保持可读。flex/grid 的排列由 dir 自动处理，不重复写。
   ========================================================================== */
[dir="rtl"] {
  --font-sans: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic",
    "Geeza Pro", "Arial", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 阿拉伯语是连写文字，任何 letter-spacing 都会把字母断开 */
[dir="rtl"] .eyebrow,
[dir="rtl"] .case-hero__tag,
[dir="rtl"] .brand__sub,
[dir="rtl"] .dl-group__tag,
[dir="rtl"] .dl-card__badge,
[dir="rtl"] .timeline__year,
[dir="rtl"] .case-aside h2,
[dir="rtl"] .pager small,
[dir="rtl"] .spec-table thead th,
[dir="rtl"] .api-table th {
  letter-spacing: normal;
  text-transform: none;
}

[dir="rtl"] body {
  line-height: 1.9;
}

/* 导航与页头 */
[dir="rtl"] .nav {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .nav-toggle,
[dir="rtl"] .header-tools {
  margin-left: 0;
}

[dir="rtl"] .brand__divider {
  margin-left: 12px;
  margin-right: 12px;
}

/* 强调线的位置 */
[dir="rtl"] .hero__meta > div {
  padding-right: 0;
  padding-left: 28px;
  margin-right: 0;
  margin-left: 28px;
  border-right: 0;
  border-left: 1px solid var(--line-dark);
}

[dir="rtl"] .hero__meta > div:last-child {
  border-left: 0;
  margin-left: 0;
  padding-left: 0;
}

[dir="rtl"] .case-meta > div {
  padding-right: 0;
  padding-left: 34px;
  margin-right: 0;
  margin-left: 34px;
  border-right: 0;
  border-left: 1px solid var(--line-dark);
}

[dir="rtl"] .case-meta > div:last-child {
  border-left: 0;
  margin-left: 0;
  padding-left: 0;
}

/* 列表前的圆点 / 数字 */
[dir="rtl"] .note-list li,
[dir="rtl"] .module-card ul li {
  padding-left: 0;
  padding-right: 14px;
}

[dir="rtl"] .note-list li::before,
[dir="rtl"] .module-card ul li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .timeline__item {
  padding-left: 0;
  padding-right: 26px;
}

[dir="rtl"] .timeline__item::before,
[dir="rtl"] .timeline__item::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .process__item {
  padding-right: 0;
  padding-left: 28px;
}

/* 引用条镜像 */
[dir="rtl"] .case-quote {
  border-left: 0;
  border-right: 3px solid var(--gold);
  border-radius: var(--radius) 0 0 var(--radius);
}

/* 表格与文案对齐 */
[dir="rtl"] .spec-table th,
[dir="rtl"] .spec-table td,
[dir="rtl"] .api-table th,
[dir="rtl"] .api-table td,
[dir="rtl"] .media-frame figcaption {
  text-align: right;
}

/* 代码块必须保持 LTR，否则运算符与注释会错位 */
[dir="rtl"] .code-block,
[dir="rtl"] .code-block code {
  direction: ltr;
  text-align: left;
}

[dir="rtl"] .code-block {
  unicode-bidi: isolate;
}

/* 编号与倒计时类数字保持 LTR */
[dir="rtl"] .pager small,
[dir="rtl"] .lightbox__count,
[dir="rtl"] .dl-meta dd {
  direction: ltr;
  text-align: right;
}

[dir="rtl"] .pager__next {
  text-align: left;
}

[dir="rtl"] .pager__next small,
[dir="rtl"] .pager__next strong {
  text-align: left;
}

[dir="rtl"] .dl-card__badge {
  margin-left: 0;
  margin-right: 8px;
}

/* 阿拉伯语标题较长，徽标会折到第二行，留出间距避免贴字 */
[dir="rtl"] .dl-card__head h3 {
  line-height: 1.55;
}

[dir="rtl"] .dl-card__head h3 .dl-card__badge {
  margin-top: 2px;
}

/* 箭头类图标在 RTL 下水平镜像 */
[dir="rtl"] .btn svg:last-child,
[dir="rtl"] .pager svg {
  transform: scaleX(-1);
}

[dir="rtl"] .backtop {
  right: auto;
  left: 22px;
}

[dir="rtl"] .lightbox svg {
  transform: scaleX(-1);
}

[dir="rtl"] .lightbox__close svg {
  transform: none;
}

/* 手机示意图内部跟随 RTL，但进度条方向保持不变 */
[dir="rtl"] .phone__scale,
[dir="rtl"] .phone__week,
[dir="rtl"] .phone__bar {
  direction: ltr;
}

@media (max-width: 640px) {
  [dir="rtl"] .case-meta > div {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------------------------------------------------------------------------
   产品卡片：真实界面截图（不做 hover 放大，截图放大后文字会糊）
   ------------------------------------------------------------------------ */
.case-card:hover .case-card__media--ui img {
  transform: none;
}

/* 截图左上角常是深色侧栏，把标签挪到右上，避免压在深色上 */
.case-card__media--ui .case-card__tag {
  left: auto;
  right: 14px;
}

[dir="rtl"] .case-card__media--ui .case-card__tag {
  right: auto;
  left: 14px;
}

/* ---------------------------------------------------------------------------
   场馆管理系统 · 管理端界面截图
   ------------------------------------------------------------------------ */
.ui-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.ui-shot {
  margin: 0;
  min-width: 0;
}

.ui-shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ui-shot button:hover {
  transform: translateY(-3px);
  border-color: #d6dceb;
  box-shadow: var(--shadow);
}

.ui-shot button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ui-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ui-shot figcaption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.ui-shot figcaption strong {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--text);
}

@media (max-width: 860px) {
  .ui-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

[dir="rtl"] .ui-shot figcaption {
  text-align: right;
}
