/* ============================================
   新途流体官网 · 全局样式系统
   Xintu Fluid Technology Official Website
   VI: 新途蓝 (Xintu Blue) - 藏蓝/深蓝
   ============================================ */

/* ---------- CSS Variables / VI Design Tokens ---------- */
:root {
  /* 主色：新途蓝 */
  --xintu-blue: #1B3A6B;
  --xintu-blue-light: #2E5BA8;
  --xintu-blue-dark: #0F2347;
  --xintu-accent: #00A3E0;
  --xintu-accent-dark: #0088B8;

  /* 中性色 */
  --bg-white: #FFFFFF;
  --bg-light: #F5F7FA;
  --bg-gray: #E8ECF0;
  --text-primary: #1A1A1A;
  --text-secondary: #5A6573;
  --text-light: #8A95A3;
  --text-white: #FFFFFF;
  --border-color: #DDE3EA;

  /* 字体 */
  --font-en: 'Roboto', 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --font-zh: 'Source Han Sans CN', 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;

  /* 间距 (8px基准) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

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

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(27, 58, 107, 0.06);
  --shadow-card: 0 2px 12px rgba(27, 58, 107, 0.08);
  --shadow-hover: 0 12px 32px rgba(27, 58, 107, 0.15);
  --shadow-header: 0 2px 20px rgba(15, 35, 71, 0.08);

  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* 布局 */
  --header-height: 80px;
  --header-height-scrolled: 64px;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-en), var(--font-zh);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover { color: var(--xintu-accent); }

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

ul, ol { list-style: none; }

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

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

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

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

.bg-light { background: var(--bg-light); }
.bg-blue { background: var(--xintu-blue); color: var(--text-white); }
.bg-dark { background: var(--xintu-blue-dark); color: var(--text-white); }

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--xintu-blue);
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.section-title .subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--xintu-accent);
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
}

.section-title.text-left .divider {
  margin-left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--xintu-blue);
  color: var(--text-white);
  border-color: var(--xintu-blue);
}

.btn-primary:hover {
  background: var(--xintu-blue-light);
  border-color: var(--xintu-blue-light);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 58, 107, 0.25);
}

.btn-accent {
  background: var(--xintu-accent);
  color: var(--text-white);
  border-color: var(--xintu-accent);
}

.btn-accent:hover {
  background: var(--xintu-accent-dark);
  border-color: var(--xintu-accent-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 163, 224, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
  color: var(--text-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--xintu-blue);
  border-color: var(--xintu-blue);
}

.btn-outline-dark:hover {
  background: var(--xintu-blue);
  color: var(--text-white);
}

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

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

/* ============================================
   HEADER / 导航栏
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-header);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: 0 4px 20px rgba(15, 35, 71, 0.1);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--xintu-blue), var(--xintu-blue-light));
  border-radius: var(--radius-sm);
  color: white;
}

.logo-icon svg { width: 24px; height: 24px; }

.logo-text {
  font-size: 1.15rem;
  color: var(--xintu-blue);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* Brand logo image (replaces icon + text lockup) */
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.header.scrolled .logo-img { height: 32px; }

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-item > a:hover,
.nav-item > a.active {
  color: var(--xintu-blue);
  background: rgba(27, 58, 107, 0.05);
}

.nav-item > a .chevron {
  width: 14px;
  height: 14px;
  transition: var(--transition-fast);
}

.nav-item:hover > a .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-dropdown a:hover {
  background: var(--bg-light);
  color: var(--xintu-blue);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}

.lang-switch:hover {
  border-color: var(--xintu-blue);
  background: var(--bg-light);
}

.lang-switch svg { width: 16px; height: 16px; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--xintu-blue);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO BANNER / 首页横幅
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--xintu-blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 35, 71, 0.92) 0%, rgba(27, 58, 107, 0.8) 50%, rgba(0, 163, 224, 0.3) 100%);
  z-index: 1;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 163, 224, 0.15);
  border: 1px solid rgba(0, 163, 224, 0.3);
  border-radius: var(--radius-full);
  color: var(--xintu-accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--xintu-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--xintu-accent);
}

.hero .hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

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

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat .stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--xintu-accent);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-align: center;
  animation: bounce 2s infinite;
}

.hero-scroll svg { width: 20px; height: 20px; margin: 0 auto; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   CORE BUSINESS / 核心业务卡片
   ============================================ */
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.business-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--xintu-blue), var(--xintu-accent));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

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

.business-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27, 58, 107, 0.08), rgba(0, 163, 224, 0.08));
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.business-card:hover .business-icon {
  background: linear-gradient(135deg, var(--xintu-blue), var(--xintu-blue-light));
}

.business-icon svg {
  width: 36px;
  height: 36px;
  color: var(--xintu-blue);
  transition: var(--transition);
}

.business-card:hover .business-icon svg {
  color: white;
}

.business-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--xintu-blue);
  margin-bottom: 0.5rem;
}

.business-card .card-en {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.business-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   SOFTWARE HIGHLIGHT / 软件产品突出展示
   ============================================ */
.software-section {
  background: var(--xintu-blue-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.software-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 163, 224, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.software-section .section-title h2 {
  color: white;
}

.software-section .section-title .subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.software-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.software-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 163, 224, 0.3);
  transform: translateY(-4px);
}

.software-preview {
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 163, 224, 0.15), rgba(27, 58, 107, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.software-preview .mockup {
  width: 90%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.mockup-bar span:nth-child(1) { background: #FF5F57; }
.mockup-bar span:nth-child(2) { background: #FEBC2E; }
.mockup-bar span:nth-child(3) { background: #28C840; }

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-line {
  height: 8px;
  background: var(--bg-gray);
  border-radius: 4px;
}

.mockup-line.short { width: 60%; }
.mockup-line.medium { width: 80%; }
.mockup-line.accent { background: var(--xintu-accent); opacity: 0.3; }

.mockup-chart {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 40px;
  margin-top: 0.5rem;
}

.mockup-chart span {
  flex: 1;
  background: var(--xintu-blue-light);
  border-radius: 2px 2px 0 0;
  opacity: 0.6;
}

.software-info {
  padding: 1.75rem;
}

.software-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 163, 224, 0.2);
  color: var(--xintu-accent);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.software-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.software-info .software-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.software-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.software-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.software-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--xintu-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   NEWS / 新闻中心
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.news-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.news-image {
  height: 180px;
  background: linear-gradient(135deg, var(--xintu-blue), var(--xintu-blue-light));
  position: relative;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-date {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: rgba(27, 58, 107, 0.9);
  color: white;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.news-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.625rem;
  background: var(--xintu-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-info {
  padding: 1.25rem;
}

.news-info h4 {
  font-size: 1rem;
  color: var(--xintu-blue);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.news-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--xintu-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-fast);
}

.news-link:hover {
  gap: 0.5rem;
}

/* ============================================
   VALUE PROPOSITION / 价值主张
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem 1rem;
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-4px);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--xintu-blue);
  border-radius: 50%;
  transition: var(--transition);
}

.value-item:hover .value-icon {
  background: var(--xintu-blue);
  transform: scale(1.1);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  color: var(--xintu-blue);
  transition: var(--transition);
}

.value-item:hover .value-icon svg {
  color: white;
}

.value-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--xintu-blue);
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   APPLICATION SCENARIOS / 应用场景
   ============================================ */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.scenario-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

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

.scenario-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.scenario-card:hover .scenario-bg {
  transform: scale(1.08);
}

.scenario-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 35, 71, 0.9) 0%, rgba(15, 35, 71, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: white;
}

.scenario-overlay h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.scenario-overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.scenario-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 163, 224, 0.3);
  border: 1px solid rgba(0, 163, 224, 0.5);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  width: fit-content;
}

/* ============================================
   QUICK RESOURCES / 快捷资源
   ============================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.resource-card:hover {
  border-color: var(--xintu-blue);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.resource-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: var(--transition);
}

.resource-card:hover .resource-icon {
  background: var(--xintu-blue);
}

.resource-icon svg {
  width: 28px;
  height: 28px;
  color: var(--xintu-blue);
  transition: var(--transition);
}

.resource-card:hover .resource-icon svg {
  color: white;
}

.resource-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--xintu-blue);
  margin-bottom: 0.15rem;
}

.resource-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   CTA BANNER / 行动号召
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--xintu-blue) 0%, var(--xintu-blue-dark) 100%);
  color: white;
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 163, 224, 0.15) 0%, transparent 50%);
}

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

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
}

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

/* ============================================
   PAGE BANNER / 内页横幅
   ============================================ */
.page-banner {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--xintu-blue-dark) 0%, var(--xintu-blue) 60%, var(--xintu-blue-light) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 163, 224, 0.15) 0%, transparent 50%);
}

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

.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-banner .breadcrumb a:hover {
  color: white;
}

.page-banner .breadcrumb span {
  color: var(--xintu-accent);
}

/* ============================================
   ABOUT PAGE / 关于我们
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro-text h2 {
  font-size: 2rem;
  color: var(--xintu-blue);
  margin-bottom: 1.25rem;
}

.about-intro-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  height: 400px;
  background: linear-gradient(135deg, var(--xintu-blue), var(--xintu-blue-light));
  position: relative;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MVV Cards (Mission/Vision/Values) */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mvv-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.mvv-card:hover {
  border-color: var(--xintu-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.mvv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--xintu-blue), var(--xintu-blue-light));
  border-radius: 50%;
}

.mvv-icon svg {
  width: 36px;
  height: 36px;
  color: white;
}

.mvv-card h3 {
  font-size: 1.3rem;
  color: var(--xintu-blue);
  margin-bottom: 0.75rem;
}

.mvv-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2.5rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background: var(--xintu-accent);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--xintu-accent);
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--xintu-blue);
  margin-bottom: 0.25rem;
}

.timeline-content {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
  font-size: 1.05rem;
  color: var(--xintu-blue);
  margin-bottom: 0.25rem;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--xintu-blue);
  box-shadow: var(--shadow-card);
}

.cert-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.cert-badge svg { width: 32px; height: 32px; color: var(--xintu-blue); }

.cert-item h4 {
  font-size: 0.95rem;
  color: var(--xintu-blue);
  margin-bottom: 0.15rem;
}

.cert-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ============================================
   SOLUTIONS PAGE / 解决方案
   ============================================ */
.solution-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.solution-item:last-child { margin-bottom: 0; }

.solution-item.reverse .solution-image { order: 2; }

.solution-image {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--xintu-blue), var(--xintu-blue-light));
  position: relative;
  box-shadow: var(--shadow-card);
}

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

.solution-content .solution-label {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: rgba(27, 58, 107, 0.08);
  color: var(--xintu-blue);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.solution-content h3 {
  font-size: 1.6rem;
  color: var(--xintu-blue);
  margin-bottom: 0.75rem;
}

.solution-content > p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.solution-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.solution-list li::before {
  content: '✓';
  color: var(--xintu-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Industries Tabs */
.industry-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.industry-tab {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.industry-tab:hover {
  border-color: var(--xintu-blue);
  color: var(--xintu-blue);
}

.industry-tab.active {
  background: var(--xintu-blue);
  color: white;
  border-color: var(--xintu-blue);
}

.industry-panel {
  display: none;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.industry-panel.active {
  display: block;
}

.industry-panel h4 {
  font-size: 1.2rem;
  color: var(--xintu-blue);
  margin-bottom: 1rem;
}

.industry-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.industry-feature {
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.industry-feature strong {
  display: block;
  color: var(--xintu-blue);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.industry-feature span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ============================================
   PRODUCTS PAGE / 产品中心
   ============================================ */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.product-sidebar {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.product-sidebar h3 {
  font-size: 1.1rem;
  color: var(--xintu-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-gray);
}

.sidebar-category {
  margin-bottom: 0.25rem;
}

.sidebar-category > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.875rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.sidebar-category > a:hover {
  background: var(--bg-light);
  color: var(--xintu-blue);
}

.sidebar-category > a.active {
  background: var(--xintu-blue);
  color: white;
}

.sidebar-category > a .count {
  font-size: 0.75rem;
  opacity: 0.6;
}

.sidebar-sub {
  padding-left: 1rem;
  margin-top: 0.25rem;
}

.sidebar-sub a {
  display: block;
  padding: 0.4rem 0.875rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.sidebar-sub a:hover { color: var(--xintu-blue); }

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.product-image {
  height: 200px;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.625rem;
  background: rgba(27, 58, 107, 0.9);
  color: white;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.product-tag.software {
  background: rgba(0, 163, 224, 0.9);
}

.product-info {
  padding: 1.25rem;
}

.product-info h4 {
  font-size: 1.05rem;
  color: var(--xintu-blue);
  margin-bottom: 0.25rem;
}

.product-model {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--xintu-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-fast);
}

.product-link:hover {
  gap: 0.5rem;
  color: var(--xintu-accent-dark);
}

/* ============================================
   CONTACT PAGE / 联系我们
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--xintu-blue);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 22px; height: 22px; color: var(--xintu-accent); }

.contact-detail-info h5 {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}

.contact-detail-info p {
  font-size: 0.95rem;
  color: white;
}

/* Contact Form */
.contact-form {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form h3 {
  font-size: 1.4rem;
  color: var(--xintu-blue);
  margin-bottom: 0.5rem;
}

.contact-form > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.form-group label .required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-light);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--xintu-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.08);
}

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

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius-md);
  color: #2e7d32;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-success.show { display: flex; align-items: center; gap: 0.5rem; }

/* Map */
.contact-map {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 360px;
  background: var(--bg-light);
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   RESOURCES / E-MAGAZINE
   ============================================ */
.magazine-viewer {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.magazine-frame {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  perspective: 2000px;
}

.magazine-page {
  position: absolute;
  width: 50%;
  height: 100%;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  overflow: hidden;
}

.magazine-page.left {
  left: 0;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border-right: 1px solid var(--border-color);
}

.magazine-page.right {
  right: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.magazine-page h4 {
  font-size: 1.5rem;
  color: var(--xintu-blue);
  margin-bottom: 0.5rem;
}

.magazine-page p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

.magazine-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.magazine-nav-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: var(--transition-fast);
  cursor: pointer;
}

.magazine-nav-btn:hover {
  background: var(--xintu-blue);
  border-color: var(--xintu-blue);
  color: white;
}

.magazine-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.magazine-nav-btn svg { width: 20px; height: 20px; }

.magazine-page-num {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.magazine-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.magazine-item {
  cursor: pointer;
  transition: var(--transition);
}

.magazine-item:hover { transform: translateY(-4px); }

.magazine-cover {
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.magazine-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 58, 107, 0.6), rgba(0, 163, 224, 0.3));
}

.magazine-cover-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: white;
}

.magazine-cover-content .issue {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.magazine-cover-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.magazine-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Download List */
.download-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.download-item:hover {
  border-color: var(--xintu-blue);
  box-shadow: var(--shadow-sm);
}

.download-item .file-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 58, 107, 0.08);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.download-item .file-icon svg { width: 24px; height: 24px; color: var(--xintu-blue); }

.download-item .file-info { flex: 1; min-width: 0; }
.download-item .file-info h4 { font-size: 0.9rem; color: var(--xintu-blue); }
.download-item .file-info span { font-size: 0.75rem; color: var(--text-light); }

.download-item .download-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--xintu-blue);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.download-item:hover .download-btn { background: var(--xintu-accent); }
.download-item .download-btn svg { width: 18px; height: 18px; color: white; }

/* ============================================
   FOOTER / 页脚
   ============================================ */
.footer {
  background: var(--xintu-blue-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: var(--space-lg);
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo-text span { color: rgba(255, 255, 255, 0.5); }
/* Logo on dark footer: render white for contrast */
.footer-brand .logo-img { height: 34px; filter: brightness(0) invert(1); }

.footer-brand p {
  font-size: 0.9rem;
  margin: 1.25rem 0;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--xintu-accent);
}

.footer-social svg { width: 18px; height: 18px; color: white; }

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--xintu-accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--xintu-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom p { color: rgba(255, 255, 255, 0.5); }

.footer-bottom .footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom .footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .footer-links a:hover { color: var(--xintu-accent); }

/* ============================================
   FLOATING BAR / 悬浮快捷入口
   ============================================ */
.floating-bar {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.float-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--xintu-blue);
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(27, 58, 107, 0.25);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.float-btn:hover {
  background: var(--xintu-accent);
  transform: scale(1.1);
}

.float-btn svg { width: 24px; height: 24px; }

.float-btn .float-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--xintu-blue-dark);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  pointer-events: none;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
}

.float-btn.main {
  background: var(--xintu-accent);
  width: 56px;
  height: 56px;
}

.float-btn.main svg { width: 28px; height: 28px; }

/* Chat popup */
.chat-popup {
  position: fixed;
  right: 1.5rem;
  bottom: 5rem;
  width: 320px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-popup.show { display: flex; }

.chat-header {
  background: var(--xintu-blue);
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h5 { font-size: 1rem; }
.chat-header .chat-close { cursor: pointer; opacity: 0.7; }
.chat-header .chat-close:hover { opacity: 1; }

.chat-body {
  padding: 1.25rem;
  flex: 1;
}

.chat-msg {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 0.875rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.chat-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-action {
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--xintu-blue);
  text-align: center;
  transition: var(--transition-fast);
}

.chat-action:hover {
  background: var(--xintu-blue);
  color: white;
  border-color: var(--xintu-blue);
}

/* ============================================
   ANIMATIONS / 滚动动画
   ============================================ */
/* Reveal animations = progressive enhancement.
   Initial hidden state applies ONLY when JS is active (html.js).
   Without JS (or if JS fails), content stays fully visible. */
.js .fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

/* Delay variants */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE / 响应式
   ============================================ */
@media (max-width: 1024px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .software-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .magazine-list { grid-template-columns: repeat(2, 1fr); }
  .download-list { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-intro { grid-template-columns: 1fr; gap: 2rem; }
  .solution-item { grid-template-columns: 1fr; gap: 1.5rem; }
  .solution-item.reverse .solution-image { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .industry-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 5rem;
    --space-xl: 3.5rem;
  }

  .container { padding: 0 16px; }

  /* Header mobile */
  .nav, .header-actions .lang-switch { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile Nav */
  .nav.mobile-open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: white;
    padding: 1rem;
    overflow-y: auto;
    gap: 0;
  }

  .nav.mobile-open .nav-item > a {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
  }

  .nav.mobile-open .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
  }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2rem; }
  .hero .hero-desc { font-size: 1rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat .stat-num { font-size: 1.6rem; }

  /* Sections */
  .section-title h2 { font-size: 1.6rem; }

  .business-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .magazine-list { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .download-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-bottom .footer-links { flex-wrap: wrap; justify-content: center; }

  /* Products layout */
  .products-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }

  /* Timeline */
  .timeline::before { left: 0; }
  .timeline-item { width: 100%; padding: 1rem 0 1rem 2.5rem; text-align: left !important; left: 0 !important; }
  .timeline-item::before { left: 0 !important; right: auto !important; }

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

  /* Industry */
  .industry-features { grid-template-columns: 1fr; }

  /* Magazine */
  .magazine-page { display: none; }
  .magazine-frame { aspect-ratio: 3 / 4; }
  .magazine-page.single { display: flex; width: 100%; }

  /* Floating bar */
  .floating-bar { right: 1rem; bottom: 1rem; }
  .float-btn { width: 44px; height: 44px; }
  .float-btn.main { width: 50px; height: 50px; }

  .page-banner h1 { font-size: 2rem; }
  .about-intro-image { height: 250px; }
  .contact-info-card, .contact-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .value-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
}

/* ===== Partners / 合作伙伴 ===== */
.partners-section { background: #F5F7FA; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(27, 58, 107, 0.05);
  transition: transform .3s ease, box-shadow .3s ease;
  min-height: 96px;
}
.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(27, 58, 107, 0.12);
}
.partner-logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .72;
  transition: filter .3s ease, opacity .3s ease;
}
.partner-logo:hover img { filter: grayscale(0); opacity: 1; }

/* "System Trial / 系统试用" nav entry highlight */
.nav-trial { color: #00A3E0 !important; font-weight: 600; }

@media (max-width: 992px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .partners-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }

/* ===== News Article Detail ===== */
.container-narrow { max-width: 880px; margin: 0 auto; }
.news-article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.1rem;
  margin-bottom: 1.1rem; color: #5A6573; font-size: .9rem;
}
.news-article-meta .news-tag {
  position: static; display: inline-block; background: #00A3E0; color: #fff;
  padding: .25rem .8rem; border-radius: 20px; font-size: .78rem; font-weight: 600;
}
.news-article-title {
  font-size: 2rem; line-height: 1.35; color: #1B3A6B; margin: 0 0 1.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid #eef1f5;
}
.news-article-content { color: #333; font-size: 1.02rem; line-height: 1.9; }
.news-article-content p { margin: 0 0 1.1rem; }
.news-article-content img {
  max-width: 100%; height: auto !important; display: block;
  margin: 1.5rem auto; border-radius: 8px; box-shadow: 0 4px 16px rgba(27,58,107,.08);
}
.news-article-content h2, .news-article-content h3 {
  color: #1B3A6B; margin: 2rem 0 1rem; line-height: 1.4;
}
.news-article-content strong { color: #1B3A6B; }
.news-article-content a { color: #00A3E0; text-decoration: underline; }
.news-article-nav {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 2.5rem 0 1.25rem; padding-top: 1.5rem; border-top: 1px solid #eef1f5;
}
.news-article-nav a { color: #1B3A6B; font-weight: 600; max-width: 46%; transition: color .2s; }
.news-article-nav a:hover { color: #00A3E0; }
.news-article-nav .disabled { color: #b8c0cc; pointer-events: none; }
@media (max-width: 576px) {
  .news-article-title { font-size: 1.5rem; }
  .news-article-nav a { max-width: 100%; }
}
