/* ================================================================
   上海沣纭信息科技有限公司 · 公司门户
   设计系统：青蓝体系（DESIGN.md）· 创意布局版
   非对称网格 / Bento / 错落卡片 / 浮动元素
   ================================================================ */

:root {
  --brand-teal: #1a6ac7;
  --brand-cyan: #2a7adf;
  --brand-green: #00a860;

  --primary: #1a6ac7;
  --primary-hover: #2a7adf;
  --primary-press: #0d4ea8;
  --primary-soft: #e3f2fb;
  --primary-tint: #f1f8fc;

  --nav-bg: #0a2540;
  --nav-bg-deep: #0a2540;
  --nav-text: #ffffff;
  --nav-muted: rgba(255, 255, 255, 0.78);
  --nav-tint: #eaf2fc;

  --canvas: #ffffff;
  --canvas-soft: #f5f9fc;
  --canvas-tint: #eaf4fa;
  --ink: #0c2130;
  --ink-soft: #2f4a5c;
  --muted: #5b7285;
  --hairline: #e2ecf3;
  --hairline-strong: #c6dbe8;

  --grad-dark: linear-gradient(180deg, #0a2540 0%, #103a82 50%, #1a6ac7 100%);
  --grad-brand: linear-gradient(135deg, #1a6ac7 0%, #2a7adf 100%);
  --grad-green: linear-gradient(135deg, #00a860 0%, #00c000 100%);

  --shadow-sm: 0 2px 10px rgba(12, 33, 48, 0.06);
  --shadow-md: 0 14px 34px rgba(12, 33, 48, 0.09);
  --shadow-lg: 0 26px 64px rgba(12, 33, 48, 0.14);
  --shadow-cyan: 0 18px 40px rgba(26, 106, 199, 0.22);

  --max: 1180px;
  --header-top: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 不要改成 overflow-x: hidden，会让 body 变成滚动容器导致 snap 失效 */
  overflow-x: clip;
}

@media (pointer: coarse) {
  html {
    scroll-snap-type: y proximity;
  }

  .hero,
  .ai-agent-section,
  .showcase,
  .about-section,
  .system-section,
  .smart-section,
  .solution-section,
  .method-section,
  .cases-section,
  .partners-section,
  .faq-section,
  .contact-section {
    scroll-snap-align: start;
    scroll-margin-top: 84px;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: clip;
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* 图片已恢复展示（教育智能体版面落地，占位规则移除） */

/* 媒体占位：青蓝渐变，避免空白灰块 */
.hero-image,
.showcase-cover,
.case-media,
.method-panel img,
.contact-hero {
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(0, 160, 192, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #eaf4fa 0%, #d3e9f5 100%);
}

/* ---------------- 滚动进度条 ---------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: calc(var(--scroll-progress, 0) * 1%);
  height: 4px;
  background: var(--grad-brand);
  border-radius: 0 2px 2px 0;
  transition: width 80ms linear;
}

/* ---------------- 顶部提示条 ---------------- */
.topline {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  min-height: 44px;
  padding: 10px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  background: var(--nav-tint);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  border-bottom: 1px solid rgba(11, 61, 66, 0.1);
  display: none;
}

.topline-close {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  color: var(--nav-bg);
  background: transparent;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 160ms ease;
}

.topline-close:hover {
  background: rgba(11, 61, 66, 0.1);
}

body.notice-closed .topline {
  display: none;
}

/* ---------------- 导航 ---------------- */
.site-header {
  position: fixed;
  top: var(--header-top);
  right: 0;
  left: 0;
  z-index: 40;
  pointer-events: none;
}

.nav {
  width: 100%;
  height: 76px;
  margin: 0 auto;
  padding: 10px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(12, 33, 48, 0.08);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  transition:
    box-shadow 280ms ease,
    background-color 280ms ease;
}

.site-header.is-scrolled .nav {
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 32px rgba(12, 33, 48, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-logo {
  height: 36px;
  width: auto;
  padding: 4px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(6, 40, 44, 0.28);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--nav-bg);
  background: var(--nav-tint);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  opacity: 0.9;
  transition: opacity 180ms ease, color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-cyan);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 200ms ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.nav-cta {
  justify-self: end;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  min-width: 112px;
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 160, 192, 0.4);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(0, 160, 192, 0.5);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------------- 按钮 ---------------- */
.button {
  min-height: 48px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 26px rgba(0, 128, 192, 0.3);
}

.button-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 14px 34px rgba(0, 128, 192, 0.38);
}

.button-primary:active {
  background: var(--primary-press);
  transform: translateY(0);
}

.button-ghost {
  color: var(--nav-text);
  border-color: rgba(238, 251, 248, 0.42);
  background: rgba(238, 251, 248, 0.08);
}

.button-ghost:hover {
  background: rgba(238, 251, 248, 0.14);
  border-color: rgba(238, 251, 248, 0.7);
}

.button-light {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 10px 26px rgba(6, 40, 44, 0.22);
}

.button-light:hover {
  background: var(--primary-tint);
}

/* ---------------- 区块通用 ---------------- */
.kicker {
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 780px;
}

.section-heading.center {
  margin: 0 auto 20px;
  text-align: center;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.mobile-title-break {
  display: none;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 160px max(24px, calc((100% - var(--max)) / 2)) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #f3f8fc;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 37, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  background:
    radial-gradient(closest-side, rgba(0, 160, 192, 0.28), transparent 70%),
    radial-gradient(closest-side, rgba(0, 192, 0, 0.1), transparent 75%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.44) 30%, rgba(255, 255, 255, 0.12) 58%, rgba(255, 255, 255, 0.32) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.2), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero .kicker {
  color: var(--brand-cyan);
}

.hero-title {
  margin: 20px 0 0;
  font-size: 68px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero-accent {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #4dd4ff 0%, #00c000 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 6px;
  background: linear-gradient(90deg, rgba(0, 160, 192, 0.55), rgba(0, 192, 0, 0.35));
  border-radius: 6px;
  z-index: -1;
}

.hero-proof {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.5;
}

.hero-copy {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.hero-copy p {
  margin: 0 0 10px;
}

.hero-copy strong {
  color: var(--ink);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero 右侧：纯 CSS 课程系统仪表盘 */
.hero-visual {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(460px, 100%);
  perspective: 1200px;
}

.mock-card {
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(3, 24, 28, 0.55);
  transform: rotate(2deg);
  transition: transform 260ms ease;
}

.hero-visual:hover .mock-card {
  transform: rotate(0deg) translateY(-4px);
}

.mock-bar {
  display: flex;
  gap: 6px;
  padding: 2px 2px 14px;
  border-bottom: 1px solid var(--hairline);
}

.mock-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dce7ee;
}

.mock-bar span:first-child {
  background: #ff8a80;
}

.mock-bar span:nth-child(2) {
  background: #ffd56b;
}

.mock-bar span:nth-child(3) {
  background: #7ce0a8;
}

.mock-head {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.mock-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c000;
  box-shadow: 0 0 0 4px rgba(0, 192, 0, 0.16);
  animation: pulse 2s ease-in-out infinite;
}

.mock-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-stats div {
  padding: 14px 8px;
  text-align: center;
  background: var(--primary-tint);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}

.mock-stats strong {
  display: block;
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.mock-stats small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}

.mock-progress {
  margin-top: 16px;
}

.mock-progress span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 750;
}

.mock-progress div {
  height: 8px;
  border-radius: 8px;
  background: #e8f1f6;
  overflow: hidden;
}

.mock-progress i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--grad-brand);
}

.mock-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mock-tags span {
  padding: 6px 12px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(0, 192, 0, 0.16);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 192, 0, 0.05);
  }
}

.hero-stamp {
  position: absolute;
  right: max(36px, calc((100% - var(--max)) / 2));
  bottom: 56px;
  z-index: 2;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(26, 106, 199, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 60px rgba(0, 160, 192, 0.25) inset;
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(var(--stamp-rotate, 0deg));
  transition: transform 280ms ease;
  will-change: transform;
}

.hero-stamp span {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 31px;
  line-height: 1;
}

.hero-stamp small {
  position: absolute;
  bottom: 21px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.06em;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(10, 37, 64, 0.45);
  border-radius: 14px;
  transform: translateX(-50%);
}

.hero-scroll-hint span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--brand-cyan);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

/* ---------------- 服务聚焦（已并入教育智能体版面底部） ---------------- */
.focus-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}

.focus-item {
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    background 220ms ease;
}

.focus-item svg {
  width: 20px;
  height: 20px;
}

/* ---------------- Showcase ---------------- */
.showcase {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: var(--canvas);
}

.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(92deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.66) 30%, rgba(255, 255, 255, 0.34) 58%, rgba(255, 255, 255, 0.56) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.3), transparent 38%);
}

.showcase > .showcase-copy,
.showcase > .showcase-stack {
  position: relative;
  z-index: 2;
}

.showcase-copy h2 {
  margin: 16px 0 0;
  max-width: 600px;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.showcase-copy > p:last-of-type {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.showcase-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
}

.showcase-stats div {
  padding-right: 34px;
}

.showcase-stats div + div {
  padding-left: 34px;
  border-left: 1px solid var(--hairline);
}

.showcase-stats strong {
  display: block;
  color: var(--primary);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.showcase-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.showcase-stack {
  position: relative;
  padding-bottom: 40px;
}

.showcase-cover {
  position: relative;
  padding: 18px 18px 24px;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 64, 96, 0.18);
  transform: rotate(-0.8deg);
  will-change: transform;
}

.showcase-cover[data-parallax] {
  transform: rotate(-0.8deg) translate3d(0, var(--parallax-y, 0px), 0);
}

.showcase-cover::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  height: 30px;
  border: 1px solid var(--hairline);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}

.showcase-cover img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
}

.showcase-cover span {
  position: absolute;
  left: 26px;
  bottom: 22px;
  padding: 6px 14px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.showcase-note {
  position: absolute;
  right: -12px;
  bottom: 0;
  z-index: 2;
  width: min(340px, 88%);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--nav-text);
  background: var(--grad-dark);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.6deg);
}

.showcase-note strong {
  font-size: 17px;
  font-weight: 800;
}

.showcase-note span {
  color: var(--nav-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

/* ---------------- 关于我们 ---------------- */
.about-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--canvas-soft);
}

.about-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  object-fit: contain;
  border-radius: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.about-copy {
  color: var(--ink-soft);
  font-size: 16px;
}

.about-copy p {
  margin: 0 0 18px;
}

.about-copy p:first-child {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.about-quote {
  margin-top: 26px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-soft);
  background: var(--primary-tint);
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
}

.about-quote svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 14px;
}

.about-fact {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.about-fact:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-cyan);
}

.about-fact strong {
  color: var(--primary);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.about-fact span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.about-fact small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.about-fact.fact-feature {
  grid-row: span 2;
  justify-content: center;
  color: var(--nav-text);
  background: var(--grad-dark);
  border-color: transparent;
}

.fact-feature .fact-tag {
  align-self: flex-start;
  padding: 4px 12px;
  color: var(--nav-bg);
  background: var(--nav-tint);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fact-feature strong {
  margin-top: 10px;
  color: #fff;
  font-size: 44px;
  letter-spacing: 0.06em;
}

.fact-feature p {
  margin: 4px 0 0;
  color: var(--nav-muted);
  font-size: 14px;
  line-height: 1.6;
}

.about-links {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-links span {
  padding: 8px 16px;
  color: var(--ink-soft);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

/* ---------------- 四项服务（Bento） ---------------- */
.system-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--nav-text);
  background: var(--grad-dark);
}

.system-section .section-heading {
  margin-bottom: 8px;
}

.system-section .section-heading h2 {
  color: var(--nav-text);
}

.system-section .section-heading p {
  color: var(--nav-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    "feature card2"
    "feature card3"
    "wide wide";
  gap: 16px;
}

.service-card {
  position: relative;
  min-width: 0;
  padding: 24px 26px 20px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-cyan);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:nth-child(1) {
  grid-area: feature;
}

.service-card:nth-child(2) {
  grid-area: card2;
}

.service-card:nth-child(3) {
  grid-area: card3;
}

.service-card:nth-child(4) {
  grid-area: wide;
}

.service-feature::after {
  content: "01";
  position: absolute;
  right: 16px;
  bottom: -8px;
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 128, 192, 0.06);
  pointer-events: none;
  user-select: none;
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 12px;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-card:hover .service-icon {
  color: #fff;
  background: var(--grad-brand);
  transform: translateY(-2px);
}

.service-number {
  color: var(--hairline-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card-title {
  margin: 18px 0 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
}

.service-lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-points {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary-soft);
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.service-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 800;
}

.service-link span {
  transition: transform 180ms ease;
}

.service-card:hover .service-link span {
  transform: translateX(4px);
}

.service-wide {
  padding: 26px 28px;
}

.service-wide-body {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.service-wide-body > div {
  flex: 1 1 260px;
}

.service-wide-body .service-points {
  flex: 0 1 320px;
}

.service-wide-body .service-link {
  margin-top: 0;
}

/* ---------------- 智慧课程建设（Bento） ---------------- */
.smart-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--canvas-tint);
}

.smart-section .section-heading h2 {
  font-size: 48px;
}

.smart-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "a a b"
    "c d d"
    "e f f";
  gap: 16px;
}

.smart-grid > :nth-child(1) {
  grid-area: a;
}

.smart-grid > :nth-child(2) {
  grid-area: b;
}

.smart-grid > :nth-child(3) {
  grid-area: c;
}

.smart-grid > :nth-child(4) {
  grid-area: d;
}

.smart-grid > :nth-child(5) {
  grid-area: e;
}

.smart-grid > :nth-child(6) {
  grid-area: f;
}

.smart-card {
  position: relative;
  padding: 26px 24px 46px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.smart-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-cyan);
}

.smart-index {
  position: absolute;
  top: 14px;
  right: 18px;
  color: var(--primary-soft);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
}

.smart-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(0, 128, 192, 0.28);
}

.smart-icon svg {
  width: 22px;
  height: 22px;
}

.smart-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.smart-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.smart-wide {
  display: flex;
  align-items: center;
  gap: 22px;
}

.smart-wide .smart-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.smart-feature {
  color: var(--nav-text);
  background: var(--grad-dark);
  border-color: transparent;
}

.smart-feature .smart-index {
  color: rgba(238, 251, 248, 0.16);
}

.smart-feature .smart-icon {
  background: var(--grad-green);
  box-shadow: 0 8px 18px rgba(0, 192, 0, 0.3);
}

.smart-feature p {
  color: var(--nav-muted);
}

.smart-chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.smart-chips span {
  padding: 5px 12px;
  color: var(--nav-text);
  background: rgba(238, 251, 248, 0.1);
  border: 1px solid rgba(238, 251, 248, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.smart-open {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background-color 200ms ease;
}

.smart-open svg {
  width: 14px;
  height: 14px;
}

.smart-card:hover .smart-open,
.smart-card:focus-visible .smart-open,
.smart-card:active .smart-open {
  opacity: 1;
  transform: translateY(0);
}

.smart-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.smart-feature .smart-open {
  color: var(--nav-text);
  background: rgba(238, 251, 248, 0.14);
}

@media (pointer: coarse) {
  .smart-open {
    opacity: 1;
    transform: none;
  }
}

.smart-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: default;
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: none;
}

.smart-cta-card .smart-index {
  color: rgba(255, 255, 255, 0.22);
}

.smart-cta-card p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.smart-cta-card .button {
  margin-top: 16px;
}

.smart-cta-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

/* ---------------- 解决方案 ---------------- */
.solution-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
  background: var(--canvas);
}

.solution-copy h2 {
  margin: 16px 0 0;
  max-width: 580px;
  font-size: clamp(44px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.solution-copy > p {
  margin: 20px 0 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.solution-copy .button {
  margin-top: 32px;
}

.solution-process {
  padding: 30px 0 0;
  border-top: 1px solid var(--hairline-strong);
}

.solution-process-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px 20px;
}

.solution-process-head span {
  grid-column: 1 / -1;
  color: var(--primary);
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.solution-process-head strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.solution-process-head small {
  color: var(--primary);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.process-steps {
  position: relative;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 0;
  border-left: 1px solid rgba(26, 106, 199, 0.24);
  border-bottom: 1px solid rgba(26, 106, 199, 0.24);
  pointer-events: none;
}

.step-item {
  position: relative;
  z-index: 1;
  min-height: 112px;
  padding: 20px 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(10, 66, 126, 0.06);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.step-item:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-cyan);
}

.step-num {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 128, 192, 0.28);
}

.step-item:nth-child(even) .step-num {
  background: var(--grad-green);
  box-shadow: 0 8px 18px rgba(0, 192, 0, 0.26);
}

.step-item strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.step-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.solution-note {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
  border-left: 2px solid var(--brand-cyan);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------- FTD 方法 ---------------- */
.method-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
  background: var(--canvas-soft);
}

.method-intro {
  position: relative;
}

.method-intro h2 {
  margin: 16px 0 0;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.method-intro p {
  max-width: 460px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.method-mark {
  position: absolute;
  right: -10px;
  top: -30px;
  color: rgba(0, 128, 192, 0.07);
  font-size: 130px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.method-tabs {
  margin-bottom: 18px;
  padding: 5px;
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  gap: 4px;
  background: #e9f1f7;
  border-radius: 999px;
}

.method-tabs button {
  padding: 9px 24px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.method-tabs button.is-active {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 8px 20px rgba(0, 128, 192, 0.3);
}

.method-panel {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: opacity 160ms ease, transform 160ms ease;
}

.method-panel.is-switching {
  opacity: 0.4;
  transform: translateY(6px);
}

.method-panel > div {
  padding: 40px 42px;
}

.method-panel span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.method-panel h3 {
  margin: 14px 0 0;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.method-panel p {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}

.method-panel img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.method-foot {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.method-foot div {
  padding: 14px 18px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.method-foot span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.method-foot small {
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------------- 跑马灯 ---------------- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--nav-bg);
  border-top: 1px solid rgba(238, 251, 248, 0.1);
  border-bottom: 1px solid rgba(238, 251, 248, 0.1);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
}

.marquee span {
  padding: 0 42px;
  color: rgba(238, 251, 248, 0.85);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.marquee span::before {
  content: "✦";
  margin-right: 42px;
  color: var(--brand-cyan);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- 案例 + 跑马灯（同屏） ---------------- */
.cases-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 88px max(24px, calc((100% - var(--max)) / 2)) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--canvas-soft);
}

.cases-section .marquee {
  margin-bottom: 36px;
  padding: 12px 0;
  border: 1px solid rgba(238, 251, 248, 0.12);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.cases-section .marquee span {
  font-size: 13.5px;
}

.cases-section .section-heading h2 {
  font-size: 40px;
}

.cases-section .section-heading p {
  margin-top: 12px;
  font-size: 15px;
}

.case-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-cyan);
}

.case-featured {
  position: relative;
}

.case-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  z-index: 2;
}

.case-media {
  position: relative;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-card:hover .case-media img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 4px 11px;
  color: #fff;
  background: var(--grad-dark);
  border: 1px solid rgba(238, 251, 248, 0.2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.case-card:nth-child(2) .case-tag {
  background: var(--grad-brand);
}

.case-card:nth-child(3) .case-tag {
  background: var(--grad-green);
}

.case-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.case-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.case-tags {
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.case-tags li {
  padding: 3px 9px;
  color: var(--ink-soft);
  background: var(--primary-tint);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.case-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 800;
}

.case-link span {
  transition: transform 180ms ease;
}

.case-card:hover .case-link span {
  transform: translateX(4px);
}

/* ---------------- 合作院校 ---------------- */
.partners-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  background: var(--canvas);
}

.partners-copy h2 {
  margin: 16px 0 0;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.partners-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.partners-badge {
  margin-top: 24px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.partners-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.logo-grid img {
  width: 100%;
  height: 120px;
  padding: 20px;
  object-fit: contain;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  filter: grayscale(0.35);
  transition:
    transform 200ms ease,
    filter 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.logo-grid img:hover {
  transform: translateY(-4px) scale(1.03);
  filter: none;
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-cyan);
}

/* ---------------- 联系 CTA ---------------- */
.contact-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--canvas);
}

.contact-hero {
  position: relative;
  flex: 1;
  min-height: 620px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 28px;
  overflow: hidden;
  color: var(--nav-text);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  opacity: 0.34;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 45, 49, 0.35) 0%, rgba(8, 48, 56, 0.18) 60%, rgba(8, 48, 56, 0.08) 100%);
}

.contact-hero > .contact-hero-copy {
  position: relative;
  z-index: 1;
  transform: none;
  will-change: auto;
}

.contact-hero .kicker {
  color: var(--brand-cyan);
}

.contact-hero h2 {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.contact-hero .button {
  margin-top: 34px;
}

.contact-cards {
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition:
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-cyan);
}

.contact-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 11px;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.contact-card strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.3;
  word-break: break-all;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  color: rgba(238, 251, 248, 0.78);
  background: #082129;
}

#footer-contact {
  scroll-margin-top: 120px;
}

.footer-grid {
  padding: 72px max(24px, calc((100% - var(--max)) / 2)) 48px;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr 0.85fr;
  gap: 44px 56px;
  align-items: start;
}

.footer-brand {
  display: block;
}

.footer-logo {
  height: 48px;
  width: auto;
  padding: 5px;
  background: #fff;
  border-radius: 10px;
}

.footer-tagline {
  max-width: 380px;
  margin: 18px 0 0;
  color: rgba(238, 251, 248, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--nav-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer-col a {
  display: block;
  color: rgba(238, 251, 248, 0.78);
}

.footer-nav a {
  padding: 5px 0;
  font-size: 15px;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--brand-cyan);
}

.footer-contact p {
  margin: 0 0 16px;
  color: rgba(238, 251, 248, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.footer-person {
  display: block;
  margin-bottom: 6px;
  color: var(--nav-text);
  font-weight: 800;
}

.footer-col .footer-phone {
  font-size: 26px;
  font-weight: 900;
  color: var(--nav-text);
  transition: color 180ms ease;
}

.footer-col .footer-phone:hover {
  color: var(--brand-cyan);
}

.footer-wechat {
  display: inline-block;
  margin: 4px 0 14px;
  padding: 3px 10px;
  color: var(--nav-bg);
  background: var(--nav-tint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.footer-email {
  font-size: 15px;
  transition: color 180ms ease;
}

.footer-email:hover {
  color: var(--brand-cyan);
}

.footer-qr img {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(238, 251, 248, 0.16);
  border-radius: 10px;
}

.footer-qr {
  justify-self: start;
}

.footer-bottom {
  padding: 22px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid rgba(238, 251, 248, 0.1);
  color: rgba(238, 251, 248, 0.55);
  font-size: 13px;
}

/* ---------------- 进场动画 ---------------- */
[data-animate] {
  opacity: 1;
  transform: none;
  transition:
    opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--delay, 0) * 90ms);
}

body.is-ready [data-animate]:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.99);
  will-change: transform, opacity;
}

body.is-ready [data-animate="fade-right"]:not(.is-visible) {
  transform: translate3d(-42px, 14px, 0) scale(0.99);
}

body.is-ready [data-animate="fade-left"]:not(.is-visible) {
  transform: translate3d(42px, 14px, 0) scale(0.99);
}

body.is-ready [data-animate="zoom"]:not(.is-visible) {
  transform: translate3d(0, 24px, 0) scale(0.95);
}

body.is-ready [data-animate="card"]:not(.is-visible) {
  transform: translate3d(0, 48px, 0) rotate(0.3deg);
}

body.is-ready [data-animate="hero"] {
  opacity: 1;
  transform: none;
}

[data-animate="hero"] {
  opacity: 1;
  transform: none;
}

[data-animate].is-visible,
body.is-ready [data-animate="hero"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

body.is-ready .hero-title {
  animation: titleReveal 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.is-ready .hero .kicker {
  animation: riseFade 720ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

@keyframes titleReveal {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 22px, 0);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, var(--title-shift, 0px), 0);
  }
}

@keyframes riseFade {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-proof {
    font-size: 18px;
  }

  .hero-stamp {
    width: 92px;
    height: 92px;
    bottom: 44px;
  }

  .service-grid,
  .smart-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-areas:
      "feature card2"
      "feature card3"
      "wide wide";
  }

  .smart-grid {
    grid-template-areas:
      "a b"
      "c d"
      "e f";
  }

  .showcase,
  .about-grid,
  .method-section,
  .solution-section {
    grid-template-columns: 1fr;
  }

  .method-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .hero {
    min-height: calc(100svh - 58px);
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-proof {
    max-width: 560px;
    margin-top: 16px;
    font-size: 17px;
  }

  .hero-copy {
    max-width: 520px;
    margin-top: 16px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-stamp {
    display: none;
  }

  .hero-scroll-hint {
    display: none;
  }

  .mock-card {
    transform: scale(0.9) rotate(2deg);
  }
}

@media (max-width: 820px) {
  .topline {
    min-height: 46px;
    padding: 9px 48px 9px 24px;
    font-size: 13px;
    line-height: 1.35;
  }

  .nav {
    width: 100%;
    height: 70px;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    padding: 8px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .brand {
    justify-self: center;
  }

  .nav .brand-mark {
    display: none;
  }

  .brand-name {
    font-size: 21px;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header-top) + 70px);
    right: 12px;
    left: 12px;
    display: none;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    color: var(--ink);
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 10px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    background: var(--primary-tint);
    color: var(--primary);
  }

  .nav-cta {
    min-width: 90px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 150px 24px 60px;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-proof {
    font-size: 17px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-stamp {
    width: 84px;
    height: 84px;
    right: 24px;
    bottom: 90px;
  }

  .hero-stamp span {
    font-size: 26px;
  }

  .hero-stamp small {
    display: none;
  }

  .hero-scroll-hint {
    display: none;
  }

  .focus-item:nth-child(even) {
    transform: none;
  }

  .showcase,
  .system-section,
  .smart-section,
  .solution-section,
  .method-section,
  .cases-section,
  .partners-section,
  .contact-section,
  .about-section {
    padding-top: 104px;
    padding-bottom: 80px;
  }

  .showcase-copy h2,
  .section-heading h2,
  .solution-copy h2,
  .partners-copy h2,
  .contact-hero h2,
  .method-intro h2 {
    font-size: 38px;
  }

  .mobile-title-break {
    display: inline;
  }

  .showcase-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase-stats div {
    padding-right: 16px;
  }

  .showcase-stats div + div {
    padding-left: 16px;
  }

  .service-grid,
  .smart-grid,
  .case-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .service-grid > *,
  .smart-grid > *,
  .case-grid > * {
    grid-area: auto !important;
  }

  .service-grid {
    gap: 12px;
  }

  .service-wide-body {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .service-wide-body .service-link {
    margin-top: 0;
  }

  .smart-wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .smart-wide .smart-icon {
    margin-bottom: 14px;
  }

  .about-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-fact.fact-feature {
    grid-row: auto;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .method-foot {
    grid-template-columns: 1fr;
  }

  .case-media img {
    height: 170px;
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-hero {
    min-height: 0;
    padding: 34px;
  }

  .contact-cards {
    margin-top: 0;
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 140px;
    padding-bottom: 44px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-stamp {
    width: 72px;
    height: 72px;
    right: 20px;
    bottom: 84px;
  }

  .hero-stamp span {
    font-size: 23px;
  }

  .hero-actions,
  .process-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .focus-row {
    gap: 10px;
  }

  .focus-item {
    padding: 11px 16px;
    font-size: 14px;
  }

  .showcase-cover {
    transform: none;
  }

  .showcase-cover[data-parallax] {
    transform: none;
  }

  .showcase-cover img {
    height: 220px;
  }

  .showcase-note {
    position: static;
    width: 100%;
    margin-top: -10px;
    transform: none;
  }

  .showcase-stats strong {
    font-size: 24px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .method-tabs {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .method-tabs button {
    border-radius: 10px;
  }

  .method-panel {
    padding: 12px;
  }

  .method-panel > div {
    padding: 28px 20px;
  }

  .method-panel h3 {
    font-size: 30px;
  }

  .method-panel img {
    height: 220px;
  }

  .case-media img {
    height: 170px;
  }

  .logo-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .contact-hero {
    min-height: 0;
    padding: 56px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 56px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-parallax],
  .hero-image,
  .hero-title,
  .hero-stamp,
  .showcase-cover,
  .contact-hero > div {
    transform: none !important;
  }

  .marquee-track,
  .mock-live,
  .hero-scroll-hint span {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------------- 智慧课程放大预览 ---------------- */
body.preview-open {
  overflow: hidden;
}

.preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.preview-overlay[hidden] {
  display: none;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 30, 0.72);
  backdrop-filter: blur(8px);
  animation: previewFade 240ms ease;
}

.preview-panel {
  position: relative;
  z-index: 1;
  width: min(1400px, 96vw);
  height: min(92vh, 940px);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  background: var(--canvas);
  border-radius: 20px;
  box-shadow: 0 40px 120px rgba(3, 24, 28, 0.55);
  overflow: hidden;
  animation: previewPanel 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.preview-hint {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  padding: 6px 14px;
  color: var(--nav-text);
  background: rgba(7, 45, 49, 0.62);
  border: 1px solid rgba(238, 251, 248, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  pointer-events: none;
  white-space: nowrap;
}

.preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 180ms ease, background-color 180ms ease;
}

.preview-close:hover {
  transform: rotate(90deg) scale(1.05);
  background: var(--primary-tint);
}

.preview-media {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(0, 160, 192, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, #0b3d42 0%, #072d31 100%);
  overflow: hidden;
}

.preview-info {
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  overflow-y: auto;
}

.preview-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-info h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.preview-info p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-tags span {
  padding: 5px 12px;
  color: var(--ink-soft);
  background: var(--primary-tint);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
}

/* 视频播放器 */
.preview-video {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.preview-video video {
  width: 100%;
  max-height: 86vh;
  aspect-ratio: 16 / 9;
  background: #000;
}

.preview-video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  color: rgba(238, 251, 248, 0.88);
}

.preview-video-fallback svg {
  width: 54px;
  height: 54px;
  color: var(--brand-cyan);
}

.preview-video-fallback strong {
  font-size: 17px;
}

.preview-video-fallback span {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.7;
}

.preview-video-fallback code {
  padding: 3px 8px;
  color: var(--brand-cyan);
  background: rgba(238, 251, 248, 0.12);
  border-radius: 8px;
  font-size: 13px;
}

/* 画廊 / 单图 */
.preview-figure {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  margin: 0;
}

.preview-figure.is-active {
  display: grid;
  animation: previewFade 260ms ease;
}

.preview-figure img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.preview-figcaption {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 6px 14px;
  color: var(--nav-text);
  background: rgba(7, 45, 49, 0.78);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(238, 251, 248, 0.14);
  border: 1px solid rgba(238, 251, 248, 0.24);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color 180ms ease, transform 180ms ease;
}

.gallery-nav:hover {
  background: rgba(238, 251, 248, 0.28);
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 7px;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(238, 251, 248, 0.35);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.gallery-dots button.is-active {
  background: var(--brand-cyan);
  transform: scale(1.3);
}

.gallery-count {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 4;
  padding: 4px 10px;
  color: var(--nav-text);
  background: rgba(7, 45, 49, 0.6);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* 详情视图 */
.preview-detail {
  width: 100%;
  max-height: 78vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  overflow-y: auto;
}

.preview-detail ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: step;
}

.preview-detail li {
  position: relative;
  padding: 16px 18px 16px 58px;
  counter-increment: step;
  background: rgba(238, 251, 248, 0.07);
  border: 1px solid rgba(238, 251, 248, 0.14);
  border-radius: 14px;
  color: rgba(238, 251, 248, 0.9);
  font-size: 15px;
  font-weight: 700;
}

.preview-detail li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--nav-bg);
  background: var(--nav-tint);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.preview-detail .button {
  align-self: flex-start;
}

@keyframes previewFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes previewPanel {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .preview-overlay {
    padding: 12px;
  }

  .preview-hint {
    display: none;
  }

  .preview-panel {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
  }

  .preview-media {
    min-height: 260px;
  }

  .preview-figure img {
    max-height: 46vh;
  }

  .preview-video video {
    max-height: 46vh;
  }

  .preview-detail {
    max-height: 46vh;
    padding: 24px;
  }

  .preview-info {
    padding: 26px 22px 30px;
  }

  .preview-info h3 {
    font-size: 24px;
  }

  .preview-close {
    top: 10px;
    right: 10px;
  }
}


/* ================================================================
   Focus visibility for keyboard users
   ================================================================ */
.method-tabs button:focus-visible,
.nav-toggle:focus-visible,
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.button:focus-visible,
.contact-card:focus-visible,
.preview-close:focus-visible,
.gallery-nav:focus-visible,
.gallery-dots button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.hero,
.ai-agent-section,
.showcase,
.about-section,
.system-section,
.smart-section,
.solution-section,
.method-section,
.cases-section,
.partners-section,
.faq-section,
.contact-section {
  scroll-margin-top: 84px;
}

@media (pointer: coarse) {
  html {
    scroll-snap-type: y proximity;
  }

  .hero,
  .ai-agent-section,
  .showcase,
  .about-section,
  .system-section,
  .smart-section,
  .solution-section,
  .method-section,
  .cases-section,
  .partners-section,
  .faq-section,
  .contact-section {
    scroll-snap-align: start;
    scroll-margin-top: 84px;
  }
}

/* ================================================================
   V2 Redesign · landing-page-guide-v2
   ----------------------------------------------------------------
   设计方向：Editorial & Academic（编辑感 · 学术感）
   - 展示字体：Noto Serif SC（思源宋体，自托管子集），摆脱通用无衬线
   - 拉丁强调：Space Grotesk（自托管子集），用于数字 / 英文 kicker
   - 配色：延续品牌青蓝体系（DESIGN.md），深青 + 白画布 + 发丝线
   - 动效：Hero 逐行揭示、数字滚动、FAQ 手风琴、卡片上浮 + 箭头滑动
   - 纹理：深色区颗粒噪点 + 网格，浅色区点阵装饰
   - 新增板块：高校反馈（Element 8）、常见问题（Element 9）
   ================================================================ */

/* ---------------- 字体 ---------------- */
@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/noto-serif-sc-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-subset.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-latin: "Space Grotesk", "Noto Serif SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --shadow-glow: 0 18px 44px rgba(0, 128, 192, 0.32);
  --noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  --dots-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1.3' fill='%230080c0' fill-opacity='0.10'/%3E%3C/svg%3E");

  /* 统一深色层：品牌/行动区（Hero / 教育智能体 / 服务 / 联系 / 页脚） */
  --bg-deep: linear-gradient(180deg, #0a2540 0%, #103a82 50%, #1a6ac7 100%);
  --bg-deep-noise: var(--noise-dark), var(--bg-deep);
}

body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

::selection {
  background: rgba(0, 128, 192, 0.22);
  color: var(--ink);
}

/* ---------------- Kicker（编辑感小标） ---------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.65;
}

.section-heading.center .kicker::before {
  margin-left: auto;
}

.section-heading h2,
.about-section h2,
.method-intro h2,
.contact-hero h2,
.showcase h2 {
  font-weight: 800;
  letter-spacing: 0.005em;
}

/* ---------------- 按钮：胶囊 + 渐变 + 箭头微交互 ---------------- */
.button {
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-latin);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button-primary {
  background: linear-gradient(135deg, #0080c0 0%, #00a0c0 100%);
  box-shadow:
    0 12px 30px rgba(0, 128, 192, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button-primary:hover {
  background: linear-gradient(135deg, #0090d0 0%, #00b0d6 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 44px rgba(0, 128, 192, 0.46);
}

.button-primary:active {
  transform: translateY(0) scale(0.99);
}

.button-ghost {
  background: rgba(238, 251, 248, 0.08);
  border-color: rgba(238, 251, 248, 0.35);
}

.button-ghost:hover {
  background: rgba(238, 251, 248, 0.16);
  border-color: rgba(238, 251, 248, 0.75);
  transform: translateY(-3px);
}

.button-light {
  box-shadow: 0 14px 34px rgba(6, 40, 44, 0.26);
}

.button-light:hover {
  background: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 48px rgba(6, 40, 44, 0.34);
}

.button-xl {
  min-height: 62px;
  padding: 18px 40px;
  font-size: 17px;
}

.button-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover .button-arrow,
.button:focus-visible .button-arrow {
  transform: translateX(5px);
}

/* ---------------- Hero：大字号编辑感标题 ---------------- */
.hero {
  background: #f3f8fc;
}

.hero-shade {
  background:
    linear-gradient(92deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.44) 30%, rgba(255, 255, 255, 0.12) 58%, rgba(255, 255, 255, 0.32) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.2), transparent 40%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 106, 199, 0.22);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12);
  font-family: var(--font-latin);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}

.hero .button-ghost {
  color: var(--primary);
  border-color: rgba(26, 106, 199, 0.35);
  background: rgba(255, 255, 255, 0.62);
}

.hero .button-ghost:hover {
  color: var(--primary-hover);
  border-color: rgba(26, 106, 199, 0.62);
  background: rgba(255, 255, 255, 0.9);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(0, 192, 0, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero-title {
  margin: 26px 0 0;
  font-size: clamp(52px, 6.4vw, 86px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.01em;
  transform: translate3d(0, var(--title-shift, 0px), 0);
}

.hero-line {
  display: block;
}

.hero-accent {
  background: linear-gradient(100deg, #4dd4ff 0%, #00c000 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-accent::after {
  height: 7px;
  bottom: 6px;
  background: linear-gradient(90deg, rgba(0, 160, 192, 0.5), rgba(0, 192, 0, 0.28));
}

/* Hero 逐行揭示 */
body:not(.is-ready) .hero-title {
  clip-path: none;
}

body.is-ready .hero-title {
  animation: none;
}

body:not(.is-ready) .hero-line {
  clip-path: none;
  transform: none;
}

body.is-ready .hero-line {
  animation: lineReveal 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--line-i, 0) * 150ms);
}

@keyframes lineReveal {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 28px, 0);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }
}

.hero-proof {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-trust {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 580px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--brand-green);
}

/* Hero 右侧仪表盘 */
.mock-card {
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(3, 24, 28, 0.6);
}

.mock-head {
  font-family: var(--font-latin);
  font-weight: 700;
}

.mock-stats strong {
  font-family: var(--font-latin);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mock-stats div {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.mock-stats div:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 128, 192, 0.35);
  box-shadow: 0 10px 22px rgba(0, 128, 192, 0.14);
}

.hero-stamp {
  border-width: 1.5px;
  background:
    radial-gradient(closest-side, rgba(0, 160, 192, 0.28), transparent 75%),
    rgba(255, 255, 255, 0.62);
}

.hero-stamp span {
  font-family: var(--font-latin);
  font-weight: 700;
}

.hero-stamp small {
  font-family: var(--font-latin);
}

/* ---------------- 数字：拉丁展示字体 ---------------- */
.showcase-stats strong,
.about-fact strong,
.smart-index,
.service-number,
.step-num,
.method-mark,
.method-foot span,
.partners-badge,
.case-tag,
.faq-item summary span {
  font-family: var(--font-latin);
}

/* ---------------- 服务卡片：渐变图标 + 悬浮辉光 ---------------- */
.service-icon,
.smart-icon {
  background: linear-gradient(135deg, #e3f2fb 0%, #d3ecf8 100%);
  border: 1px solid rgba(0, 128, 192, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-card:hover,
.smart-card:hover,
.case-card:hover {
  border-color: rgba(0, 128, 192, 0.28);
  box-shadow: 0 22px 48px rgba(0, 128, 192, 0.14);
}

/* ---------------- 深色区噪点 ---------------- */
.system-section {
  background: var(--bg-deep-noise);
}

/* ================================================================
   高校反馈 · Testimonials（Element 8）
   ================================================================ */
.testimonials-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 92px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.86);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 34px auto 0;
}

.testimonial-card {
  position: relative;
  padding: 26px 26px 22px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.testimonial-card:nth-child(even) {
  margin-top: 20px;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 128, 192, 0.28);
  box-shadow: var(--shadow-glow);
}

.testimonial-quote {
  position: absolute;
  top: 2px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 1;
  color: rgba(0, 128, 192, 0.12);
  user-select: none;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--primary);
  font-size: 15px;
  letter-spacing: 2px;
}

.testimonial-text {
  margin: 12px 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  background: linear-gradient(135deg, #0080c0 0%, #00a0c0 100%);
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(0, 128, 192, 0.22);
}

.testimonial-person strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.testimonial-person div span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ================================================================
   常见问题 · FAQ（Element 9）
   ================================================================ */
.faq-section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 88px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--canvas);
}

.faq-list {
  max-width: 860px;
  margin: 34px auto 0;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.faq-item[open],
.faq-item.is-closing {
  border-color: rgba(0, 128, 192, 0.3);
  box-shadow: 0 16px 40px rgba(0, 128, 192, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary-soft);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), background 240ms ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  transform: rotate(135deg);
  background: var(--primary);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #fff;
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 320ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 280ms ease;
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-body p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ================================================================
   联系 CTA（Element 10）：更大按钮 + 微权益
   ================================================================ */
.contact-hero {
  background: var(--bg-deep-noise);
}

.contact-hero h2 {
  font-weight: 800;
}

.contact-benefits {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.contact-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(238, 251, 248, 0.9);
  font-size: 13.5px;
  font-weight: 600;
}

.contact-benefits li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #06282c;
  background: var(--brand-green);
  font-size: 11px;
  font-weight: 900;
}

/* ---------------- Footer ---------------- */
.footer-bottom {
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-legal {
  opacity: 0.7;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-title {
    font-size: clamp(46px, 7vw, 64px);
  }

  .testimonial-grid {
    gap: 16px;
  }

  .testimonial-card:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .testimonials-section,
  .faq-section {
    min-height: 0;
    padding: 88px 20px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    padding: 17px 20px;
    font-size: 15.5px;
  }

  .faq-body p {
    padding: 0 20px 20px;
  }

  .contact-benefits {
    gap: 10px 18px;
  }

  .hero-badge {
    font-size: 12.5px;
  }
}

/* ---------------- 减少动态 ---------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-badge-dot,
  .mock-live {
    animation: none;
  }
}


/* ================================================================
   教育智能体旗舰版面 · Education AI
   - 深青底 + 青蓝霓虹光晕 + 数据流纹理（延续品牌青蓝体系，非紫色 AI 模板）
   - 三张方向卡 + 右侧「教师提问→智能体应答」示意
   ================================================================ */
.ai-agent-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 104px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--nav-text);
  background: var(--bg-deep-noise);
}

/* 数据流/网格纹理 */
.ai-agent-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(238, 251, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 251, 248, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(85% 90% at 70% 50%, rgba(0, 0, 0, 0.85), transparent 85%);
  pointer-events: none;
}

/* 青蓝光晕 */
.ai-agent-section::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 560px;
  height: 560px;
  background:
    radial-gradient(closest-side, rgba(0, 160, 192, 0.30), transparent 70%),
    radial-gradient(closest-side, rgba(0, 192, 0, 0.10), transparent 75%);
  filter: blur(12px);
  pointer-events: none;
}

.ai-agent-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
}

.ai-agent-copy .kicker {
  color: var(--brand-cyan);
}

.ai-agent-title {
  margin: 20px 0 0;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.005em;
}

.ai-agent-accent {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, #4dd4ff 0%, #00c000 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

.ai-agent-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 6px;
  background: linear-gradient(90deg, rgba(0, 160, 192, 0.5), rgba(0, 192, 0, 0.28));
  border-radius: 6px;
  z-index: -1;
}

.ai-agent-lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(238, 251, 248, 0.9);
  font-size: 18px;
  line-height: 1.7;
}

/* 三张方向卡 */
.ai-directions {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.ai-direction {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 20px;
  background: rgba(238, 251, 248, 0.07);
  border: 1px solid rgba(238, 251, 248, 0.14);
  border-radius: 16px;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 260ms ease, background 260ms ease;
}

.ai-direction:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 160, 192, 0.5);
  background: rgba(238, 251, 248, 0.1);
}

.ai-direction-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: linear-gradient(135deg, #0080c0 0%, #00a0c0 100%);
  box-shadow: 0 10px 22px rgba(0, 128, 192, 0.4);
}

.ai-direction-icon svg {
  width: 22px;
  height: 22px;
}

.ai-direction h3 {
  margin: 0;
  color: var(--nav-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.ai-direction p {
  margin: 6px 0 0;
  color: var(--nav-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.ai-agent-cta {
  margin-top: 32px;
}

/* 右侧：智能体工作台示意 */
.ai-agent-visual {
  position: relative;
  justify-self: center;
  width: min(520px, 100%);
}

.ai-panel {
  position: relative;
  padding: 16px;
  background: rgba(11, 45, 50, 0.88);
  border: 1px solid rgba(238, 251, 248, 0.16);
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(3, 24, 28, 0.6);
}

.ai-panel-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(238, 251, 248, 0.12);
}

.ai-panel-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a5a5e;
}

.ai-panel-bar span:first-child { background: #ff8a80; }
.ai-panel-bar span:nth-child(2) { background: #ffd56b; }
.ai-panel-bar span:nth-child(3) { background: #7ce0a8; }

.ai-panel-bar em {
  margin-left: auto;
  font-family: var(--font-latin);
  font-style: normal;
  color: var(--nav-muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ai-panel-body {
  padding-top: 18px;
  display: grid;
  gap: 14px;
}

.ai-msg {
  position: relative;
  max-width: 88%;
  padding: 13px 16px;
  border-radius: 14px;
  animation: aiMsgIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ai-msg-teacher {
  justify-self: end;
  background: rgba(0, 128, 192, 0.22);
  border: 1px solid rgba(0, 160, 192, 0.35);
  animation-delay: 300ms;
}

.ai-msg-agent {
  justify-self: start;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(238, 251, 248, 0.2);
  animation-delay: 900ms;
}

.ai-msg-tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ai-msg-teacher .ai-msg-tag { background: rgba(0, 160, 192, 0.4); color: #bfeaff; }
.ai-msg-agent .ai-msg-tag { background: rgba(0, 192, 0, 0.25); color: #b8f3c0; }

.ai-msg p {
  margin: 0;
  color: rgba(238, 251, 248, 0.92);
  font-size: 14px;
  line-height: 1.7;
}

.ai-kb {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 128, 192, 0.12);
  border: 1px solid rgba(0, 160, 192, 0.28);
  text-align: center;
  animation: aiMsgIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 1500ms both;
}

.ai-kb > span {
  font-family: var(--font-latin);
  color: var(--brand-cyan);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ai-kb-flow {
  margin: 12px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.ai-kb-flow i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(0, 160, 192, 0.15);
  animation: aiFlow 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.14s);
}

.ai-kb small {
  display: block;
  margin-top: 10px;
  color: var(--nav-muted);
  font-size: 11.5px;
}

.ai-abilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: aiMsgIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 1900ms both;
}

.ai-abilities span {
  padding: 6px 13px;
  color: var(--brand-cyan);
  background: rgba(0, 160, 192, 0.14);
  border: 1px solid rgba(0, 160, 192, 0.3);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.ai-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 30px rgba(3, 24, 28, 0.4);
  animation: floaty 5s ease-in-out infinite;
}

.ai-chip-cyan {
  top: -18px;
  right: -10px;
  background: var(--grad-brand);
}

.ai-chip-green {
  bottom: -16px;
  left: -14px;
  background: var(--grad-green);
  animation-delay: 1.2s;
}

@keyframes aiMsgIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes aiFlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* 教育智能体版面底部：服务聚焦项（深底适配） */
.ai-agent-section .focus-row {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(238, 251, 248, 0.14);
}

.ai-agent-section .focus-item {
  color: rgba(238, 251, 248, 0.92);
  background: rgba(238, 251, 248, 0.07);
  border: 1px solid rgba(238, 251, 248, 0.16);
}

.ai-agent-section .focus-item svg {
  color: var(--brand-cyan);
}

.ai-agent-section .focus-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 160, 192, 0.5);
  background: rgba(238, 251, 248, 0.12);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .ai-agent-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ai-agent-visual {
    order: -1;
    width: min(520px, 100%);
  }
  .ai-agent-title { font-size: clamp(34px, 5.4vw, 46px); }
}

@media (max-width: 760px) {
  .ai-agent-section {
    min-height: 0;
    padding: 88px 20px;
  }
  .ai-direction { padding: 16px; }
  .ai-agent-title { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-msg, .ai-kb, .ai-abilities { animation: none; }
  .ai-kb-flow i { animation: none; }
}


/* ---------------- 内容板块统一白底：细分隔线 ---------------- */
.showcase,
.about-section,
.smart-section,
.solution-section,
.method-section,
.cases-section,
.testimonials-section,
.partners-section,
.faq-section {
  border-top: 1px solid var(--hairline);
}

/* 深色层与白色层之间不需要发丝线（自然过渡） */
.hero,
.ai-agent-section,
.system-section,
.contact-section,
.site-footer {
  border-top: none;
}

/* ================================================================
   统一蓝白画布：纯白底承载内容，仅以淡蓝细纹保持层次
   ================================================================ */
:root {
  --surface-pattern:
    linear-gradient(rgba(26, 106, 199, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 106, 199, 0.055) 1px, transparent 1px);
}

body,
.hero,
.ai-agent-section,
.showcase,
.about-section,
.system-section,
.smart-section,
.solution-section,
.method-section,
.cases-section,
.partners-section,
.faq-section,
.contact-section,
.site-footer {
  color: var(--ink);
  background-color: #fff;
  background-image: var(--surface-pattern);
  background-size: 56px 56px;
}

/* ---------------- 智慧课程：统一的五阶段建设路径 ---------------- */
.smart-section {
  min-height: 0;
  display: block;
  padding-top: 96px;
  padding-bottom: 96px;
}

.smart-path {
  max-width: var(--max);
  margin: 34px auto 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  border: 1px solid rgba(26, 106, 199, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.smart-path li {
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #31506d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.smart-path li + li {
  border-left: 1px solid rgba(26, 106, 199, 0.16);
}

.smart-path span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: #fff;
  background: #1a6ac7;
  border-radius: 50%;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 900;
}

.smart-grid {
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-areas: none;
  gap: 14px;
}

.smart-grid > * {
  grid-area: auto !important;
}

.smart-card,
.smart-card.smart-feature {
  min-height: 340px;
  padding: 24px 20px 64px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 106, 199, 0.2);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(10, 66, 126, 0.06);
}

.smart-card:hover {
  transform: translateY(-4px);
  border-color: #1a6ac7;
  box-shadow: 0 16px 30px rgba(10, 66, 126, 0.14);
}

.smart-index {
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  color: #1a6ac7;
  background: #e8f3ff;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 0;
}

.smart-icon,
.smart-feature .smart-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: #fff;
  background: #1a6ac7;
  border: 1px solid #1a6ac7;
  border-radius: 6px;
  box-shadow: 0 7px 14px rgba(26, 106, 199, 0.24);
}

.smart-icon svg {
  width: 23px;
  height: 23px;
}

.smart-stage,
.smart-card .smart-stage {
  margin: 0 0 7px;
  color: #1a6ac7;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.3;
}

.smart-card h3 {
  max-width: calc(100% - 42px);
  font-size: 18px;
  line-height: 1.38;
}

.smart-card p:not(.smart-stage) {
  margin-top: 9px;
  color: #50677d;
  font-size: 13px;
  line-height: 1.72;
}

.smart-feature p,
.smart-feature .smart-stage {
  color: inherit;
}

.smart-chips {
  margin-top: 13px;
  gap: 6px;
}

.smart-chips span {
  padding: 4px 7px;
  color: #1a6ac7;
  background: #eef7ff;
  border: 1px solid #d2e8fb;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 750;
}

.smart-open,
.smart-feature .smart-open {
  right: 14px;
  bottom: 16px;
  padding: 0;
  color: #1a6ac7;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  opacity: 1;
  transform: none;
}

.smart-open::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.smart-open svg {
  display: none;
}

.smart-cta {
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #edf7ff;
  border: 1px solid #cbe5fa;
}

.smart-cta p {
  margin: 0;
  color: #284b6b;
  font-size: 15px;
  font-weight: 750;
}

.smart-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .smart-path,
  .smart-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smart-path li:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .smart-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .smart-path {
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smart-path li {
    justify-content: flex-start;
    padding: 11px 12px;
  }

  .smart-path li:nth-child(3),
  .smart-path li:nth-child(5) {
    border-left: 0;
  }

  .smart-path li:nth-child(n + 3) {
    border-top: 1px solid rgba(26, 106, 199, 0.16);
  }

  .smart-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .smart-card,
  .smart-card.smart-feature {
    min-height: 252px;
    padding: 22px 20px 56px;
  }

  .smart-cta {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

.hero::before,
.hero::after,
.hero-shade,
.ai-agent-section::before,
.ai-agent-section::after,
.contact-hero::after {
  display: none;
}

.hero .kicker,
.hero-badge,
.ai-agent-copy .kicker,
.contact-hero .kicker {
  color: var(--primary);
}

.hero-badge {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(26, 106, 199, 0.22);
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.1);
}

.hero-proof,
.hero-copy,
.hero-copy strong,
.hero-trust {
  color: var(--ink-soft);
}

.hero .button-ghost {
  color: var(--primary);
  background: #fff;
  border-color: rgba(26, 106, 199, 0.35);
}

.hero .button-ghost:hover {
  color: var(--primary-hover);
  background: var(--primary-tint);
  border-color: var(--primary);
}

.hero-stamp {
  color: var(--primary);
  border-color: rgba(26, 106, 199, 0.3);
  background: rgba(255, 255, 255, 0.82);
}

.hero-scroll-hint {
  border-color: rgba(10, 37, 64, 0.38);
}

.system-section .section-heading h2,
.system-section .section-heading p {
  color: var(--ink);
}

.system-section .section-heading p {
  color: var(--muted);
}

.ai-agent-section {
  overflow: visible;
}

.ai-agent-title {
  color: var(--ink);
}

.ai-agent-accent {
  background: linear-gradient(100deg, #1a6ac7 0%, #2a7adf 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.ai-agent-accent::after {
  background: rgba(42, 122, 223, 0.16);
}

.ai-agent-lead {
  color: var(--ink-soft);
}

.ai-direction {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--hairline);
  box-shadow: var(--shadow-sm);
}

.ai-direction:hover {
  border-color: rgba(26, 106, 199, 0.42);
  background: #fff;
  box-shadow: var(--shadow-cyan);
}

.ai-direction h3 {
  color: var(--ink);
}

.ai-direction p {
  color: var(--muted);
}

.ai-panel {
  background: #fff;
  border-color: var(--hairline);
  box-shadow: 0 28px 64px rgba(10, 37, 64, 0.16);
}

.ai-panel-bar {
  border-bottom-color: var(--hairline);
}

.ai-panel-bar span {
  background: #d6e4f1;
}

.ai-panel-bar em,
.ai-kb small {
  color: var(--muted);
}

.ai-msg-teacher {
  background: #eaf4fc;
  border-color: rgba(26, 106, 199, 0.3);
}

.ai-msg-agent {
  background: #f6faff;
  border-color: var(--hairline);
}

.ai-msg-teacher .ai-msg-tag {
  color: #0d4ea8;
  background: #cfe7fb;
}

.ai-msg-agent .ai-msg-tag {
  color: #168448;
  background: #dff6e8;
}

.ai-msg p {
  color: var(--ink-soft);
}

.ai-kb {
  background: #f1f8fe;
  border-color: rgba(26, 106, 199, 0.22);
}

.ai-agent-section .focus-row {
  border-top-color: var(--hairline);
}

.ai-agent-section .focus-item {
  color: var(--ink-soft);
  background: #fff;
  border-color: var(--hairline);
}

.ai-agent-section .focus-item:hover {
  border-color: rgba(26, 106, 199, 0.38);
  background: var(--primary-tint);
}

.contact-hero {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 56px rgba(10, 37, 64, 0.12);
}

.contact-hero .button-light {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 12px 30px rgba(26, 106, 199, 0.28);
}

.contact-benefits li {
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--hairline);
}

.footer-tagline,
.footer-col a,
.footer-contact p,
.footer-bottom {
  color: var(--muted);
}

.footer-col h3,
.footer-person,
.footer-col .footer-phone {
  color: var(--ink);
}

.footer-qr img {
  border-color: var(--hairline);
}

/* ---------------- 首页主张：流动式逐字揭示 ---------------- */
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.045em;
  color: #0a2540;
}

.hero-line {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  clip-path: none;
}

.hero-term {
  position: relative;
  display: inline-flex;
  color: #155da9;
}

.hero-term::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0.04em;
  bottom: 0.12em;
  left: 0.04em;
  height: 0.16em;
  background: #d9ecff;
}

.hero-term-technology {
  color: #0d4ea8;
}

.hero-term-technology::after {
  background: #cfe3fb;
}

.hero-glyph {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: inherit;
  opacity: 1;
  transform: none;
}

body:not(.is-ready) .hero-line,
body.is-ready .hero-line {
  animation: none;
  clip-path: none;
  transform: none;
  will-change: auto;
}

body.is-ready .hero-glyph {
  opacity: 0;
  transform: translate3d(0, 0.34em, 0) scale(0.97);
  animation: hero-glyph-in 660ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(80ms + var(--line-i, 0) * 410ms + var(--glyph-i, 0) * 56ms);
  will-change: transform, opacity;
}

@keyframes hero-glyph-in {
  from {
    opacity: 0;
    transform: translate3d(0, 0.34em, 0) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

body.is-ready .hero-proof {
  animation: hero-subtitle-in 680ms cubic-bezier(0.16, 1, 0.3, 1) 960ms both;
  will-change: transform, opacity;
}

@keyframes hero-subtitle-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-ready .hero-line,
  body.is-ready .hero-proof,
  .hero-glyph {
    animation: none;
    opacity: 1;
    clip-path: none;
    transform: none;
    will-change: auto;
  }
}

/* ---------------- 首页主张：移除右侧面板后的单栏构图 ---------------- */
.hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.hero-content {
  width: 100%;
  max-width: none;
  padding-bottom: 34px;
}

.hero-title {
  font-size: clamp(58px, 7.6vw, 98px);
  line-height: 1.1;
}

.hero-proof {
  max-width: 700px;
  margin-top: 30px;
}

@media (max-width: 1080px) {
  .hero-title {
    font-size: clamp(54px, 7.6vw, 78px);
  }
}

@media (max-width: 760px) {
  .hero-content {
    padding-bottom: 0;
  }

  .hero-title {
    font-size: clamp(46px, 12.7vw, 60px);
    line-height: 1.14;
  }

  .hero-proof {
    margin-top: 22px;
  }
}

/* ---------------- 首页背景视频 ---------------- */
.hero {
  isolation: isolate;
  background: #eff8ff;
}

.hero-background,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-background {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(244, 250, 255, 0.82) 61%, rgba(235, 247, 255, 0.42) 100%),
    rgba(219, 240, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-background {
    display: none;
  }

  .hero-video-overlay {
    background: rgba(255, 255, 255, 0.88);
  }
}

/* ---------------- 首屏导航名称与背景视频避让 ---------------- */
.nav {
  width: 100%;
}

.site-header.is-scrolled:not(.is-past-hero) .nav {
  width: 100%;
}

.brand-company {
  display: inline-block;
  max-width: 210px;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 180ms ease,
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (min-width: 761px) {
  .hero-content {
    margin-left: -38px;
  }
}

@media (max-width: 820px) {
  .brand-company {
    display: none;
  }
}

@media (min-width: 761px) {
  .hero-background {
    /* 将视频的视觉中心向右移，为首屏主张留下稳定阅读区。 */
    object-position: 30% center;
  }
}

/* ---------------- 首页主张：桌面端错位构图 ---------------- */
@media (min-width: 1100px) {
  .hero-title {
    position: relative;
    height: 2.2em;
  }

  .hero-stamp {
    bottom: 32px;
    /* 印章固定沉在首屏右下，只保留滚动旋转，不参与上下视差。 */
    transform: rotate(var(--stamp-rotate, 0deg));
  }

  .hero-line {
    position: absolute;
    margin: 0;
    text-shadow: 0 2px 24px rgba(255, 255, 255, 0.88);
  }

  .hero-line:first-child {
    top: 0;
    left: 8%;
  }

  .hero-line:last-child {
    top: 1.1em;
    right: 0;
  }
}

/* ---------------- 首页滚动印章：沣纭艺术字 ---------------- */
.hero-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #0d4ea8;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.96) 0 7%, transparent 8%),
    rgba(255, 255, 255, 0.78);
}

.hero-stamp .stamp-character {
  display: block;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-stamp .stamp-character-feng {
  transform: translateX(-5px) rotate(-7deg);
}

.hero-stamp .stamp-character-yun {
  transform: translateX(5px) rotate(7deg);
}

@media (max-width: 1080px) {
  .hero-stamp .stamp-character {
    font-size: 39px;
  }
}

/* ---------------- 关于沣纭：FTD 授权卡片背景 ---------------- */
.about-fact.fact-feature {
  background-image:
    linear-gradient(160deg, rgba(4, 24, 79, 0.72) 0%, rgba(9, 46, 132, 0.62) 54%, rgba(3, 25, 91, 0.86) 100%),
    url("assets/about-ftd-background.jpg");
  background-position: center, center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 20px 42px rgba(12, 61, 150, 0.22);
}

.about-fact.fact-feature:hover {
  border-color: rgba(123, 221, 255, 0.5);
  box-shadow: 0 26px 50px rgba(12, 61, 150, 0.3);
}

/* ================================================================
   移动端布局系统
   手机端优先保证阅读顺序、触控尺寸和内容节奏，不压缩桌面网格。
   ================================================================ */
@media (max-width: 760px) {
  body {
    min-width: 0;
    font-size: 15px;
  }

  .site-header {
    top: 0;
  }

  .nav {
    height: 68px;
    min-height: 68px;
    padding: 8px 14px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .nav .brand {
    justify-self: start;
    min-width: 0;
    gap: 7px;
  }

  .brand-logo {
    height: 34px;
    border-radius: 9px;
  }

  .brand-company {
    display: inline-block;
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .nav-cta {
    min-width: 88px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
  }

  .nav-links {
    top: 68px;
    right: 12px;
    left: 12px;
    padding: 10px;
    border-radius: 14px;
  }

  .nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: calc(100svh - 68px);
    padding: 104px 20px 42px;
    display: flex;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero-title {
    font-size: clamp(38px, 11.8vw, 48px);
    line-height: 1.12;
  }

  .hero-proof {
    max-width: 100%;
    margin-top: 22px;
    font-size: 15.5px;
    line-height: 1.8;
  }

  .hero-line {
    text-shadow: 0 2px 18px rgba(255, 255, 255, 0.9);
  }

  .ai-agent-section {
    min-height: 0;
    padding: 72px 20px 76px;
    overflow: hidden;
  }

  .ai-agent-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }

  .ai-agent-copy {
    order: 1;
    width: 100%;
  }

  .ai-agent-visual {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .ai-agent-inner > .focus-row {
    order: 3;
    width: 100%;
  }

  .ai-agent-title {
    margin-top: 14px;
    font-size: clamp(30px, 8.6vw, 36px);
    line-height: 1.2;
  }

  .ai-agent-lead {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.8;
  }

  .ai-directions {
    margin-top: 24px;
    gap: 10px;
    max-width: none;
  }

  .ai-direction {
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .ai-direction-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .ai-direction h3 {
    font-size: 16px;
  }

  .ai-direction p {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .ai-agent-cta {
    width: 100%;
    margin-top: 24px;
  }

  .ai-panel {
    padding: 12px;
    border-radius: 16px;
  }

  .ai-panel-body {
    padding: 14px 0 0;
  }

  .ai-chip {
    display: none;
  }

  .ai-agent-section .focus-row {
    margin-top: 0;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ai-agent-section .focus-item {
    min-height: 52px;
    padding: 10px 11px;
    justify-content: flex-start;
    gap: 7px;
    border-radius: 11px;
    font-size: 12px;
    line-height: 1.35;
  }

  .ai-agent-section .focus-item svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .showcase,
  .about-section,
  .system-section,
  .smart-section,
  .solution-section,
  .method-section,
  .cases-section,
  .partners-section,
  .faq-section,
  .contact-section {
    min-height: 0;
    padding: 76px 20px 72px;
  }

  .showcase,
  .about-grid,
  .solution-section,
  .method-section {
    gap: 34px;
  }

  .showcase-copy h2,
  .section-heading h2,
  .solution-copy h2,
  .partners-copy h2,
  .contact-hero h2,
  .method-intro h2 {
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.18;
  }

  .showcase-copy > p:last-of-type,
  .partners-copy p,
  .section-heading p,
  .solution-copy > p,
  .method-intro p {
    font-size: 15px;
    line-height: 1.8;
  }

  .showcase-stack {
    padding-bottom: 0;
  }

  .showcase-cover {
    min-height: 0;
    padding: 12px 12px 18px;
    transform: none;
    border-radius: 14px;
  }

  .showcase-cover[data-parallax] {
    transform: none;
  }

  .showcase-cover::before {
    top: 12px;
    right: 12px;
    left: 12px;
  }

  .showcase-cover img {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }

  .showcase-cover span {
    left: 20px;
    bottom: 16px;
    font-size: 11px;
  }

  .showcase-note {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 16px 18px;
    transform: none;
    border-radius: 12px;
  }

  .showcase-stats {
    margin-top: 26px;
  }

  .showcase-stats div {
    padding-right: 10px;
  }

  .showcase-stats div + div {
    padding-left: 10px;
  }

  .showcase-stats strong {
    font-size: 23px;
  }

  .showcase-stats span {
    font-size: 11px;
  }

  .about-copy,
  .about-copy p:first-child {
    font-size: 15px;
    line-height: 1.8;
  }

  .about-facts {
    gap: 10px;
  }

  .about-fact {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .about-fact strong {
    font-size: 28px;
  }

  .about-fact.fact-feature strong {
    font-size: 36px;
  }

  .service-grid,
  .smart-grid,
  .case-grid {
    gap: 12px;
  }

  .service-card,
  .smart-card,
  .case-card {
    min-height: 0;
    border-radius: 12px;
  }

  .service-card {
    padding: 20px 18px;
  }

  .service-card-title,
  .smart-card h3 {
    font-size: 18px;
  }

  .service-lead,
  .smart-card p,
  .case-body p {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .service-points {
    margin-top: 14px;
  }

  .service-wide-body {
    gap: 12px;
  }

  .smart-section {
    padding-top: 76px;
  }

  .smart-path {
    margin-top: 24px;
  }

  .smart-path li {
    min-height: 48px;
    padding: 10px 9px;
    justify-content: flex-start;
    font-size: 12px;
  }

  .smart-card,
  .smart-card.smart-feature {
    padding: 20px 18px 48px;
  }

  .smart-open {
    right: 18px;
    bottom: 16px;
  }

  .solution-section {
    display: flex;
    flex-direction: column;
  }

  .solution-process {
    width: 100%;
    padding-top: 22px;
  }

  .solution-process-head strong {
    font-size: 19px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-steps::before {
    display: none;
  }

  .step-item {
    min-height: 0;
    padding: 16px;
  }

  .method-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-tabs button {
    padding: 10px 5px;
    text-align: center;
    font-size: 12px;
  }

  .method-panel {
    padding: 10px;
    border-radius: 14px;
  }

  .method-panel > div {
    padding: 24px 16px;
  }

  .method-panel h3 {
    font-size: 28px;
  }

  .method-panel p {
    font-size: 14px;
    line-height: 1.75;
  }

  .method-panel img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .method-foot {
    gap: 8px;
  }

  .method-foot div {
    padding: 12px 13px;
  }

  .case-media img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .case-body {
    padding: 16px 17px 18px;
  }

  .case-body h3 {
    font-size: 17px;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .logo-grid img {
    height: 86px;
    padding: 14px;
    border-radius: 10px;
  }

  .faq-list {
    margin-top: 24px;
  }

  .faq-item {
    border-radius: 12px;
  }

  .faq-item summary {
    min-height: 58px;
    padding: 14px 16px;
    font-size: 15px;
  }

  .faq-body p {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.75;
  }

  .contact-hero {
    min-height: 0;
    padding: 34px 22px;
    border-radius: 14px;
  }

  .contact-hero h2 {
    font-size: clamp(30px, 8.8vw, 36px);
  }

  .contact-hero .button {
    width: 100%;
    margin-top: 26px;
  }

  .contact-cards {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-card {
    padding: 17px 18px;
    border-radius: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 52px 20px 34px;
  }

  .footer-bottom {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  [data-animate="fade-left"],
  [data-animate="fade-right"] {
    transform: translate3d(0, 24px, 0) scale(0.99);
  }
}

/* ---------------- 全宽固定导航 ---------------- */
.nav-links {
  gap: clamp(16px, 1.8vw, 30px);
  justify-content: flex-end;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  padding-inline: 0;
  white-space: nowrap;
}

.nav-cta {
  min-width: 104px;
  padding-inline: 18px;
}

@media (max-width: 1180px) and (min-width: 821px) {
  .nav {
    gap: 18px;
    padding-inline: 24px;
  }

  .nav-links {
    gap: 18px;
    font-size: 13px;
  }

  .nav-cta {
    min-width: 92px;
    padding-inline: 14px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    justify-content: stretch;
    gap: 2px;
    font-size: 15px;
    white-space: normal;
  }

  .nav-links a {
    white-space: normal;
  }
}

/* 四大业务卡片的证据图：先展示业务现场，再进入详情页。 */
.service-card-media {
  height: 158px;
  margin: 20px -26px 0;
  overflow: hidden;
  background: var(--primary-tint);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

@media (max-width: 760px) {
  .service-card-media {
    height: 166px;
    margin-inline: -20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover .service-card-media img {
    transform: none;
  }
}
