/* ========================================
   重庆讯闪科技 - 主样式文件
   设计：现代化企业风格
   ======================================== */

/* ===== CSS 变量 ===== */
:root {
  --primary: #0066cc;
  --primary-dark: #004a99;
  --primary-light: #0088ff;
  --accent: #ff6b35;
  --success: #00c853;
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --gray-900: #212529;
  --gray-700: #495057;
  --gray-500: #6c757d;
  --gray-300: #dee2e6;
  --gray-100: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

/* ===== 重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 阅读进度条 ===== */
.reading-progress {
  position: fixed; top: 0; left: 0; width: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.1s ease;
}

/* ===== 顶部信息栏 ===== */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.8); margin-left: 16px; }
.top-bar a:hover { color: var(--primary-light); }
.top-bar .phone { color: var(--accent); font-weight: 600; }

/* ===== 主导航 ===== */
.main-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  height: 70px;
  position: relative;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 20px; font-weight: 700; color: var(--primary-dark); flex-shrink: 0;
}
.logo img { height: 44px; }
.logo span { color: var(--gray-500); font-size: 13px; font-weight: 400; }
.nav-menu { display: flex; align-items: center; height: 70px; gap: 2px; }
.nav-menu li { position: relative; }
.nav-menu li > a {
  display: block; height: 70px; line-height: 70px; padding: 0 14px;
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  border-bottom: 3px solid transparent; transition: var(--transition);
  white-space: nowrap; text-align: center;
}
.nav-menu li > a:hover, .nav-menu li > a.active {
  color: var(--primary); border-bottom-color: var(--primary);
}
.menu-toggle {
  display: none; background: none; border: none;
  font-size: 24px; cursor: pointer; color: var(--gray-700);
}

/* ===== Hero 横幅轮播 ===== */
.hero { position: relative; overflow: hidden; min-height: 520px; }
.hero-slides { position: relative; width: 100%; min-height: 520px; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none; z-index: 1;
}
.hero-slide.active, .hero-slide:first-child {
  opacity: 1; transform: translateX(0); pointer-events: auto; z-index: 2;
}
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: 0.12;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(22,33,62,0.85) 100%); z-index: 0;
}
.hero-slide.slide-sdsm::before { background: linear-gradient(135deg, #1a56db 0%, #0f2a6e 100%); opacity: 1; }
.hero-slide.slide-sdsm::after { background: linear-gradient(135deg, rgba(15,42,110,0.92) 0%, rgba(26,86,219,0.88) 100%); }
.hero-slide.slide-it::before { background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2137 100%); opacity: 1; }
.hero-slide.slide-network::before { background: linear-gradient(135deg, #001a33 0%, #003366 50%, #002244 100%); opacity: 1; }
.hero-slide.slide-network::after { background: linear-gradient(135deg, rgba(0,74,153,0.92) 0%, rgba(0,102,204,0.88) 100%); }
.hero-slide > .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 100%; }
.hero-content h1 { font-size: 42px; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-content h1 .highlight { color: #4fc3f7; }
.hero-content p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 30px; line-height: 1.8; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-tags .tag {
  display: inline-block; padding: 5px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 500; background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.15);
}
.hero-stats { display: flex; gap: 40px; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat-num { font-size: 36px; font-weight: 700; color: var(--primary-light); }
.hero-stats .stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.hero-indicators { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-indicators .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); border: 2px solid rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s ease; }
.hero-indicators .dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }
.hero-indicators .dot:hover { background: rgba(255,255,255,0.6); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.1); }
.hero-arrow.arrow-left { left: 20px; }
.hero-arrow.arrow-right { right: 20px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
  border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer;
  border: none; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,102,204,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ===== 服务板块 ===== */
.services { padding: 80px 0; background: var(--gray-100); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.section-header p { font-size: 15px; color: var(--gray-500); }
.section-header::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary); margin: 16px auto 0; border-radius: 2px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary); transform: scaleX(0); transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 32px; color: var(--white);
}
.service-card h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ===== 关于我们（首页） ===== */
.about { padding: 80px 0; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about.reverse .container { direction: rtl; }
.about.reverse .container > * { direction: ltr; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image img { border-radius: var(--radius-lg); width: 100%; height: 360px; object-fit: cover; }
.about-image::after { content: ''; position: absolute; bottom: -10px; right: -10px; width: 100%; height: 100%; border: 3px solid var(--primary); border-radius: var(--radius-lg); z-index: -1; }
.about-content h2 { font-size: 32px; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; }
.about-content p { font-size: 15px; color: var(--gray-500); margin-bottom: 16px; line-height: 1.8; }
.about-content .btn { margin-top: 10px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-700); }
.about-feature::before {
  content: '\2713'; display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; background: rgba(0,200,83,0.1); color: var(--success);
  border-radius: 50%; font-size: 12px; font-weight: bold;
}

/* ===== 合作伙伴 ===== */
.partners { padding: 60px 0; background: var(--white); }
.partner-scroll { overflow: hidden; position: relative; padding: 20px 0; }
.partner-scroll::before, .partner-scroll::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.partner-scroll::before { left: 0; background: linear-gradient(90deg, white, transparent); }
.partner-scroll::after { right: 0; background: linear-gradient(270deg, white, transparent); }
.partner-track { display: flex; gap: 40px; align-items: center; animation: scroll 20s linear infinite; width: max-content; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-track:hover { animation-play-state: paused; }
.partner-item { opacity: 0.6; transition: var(--transition); filter: grayscale(100%); }
.partner-item:hover { opacity: 1; filter: grayscale(0%); }

/* ===== 新闻板块（首页） ===== */
.news-section { padding: 80px 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow); transition: var(--transition); display: block;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-tag {
  display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 20px;
  background: rgba(0,102,204,0.08); color: var(--primary); margin-bottom: 10px;
}
.news-card h3 { font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-date { font-size: 13px; color: var(--gray-500); }

/* ===== 联系方式 ===== */
.contact { padding: 60px 0; background: var(--dark); color: rgba(255,255,255,0.8); }
.contact .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.contact-box { min-height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.contact-box h3 { font-size: 18px; color: var(--white); margin-bottom: 16px; }
.contact-box p { font-size: 14px; margin-bottom: 8px; }
.contact-box .phone-big { font-size: 28px; font-weight: 700; color: var(--accent); }

/* ===== 页脚 ===== */
.footer { background: var(--dark-light); color: rgba(255,255,255,0.5); text-align: center; padding: 24px 0; font-size: 13px; }
.footer a { color: rgba(255,255,255,0.5); }
.footer a:hover { color: var(--primary-light); }

/* ===== 滚动动画 ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== 动画 ===== */
@keyframes countUp { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
.stat-num { animation: countUp 0.8s ease forwards; }
.stat:nth-child(2) .stat-num { animation-delay: 0.2s; }
.stat:nth-child(3) .stat-num { animation-delay: 0.4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ========================================
   子页面通用样式
   ======================================== */

/* ===== Page Hero ===== */
.page-hero {
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: 0.15;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(22,33,62,0.82) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 38px; font-weight: 700; color: var(--white); margin-bottom: 16px; animation: heroFadeIn 0.8s ease; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; animation: heroFadeIn 1s ease; }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* 各页面主题背景 */
.page-hero.hero-about::before { background: url('../images/hero_about.svg') center/cover; opacity: 1; }
.page-hero.hero-itservice::before { background: url('../images/hero_itservice.svg') center/cover; opacity: 1; }
.page-hero.hero-news::before { background: url('../images/hero_news.svg') center/cover; opacity: 1; }
.page-hero.hero-software::before { background: url('../images/hero_software.svg') center/cover; opacity: 1; }
.page-hero.hero-network::before { background: url('../images/hero_network.svg') center/cover; opacity: 1; }
.page-hero.hero-website::before { background: url('../images/hero_website.svg') center/cover; opacity: 1; }
.page-hero.hero-cooperation::before { background: url('../images/hero_cooperation.svg') center/cover; opacity: 1; }
.page-hero.hero-contact::before { background: url('../images/hero_contact.svg') center/cover; opacity: 1; }
.page-hero.hero-weakcurrent::before { background: url('../images/hero_weakcurrent.svg') center/cover; opacity: 1; }
.breadcrumb { padding: 16px 0; background: var(--gray-100); font-size: 14px; color: var(--gray-500); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }
.page-content { padding: 80px 0; }

/* ===== 内容区块 ===== */
.content-section { margin-bottom: 60px; }
.content-section h2 { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.content-section h3 { font-size: 20px; font-weight: 600; color: var(--gray-900); margin: 24px 0 12px; }
.content-section p { font-size: 15px; color: var(--gray-700); line-height: 1.9; margin-bottom: 16px; }
.content-section ul { padding-left: 20px; margin-bottom: 16px; }
.content-section ul li { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin-bottom: 8px; list-style: disc; }

/* ===== About Page ===== */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.value-card { background: var(--gray-100); border-radius: var(--radius); padding: 24px; text-align: center; transition: var(--transition); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .icon { font-size: 32px; margin-bottom: 12px; }
.value-card h4 { font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray-500); }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 30px; padding-left: 24px; }
.timeline-item::before { content: ''; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); }
.timeline-item h4 { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--gray-700); line-height: 1.7; }
.team-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.team-stat { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 24px; text-align: center; }
.team-stat .num { font-size: 36px; font-weight: 700; color: var(--primary); }
.team-stat .label { font-size: 14px; color: var(--gray-500); margin-top: 4px; }

/* ========================================
   新闻列表 & 文章详情
   ======================================== */

/* ===== 新闻列表 ===== */
.news-list { margin-bottom: 40px; }
.news-item {
  display: flex; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--gray-300);
  transition: var(--transition);
}
.news-item:hover { background: var(--gray-100); padding-left: 12px; }
.news-item:first-child { padding-top: 0; }
.news-date {
  flex-shrink: 0; width: 70px; text-align: center;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius); padding: 10px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 70px;
}
.news-date-day { font-size: 28px; font-weight: 700; line-height: 1; }
.news-date-month { font-size: 13px; margin-top: 4px; opacity: 0.8; }
.news-info { flex: 1; }
.news-info h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.news-info h3 a { color: var(--gray-900); }
.news-info h3 a:hover { color: var(--primary); }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.news-meta .news-tag { margin-bottom: 0; }
.news-meta span:last-child { font-size: 13px; color: var(--gray-500); }
.news-info p { font-size: 14px; color: var(--gray-500); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 文章详情（增强版） ===== */
.article-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow); margin-bottom: 40px;
}
.article-detail { max-width: 800px; margin: 0 auto; }
.article-header { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-300); }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.article-meta .article-tag {
  display: inline-block; font-size: 13px; padding: 4px 14px; border-radius: 20px;
  background: rgba(0,102,204,0.08); color: var(--primary); font-weight: 500;
}
.article-meta .article-date { font-size: 14px; color: var(--gray-500); }
.article-meta .article-reading-time { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }
.article-meta .article-reading-time::before { content: '\1F4D6'; font-size: 14px; }
.article-title { font-size: 30px; font-weight: 700; color: var(--gray-900); line-height: 1.4; }
.article-divider { border: none; border-top: 2px solid var(--primary); margin-bottom: 30px; opacity: 0.3; }
.article-body { font-size: 16px; color: var(--gray-700); line-height: 1.9; }
.article-body p { margin-bottom: 20px; }
.article-body p:first-child::first-letter {
  font-size: 2.2em; float: left; line-height: 1; margin-right: 8px;
  font-weight: 700; color: var(--primary);
}
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; list-style: disc; }
.article-body h2 { font-size: 22px; font-weight: 600; color: var(--gray-900); margin: 30px 0 16px; }
.article-body h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin: 24px 0 12px; }
.article-body img { max-width: 100%; border-radius: var(--radius); margin: 20px 0; }
.article-body blockquote {
  border-left: 4px solid var(--primary); padding: 16px 20px;
  background: var(--gray-100); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0; font-style: italic; color: var(--gray-500);
}
.article-nav {
  display: flex; justify-content: space-between; margin-top: 40px;
  padding-top: 20px; border-top: 1px solid var(--gray-300); flex-wrap: wrap; gap: 10px;
}
.article-nav a {
  font-size: 14px; color: var(--primary); padding: 10px 16px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  transition: var(--transition); max-width: 48%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.article-nav a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.article-back-btn {
  margin-top: 30px; text-align: center;
}
.article-back-btn a {
  display: inline-block; padding: 12px 30px; background: var(--primary);
  color: var(--white); border-radius: 6px; font-size: 15px; font-weight: 500;
  transition: var(--transition);
}
.article-back-btn a:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,102,204,0.3); }

/* ========================================
   联系页面
   ======================================== */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.contact-card .icon { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; }
.contact-card h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; }
.contact-card p { font-size: 15px; color: var(--gray-500); line-height: 1.7; }
.contact-card .phone-big { font-size: 28px; font-weight: 700; color: var(--primary); margin-top: 8px; }
.map-section { background: var(--gray-100); border-radius: var(--radius-lg); padding: 40px; margin-top: 40px; }
.map-section h2 { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; }
.map-placeholder { width: 100%; height: 400px; background: var(--gray-300); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 16px; }

/* ========================================
   软件开发页面
   ======================================== */
.featured-product {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  border-radius: var(--radius-lg); padding: 50px 40px; margin-bottom: 60px;
  color: var(--white); position: relative; overflow: hidden;
}
.featured-product::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.featured-product h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.featured-product h2 .badge { background: var(--accent); font-size: 13px; padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.featured-product .subtitle { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 30px; max-width: 700px; }
.featured-product .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.featured-product .feature-item { background: rgba(255,255,255,0.12); border-radius: var(--radius); padding: 20px; backdrop-filter: blur(10px); }
.featured-product .feature-item .icon { font-size: 28px; margin-bottom: 10px; }
.featured-product .feature-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.featured-product .feature-item p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.featured-product .cta-btn { display: inline-block; background: var(--accent); color: var(--white); padding: 12px 32px; border-radius: 30px; font-size: 15px; font-weight: 600; transition: var(--transition); }
.featured-product .cta-btn:hover { background: #e55a28; transform: translateY(-2px); }

.section-title { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.section-desc { font-size: 15px; color: var(--gray-500); margin-bottom: 30px; }
.software-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 60px; }
.software-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow); transition: var(--transition); border-top: 4px solid var(--primary); position: relative; overflow: hidden; }
.software-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.software-card .icon { font-size: 40px; margin-bottom: 16px; }
.software-card h3 { font-size: 20px; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; }
.software-card p { font-size: 14px; color: var(--gray-700); line-height: 1.8; margin-bottom: 16px; }
.software-card ul { padding-left: 16px; }
.software-card ul li { font-size: 14px; color: var(--gray-700); line-height: 1.8; margin-bottom: 4px; list-style: disc; }
.software-card .tag { display: inline-block; background: var(--gray-100); color: var(--gray-500); font-size: 12px; padding: 4px 10px; border-radius: 12px; margin-right: 6px; margin-top: 10px; }
.software-card.hot { border-top-color: var(--accent); }
.software-card.hot .tag { background: #fff3e0; color: var(--accent); }

.dev-process { background: var(--gray-100); padding: 60px 40px; border-radius: var(--radius-lg); margin-bottom: 60px; }
.dev-process h2 { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 30px; text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-item { background: var(--white); border-radius: var(--radius); padding: 24px; text-align: center; transition: var(--transition); }
.process-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-item .num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 12px; }
.process-item h4 { font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.process-item p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

.tech-stack { margin-bottom: 60px; }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tech-item { background: var(--gray-100); border-radius: var(--radius); padding: 20px 12px; text-align: center; transition: var(--transition); }
.tech-item:hover { background: var(--white); box-shadow: var(--shadow); }
.tech-item .icon { font-size: 28px; margin-bottom: 8px; }
.tech-item span { font-size: 13px; color: var(--gray-700); font-weight: 500; }

.advantages { background: var(--gray-100); padding: 60px 40px; border-radius: var(--radius-lg); margin-bottom: 60px; }
.advantages h2 { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 30px; text-align: center; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-item { background: var(--white); border-radius: var(--radius); padding: 24px; text-align: center; transition: var(--transition); }
.advantage-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.advantage-item .icon { font-size: 32px; margin-bottom: 12px; }
.advantage-item h4 { font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.advantage-item p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ===== IT外包服务页面 ===== */
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.service-intro-text h2 { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.service-intro-text p { font-size: 15px; color: var(--gray-700); line-height: 1.9; margin-bottom: 16px; }
.service-intro-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-intro-image img { width: 100%; height: 400px; object-fit: cover; }
.service-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.service-detail-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow); transition: var(--transition); border-left: 4px solid var(--primary); }
.service-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-detail-card .icon { font-size: 36px; margin-bottom: 16px; }
.service-detail-card h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; }
.service-detail-card ul { padding-left: 16px; }
.service-detail-card ul li { font-size: 14px; color: var(--gray-700); line-height: 1.8; margin-bottom: 6px; list-style: disc; }

.process-steps { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; }
.step { flex: 1; text-align: center; position: relative; }
.step::after { content: '\2192'; position: absolute; right: -15px; top: 20px; font-size: 24px; color: var(--primary); }
.step:last-child::after { display: none; }
.step .num { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 12px; }
.step h4 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--gray-500); }

/* ===== 商务合作页面 ===== */
.coop-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.coop-intro-text p { font-size: 15px; color: var(--gray-700); line-height: 1.9; margin-bottom: 16px; }
.coop-intro-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.coop-intro-image img { width: 100%; height: 350px; object-fit: cover; }
.coop-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.mode-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); text-align: center; transition: var(--transition); border-top: 4px solid var(--primary); }
.mode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mode-card .icon { font-size: 40px; margin-bottom: 16px; }
.mode-card h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; }
.mode-card p { font-size: 14px; color: var(--gray-700); line-height: 1.7; }
.coop-advantages { background: var(--gray-100); padding: 50px 40px; border-radius: var(--radius-lg); margin-bottom: 60px; }
.coop-advantages h2 { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 24px; text-align: center; }
.coop-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.coop-adv-item { background: var(--white); border-radius: var(--radius); padding: 24px; text-align: center; transition: var(--transition); }
.coop-adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.coop-adv-item .icon { font-size: 32px; margin-bottom: 12px; }
.coop-adv-item h4 { font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.coop-adv-item p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.cta-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 50px 40px; border-radius: var(--radius-lg); text-align: center; }
.cta-box h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.cta-box p { font-size: 16px; margin-bottom: 24px; opacity: 0.9; }
.cta-box .btn { display: inline-block; padding: 12px 36px; background: var(--white); color: var(--primary); border-radius: 50px; font-size: 16px; font-weight: 600; transition: var(--transition); }
.cta-box .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

/* ===== 网站开发页面 ===== */
.web-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.web-intro-text p { font-size: 15px; color: var(--gray-700); line-height: 1.9; margin-bottom: 16px; }
.web-intro-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.web-intro-image img { width: 100%; height: 350px; object-fit: cover; }
.web-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.web-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow); text-align: center; transition: var(--transition); }
.web-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.web-card .icon { font-size: 40px; margin-bottom: 16px; }
.web-card h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; }
.web-card p { font-size: 14px; color: var(--gray-700); line-height: 1.7; }
.web-features { background: var(--gray-100); padding: 50px 40px; border-radius: var(--radius-lg); margin-bottom: 60px; }
.web-features h2 { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 24px; text-align: center; }
.web-features .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.web-features .feature-item { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; transition: var(--transition); }
.web-features .feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.web-features .feature-item .icon { font-size: 28px; margin-bottom: 10px; }
.web-features .feature-item h4 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 6px; }
.web-features .feature-item p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.web-portfolio { margin-bottom: 60px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-img { width: 100%; height: 200px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 40px; }
.portfolio-info { padding: 16px; }
.portfolio-info h4 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 6px; }
.portfolio-info p { font-size: 13px; color: var(--gray-500); }

/* ========================================
   工程案例页
   ======================================== */
.hero-cases::before {
  background: linear-gradient(135deg, #1a3a6e 0%, #0d2148 100%);
  opacity: 1;
}
.hero-cases::after {
  background: linear-gradient(135deg, rgba(13,33,72,0.9) 0%, rgba(26,58,110,0.85) 100%);
}

.cases-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.cases-stats .stat-item {
  text-align: center;
  padding: 10px;
}
.cases-stats .stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.cases-stats .stat-label {
  font-size: 14px;
  color: var(--gray-500);
}

.cases-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}
.filter-btn {
  padding: 10px 22px;
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  background: var(--white);
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  font-size: 40px;
  opacity: 0.4;
}
.case-info {
  padding: 20px;
}
.case-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}
.tag-datacenter { background: #dcfce7; color: #166534; }
.tag-network { background: #dbeafe; color: #1e40af; }
.tag-security { background: #ffedd5; color: #9a3412; }
.tag-weak { background: #fef3c7; color: #92400e; }
.tag-it { background: #f3e8ff; color: #6b21a8; }
.tag-brand { background: #fce7f3; color: #9d174d; }
.case-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.4;
}
.case-info p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero-stats { justify-content: center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about .container { grid-template-columns: 1fr; }
  .about-image { display: none; }
  .contact .container { grid-template-columns: 1fr; }
  .contact-box { align-items: center; text-align: center; min-height: auto; padding: 16px 0; }
  .article-card { padding: 32px 24px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 70px; right: 0; left: auto;
    width: 220px; height: auto; background: #1a1a2e !important; flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3); border-radius: 0 0 0 12px;
    z-index: 1001;
  }
  .nav-menu.active { display: flex; }
  .nav-menu li > a { height: 50px; line-height: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; padding: 0 20px; color: #fff !important; transition: background 0.2s; }
  .nav-menu li > a:hover, .nav-menu li > a.active { background: rgba(255,255,255,0.1); color: #fff !important; }
  /* Hero 移动端修复 */
  .hero { min-height: 560px; }
  .hero-slides { min-height: 560px; }
  .hero-slide { position: absolute; }
  .hero-slide::before, .hero-slide::after { position: absolute; }
  .hero-slide > .container { padding: 60px 16px 70px; }
  .hero-content { padding: 0 40px; }
  .hero-content h1 { font-size: 24px !important; line-height: 1.4; word-break: break-word; }
  .hero-content p { font-size: 14px !important; margin-bottom: 20px; line-height: 1.6; }
  .hero-content .hero-title-row { flex-wrap: wrap; justify-content: center; text-align: center; }
  .hero-tags { gap: 8px; margin-bottom: 16px; justify-content: center; }
  .hero-tags .tag { font-size: 12px; padding: 4px 10px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .hero-stats .stat { min-width: 80px; }
  .hero-stats .stat-num { font-size: 22px !important; }
  .hero-stats .stat-label { font-size: 11px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 14px; }
  .hero-arrow.arrow-left { left: 8px; }
  .hero-arrow.arrow-right { right: 8px; }
  .hero-indicators { bottom: 12px; }
  .hero-indicators .dot { width: 10px; height: 10px; }
  .hero-btns, .hero-content > div[style*="flex"] { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .hero-btns .btn, .hero-content .btn { padding: 10px 20px; font-size: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 24px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-stats { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .featured-product .feature-grid { grid-template-columns: 1fr; }
  .software-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .service-intro { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step::after { display: none; }
  .coop-intro { grid-template-columns: 1fr; }
  .coop-modes { grid-template-columns: 1fr; }
  .coop-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .web-intro { grid-template-columns: 1fr; }
  .web-services { grid-template-columns: 1fr; }
  .web-features .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; gap: 12px; }
  .news-date { width: auto; flex-direction: row; gap: 8px; padding: 8px 16px; min-height: auto; }
  .article-card { padding: 24px 16px; }
  .article-title { font-size: 22px; }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: 100%; }
  .content-section .text-image-grid { grid-template-columns: 1fr !important; }
  .content-section .text-image-grid img { max-height: 300px; object-fit: cover; }
  /* 子页面横幅移动端 */
  .page-hero { min-height: 200px; padding: 40px 16px; }
  .page-hero h1 { font-size: 28px !important; }
  .page-hero p { font-size: 14px !important; padding: 0 10px; }
  .cases-grid { grid-template-columns: 1fr; }
  .cases-stats { grid-template-columns: repeat(2, 1fr); }
  .cases-filter { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 13px; }
}
