/* ============================================
   湖南微肽生物医药 - 现代化设计系统
   Mobile-First Responsive Design
   ============================================ */

/* === Design Tokens === */
:root {
  /* Primary - Medical Blue */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --primary-800: #1e3a8a;
  --primary-900: #172554;

  /* Accent - Teal/Cyan for Medical Tech */
  --accent-50: #ecfeff;
  --accent-100: #cffafe;
  --accent-200: #a5f3fc;
  --accent-300: #67e8f9;
  --accent-400: #22d3ee;
  --accent-500: #06b6d4;
  --accent-600: #0891b2;

  /* Success - Green for Trust */
  --success-500: #10b981;
  --success-600: #059669;

  /* Warning */
  --warning-500: #f59e0b;

  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  --gradient-hero: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #06b6d4 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px rgb(37 99 235 / 0.15);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;

  /* Spacing */
  --section-padding: 4rem 0;
  --container-max: 1280px;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-600);
}

/* === Container === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.875rem); }
h4 { font-size: 1.125rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-500);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgb(37 99 235 / 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgb(37 99 235 / 0.4);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-500);
  border: 2px solid var(--primary-500);
}

.btn-outline:hover {
  background: var(--primary-500);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--primary-500);
  background: var(--primary-50);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

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

/* === Navigation (Mobile-First: dropdown by default) === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.navbar.scrolled .navbar-brand {
  color: var(--text-primary);
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

/* Mobile nav: dropdown menu */
.navbar-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  flex-direction: column;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  list-style: none;
  gap: 0;
}

.navbar-nav.active {
  display: flex;
}

.navbar-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary-500);
  background: var(--primary-50);
}

.navbar-cta {
  display: none;
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #fff;
  font-size: 0.9375rem;
}

.navbar.scrolled .navbar-phone {
  color: var(--primary-500);
}

/* Mobile toggle: shown by default */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--text-primary);
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99 235, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 2rem;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #67e8f9 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* === Stats Bar === */
.stats-bar {
  background: var(--bg-primary);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* === Cards === */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  color: var(--primary-500);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* === Product Cards === */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.product-info {
  padding: 1.25rem;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-500);
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

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

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-500);
}

.product-link:hover {
  gap: 0.75rem;
}

/* === Feature Section === */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-xl);
  font-size: 1.75rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* === CTA Section === */
.cta-section {
  background: var(--gradient-dark);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* === News Section === */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.news-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.news-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
}

.news-image {
  aspect-ratio: 16/9;
  background: var(--gray-100);
  overflow: hidden;
}

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

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

.news-content {
  padding: 1.25rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.news-tag {
  padding: 0.125rem 0.5rem;
  background: var(--primary-50);
  color: var(--primary-500);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Footer === */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* === AI Chatbot (Mobile: full-width bottom sheet) === */
/* === AI 智能客服（工号008）=== */
.cs-trigger {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37,99,235,0.35), 0 0 0 0 rgba(37,99,235,0.3);
  z-index: 999;
  transition: all 0.3s ease;
  border: none;
  animation: csPulse 2.5s infinite;
}

@keyframes csPulse {
  0% { box-shadow: 0 6px 20px rgba(37,99,235,0.35), 0 0 0 0 rgba(37,99,235,0.3); }
  50% { box-shadow: 0 6px 20px rgba(37,99,235,0.35), 0 0 0 12px rgba(37,99,235,0); }
  100% { box-shadow: 0 6px 20px rgba(37,99,235,0.35), 0 0 0 0 rgba(37,99,235,0); }
}

.cs-trigger:hover {
  transform: scale(1.08);
  animation: none;
  box-shadow: 0 8px 28px rgba(37,99,235,0.45);
}

.cs-trigger svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.cs-trigger .cs-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  line-height: 1.2;
  border: 2px solid #fff;
}

.cs-window {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: #f8fafc;
  border-radius: 0;
  box-shadow: none;
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.cs-window.open {
  display: flex;
  animation: csSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes csSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.cs-header {
  background: linear-gradient(135deg, #1e40af 0%, #5b21b6 100%);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cs-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-avatar {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.cs-avatar-text {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cs-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #1e40af;
}

.cs-header-text h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px 0;
}

.cs-header-text p {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  margin: 0;
}

.cs-close-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cs-close-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* Messages area */
.cs-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f1f5f9;
}

.cs-messages::-webkit-scrollbar {
  width: 4px;
}

.cs-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cs-msg {
  display: flex;
  gap: 8px;
  max-width: 88%;
  animation: csFadeIn 0.3s ease;
}

@keyframes csFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cs-msg.bot {
  align-self: flex-start;
}

.cs-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.cs-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
}

.cs-msg.bot .cs-msg-avatar {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}

.cs-msg.user .cs-msg-avatar {
  background: #e2e8f0;
  color: #475569;
}

.cs-msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  word-break: break-word;
}

.cs-msg.bot .cs-msg-bubble {
  background: #fff;
  color: #1e293b;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.cs-msg.user .cs-msg-bubble {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.cs-msg-time {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 4px;
  padding: 0 4px;
}

.cs-msg.bot .cs-msg-time {
  text-align: left;
}

.cs-msg.user .cs-msg-time {
  text-align: right;
}

/* 客服消息中的电话号码 - 大按钮一键拨号 */
.cs-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 4px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
  touch-action: manipulation;
}

.cs-phone-link::before {
  content: '📞';
  font-size: 18px;
}

.cs-phone-link:hover,
.cs-phone-link:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  color: #fff !important;
}

/* Typing indicator */
.cs-typing {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  align-items: center;
}

.cs-typing span {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: csBounce 1.4s infinite;
}

.cs-typing span:nth-child(2) { animation-delay: 0.2s; }
.cs-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes csBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* Quick replies */
.cs-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
  background: #f1f5f9;
  flex-shrink: 0;
}

.cs-quick-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cs-quick-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
}

/* Input area */
.cs-input-area {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.cs-input-area input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 13.5px;
  outline: none;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cs-input-area input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
  background: #fff;
}

.cs-send-btn {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.cs-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

/* Upload area */
.cs-upload-area {
  padding: 8px 16px 10px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.cs-upload-title {
  font-size: 10px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 500;
}

.cs-upload-buttons {
  display: flex;
  gap: 8px;
}

.cs-upload-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #e2e8f0;
  color: #475569;
  background: #fff;
}

.cs-upload-btn:hover {
  border-color: #93c5fd;
  color: #2563eb;
  background: #eff6ff;
}

.cs-upload-btn svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.cs-upload-license:hover {
  border-color: #86efac;
  color: #16a34a;
  background: #f0fdf4;
}

.cs-upload-cert:hover {
  border-color: #93c5fd;
  color: #2563eb;
  background: #eff6ff;
}

.cs-upload-status {
  margin-top: 6px;
  font-size: 11px;
  color: #64748b;
  display: none;
}

.cs-upload-status.active {
  display: block;
}

.cs-upload-status .cs-upload-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  color: #16a34a;
}

.cs-upload-status .cs-upload-item.error {
  color: #dc2626;
}

/* Privacy Notice */
.cs-privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 6px 10px;
  margin-top: 6px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.4;
  color: #0369a1;
}

.cs-privacy-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Footer */
.cs-footer {
  padding: 6px 16px 8px;
  background: #fff;
  text-align: center;
  font-size: 10px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
}

/* === B2B Section === */
.b2b-section {
  background: var(--gray-50);
  padding: 4rem 0;
}

.b2b-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.b2b-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.b2b-feature {
  padding: 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.b2b-feature:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}

.b2b-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.b2b-feature h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.b2b-feature p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* === Animations === */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-left {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children - 默认可见，JS增强动画 */
.stagger-children > * {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* JS 增强：初始隐藏，滚动时渐入 */
.js-enhanced .stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
}

.js-enhanced .stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.js-enhanced .stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.js-enhanced .stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.js-enhanced .stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.js-enhanced .stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.js-enhanced .stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.js-enhanced .stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* === Floating Contact Bar (Mobile: shown by default) === */
.floating-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 0;
  z-index: 998;
}

.floating-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}

.floating-contact-info a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.py-section { padding: 4rem 0; }

/* === Scroll Progress === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1001;
  transition: width 0.1s linear;
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 5rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 997;
}

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

.back-to-top:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--primary-500);
}

/* === Loading Skeleton === */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === Certification Badges === */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.cert-badge svg {
  color: var(--success-500);
}

/* === Process/Timeline (Mobile: vertical, no connecting line) === */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  display: none;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 2px solid var(--primary-500);
  border-radius: 50%;
  font-weight: 700;
  color: var(--primary-500);
  position: relative;
  z-index: 1;
}

.process-step.active .process-step-number {
  background: var(--primary-500);
  color: #fff;
}

.process-step h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================
   Page Hero (Subpages) — Mobile base
   ============================================ */
.page-hero {
  position: relative;
  padding: 6rem 0 3rem;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.3) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-content h1 {
  color: #fff;
  font-size: clamp(1.75rem, 6vw, 3rem);
  margin-bottom: 0.5rem;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.page-hero-content .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-content .section-label::before {
  background: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Timeline (About Page)
   ============================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

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

.timeline-dot {
  position: absolute;
  left: -0.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary-500);
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary-200);
}

.timeline-content {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  transition: all var(--transition-base);
}

.timeline-content:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-50);
  color: var(--primary-600);
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

/* ============================================
   Certification Grid (About Page) — Mobile: 1 col
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.cert-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

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

.cert-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cert-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

/* ============================================
   Team Grid (About Page) — Mobile: 1 col
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
}

.team-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
  border: 3px solid var(--primary-100);
}

.team-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary-500);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-desc {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ============================================
   Values Grid (About Page) — Mobile: 1 col
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.value-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

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

.value-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.value-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

/* ============================================
   About Image Placeholder
   ============================================ */
.about-image-placeholder {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--gray-100);
}

/* ============================================
   Product Filter & Categories (Products Page)
   ============================================ */
.product-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-300);
  color: var(--primary-500);
}

.filter-btn.active {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: #fff;
}

.product-category-section {
  margin-bottom: 2rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-100);
}

.category-header h3 {
  font-size: 1.25rem;
}

.category-header .category-count {
  padding: 0.25rem 0.75rem;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.product-tag {
  padding: 0.125rem 0.5rem;
  background: var(--gray-100);
  color: var(--text-secondary);
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

/* OEM CTA Box — Mobile base */
.oem-cta-box {
  background: var(--gradient-dark);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.oem-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
}

.oem-cta-box > * {
  position: relative;
  z-index: 1;
}

.oem-cta-title {
  font-size: 1.375rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.oem-cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.oem-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* ============================================
   B2B Page Components — Mobile: 1 col
   ============================================ */
.b2b-models {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.model-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.model-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.model-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.model-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.model-header h4 {
  font-size: 1rem;
}

.model-tag {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--accent-50);
  color: var(--accent-600);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.model-body {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.model-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.model-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.model-features li::before {
  content: '✓';
  color: var(--success-500);
  font-weight: 700;
  flex-shrink: 0;
}

/* B2B Process Timeline — Mobile: vertical column */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.process-timeline::before {
  display: none;
}

.process-timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 0;
}

.process-dot {
  width: 40px;
  height: 40px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 2px solid var(--primary-500);
  border-radius: 50%;
  font-weight: 700;
  color: var(--primary-500);
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.process-line {
  display: none;
}

.process-content h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.process-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Advantage Grid — Mobile: 1 col */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.advantage-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

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

.advantage-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.advantage-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary-500);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================
   News Page Components — Mobile: 1 col
   ============================================ */
.news-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.news-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
}

.news-featured:hover {
  box-shadow: var(--shadow-lg);
}

.news-featured-image {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--gray-100);
  overflow: hidden;
}

.news-featured-image .news-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.news-featured-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-content .news-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.news-featured-content h2 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-featured-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-500);
  margin-top: auto;
}

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

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 0.5rem 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination-btn:hover {
  border-color: var(--primary-300);
  color: var(--primary-500);
}

.pagination-btn.active {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: #fff;
}

/* ============================================
   Contact Page Components
   ============================================ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

/* Map Placeholder — Mobile: shorter */
.map-placeholder {
  position: relative;
  width: 100%;
  height: 250px;
  background: var(--gray-100);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* ============================================
   Form Components
   ============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ============================================
   Footer Disclaimer
   ============================================ */
.footer-disclaimer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer p {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

/* ================================================================
   TABLET BREAKPOINT (≥768px)
   ================================================================ */
@media (min-width: 768px) {
  :root {
    --section-padding: 5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  /* Navigation: horizontal layout */
  .navbar {
    padding: 1rem 0;
  }

  .navbar.scrolled {
    padding: 0.75rem 0;
  }

  .navbar-nav {
    display: flex;
    position: static;
    background: none;
    flex-direction: row;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
    gap: 0.25rem;
  }

  .navbar-nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .navbar.scrolled .navbar-nav a {
    color: var(--text-secondary);
  }

  .navbar-nav a:hover,
  .navbar-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .navbar.scrolled .navbar-nav a:hover,
  .navbar.scrolled .navbar-nav a.active {
    color: var(--primary-500);
    background: var(--primary-50);
  }

  .navbar-cta {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  .navbar-brand img {
    height: 40px;
  }

  /* Hero: left-aligned, horizontal stats */
  .hero-content {
    text-align: left;
  }

  .hero-actions {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-stats {
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
  }

  .hero-desc {
    font-size: 1.125rem;
  }

  /* Stats: 2 columns */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.75rem;
  }

  /* Features: 2 columns */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2.5rem 2rem;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
    font-size: 1.875rem;
  }

  /* News: 2 columns */
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  /* Footer: 2x2 grid */
  .footer {
    padding: 4rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    font-size: 0.8125rem;
  }

  /* AI客服：桌面端定位 */
  .cs-trigger {
    bottom: 2.5rem;
    right: 2rem;
    width: 60px;
    height: 60px;
  }

  .cs-trigger svg {
    width: 28px;
    height: 28px;
  }

  .cs-window {
    bottom: 6.5rem;
    right: 2rem;
    left: auto;
    width: 400px;
    height: 600px;
    max-height: calc(100vh - 8rem);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    resize: both;
    overflow: hidden;
    min-width: 300px;
    min-height: 400px;
  }

  .cs-header {
    cursor: move;
    user-select: none;
  }

  /* 拖拽时禁止选中文字 */
  .cs-window.cs-dragging {
    user-select: none;
    transition: none !important;
  }

  /* 缩放手柄视觉提示 */
  .cs-window::-webkit-resizable {
    display: block;
  }

  /* Back to top */
  .back-to-top {
    bottom: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
  }

  /* Floating contact: hidden on tablet+ */
  .floating-contact {
    display: none;
  }

  /* CTA */
  .cta-section {
    padding: 5rem 0;
  }

  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }

  /* Page Hero */
  .page-hero {
    padding: 8rem 0 4rem;
  }

  .page-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .page-hero-content p {
    font-size: 1.125rem;
  }

  /* Cert grid: 2 columns */
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* Team grid: 2 columns */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team-avatar {
    width: 100px;
    height: 100px;
  }

  /* Values grid: 2 columns */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* B2B models: 2 columns */
  .b2b-models {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Advantage grid: 2 columns */
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* Process timeline: horizontal row */
  .process-timeline {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
  }

  .process-timeline::before {
    display: block;
  }

  .process-timeline-item {
    display: block;
    text-align: center;
    flex: 1;
    padding: 0 0.5rem;
  }

  .process-dot {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    font-size: 1rem;
  }

  /* OEM CTA box */
  .oem-cta-box {
    padding: 3rem;
  }

  .oem-cta-title {
    font-size: 1.75rem;
  }

  .oem-cta-actions {
    flex-direction: row;
    justify-content: center;
  }

  /* News featured */
  .news-featured-content {
    padding: 1.5rem;
  }

  .news-featured-content h2 {
    font-size: 1.25rem;
  }

  /* Map */
  .map-placeholder {
    height: 300px;
  }

  /* Section padding utility */
  .py-section {
    padding: 5rem 0;
  }
}

/* ================================================================
   DESKTOP BREAKPOINT (≥1024px)
   ================================================================ */
@media (min-width: 1024px) {
  :root {
    --section-padding: 6rem 0;
  }

  /* Stats: 4 columns */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stats-bar {
    padding: 3rem 0;
  }

  /* Features: 3 columns */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .feature-card {
    padding: 3rem 2rem;
  }

  .feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  /* News: 3 columns */
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Product grid: auto-fill */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  /* Footer: 4 columns */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .footer {
    padding: 5rem 0 2rem;
  }

  /* B2B grid: 2 columns with larger gap */
  .b2b-grid {
    gap: 4rem;
  }

  .b2b-section {
    padding: 6rem 0;
  }

  /* Process steps: 5 columns with connecting line */
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .process-steps::before {
    display: block;
  }

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

  .cert-card {
    padding: 2rem 1.5rem;
  }

  .cert-card-icon {
    font-size: 2.5rem;
  }

  /* Team grid: 3 columns */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

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

  /* B2B models: 3 columns */
  .b2b-models {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Advantage grid: 3 columns */
  .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* News featured: 2 columns */
  .news-featured {
    grid-template-columns: 1fr 1fr;
  }

  .news-featured-image {
    aspect-ratio: 16/10;
  }

  .news-featured-content {
    padding: 2rem;
  }

  .news-featured-content h2 {
    font-size: 1.5rem;
  }

  /* CTA */
  .cta-section {
    padding: 6rem 0;
  }

  /* Section padding utility */
  .py-section {
    padding: 6rem 0;
  }

  /* Map */
  .map-placeholder {
    height: 350px;
  }
}

/* ================================================================
   LARGE SCREEN BREAKPOINT (≥1280px)
   ================================================================ */
@media (min-width: 1280px) {
  h1 { font-size: 3.75rem; }
  h2 { font-size: 3rem; }
  h3 { font-size: 1.875rem; }

  .hero-stat-value {
    font-size: 2.5rem;
  }

  .section-desc {
    font-size: 1.125rem;
  }

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