/* ============================================================
   昆驾云学堂 — 企业门户首页
   美学方向：墨色奢华 · 鎏金点缀 · 翡翠品牌色
   ============================================================ */

:root {
  --ink: #0a0f1c;
  --ink-soft: #121a2e;
  --ink-mid: #1c2740;
  --cream: #f6f3ec;
  --cream-dark: #ebe6da;
  --gold: #c9a962;
  --gold-light: #e4d4a8;
  --gold-dim: rgba(201, 169, 98, 0.35);
  --jade: #1a8f5c;
  --jade-bright: #2cb872;
  --jade-glow: rgba(26, 143, 92, 0.25);
  --text: #2a3142;
  --text-muted: #5c6478;
  --text-on-dark: rgba(246, 243, 236, 0.88);
  --text-on-dark-muted: rgba(246, 243, 236, 0.55);
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 64px rgba(10, 15, 28, 0.12);
  --shadow-gold: 0 8px 32px rgba(201, 169, 98, 0.2);
}

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

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* 颗粒纹理叠层 */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201, 169, 98, 0.12);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
}

.brand__mark {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
}

.brand__icon {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
}

.brand__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.brand__en {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-muted);
  transition: color 0.25s;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.site-nav a:hover {
  color: var(--cream);
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav__cta {
  padding: 10px 22px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-light) !important;
  transition: background 0.3s, border-color 0.3s !important;
}

.site-nav__cta::after {
  display: none !important;
}

.site-nav__cta:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: var(--gold);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
  -webkit-tap-highlight-color: transparent;
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  margin-right: -10px;
  -webkit-tap-highlight-color: transparent;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 48px) 0
    calc(80px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--jade-glow) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
    linear-gradient(165deg, var(--ink) 0%, var(--ink-soft) 45%, #0d1528 100%);
}

.hero__lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(201, 169, 98, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(201, 169, 98, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__orb--1 {
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  top: -10%;
  right: -20%;
  background: rgba(26, 143, 92, 0.18);
}

.hero__orb--2 {
  width: min(300px, 70vw);
  height: min(300px, 70vw);
  bottom: 10%;
  left: -20%;
  background: rgba(201, 169, 98, 0.1);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__eyebrow-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero__title-line {
  display: block;
}

.hero__title em {
  font-style: normal;
  color: var(--gold-light);
  position: relative;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--jade-glow), transparent);
  z-index: -1;
}

.hero__desc {
  max-width: 560px;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
  margin-bottom: 40px;
}

.hero__desc strong {
  color: var(--text-on-dark);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--jade) 0%, #157a4d 100%);
  color: var(--cream);
  box-shadow: 0 8px 28px rgba(26, 143, 92, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(26, 143, 92, 0.45);
}

.btn--ghost {
  border: 1px solid rgba(246, 243, 236, 0.25);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 169, 98, 0.06);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.hero__tags li {
  padding: 8px 18px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
  border: 1px solid rgba(201, 169, 98, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-on-dark-muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ---------- 数据条 ---------- */
.metrics {
  position: relative;
  margin-top: -1px;
  background: var(--cream);
  padding: 0 0 80px;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-dim);
  box-shadow: var(--shadow-soft);
  margin-top: -56px;
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.metric {
  background: #fff;
  padding: 36px 28px;
  text-align: center;
  transition: background 0.3s;
}

.metric:hover {
  background: var(--cream);
}

.metric__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}

.metric__value span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
  margin-left: 2px;
}

.metric__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.metric__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- 服务范围声明条 ---------- */
.platform-notice {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  padding: 0 0 8px;
}

.platform-notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #fff 0%, #faf8f3 100%);
  border: 1px solid var(--gold-dim);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.platform-notice__label {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  white-space: nowrap;
}

.platform-notice__text {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.platform-notice__text strong {
  color: var(--ink);
  font-weight: 600;
}

.about__scope {
  margin-top: 16px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(201, 169, 98, 0.08);
  border-radius: 2px;
  border-left: 2px solid var(--gold);
}

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

.site-footer__scope {
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 100px 0;
}

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

.section--dark {
  background: var(--ink-soft);
}

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

.section-head__en {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-head__en--gold {
  color: var(--gold-light);
}

.section-head__title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.section-head__title--light {
  color: var(--cream);
}

.section-head__rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 24px;
}

.section-head__sub {
  margin-top: 16px;
  max-width: 520px;
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  font-weight: 300;
}

.section-head__sub--dark {
  color: var(--text-muted);
}

.section-head--light .section-head__title {
  color: var(--cream);
}

/* ---------- 关于 ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-rows: auto auto;
  gap: 48px 64px;
}

.about .section-head {
  grid-column: 1;
}

.about__body {
  grid-column: 1;
  font-size: 1rem;
  color: var(--text-muted);
}

.about__lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.85;
}

.about__body strong {
  color: var(--ink);
  font-weight: 600;
}

.about__quote {
  margin-top: 32px;
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about__quote p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.12em;
}

.about__quote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.about__visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  min-height: 380px;
}

.about__card {
  position: absolute;
  padding: 28px 32px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201, 169, 98, 0.15);
}

.about__card--main {
  top: 0;
  left: 0;
  right: 40px;
}

.about__card--accent {
  bottom: 0;
  right: 0;
  left: 60px;
  background: var(--ink);
  color: var(--cream);
  border-color: transparent;
}

.about__card-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.about__card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about__card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about__card--accent p {
  color: var(--text-on-dark-muted);
}

/* ---------- 服务卡片 ---------- */
.services {
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 0%, var(--jade-glow) 0%, transparent 60%);
  pointer-events: none;
}

.services .section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.services .section-head__sub {
  margin-inline: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 98, 0.12);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--jade));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 169, 98, 0.28);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(201, 169, 98, 0.12);
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  line-height: 1.75;
}

/* ---------- 优势列表 ---------- */
.advantages__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.advantages__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.advantage-item {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--cream-dark);
  transition: padding-left 0.3s var(--ease-out);
}

.advantage-item:first-child {
  padding-top: 0;
}

.advantage-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.advantage-item:hover {
  padding-left: 8px;
}

.advantage-item__index {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.4;
}

.advantage-item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- 小程序体验 ---------- */
.experience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.experience__desc {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  font-weight: 300;
  max-width: 480px;
}

.experience__features {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.experience__features li {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  padding-left: 20px;
  position: relative;
}

.experience__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--jade-bright);
  transform: rotate(45deg);
}

/* ---------- 联系 ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact__cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.contact-card:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contact-card a {
  font-size: 0.95rem;
  color: var(--jade);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  word-break: break-all;
}

.contact-card a:hover {
  border-bottom-color: var(--jade);
}

.contact-card__muted {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 56px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(201, 169, 98, 0.1);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 8px;
}

.site-footer__brand p {
  font-size: 0.85rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.site-footer__links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--gold-light);
}

.site-footer__legal {
  text-align: right;
  font-size: 0.8rem;
}

.site-footer__legal > p:first-child {
  margin-bottom: 12px;
}

.site-footer__beian {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.site-footer__beian a {
  transition: color 0.2s;
}

.site-footer__beian a:hover {
  color: var(--cream);
}

.site-footer__mps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

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

/* ---------- 响应式：平板 ---------- */
@media (max-width: 1024px) {
  .site-nav {
    gap: 24px;
  }

  .site-nav a {
    font-size: 0.8125rem;
  }

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

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__visual {
    grid-column: 1;
    grid-row: auto;
    min-height: 300px;
  }

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

  .advantages__layout,
  .experience__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__links {
    justify-content: center;
  }

  .site-footer__legal {
    text-align: center;
  }

  .site-footer__beian {
    justify-content: center;
  }
}

/* ---------- 响应式：手机（汉堡菜单） ---------- */
@media (max-width: 900px) {
  .site-header {
    background: rgba(10, 15, 28, 0.88);
    backdrop-filter: blur(12px);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) 28px
      calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    font-size: 1.125rem;
    padding: 16px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .site-nav__cta {
    margin-top: 16px;
    justify-content: center;
    text-align: center;
    min-height: 52px;
    border-radius: 2px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  html {
    font-size: 15px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .brand__text {
    min-width: 0;
  }

  .brand__icon {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand__en {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 32px);
    padding-bottom: 48px;
    align-items: flex-start;
  }

  .hero__content {
    padding-top: 8px;
  }

  .hero__eyebrow {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
  }

  .hero__eyebrow-line {
    width: 32px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    margin-bottom: 20px;
  }

  .hero__desc {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero__tags {
    gap: 8px;
  }

  .hero__tags li {
    font-size: 0.72rem;
    padding: 6px 12px;
    letter-spacing: 0.04em;
  }

  .hero__scroll {
    display: none;
  }

  .metrics {
    padding-bottom: 56px;
  }

  .metrics__grid {
    margin-top: -24px;
  }

  .platform-notice {
    margin-top: -16px;
    padding-bottom: 0;
  }

  .platform-notice__inner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
  }

  .platform-notice__label {
    align-self: flex-start;
  }

  .metric {
    padding: 24px 16px;
  }

  .metric__value {
    font-size: 1.85rem;
  }

  .metric__hint {
    font-size: 0.75rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-head__title {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
  }

  .about__grid {
    gap: 32px;
  }

  .about__visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .about__card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    padding: 24px;
  }

  .about__quote {
    padding: 20px 22px;
    margin-top: 24px;
  }

  .about__quote p {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-card__num {
    font-size: 2rem;
    top: 16px;
    right: 20px;
  }

  .advantages__layout {
    gap: 32px;
  }

  .advantage-item {
    gap: 16px;
    padding: 24px 0;
  }

  .advantage-item:hover {
    padding-left: 0;
  }

  .experience__grid {
    gap: 40px;
  }

  .experience__copy {
    order: 2;
  }

  .experience__device {
    order: 1;
    width: 100%;
  }

  .experience__features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact__grid {
    gap: 32px;
  }

  .contact-card {
    padding: 24px;
  }

  .site-footer {
    padding-top: 40px;
  }

  .site-footer__inner {
    gap: 28px;
  }

  .site-footer__links {
    gap: 12px 20px;
  }

  .site-footer__beian {
    flex-direction: column;
    gap: 10px;
  }

  .site-footer__beian span[aria-hidden="true"] {
    display: none;
  }

  .site-footer__scope {
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand__name {
    font-size: 0.88rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .metrics__grid {
    grid-template-columns: 1fr;
    margin-top: -16px;
  }

  .metric__value {
    font-size: 1.65rem;
  }

  .about__lead {
    font-size: 1rem;
  }

  .about__card strong {
    font-size: 1.25rem;
  }

  .services .section-head {
    margin-bottom: 40px;
  }
}

/* 横屏手机：压缩 Hero 高度 */
@media (max-width: 900px) and (max-height: 500px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 40px;
  }

  .site-nav {
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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