/* ============================================
   天经或问官网样式表
   严格遵循 VI 标准
   ============================================ */

/* ---- 字体加载（子集化 WOFF2，仅包含网页实际使用字符） ---- */
@font-face {
  font-family: 'Inter';
  src: url('assets/Inter-Regular-subset.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/Inter-SemiBold-subset.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans CJK SC';
  src: url('assets/NotoSansCJK-Regular-subset.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans CJK SC';
  src: url('assets/NotoSansCJK-Bold-subset.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* ---- CSS 变量：VI 色彩系统 ---- */
:root {
  /* 品牌色 */
  --brand-blue: #0259AE;
  --navy: #0F172A;
  --cool-gray: #F6F9FC;
  --cyan: #0891B2;
  --amber: #D97706;
  --white: #FFFFFF;

  /* 衍生色 */
  --brand-blue-soft: rgba(2, 89, 174, 0.08);
  --navy-soft: rgba(15, 23, 42, 0.6);
  --cyan-soft: rgba(8, 145, 178, 0.12);
  --amber-soft: rgba(217, 119, 6, 0.12);
  --amber-glow: rgba(217, 119, 6, 0.25);

  /* 功能色 */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --text-inverse: #FFFFFF;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F6F9FC;
  --bg-dark: #0F172A;
  --border-light: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.12);

  /* 字体 */
  --font-cn: 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SFMono-Regular', 'Cascadia Mono', 'Roboto Mono', Consolas, monospace;

  /* 间距 */
  --section-pad-y: 140px;
  --section-pad-x: 64px;
  --max-width: 1200px;

  /* 动画 */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 800ms;
}

/* ---- 基础重置 ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-cn);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

/* ---- 导航栏 ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 var(--section-pad-x);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--duration-normal) var(--ease-out-quart),
              border-color var(--duration-normal) var(--ease-out-quart);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--border-light);
  backdrop-filter: blur(8px);
}

.site-header.scrolled .nav-links a {
  color: var(--text-secondary);
}

.site-header.scrolled .nav-links a:hover {
  color: var(--brand-blue);
}

.site-header.scrolled .header-action {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.site-header.scrolled .header-action:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--duration-normal) var(--ease-out-quart);
}

.site-header.scrolled .brand-logo {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding: 4px 0;
  transition: color var(--duration-fast) ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--white);
}

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

.site-header.scrolled .nav-links a:hover {
  color: var(--brand-blue);
}

.header-action {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  font-family: var(--font-cn);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--duration-fast) ease;
}

.header-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* ---- Hero 区域 ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--navy);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(2, 89, 174, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(8, 145, 178, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.6) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 940px;
  padding: 160px var(--section-pad-x) 120px;
  color: var(--text-inverse);
}

.eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.hero .eyebrow {
  color: var(--cyan);
}

h1 {
  font-family: var(--font-cn);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

h2 {
  font-family: var(--font-cn);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font-cn);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.hero-copy {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 720px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-cn);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.button.primary {
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 20px rgba(2, 89, 174, 0.3);
}

.button.primary:hover {
  background: #034a8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(2, 89, 174, 0.4);
}

.button.secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  animation: fadeInUp 1s var(--ease-out-expo) 1.5s both;
}

.scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-hint span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ---- 通用区域样式 ---- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

section {
  padding: var(--section-pad-y) 0;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 60px;
  line-height: 1.7;
}

/* ---- 理念宣言 ---- */
.philosophy-section {
  background: var(--bg-primary);
  text-align: center;
}

.philosophy-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 48px;
}

.philosophy-body {
  max-width: 720px;
  margin: 0 auto;
}

.philosophy-body .lead {
  font-size: 18px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.philosophy-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
}

.philosophy-divider span:first-child,
.philosophy-divider span:last-child {
  width: 60px;
  height: 1px;
  background: var(--border-medium);
}

.philosophy-divider .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
}

/* ---- 使命陈述 ---- */
.mission-section {
  background: var(--bg-secondary);
  text-align: center;
}

.mission-section h2 {
  margin-bottom: 60px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mission-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  border-color: var(--border-medium);
}

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

.mission-number {
  display: block;
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 600;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 4px;
}

.mission-unit {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mission-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.mission-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- 能力体系 ---- */
.capabilities-section {
  background: var(--bg-primary);
}

.capability-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1200px;
}

.layer-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-quart);
  transform-style: preserve-3d;
}

.layer-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(2, 89, 174, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  pointer-events: none;
}

.layer-card:hover .layer-glow {
  opacity: 1;
}

.layer-card:hover {
  transform: translateY(-8px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
  border-color: var(--border-medium);
}

.layer-card.featured {
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.layer-card.featured .layer-glow {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(8, 145, 178, 0.15) 0%, transparent 50%);
}

.layer-card.featured:hover {
  box-shadow: 0 24px 64px rgba(2, 89, 174, 0.2);
}

.layer-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  margin-bottom: 24px;
}

.layer-card.featured .layer-label {
  color: var(--cyan);
  background: rgba(8, 145, 178, 0.15);
}

.layer-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.layer-card.featured h3 {
  color: var(--white);
}

.layer-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.layer-card.featured p {
  color: rgba(255, 255, 255, 0.7);
}

.layer-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.layer-meta span {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.layer-card.featured .layer-meta span {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ---- 实时演示 ---- */
.demo-section {
  background: var(--navy);
  color: var(--white);
}

.demo-section .eyebrow {
  color: var(--cyan);
}

.demo-section h2 {
  color: var(--white);
}

.demo-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.demo-stage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.demo-visual {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}

.demo-visual canvas {
  width: 100%;
  height: 280px;
  display: block;
}

.demo-curve-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
}

.control-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.control-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.control-value {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  color: var(--cyan);
}

.control-group input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.control-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid var(--navy);
  box-shadow: 0 0 12px rgba(8, 145, 178, 0.5);
  cursor: pointer;
  transition: transform var(--duration-fast) ease;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.control-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid var(--navy);
  box-shadow: 0 0 12px rgba(8, 145, 178, 0.5);
  cursor: pointer;
}

.control-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.metric-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all var(--duration-fast) ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.metric-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.metric-value {
  display: block;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.metric-unit {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.trade-signal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.2);
  font-size: 14px;
  color: var(--amber);
  transition: all var(--duration-normal) ease;
}

.trade-signal.positive {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.trade-signal.negative {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.signal-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex-shrink: 0;
}

/* ---- 关于我们 ---- */
.about-section {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: start;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px;
}

.about-panel dl > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.about-panel dl > div:first-child {
  padding-top: 0;
}

.about-panel dl > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about-panel dt {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.about-panel dd {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
  transition: color var(--duration-fast) ease;
}

.footer-contact a:hover {
  color: var(--cyan);
}

.footer-contact span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  width: 100%;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 16px;
}

.footer-legal p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---- 滚动动画 ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up"][data-delay="1"] { transition-delay: 0.1s; }
[data-animate="fade-up"][data-delay="2"] { transition-delay: 0.2s; }
[data-animate="fade-up"][data-delay="3"] { transition-delay: 0.3s; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  :root {
    --section-pad-x: 40px;
    --section-pad-y: 100px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demo-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-x: 24px;
    --section-pad-y: 80px;
  }

  .site-header {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    padding: 8px 16px;
    font-size: 13px;
  }

  .brand-logo {
    height: 28px;
  }

  .hero-content {
    padding: 120px var(--section-pad-x) 80px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .mission-grid,
  .capability-layers {
    grid-template-columns: 1fr;
  }

  .mission-card {
    padding: 36px 24px;
  }

  .layer-card {
    padding: 32px 24px;
  }

  .about-panel {
    padding: 28px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .metric-cards {
    grid-template-columns: 1fr;
  }

  .demo-visual canvas {
    height: 200px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .button {
    padding: 12px 24px;
    font-size: 14px;
  }

  .mission-number {
    font-size: 42px;
  }
}

/* ---- 减少动画偏好 ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ---- 产品「典型应用」行 (V3) ---- */
.layer-usecase {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}
.layer-usecase strong {
  color: var(--cyan);
  font-weight: 600;
}
.layer-card.featured .layer-usecase {
  color: rgba(255, 255, 255, 0.6);
}
.layer-card.featured .layer-usecase strong {
  color: var(--cyan);
}

/* ---- 为什么选我们 (V3) ---- */
.advantages-section {
  background: var(--bg-secondary);
}
.advantages-section h2 {
  margin-bottom: 8px;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.advantage-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all var(--duration-normal) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  border-color: var(--border-medium);
}
.advantage-card:hover::before {
  transform: scaleX(1);
}
.advantage-index {
  display: block;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.advantage-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.advantage-closing {
  margin-top: 44px;
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
}
.advantage-closing strong {
  color: var(--amber);
  font-weight: 600;
}
@media (max-width: 1024px) {
  .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .advantage-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- 理念 强调 (V3) ---- */
.philosophy-body .lead strong {
  color: var(--brand-blue);
  font-weight: 600;
}

/* ============================================
   理念 · 古籍展开动画 (《天经或问》)
   ============================================ */
.ancient-book {
  --pw: 330px;
  --ph: 360px;
  margin: 60px auto 4px;
  perspective: 1800px;
}
.book-stage {
  display: flex;
  justify-content: center;
}
.book-spread {
  position: relative;
  display: flex;
  transform-style: preserve-3d;
  filter: drop-shadow(0 32px 54px rgba(15, 23, 42, 0.20));
}
.page {
  position: relative;
  width: var(--pw);
  height: var(--ph);
  overflow: hidden;
  backface-visibility: hidden;
}
/* 左页 · 古（暖纸墨色） */
.page-left {
  background:
    radial-gradient(120% 100% at 100% 50%, rgba(120, 90, 40, 0.10), transparent 60%),
    linear-gradient(135deg, #f5ecd9 0%, #ece0c6 100%);
  border-radius: 8px 0 0 8px;
  transform-origin: right center;
  transform: rotateY(42deg);
  opacity: 0;
  transition: transform 1.15s var(--ease-out-expo), opacity 0.8s ease;
  box-shadow: inset -34px 0 46px rgba(120, 90, 40, 0.14);
}
/* 右页 · 今（冷白科技） */
.page-right {
  background:
    radial-gradient(120% 100% at 0% 50%, rgba(2, 89, 174, 0.06), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #eaf2fb 100%);
  border-radius: 0 8px 8px 0;
  transform-origin: left center;
  transform: rotateY(-42deg);
  opacity: 0;
  transition: transform 1.15s var(--ease-out-expo) 0.05s, opacity 0.8s ease;
  box-shadow: inset 34px 0 46px rgba(2, 89, 174, 0.07);
}
.is-open .page-left,
.is-open .page-right {
  transform: rotateY(0deg);
  opacity: 1;
}
/* 页叠厚度（线装感） */
.page-left::before,
.page-right::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 7px;
}
.page-left::before {
  left: -6px;
  border-radius: 3px 0 0 3px;
  background: repeating-linear-gradient(180deg, #e2d6b9 0 3px, #cdbf9c 3px 4px);
}
.page-right::before {
  right: -6px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(180deg, #dfe7f1 0 3px, #c7d4e6 3px 4px);
}
/* 书脊 */
.book-spine {
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -2px;
  width: 3px;
  transform: translateX(-1.5px);
  z-index: 4;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.35) 18%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.35) 82%, rgba(15, 23, 42, 0) 100%);
}
/* 角标 古 / 今 */
.corner-tag {
  position: absolute;
  top: 16px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 15px;
  color: rgba(120, 90, 40, 0.55);
  opacity: 0;
  transition: opacity 0.6s ease 0.6s;
}
.page-left .corner-tag { right: 18px; }
.page-right .corner-tag { left: 18px; color: rgba(2, 89, 174, 0.5); }
.is-open .corner-tag { opacity: 1; }

/* 左页古法竖排文字 */
.anc-text {
  position: absolute;
  inset: 40px 26px 30px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  color: #2a2014;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s ease 0.55s, transform 0.9s var(--ease-out-expo) 0.55s;
}
.is-open .anc-text { opacity: 1; transform: translateY(0); }
.anc-title {
  writing-mode: vertical-rl;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #1f1810;
}
.anc-col {
  writing-mode: vertical-rl;
  font-size: 19px;
  letter-spacing: 10px;
  color: #4a3a23;
}
.anc-by {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 3px;
  color: #897650;
  align-self: flex-end;
}
/* 朱印（取品牌琥珀色） */
.book-seal {
  position: absolute;
  left: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(217, 119, 6, 0.07);
  border: 2px solid var(--amber);
  border-radius: 7px;
  opacity: 0;
  transform: rotate(-7deg) scale(0.4);
  transition: opacity 0.4s ease 0.95s, transform 0.55s var(--ease-out-expo) 0.95s;
}
.is-open .book-seal { opacity: 0.92; transform: rotate(-7deg) scale(1); }

/* 右页现代曲线 */
.book-curve {
  position: absolute;
  inset: 38px 26px 30px;
  width: calc(100% - 52px);
  height: calc(100% - 68px);
  overflow: visible;
}
.grid { opacity: 0; transition: opacity 0.7s ease 0.45s; }
.is-open .grid { opacity: 1; }
.curve-area { opacity: 0; transition: opacity 1s ease 0.9s; }
.is-open .curve-area { opacity: 1; }
.curve-line {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  filter: drop-shadow(0 0 5px rgba(8, 145, 178, 0.5));
  transition: stroke-dashoffset 1.7s var(--ease-out-quart) 0.6s;
}
.is-open .curve-line { stroke-dashoffset: 0; }
.dot { opacity: 0; transition: opacity 0.5s ease; }
.is-open .dot.d1 { opacity: 1; transition-delay: 1.5s; }
.is-open .dot.d2 { opacity: 1; transition-delay: 1.2s; }
.is-open .dot.d3 { opacity: 1; transition-delay: 1.9s; }
.today-label {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.6s ease 1.6s;
}
.is-open .today-label { opacity: 1; }

.book-caption {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-tertiary);
  opacity: 0;
  transition: opacity 0.8s ease 1.4s;
}
.is-open .book-caption { opacity: 1; }

@media (max-width: 768px) {
  .ancient-book { --pw: 210px; --ph: 280px; margin-top: 40px; }
  .anc-title { font-size: 22px; letter-spacing: 4px; }
  .anc-col { font-size: 15px; letter-spacing: 6px; }
  .book-seal { width: 38px; height: 38px; font-size: 19px; }
}
@media (max-width: 420px) {
  .ancient-book { --pw: 150px; --ph: 230px; }
  .anc-text { inset: 28px 14px 22px; gap: 10px; }
  .anc-title { font-size: 18px; }
  .anc-col { font-size: 13px; letter-spacing: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-left, .page-right { transform: none; opacity: 1; }
  .anc-text, .book-seal, .corner-tag, .grid, .curve-area, .today-label, .book-caption { opacity: 1; transform: none; }
  .book-seal { transform: rotate(-7deg); }
  .curve-line { stroke-dashoffset: 0; }
}

/* 右页 · 科技元素（集合预报 / 概率区间 / 标签） */
.tech-chip {
  position: absolute;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid rgba(8, 145, 178, 0.35);
  color: var(--cyan);
  background: rgba(8, 145, 178, 0.07);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}
.chip-ai { top: 14px; right: 18px; transition-delay: 0.7s; }
.chip-nwp { bottom: 18px; left: 18px; transition-delay: 1.05s; }
.is-open .tech-chip { opacity: 1; transform: translateY(0); }
.ens-band { opacity: 0; transition: opacity 0.9s ease 0.85s; }
.is-open .ens-band { opacity: 1; }
.ens { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.5s var(--ease-out-quart); }
.is-open .ens.e1 { stroke-dashoffset: 0; transition-delay: 0.55s; }
.is-open .ens.e2 { stroke-dashoffset: 0; transition-delay: 0.70s; }
.is-open .ens.e3 { stroke-dashoffset: 0; transition-delay: 0.85s; }
.quant { opacity: 0; transition: opacity 0.6s ease 1.6s; }
.is-open .quant { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tech-chip, .ens-band, .quant { opacity: 1; transform: none; }
  .ens { stroke-dashoffset: 0; }
}

/* 理念 · 左右两栏（书图 + 正文），压缩竖向高度 */
.philosophy-layout {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  margin-top: 44px;
}
.philosophy-layout .ancient-book {
  --pw: 250px;
  --ph: 300px;
  margin: 0 auto;
}
.philosophy-layout .philosophy-body {
  max-width: none;
  margin: 0;
}
.philosophy-layout .philosophy-body .lead {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 18px;
}
@media (max-width: 980px) {
  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .philosophy-layout .philosophy-body { text-align: left; }
  .philosophy-layout .ancient-book { --pw: 240px; --ph: 300px; }
}
@media (max-width: 520px) {
  .philosophy-layout .ancient-book { --pw: 150px; --ph: 230px; }
}

/* 图标标签 + 浮动呼吸动效 */
.tech-chip { display: inline-flex; align-items: center; }
.chip-ico { width: 13px; height: 13px; margin-right: 5px; flex: none; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 3px 10px rgba(8, 145, 178, 0.10); }
  50% { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(8, 145, 178, 0.18); }
}
.is-open .tech-chip { opacity: 1; transform: none; animation: chipFloat 4s ease-in-out infinite; }
.is-open .chip-ai { animation-delay: 0.3s; }
.is-open .chip-nwp { animation-delay: 1.3s; }
@media (prefers-reduced-motion: reduce) {
  .is-open .tech-chip { animation: none; }
}

/* 理念 · 右侧《天经或问》引文（宋体 / 古籍引用感） */
.philosophy-origin {
  padding-left: 26px;
  border-left: 2px solid var(--amber);
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "STSong", serif;
}
.philosophy-origin > p {
  font-size: 17.5px;
  line-height: 2.05;
  color: #4a3a23;
  margin: 0;
}
.philosophy-origin .origin-cite {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #9a8862;
  text-align: right;
}
/* 下方剩余正文与上方两栏的间距（其余样式同原来） */
.philosophy-layout + .philosophy-body {
  margin-top: 40px;
}
@media (max-width: 980px) {
  .philosophy-origin { margin-top: 4px; }
}

/* 实时演示 · 场景切换标签 */
.demo-section .section-subtitle { margin-bottom: 28px; }
.scene-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.scene-tab {
  font-family: var(--font-cn);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.scene-tab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.scene-tab.active { color: #fff; background: rgba(8, 145, 178, 0.18); border-color: var(--cyan); }

/* ICP 备案号（页脚底部居中） */
.footer-legal .icp-beian {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-legal .icp-beian a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--duration-fast) ease;
}
.footer-legal .icp-beian a:hover {
  color: var(--cyan);
}
