/* ============================================
   墨恩 MOEN 品牌视觉识别系统 - 网站设计系统
   严格执行 VI Manual v1.0 (2026.07)
   主色: 琥珀金 #EEB134 | 墨岩灰 #3E3B3A
   底色: 墨恩纸 #FBF9F4
   辅助: 赤陶红 #B5695A | 灰蓝 #5C7A99
   ============================================ */

/* ===== VI 色彩变量 ===== */
:root {
  /* 品牌主色 - 琥珀金 Amber Gold */
  --moen-gold: #EEB134;
  --moen-gold-light: #F5C962;
  --moen-gold-deep: #C8901E;
  --moen-gold-pale: #FFF4D9;
  --moen-gold-50: #FFF4D9;
  --moen-gold-100: #FFEAB3;
  --moen-gold-200: #FFDB80;
  --moen-gold-300: #FFCC4D;
  --moen-gold-400: #F8C13B;
  --moen-gold-500: #EEB134;
  --moen-gold-600: #D89A1F;
  --moen-gold-700: #B07D17;
  --moen-gold-800: #8A6011;
  --moen-gold-900: #5C400B;

  /* 品牌主色 - 墨岩灰 Ink Stone */
  --moen-stone: #3E3B3A;
  --moen-stone-light: #6B6867;
  --moen-stone-pale: #B5B2B0;
  --moen-stone-50: #F4F2F0;
  --moen-stone-100: #E0DDD9;
  --moen-stone-200: #C5C0BB;
  --moen-stone-300: #A39E99;
  --moen-stone-400: #807A75;
  --moen-stone-500: #5E5A57;
  --moen-stone-600: #3E3B3A;
  --moen-stone-700: #2E2B2A;
  --moen-stone-800: #1F1D1C;
  --moen-stone-900: #141312;

  /* 底色系统 */
  --moen-paper: #FBF9F4;
  --moen-paper-deep: #F0EDE5;
  --moen-ink: #1A1817;
  --moen-rule: #D8D3C8;
  --moen-whiteness: #FFFFFF;

  /* 辅助色 A - 赤陶红褐 Terracotta Red */
  --moen-red: #B5695A;
  --moen-red-light: #DDA393;
  --moen-red-deep: #8A4A3D;
  --moen-red-50: #FDF5F3;
  --moen-red-100: #F8E5E1;
  --moen-red-200: #F0CCC4;
  --moen-red-300: #DDA393;
  --moen-red-400: #B5695A;
  --moen-red-500: #A45C4E;

  /* 辅助色 B - 灰蓝 Slate Blue */
  --moen-blue: #5C7A99;
  --moen-blue-light: #9AB5CC;
  --moen-blue-deep: #3F5873;
  --moen-blue-50: #F1F4F8;
  --moen-blue-100: #E3EBF2;
  --moen-blue-200: #C7D6E5;
  --moen-blue-300: #9AB5CC;
  --moen-blue-400: #5C7A99;
  --moen-blue-500: #4E6A88;

  /* 字体系统 */
  /* 字体栈：全部系统字体，零外部网络请求（国内服务器友好） */
  --font-serif: "Songti SC", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Songti SC", "SimSun", Georgia, serif;

  /* 间距系统 (VI 规范) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* 兼容旧变量名 → 映射到 VI 色值 */
  --c-primary: var(--moen-gold);
  --c-primary-light: var(--moen-gold-light);
  --c-primary-dark: var(--moen-gold-deep);
  --c-accent: var(--moen-gold);
  --c-accent-light: var(--moen-gold-light);
  --c-accent-dark: var(--moen-gold-deep);
  --c-bg: var(--moen-paper);
  --c-bg-alt: var(--moen-paper-deep);
  --c-bg-dark: var(--moen-stone);
  --c-text: var(--moen-ink);
  --c-text-secondary: var(--moen-stone-light);
  --c-text-tertiary: var(--moen-stone-pale);
  --c-border: var(--moen-rule);
  --c-border-light: var(--moen-stone-50);

  /* 功能色 */
  --c-success: #5C7A99;
  --c-warning: var(--moen-gold);
  --c-danger: var(--moen-red);

  /* 间距 (兼容) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(62, 59, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(62, 59, 58, 0.08);
  --shadow-lg: 0 12px 40px rgba(62, 59, 58, 0.12);
  --shadow-xl: 0 24px 60px rgba(62, 59, 58, 0.16);
  --shadow-gold: 0 8px 30px rgba(238, 177, 52, 0.2);

  /* 过渡 */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* 布局 */
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--moen-ink);
  background: var(--moen-paper);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

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

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

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

/* ===== VI 辅助图形 ===== */
/* 金点纹 */
.pattern-gold-dots {
  background-image: radial-gradient(circle, var(--moen-gold) 1.2px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: 0.25;
}

/* 蓝线纹 */
.pattern-blue-lines {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 7px,
    var(--moen-blue) 7px,
    var(--moen-blue) 8px
  );
  opacity: 0.2;
}

/* 红环纹 */
.pattern-red-rings {
  background-image: radial-gradient(circle, transparent 4px, var(--moen-red) 4px, var(--moen-red) 5px, transparent 5px);
  background-size: 16px 16px;
  opacity: 0.15;
}

/* 金色分隔线 (VI 规范) */
.gold-rule {
  width: 96px;
  height: 2px;
  background: var(--moen-gold);
  margin-bottom: var(--space-6);
}

.gold-rule-sm {
  width: 48px;
  height: 2px;
  background: var(--moen-gold);
}

/* 金色菱形分隔符 */
.gold-divider {
  width: 160px;
  height: 1px;
  background: var(--moen-gold);
  margin: var(--space-6) auto;
  position: relative;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--moen-gold);
  transform: rotate(45deg);
}

.gold-divider::before { left: -8px; }
.gold-divider::after { right: -8px; }

/* ===== 通用容器 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ===== 区段 ===== */
.section {
  padding: var(--space-2xl) 0;
}

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

.section-dark {
  background: var(--moen-stone);
  color: var(--moen-paper);
}

.section-sm {
  padding: var(--space-xl) 0;
}

/* ===== 标题体系 ===== */
.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--moen-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--moen-stone);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--moen-stone-light);
  max-width: 640px;
  line-height: 1.7;
}

.section-dark .section-title {
  color: var(--moen-paper);
}

.section-dark .section-subtitle {
  color: var(--moen-stone-pale);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--moen-gold);
  color: var(--moen-stone);
}

.btn-primary:hover {
  background: var(--moen-gold-deep);
  color: var(--moen-paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-accent {
  background: var(--moen-stone);
  color: var(--moen-gold);
}

.btn-accent:hover {
  background: var(--moen-stone-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--moen-stone);
  border: 1.5px solid var(--moen-rule);
}

.btn-outline:hover {
  border-color: var(--moen-gold);
  background: var(--moen-gold);
  color: var(--moen-stone);
}

.btn-ghost {
  background: transparent;
  color: var(--moen-stone-light);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--moen-gold-deep);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-white {
  background: var(--moen-whiteness);
  color: var(--moen-stone);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: var(--moen-paper);
  border: 1.5px solid rgba(251, 249, 244, 0.3);
}

.btn-outline-white:hover {
  background: var(--moen-paper);
  color: var(--moen-stone);
  border-color: var(--moen-paper);
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(251, 249, 244, 0.96);
  border-bottom-color: var(--moen-rule);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--moen-stone);
  letter-spacing: 0.02em;
}

.nav-logo svg,
.nav-logo-img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text .logo-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--moen-stone);
  letter-spacing: 0.05em;
}

.nav-logo-text .logo-sub {
  font-family: var(--font-en);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--moen-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--moen-stone-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--moen-gold-deep);
}

.nav-link.active {
  color: var(--moen-stone);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--moen-gold);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--moen-stone);
  border-radius: 1px;
  transition: all var(--transition);
}

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

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

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

/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--moen-stone-800) 0%, var(--moen-stone) 50%, var(--moen-stone-700) 100%);
  z-index: -2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(238, 177, 52, 0.12) 0%,
    transparent 50%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle, var(--moen-gold) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--moen-paper);
  padding: var(--space-xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(238, 177, 52, 0.12);
  border: 1px solid rgba(238, 177, 52, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--moen-gold);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moen-gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
  max-width: 800px;
}

.hero-title .accent {
  color: var(--moen-gold);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--moen-stone-pale);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(238, 177, 52, 0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--moen-gold);
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--moen-stone-pale);
  margin-top: 0.5rem;
}

/* ===== 卡片 ===== */
.card {
  background: var(--moen-whiteness);
  border: 1px solid var(--moen-stone-50);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--moen-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card-icon-gold {
  background: rgba(238, 177, 52, 0.1);
  color: var(--moen-gold-deep);
}

.card-icon-red {
  background: rgba(181, 105, 90, 0.1);
  color: var(--moen-red);
}

.card-icon-blue {
  background: rgba(92, 122, 153, 0.1);
  color: var(--moen-blue);
}

.card-icon-stone {
  background: rgba(62, 59, 58, 0.08);
  color: var(--moen-stone);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--moen-stone);
}

.card-text {
  font-size: 0.9375rem;
  color: var(--moen-stone-light);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--moen-gold-deep);
  margin-top: var(--space-sm);
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 0.625rem;
}

/* ===== 网格 ===== */
.grid {
  display: grid;
  gap: var(--space-md);
}

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

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

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

/* ===== 特性块 ===== */
.feature-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.feature-item .feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature-item .feature-content h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--moen-stone);
}

.feature-item .feature-content p {
  font-size: 0.875rem;
  color: var(--moen-stone-light);
  line-height: 1.6;
}

/* ===== 数字统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-card {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.stat-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--moen-gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-num .unit {
  font-size: 1.5rem;
  color: var(--moen-stone-light);
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--moen-stone-light);
  margin-top: 0.75rem;
}

/* ===== 合作伙伴 ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-sm);
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
  background: var(--moen-whiteness);
  border: 1px solid var(--moen-stone-50);
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--moen-stone-light);
  transition: all var(--transition);
  text-align: center;
  padding: var(--space-sm);
  line-height: 1.5;
}

.partner-item:hover {
  border-color: var(--moen-gold);
  color: var(--moen-stone);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== 时间线 ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--moen-rule);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: var(--space-lg);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--moen-paper);
  border: 3px solid var(--moen-gold);
}

.timeline-year {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--moen-gold-deep);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--moen-stone);
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--moen-stone-light);
  line-height: 1.6;
}

/* ===== 资质标签 ===== */
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--moen-whiteness);
  border: 1px solid var(--moen-rule);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--moen-stone);
  transition: all var(--transition);
}

.badge-item:hover {
  border-color: var(--moen-gold);
  background: var(--moen-gold-pale);
  color: var(--moen-gold-deep);
}

/* ===== 新闻/资讯卡片 ===== */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--moen-whiteness);
  border: 1px solid var(--moen-stone-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  border-color: var(--moen-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--moen-stone) 0%, var(--moen-stone-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(238, 177, 52, 0.2) 0%,
    transparent 60%
  );
}

.news-tag {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 0.25rem 0.75rem;
  background: rgba(251, 249, 244, 0.92);
  border-radius: var(--radius-full);
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--moen-gold-deep);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.news-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  color: var(--moen-stone-pale);
  margin-bottom: 0.5rem;
}

.news-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--moen-stone);
}

.news-excerpt {
  font-size: 0.875rem;
  color: var(--moen-stone-light);
  line-height: 1.6;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--moen-stone-50);
}

.news-author {
  font-size: 0.8125rem;
  color: var(--moen-stone-pale);
}

/* ===== 页面 Banner ===== */
.page-banner {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--moen-stone-800) 0%, var(--moen-stone) 100%);
  color: var(--moen-paper);
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 20%,
    rgba(238, 177, 52, 0.1) 0%,
    transparent 50%
  );
}

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

.page-banner-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}

.page-banner-subtitle {
  font-size: 1.125rem;
  color: var(--moen-stone-pale);
  max-width: 640px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-en);
  font-size: 0.875rem;
  color: var(--moen-stone-pale);
  margin-bottom: var(--space-md);
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--moen-stone-pale);
}

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

/* ===== CTA 区域 ===== */
.cta-section {
  position: relative;
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--moen-stone-700) 0%, var(--moen-stone) 100%);
  color: var(--moen-paper);
  overflow: hidden;
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(238, 177, 52, 0.12) 0%,
    transparent 50%
  );
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--moen-stone-pale);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--moen-stone-800);
  color: var(--moen-stone-pale);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(238, 177, 52, 0.1);
}

.footer-brand .nav-logo {
  color: var(--moen-paper);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--moen-stone-pale);
  opacity: 0.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--moen-gold);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--moen-stone-pale);
  opacity: 0.6;
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--moen-stone-pale);
  opacity: 0.6;
  margin-bottom: 0.625rem;
  align-items: flex-start;
}

.footer-contact-item span:first-child {
  color: var(--moen-gold);
  opacity: 0.5;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  font-family: var(--font-en);
  font-size: 0.8125rem;
  color: var(--moen-stone-pale);
  opacity: 0.4;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a:hover {
  color: var(--moen-gold);
  opacity: 1;
}

/* ===== 表单 ===== */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--moen-stone);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: var(--moen-red);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--moen-ink);
  background: var(--moen-whiteness);
  border: 1.5px solid var(--moen-rule);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--moen-gold);
  box-shadow: 0 0 0 3px rgba(238, 177, 52, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* ===== 标签筛选 ===== */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--moen-stone-light);
  background: var(--moen-whiteness);
  border: 1.5px solid var(--moen-rule);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--moen-gold);
  color: var(--moen-gold-deep);
}

.filter-tab.active {
  background: var(--moen-gold);
  border-color: var(--moen-gold);
  color: var(--moen-stone);
}

/* ===== 信息块 ===== */
.info-block {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--moen-whiteness);
  border: 1px solid var(--moen-stone-50);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.info-block:hover {
  border-color: var(--moen-rule);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.info-content h4 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--moen-stone);
}

.info-content p {
  font-size: 0.875rem;
  color: var(--moen-stone-light);
  line-height: 1.6;
}

/* ===== 产品卡片 ===== */
.product-card {
  background: var(--moen-whiteness);
  border: 1px solid var(--moen-stone-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.product-card:hover {
  border-color: var(--moen-rule);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-header {
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--moen-stone) 0%, var(--moen-stone-700) 100%);
  color: var(--moen-paper);
  position: relative;
  overflow: hidden;
}

.product-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(238, 177, 52, 0.15) 0%,
    transparent 60%
  );
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  position: relative;
}

.product-tagline {
  font-family: var(--font-en);
  font-size: 0.875rem;
  color: var(--moen-gold);
  position: relative;
}

.product-body {
  padding: var(--space-md);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: var(--space-sm);
}

.product-feature {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--moen-stone-light);
  line-height: 1.6;
}

.product-feature .check {
  color: var(--moen-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== 滚动动画 ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* 延迟 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--moen-gold);
  color: var(--moen-stone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--moen-gold-deep);
  color: var(--moen-paper);
  transform: translateY(-4px);
}

/* ===== 架构图 ===== */
.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.arch-node {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 240px;
}

.arch-node-top {
  background: linear-gradient(135deg, var(--moen-stone) 0%, var(--moen-stone-700) 100%);
  color: var(--moen-gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
}

.arch-node-mid {
  background: var(--moen-gold-pale);
  border: 1.5px solid var(--moen-gold);
  color: var(--moen-gold-deep);
  font-family: var(--font-serif);
  font-weight: 600;
}

.arch-node-leaf {
  background: var(--moen-paper-deep);
  border: 1px solid var(--moen-rule);
  color: var(--moen-stone);
  font-size: 0.875rem;
  font-weight: 500;
}

.arch-connector {
  width: 2px;
  height: 20px;
  background: var(--moen-rule);
}

.arch-row {
  display: flex;
  gap: var(--space-sm);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

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

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 3rem;
    --space-lg: 2.5rem;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--moen-paper);
    padding: var(--space-sm);
    gap: 0;
    border-bottom: 1px solid var(--moen-rule);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

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

  .nav-link {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .hero-stat-num {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .page-banner-title {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

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

  .cta-title {
    font-size: 1.625rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.625rem;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ===== 修复：联系页两栏布局（手机端横向溢出）2026-08-04 ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
@media (max-width: 992px) {
  .contact-layout { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== 修复：五步流程栅格（320px 超薄屏溢出）2026-08-04 ===== */
.grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
@media (max-width: 992px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
}
@media (max-width: 560px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .grid-5 { grid-template-columns: 1fr; }
}

/* ===== 修复：图文两栏 / 小栅格 响应式（原写死行内 grid）2026-08-04 ===== */
.two-col {
  display: grid;
  gap: 4rem;
  align-items: center;
}
.two-col-11 { grid-template-columns: 1fr 1fr; }
.two-col-a  { grid-template-columns: 1fr 1.2fr; }
.two-col-b  { grid-template-columns: 1.2fr 1fr; }

.mini-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 992px) {
  .two-col { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .two-col,
  .two-col-11,
  .two-col-a,
  .two-col-b {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 400px) {
  .mini-grid-2 { grid-template-columns: 1fr; }
}

/* ===== 表单提交提示（无外部依赖） ===== */
.form-notice {
  display: none;
  margin-top: var(--space-sm);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(238, 177, 52, 0.12);
  border: 1px solid rgba(238, 177, 52, 0.35);
  color: var(--moen-stone);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-notice.visible {
  display: block;
}

/* ===== 修复：320px 超薄屏表单栅格溢出（2026-08-19）=====
   grid item 默认 min-width:auto，会被 input 的 min-content 宽度撑开；
   这里显式归零，不改动任何栅格列数与断点。 */
.contact-layout > *,
.form-row > *,
.form-group > * {
  min-width: 0;
}

.form-input,
.form-textarea,
.form-select {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 400px) {
  /* 超薄屏收紧表单卡片内边距，避免横向溢出 */
  .contact-layout .form-input,
  .contact-layout .form-textarea,
  .contact-layout .form-select {
    padding: 0.75rem 0.75rem;
  }
}

/* 联系页表单卡片（原行内样式迁出，便于响应式控制） */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  min-width: 0;
}

@media (max-width: 480px) {
  .contact-form-card { padding: 1.5rem 1.25rem; }
}

/* ===== 无障碍与降级兜底（2026-08-19）=====
   .fade-up / .fade-in 默认 opacity:0，依赖 JS 加 .visible 才显示。
   若用户禁用 JS 或 JS 加载失败，正文会整片不可见。
   下面两条为降级兜底：
     1) 用户开启"减少动效"偏好时直接显示；
     2) 配合各页 <noscript> 内的样式，无 JS 时直接显示。 */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
