/* ===================================
   海普德数字技术 - 企业官网样式 v2.0
   现代科技感 · 精致动效 · 全面响应式
=================================== */

/* ========== CSS Variables ========== */
:root {
  --primary: #070d1a;
  --primary-light: #0f1d36;
  --primary-mid: #152544;
  --accent: #4f46e5;
  --accent-light: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --cyan: #06b6d4;
  --teal: #10b981;
  --blue: #3b82f6;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 20px 40px rgba(79,70,229,0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
  --header-height: 76px;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ========== Layout ========== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }

.section-title { text-align: center; margin-bottom: 68px; }
.section-title .label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
  padding: 6px 18px; background: rgba(79,70,229,0.06);
  border-radius: 50px;
}
.section-title .label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(79,70,229,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(79,70,229,0); }
}
.section-title h2 {
  font-size: 2.5rem; font-weight: 800; color: var(--text-dark);
  line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-title h2 span {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 600px; margin: 0 auto;
}
.section-title .divider {
  width: 56px; height: 4px; margin: 0 auto 20px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 2px;
}

.bg-light { background: var(--bg-light); position: relative; }
.bg-light::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,70,229,0.03), transparent 70%);
  pointer-events: none;
}

/* ========== Decorative Elements ========== */
.glow-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(120px); opacity: 0.15;
}
.glow-orb.accent { background: var(--accent); }
.glow-orb.cyan { background: var(--cyan); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm); transition: all 0.3s ease; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  background-size: 200% 100%; transition: 0.6s;
}
.btn:hover::after { background-position: 100% 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; box-shadow: 0 4px 18px rgba(79,70,229,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(79,70,229,0.45);
}

.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

.btn-white {
  background: #fff; color: var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.btn-lg { padding: 17px 42px; font-size: 1rem; border-radius: 12px; }

/* ========== Header ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 1000; transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  border-bottom-color: rgba(0,0,0,0.04);
  background: rgba(255,255,255,0.92);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); position: relative; z-index: 1001; }
.logo-icon { width: 42px; height: 42px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(79,70,229,0.2)); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .cn { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-text .en { font-size: 0.6rem; font-weight: 600; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; }

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 20px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-body); border-radius: 10px; position: relative;
}
.nav a:hover { color: var(--accent); background: rgba(79,70,229,0.04); }
.nav a.active { color: var(--accent); font-weight: 600; background: rgba(79,70,229,0.06); }

a.nav-cta {
  margin-left: 10px; padding: 10px 26px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; border-radius: 10px; font-weight: 600;
  box-shadow: 0 2px 10px rgba(79,70,229,0.25);
}
a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79,70,229,0.35);
  background: linear-gradient(135deg, #7c3aed, var(--accent));
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 1001; }
.hamburger span { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========== Hero ========== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-height);
  background: var(--primary); color: #fff; overflow: hidden;
}

/* Animated gradient background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(79,70,229,0.25), transparent 50%),
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(6,182,212,0.15), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(16,185,129,0.1), transparent 50%);
}

/* Animated grid */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 20s linear infinite;
}
@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Floating particles */
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%; animation: float-up linear infinite;
}
.particle.dot {
  width: 2px; height: 2px; background: rgba(255,255,255,0.4);
}
.particle.circle {
  width: 4px; height: 4px; background: transparent;
  border: 1px solid rgba(99,102,241,0.4);
}
@keyframes float-up {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100vh) translateX(40px) scale(0.3); opacity: 0; }
}

.hero .container { position: relative; z-index: 2; width: 100%; }

.hero-content { max-width: 700px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; margin-bottom: 32px;
  background: rgba(79,70,229,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px rgba(6,182,212,0.6);
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-size: 3.8rem; font-weight: 900; line-height: 1.1; margin-bottom: 28px;
  letter-spacing: -2px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #a78bfa, #06b6d4, #10b981);
  background-size: 200% 200%; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.65);
  line-height: 1.9; margin-bottom: 40px; max-width: 540px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* Hero visual (decorative) */
.hero-visual {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px; z-index: 1;
  background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-visual::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.15);
  animation: ring-pulse 4s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%,-50%) scale(1.3); opacity: 0.05; }
}

/* ========== Page Hero (Subpages) ========== */
.page-hero {
  position: relative; padding: calc(var(--header-height) + 90px) 0 90px;
  background: var(--primary); color: #fff; text-align: center; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(79,70,229,0.2), transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 70%, rgba(6,182,212,0.12), transparent 50%);
}
.page-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 3rem; font-weight: 900; margin-bottom: 18px; letter-spacing: -1px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; }

.breadcrumb {
  display: inline-flex; gap: 10px; margin-top: 28px; font-size: 0.88rem;
  color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06);
  padding: 8px 20px; border-radius: 50px; backdrop-filter: blur(8px);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }

/* ========== Service Cards ========== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.service-card {
  background: var(--bg-card); border-radius: var(--radius-xl);
  padding: 56px 44px; box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(6,182,212,0.08));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px; transition: all 0.4s ease;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  box-shadow: 0 8px 24px rgba(79,70,229,0.3);
  transform: scale(1.05) rotate(-3deg);
}
.service-icon svg { width: 34px; height: 34px; stroke: var(--accent); transition: all 0.4s ease; }
.service-card:hover .service-icon svg { stroke: #fff; }

.service-card h3 { font-size: 1.45rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.85; margin-bottom: 28px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 6px 16px; border-radius: 50px; font-size: 0.8rem;
  font-weight: 500; color: var(--text-body);
  background: var(--bg-light); border: 1px solid var(--border-light);
  transition: var(--transition);
}
.tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(79,70,229,0.04); }

/* ========== Feature Cards ========== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card {
  text-align: center; padding: 44px 28px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(79,70,229,0.04), transparent 70%);
  opacity: 0; transition: opacity 0.5s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 62px; height: 62px; margin: 0 auto 24px; border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(79,70,229,0.2);
}
.feature-card:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(79,70,229,0.3);
}
.feature-icon svg { width: 30px; height: 30px; stroke: #fff; }

.feature-card h4 { font-size: 1.12rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

/* ========== Stats Section ========== */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  padding: 100px 0; position: relative; overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(79,70,229,0.15), transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.08), transparent 50%);
}
.stats .container { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }

.stat-item { position: relative; }
.stat-item .num {
  font-size: 3.2rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 14px;
}
.stat-item .label { font-size: 0.95rem; color: rgba(255,255,255,0.55); font-weight: 500; }
.stat-item::after {
  content: ''; position: absolute; right: -16px; top: 20%;
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
}
.stat-item:last-child::after { display: none; }

/* ========== About Section ========== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-intro .label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
  padding: 6px 18px; background: rgba(79,70,229,0.06); border-radius: 50px;
}
.about-intro .label::before { 
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse-dot 2s infinite;
}
.about-intro h2 { font-size: 2.4rem; font-weight: 800; color: var(--text-dark); line-height: 1.25; margin-bottom: 28px; letter-spacing: -0.5px; }
.about-intro p { color: var(--text-muted); line-height: 1.95; margin-bottom: 18px; font-size: 1rem; }

.points { margin-top: 32px; }
.points li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 0.98rem; color: var(--text-body); }
.points .check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex; align-items: center; justify-content: center;
}
.points .check svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; }

/* About Visual */
.about-visual { position: relative; }
.card-bg {
  background: linear-gradient(145deg, var(--primary-mid), var(--primary-light));
  border-radius: var(--radius-xl); padding: 52px 44px; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.card-bg::before {
  content: ''; position: absolute; top: -60px; right: -40px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(79,70,229,0.35), transparent);
  border-radius: 50%;
}
.card-bg .visual-title {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 36px;
  position: relative; z-index: 2;
}
.visual-items { position: relative; z-index: 2; }
.visual-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06); transition: var(--transition);
}
.visual-item:last-child { border-bottom: none; }
.visual-item:hover { padding-left: 6px; }
.visual-item .vi-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.visual-item:hover .vi-icon { background: rgba(79,70,229,0.3); }
.visual-item .vi-icon svg { width: 26px; height: 26px; stroke: var(--cyan); transition: var(--transition); }
.visual-item:hover .vi-icon svg { stroke: #fff; }
.visual-item .vi-text h5 { font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
.visual-item .vi-text p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ========== Mission Vision Values ========== */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mvv-card {
  background: var(--bg-card); border-radius: var(--radius-xl); padding: 52px 38px;
  text-align: center; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.mvv-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.mvv-card .mvv-num {
  position: absolute; top: 24px; right: 32px;
  font-size: 5rem; font-weight: 900; color: var(--border-light);
  line-height: 1; pointer-events: none;
}
.mvv-icon {
  width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(6,182,212,0.06));
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; transition: var(--transition);
}
.mvv-card:hover .mvv-icon { background: linear-gradient(135deg, var(--accent), #7c3aed); }
.mvv-icon svg { width: 38px; height: 38px; stroke: var(--accent); transition: var(--transition); }
.mvv-card:hover .mvv-icon svg { stroke: #fff; }
.mvv-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; position: relative; z-index: 2; }
.mvv-card p { color: var(--text-muted); line-height: 1.85; font-size: 0.95rem; position: relative; z-index: 2; }

/* ========== Timeline ========== */
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 20px; bottom: 20px;
  width: 2px; background: linear-gradient(180deg, var(--accent), var(--cyan), var(--teal));
  transform: translateX(-50%);
}
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 52px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item .tl-content {
  width: 45%; padding: 32px; background: var(--bg-card);
  border-radius: var(--radius-lg); border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.timeline-item .tl-content:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.timeline-item .tl-year {
  font-size: 1.6rem; font-weight: 900; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.timeline-item .tl-content h4 { font-size: 1.12rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.timeline-item .tl-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

.timeline-item .tl-dot {
  position: absolute; left: 50%; top: 32px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent);
  transform: translateX(-50%); z-index: 2;
  box-shadow: 0 0 0 6px rgba(79,70,229,0.1);
}

/* ========== Brand Grid ========== */
.brand-section { margin-bottom: 72px; }
.brand-section:last-child { margin-bottom: 0; }
.brand-section-header { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.brand-section-header .bs-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(79,70,229,0.2);
}
.brand-section-header .bs-icon svg { width: 28px; height: 28px; stroke: #fff; }
.brand-section-header h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.brand-section-header p { font-size: 0.95rem; color: var(--text-muted); }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }

.brand-item {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 24px 18px; text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default; position: relative; overflow: hidden;
}
.brand-item::before {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--cyan));
  transition: width 0.4s ease; border-radius: 2px;
}
.brand-item:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.brand-item:hover::before { width: 60%; }
.brand-item .brand-name { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
.brand-item .brand-type { font-size: 0.75rem; color: var(--text-muted); }

/* ========== Solution Cards ========== */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.solution-card {
  background: var(--bg-card); border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.solution-card .sc-header {
  padding: 38px 36px;
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-light));
  color: #fff; position: relative; overflow: hidden;
}
.solution-card .sc-header::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(79,70,229,0.3), transparent);
  border-radius: 50%;
}
.solution-card .sc-header svg {
  width: 44px; height: 44px; stroke: var(--cyan); margin-bottom: 18px;
  position: relative; z-index: 2;
}
.solution-card .sc-header h4 { font-size: 1.28rem; font-weight: 700; position: relative; z-index: 2; }

.solution-card .sc-body { padding: 32px 36px; }
.solution-card .sc-body ul li {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 0;
  font-size: 0.93rem; color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}
.solution-card .sc-body ul li:last-child { border-bottom: none; }
.solution-card .sc-body ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 10px; flex-shrink: 0;
}

/* ========== Contact Page ========== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; align-items: start; }

.contact-info-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 44px;
  box-shadow: var(--shadow-card); border: 1px solid var(--border-light);
  margin-bottom: 22px; transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-lg); }

.contact-info-card .cic-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 2px solid var(--border-light);
}
.cic-badge {
  padding: 5px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.cic-badge.headquarters { background: rgba(79,70,229,0.08); color: var(--accent); }
.cic-badge.branch { background: rgba(6,182,212,0.08); color: var(--cyan); }
.contact-info-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); }

.contact-info-card .ci-row {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px;
}
.contact-info-card .ci-row:last-child { margin-bottom: 0; }
.contact-info-card .ci-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card .ci-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.contact-info-card .ci-text .ci-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 3px; }
.contact-info-card .ci-text .ci-value { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; line-height: 1.65; }
.contact-info-card .ci-text .phone { font-size: 1.2rem; color: var(--accent); font-weight: 700; }

/* Contact Form */
.contact-form {
  background: var(--bg-card); border-radius: var(--radius-xl); padding: 52px;
  box-shadow: var(--shadow-card); border: 1px solid var(--border-light);
}
.contact-form h3 { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.contact-form > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 36px; }

.form-group { margin-bottom: 26px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 9px; }
.form-group label .required { color: #ef4444; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px; border: 2px solid var(--border);
  border-radius: 12px; font-size: 0.95rem; font-family: inherit;
  color: var(--text-dark); background: var(--bg-light);
  transition: all 0.3s ease; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.06);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.form-success {
  display: none; padding: 18px 22px; border-radius: 12px;
  background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2);
  color: #059669; font-size: 0.95rem; margin-bottom: 24px;
}
.form-success.show { display: block; animation: fade-slide-in 0.5s ease; }

@keyframes fade-slide-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== CTA Section ========== */
.cta-section {
  position: relative; padding: 100px 0; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid)); overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(79,70,229,0.2), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(6,182,212,0.1), transparent 50%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 18px; }
.cta-section p { font-size: 1.08rem; color: rgba(255,255,255,0.6); margin-bottom: 38px; }

/* ========== Footer ========== */
.footer {
  background: var(--primary); color: rgba(255,255,255,0.6); padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 24px; }
.footer-col p { font-size: 0.9rem; line-height: 1.85; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a {
  font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col ul li a::before { content: ''; width: 0; height: 1px; background: var(--accent); transition: width 0.3s ease; }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a:hover::before { width: 16px; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.9rem;
}
.footer-contact-item svg { width: 18px; height: 18px; stroke: var(--cyan); flex-shrink: 0; margin-top: 3px; }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.footer-logo .logo-icon { width: 38px; height: 38px; }
.footer-logo .logo-text .cn { color: #fff; font-size: 1.08rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0; text-align: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.3);
}

/* ========== Video Channel QR ========== */
.video-channel-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  padding: 60px 0;
}
.video-channel-section .container {
  display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.video-channel-qr {
  width: 200px; height: 200px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  background: #fff; padding: 12px;
  flex-shrink: 0;
}
.video-channel-qr img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.video-channel-info { max-width: 460px; }
.video-channel-info h3 {
  font-size: 1.6rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 12px;
}
.video-channel-info h3 span { color: #07c160; }
.video-channel-info p { color: var(--text-body); line-height: 1.8; margin-bottom: 20px; }
.video-channel-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.video-channel-tags span {
  background: rgba(7,193,96,0.08); color: #07c160;
  padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 500;
}
.video-channel-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #07c160, #05a350);
  color: #fff; padding: 14px 32px; border-radius: 12px;
  font-weight: 600; font-size: 1rem;
  box-shadow: 0 4px 16px rgba(7,193,96,0.3);
  transition: all 0.3s ease;
}
.video-channel-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(7,193,96,0.4); }
.footer-qr-wrap { text-align: center; }
.footer-qr-wrap img {
  width: 110px; height: 110px; border-radius: 10px;
  background: #fff; padding: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  margin-bottom: 10px;
}
.footer-qr-wrap p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ========== Floating QR Button ========== */
.float-qr-btn {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #07c160, #05a350);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(7,193,96,0.4);
  cursor: pointer; transition: all 0.3s ease;
  border: none; font-size: 24px;
}
.float-qr-btn:hover { transform: scale(1.1); }
.float-qr-panel {
  position: fixed; bottom: 100px; right: 30px; z-index: 999;
  width: 220px; background: #fff; border-radius: 16px;
  padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  text-align: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease;
}
.float-qr-panel.active { opacity: 1; visibility: visible; transform: translateY(0); }
.float-qr-panel img { width: 160px; height: 160px; border-radius: 10px; margin-bottom: 10px; }
.float-qr-panel p { font-size: 0.85rem; color: var(--text-body); margin: 0; }
.float-qr-panel p strong { color: var(--text-dark); display: block; margin-bottom: 4px; }

@media (max-width: 768px) {
  .video-channel-section .container { gap: 32px; }
  .video-channel-qr { width: 160px; height: 160px; }
  .video-channel-info h3 { font-size: 1.3rem; }
  .float-qr-btn { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 20px; }
  .float-qr-panel { right: 20px; bottom: 80px; width: 190px; }
  .float-qr-panel img { width: 130px; height: 130px; }
}

/* ========== 404 Page ========== */
.error-section {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-height) + 60px) 0 60px; text-align: center;
  background: var(--bg-light);
}
.error-code {
  font-size: 10rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--cyan), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 16px;
}
.error-section h1 { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.error-section p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 36px; max-width: 460px; margin-left: auto; margin-right: auto; }
.error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== Reveal Animations ========== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-title { margin-bottom: 48px; }
  .section-title h2 { font-size: 1.9rem; }

  .nav {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh; background: #fff;
    flex-direction: column; align-items: stretch;
    padding: 88px 24px 24px; gap: 6px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.08);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }
  .nav.open { right: 0; }
  .nav a { padding: 14px 18px; border-radius: 12px; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 14px; text-align: center; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding: calc(var(--header-height) + 60px) 0 80px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .page-hero { padding: calc(var(--header-height) + 60px) 0 60px; }
  .page-hero h1 { font-size: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat-item::after { display: none; }
  .stat-item .num { font-size: 2.4rem; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .about-intro h2 { font-size: 1.8rem; }
  .mvv-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-section { padding: 72px 0; }
  .cta-section h2 { font-size: 1.8rem; }

  .timeline::before { left: 24px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; text-align: left; }
  .timeline-item .tl-content { width: calc(100% - 60px); margin-left: 60px; }
  .timeline-item .tl-dot { left: 24px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-form { padding: 36px 28px; }
  .contact-info-card { padding: 32px 28px; }

  .error-code { font-size: 6rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 1.6rem; }
  .service-card { padding: 36px 28px; }
  .mvv-card { padding: 36px 28px; }
}

/* ========== Mobile Nav Overlay ========== */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 999; }
.nav-overlay.show { display: block; }
