/* ==========================================
   智赢云科技 - 官方网站样式 v2.0
   主色：腾讯云蓝  辅色：活力橙/绿
   参考风格：www.tencent.com
   ========================================== */
:root {
  --primary: #0052d9;
  --primary-light: #1a6fe8;
  --primary-dark: #003da5;
  --primary-bg: rgba(0,82,217,0.06);
  --accent: #ff6b35;
  --accent-light: #ff8a5c;
  --success: #07c160;
  --purple: #7c3aed;
  --bg: #f5f7fa;
  --bg-dark: #0d1b2a;
  --card: #ffffff;
  --text: #1a1a2e;
  --text-light: #5a6b7f;
  --text-muted: #8d99ae;
  --border: #e8ecf0;
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
}

/* ==========================================
   Reset & Base
   ========================================== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; outline: none; border: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ==========================================
   Header 导航
   ========================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  height: 64px;
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.95);
}
.header-inner { display: flex; align-items: center; height: 72px; transition: height var(--transition); }
.header.scrolled .header-inner { height: 64px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img {
  height: 40px; width: auto; object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.1));
  transition: 0.3s;
}
.logo:hover .logo-img { filter: drop-shadow(0 2px 6px rgba(0,82,217,0.3)); }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 18px;
  box-shadow: 0 2px 8px rgba(0,82,217,0.3);
}
.logo-text { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: 0.5px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 20px; }
.nav-link {
  padding: 8px 16px; font-size: 15px; color: var(--text-light);
  border-radius: var(--radius-sm); transition: var(--transition);
  white-space: nowrap; font-weight: 500; position: relative;
}
.nav-link:hover { color: var(--primary); background: var(--primary-bg); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--primary); border-radius: 2px;
}

.header-cta { flex-shrink: 0; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; padding: 8px;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  z-index: 999; opacity: 0; pointer-events: none; transition: var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; padding: 24px; gap: 4px; }
.mobile-nav-link {
  padding: 14px 16px; font-size: 17px; border-radius: var(--radius-sm);
  transition: var(--transition); font-weight: 500;
}
.mobile-nav-link:hover { background: var(--primary-bg); color: var(--primary); }

/* ==========================================
   按钮
   ========================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 24px; font-weight: 600;
  font-size: 15px; cursor: pointer; transition: var(--transition);
  text-align: center; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.15);
  opacity: 0; transition: var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 2px 12px rgba(0,82,217,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,82,217,0.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 14px 36px; font-size: 17px; }

/* ==========================================
   Hero 首页大图
   ========================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding: 80px 0 40px;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1b2a 20%, #102a4a 40%, #0052d9 70%, #1a6fe8 100%);
}
.hero-bg-image {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center;
  opacity: 0.35; transition: opacity 1s ease;
}
.hero-bg-video {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.3;
}
.hero-bg-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,15,30,0.7) 0%, rgba(0,82,217,0.4) 100%);
}
.hero-grid {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-particle { position: absolute; border-radius: 50%; filter: blur(40px); }
.p1 { width: 400px; height: 400px; background: var(--accent); top: 5%; right: -8%; opacity: 0.12; animation: float 8s ease-in-out infinite; }
.p2 { width: 300px; height: 300px; background: var(--success); bottom: 10%; left: -5%; opacity: 0.1; animation: float 10s ease-in-out infinite 2s; }
.p3 { width: 200px; height: 200px; background: var(--primary-light); top: 35%; left: 15%; opacity: 0.08; animation: float 12s ease-in-out infinite 4s; }
.p4 { width: 150px; height: 150px; background: #fff; top: 15%; right: 25%; opacity: 0.06; animation: float 6s ease-in-out infinite 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative; text-align: center; color: #fff;
  max-width: 820px; z-index: 2;
}
.hero-title {
  font-size: clamp(36px, 6vw, 60px); font-weight: 800;
  margin-bottom: 20px; line-height: 1.2; letter-spacing: 3px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 19px); opacity: 0.85;
  margin-bottom: 36px; line-height: 1.8; max-width: 640px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 56px; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-item { text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; display: block; letter-spacing: 1px; }
.stat-item p { font-size: 13px; opacity: 0.6; margin-top: 4px; letter-spacing: 0.5px; }

/* ==========================================
   通用节段
   ========================================== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: 36px; font-weight: 700; margin-bottom: 14px;
  color: var(--text); letter-spacing: 1px; line-height: 1.3;
}
.section-desc { font-size: 16px; color: var(--text-light); line-height: 1.6; }
.section-more { font-size: 15px; color: var(--primary); font-weight: 500; transition: var(--transition); }
.section-more:hover { color: var(--primary-light); }
.section-header { display: flex; flex-direction: column; align-items: center; }
.section-header .section-more { margin-top: 12px; }

/* ==========================================
   核心业务
   ========================================== */
.business-section { background: var(--bg); }
.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.business-card {
  background: var(--card); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-xs); transition: var(--transition);
  position: relative; overflow: hidden; border: 1px solid var(--border);
  cursor: pointer;
}
.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.business-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  transition: height var(--transition);
}
.business-card:hover::before { height: 4px; }
.card-cloud::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.card-ai::before { background: linear-gradient(90deg, var(--success), #2ecc71); }
.card-game::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.card-industry::before { background: linear-gradient(90deg, var(--purple), #9b59b6); }

.card-icon { width: 52px; height: 52px; margin-bottom: 20px; color: var(--primary); }
.card-ai .card-icon { color: var(--success); }
.card-game .card-icon { color: var(--accent); }
.card-industry .card-icon { color: var(--purple); }
.card-icon svg { width: 100%; height: 100%; }

.card-img {
  width: 100%; height: 160px; border-radius: var(--radius-sm);
  object-fit: cover; margin-bottom: 20px;
}

.business-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.business-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.card-link {
  font-size: 14px; color: var(--primary); font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px; transition: var(--transition);
}
.card-link:hover { gap: 8px; }
.card-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--primary-bg); color: var(--primary);
  padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600;
}
.card-badge.badge-hot { background: rgba(255,107,53,0.1); color: var(--accent); }

/* ==========================================
   公司优势
   ========================================== */
.advantages-section {
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1b2a 50%, #102a4a 100%);
  color: #fff; position: relative; overflow: hidden;
}
.advantages-section::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,82,217,0.15), transparent 70%);
}
.advantages-section .section-title { color: #fff; }
.advantages-section .section-desc { color: rgba(255,255,255,0.6); }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.advantage-item {
  padding: 36px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.advantage-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
}
.adv-number {
  font-size: 44px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), rgba(255,255,255,0.3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 20px;
}
.advantage-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.advantage-item p { font-size: 14px; line-height: 1.8; opacity: 0.65; }

/* ==========================================
   最新动态滚动
   ========================================== */
.news-preview-section { background: var(--card); padding: 80px 0; }
.news-scroll-wrapper { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.news-scroll {
  display: flex; gap: 24px; animation: scrollNews 35s linear infinite;
}
.news-scroll:hover { animation-play-state: paused; }
@keyframes scrollNews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.news-item {
  flex-shrink: 0; width: 340px; background: var(--bg);
  border-radius: var(--radius); padding: 24px; cursor: pointer;
  transition: var(--transition); border: 1px solid var(--border);
}
.news-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--primary-bg); }
.news-item .ni-tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.ni-tag.tag-case { background: rgba(0,82,217,0.08); color: var(--primary); }
.ni-tag.tag-news { background: rgba(7,193,96,0.08); color: var(--success); }
.ni-tag.tag-product { background: rgba(255,107,53,0.08); color: var(--accent); }
.news-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.news-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.news-item .ni-date { font-size: 12px; color: var(--text-muted); margin-top: 10px; display: block; }

/* ==========================================
   解决方案
   ========================================== */
.solutions-section { background: var(--bg); }
.solution-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px; border-radius: 24px; font-size: 14px; font-weight: 600;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text-light); cursor: pointer; transition: var(--transition);
}
.tab-btn:hover { color: var(--primary); border-color: var(--primary); background: rgba(0,82,217,0.03); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-color: transparent;
  box-shadow: 0 2px 12px rgba(0,82,217,0.3);
}

.solution-panel { display: none; }
.solution-panel.active { display: block; animation: fadeInUp 0.5s ease; }

.sol-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--card); border-radius: var(--radius-lg); padding: 56px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.sol-label {
  display: inline-block; padding: 4px 14px;
  background: var(--primary-bg); color: var(--primary);
  border-radius: 12px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.sol-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.sol-text p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.sol-features { display: flex; flex-direction: column; gap: 8px; }
.sol-features li {
  padding: 10px 14px; background: var(--bg); border-radius: var(--radius-sm);
  font-size: 14px; position: relative; padding-left: 32px; transition: var(--transition);
}
.sol-features li:hover { background: var(--primary-bg); }
.sol-features li::before {
  content: '✓'; position: absolute; left: 12px; color: var(--success); font-weight: 700;
}

/* 解决方案图示 */
.sol-visual { display: flex; justify-content: center; align-items: center; min-height: 280px; }
.sol-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius); }
.sol-diagram {
  width: 100%; max-width: 320px; text-align: center;
  padding: 32px; background: var(--bg); border-radius: var(--radius);
}
.diagram-center {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; margin: 0 auto 24px;
  box-shadow: 0 4px 24px rgba(0,82,217,0.3);
}
.diagram-orbit { display: inline-flex; margin: 6px; }
.diagram-orbit span {
  padding: 6px 14px; background: var(--card); border-radius: 16px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.diagram-orbit span:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.ai-flow { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.ai-node {
  padding: 12px 16px; background: var(--card); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; border: 1px solid var(--border);
}
.ai-node.core { background: linear-gradient(135deg, var(--success), #2ecc71); color: #fff; border: none; box-shadow: 0 4px 16px rgba(7,193,96,0.3); }
.ai-arrow { font-size: 20px; color: var(--text-muted); }
.ai-sub-nodes { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ai-sub-nodes span {
  padding: 6px 12px; background: rgba(7,193,96,0.08); color: var(--success);
  border-radius: 16px; font-size: 12px; font-weight: 600;
}

.game-screen {
  width: 260px; height: 170px; background: #0d1117; border-radius: 16px;
  overflow: hidden; margin: 0 auto; box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255,255,255,0.05);
}
.game-bar { height: 8px; background: linear-gradient(90deg, var(--accent), #ff8a5c, #ffc107, var(--accent)); background-size: 200%; animation: shimmer 3s linear infinite; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.game-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: calc(100% - 8px); color: #fff;
}
.game-text { font-size: 16px; font-weight: 700; margin-bottom: 12px; letter-spacing: 1px; }
.game-play {
  width: 44px; height: 44px; background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: 0 4px 16px rgba(255,107,53,0.4);
  transition: var(--transition); cursor: pointer;
}
.game-play:hover { transform: scale(1.1); }

.ind-layer {
  padding: 14px 22px; background: var(--card); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; border: 1px solid var(--border);
}
.ind-layer.core {
  background: linear-gradient(135deg, var(--purple), #9b59b6);
  color: #fff; border: none; box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.ind-arrow { font-size: 24px; color: var(--text-muted); margin: 8px 0; }
.ind-outputs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ind-outputs span {
  padding: 6px 12px; background: rgba(124,58,237,0.08); color: var(--purple);
  border-radius: 16px; font-size: 12px; font-weight: 600;
}

/* ==========================================
   产品中心
   ========================================== */
.products-section { background: var(--card); }
.products-subtitle {
  font-size: 22px; font-weight: 700; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.subtitle-badge {
  font-size: 12px; background: rgba(7,193,96,0.1); color: var(--success);
  padding: 4px 12px; border-radius: 12px; font-weight: 600;
}
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.product-card {
  background: var(--bg); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.prod-icon { font-size: 40px; margin-bottom: 18px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.prod-icon .icon-img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--radius-sm); }
.product-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.product-card p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }
.prod-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.prod-tags span {
  padding: 4px 10px; background: var(--primary-bg); color: var(--primary);
  border-radius: 12px; font-size: 12px; font-weight: 600;
}

.game-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.game-product-card {
  display: block; text-decoration: none;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #1a2332 100%);
  border-radius: var(--radius); padding: 28px; color: #fff;
  transition: var(--transition); border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
}
.game-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: rgba(255,255,255,0.12); }
a.game-product-card:hover { color: #fff; }
.gp-header { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.gp-icon { font-size: 40px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gp-icon .icon-img { width: 52px; height: 52px; object-fit: contain; border-radius: var(--radius-sm); }
.gp-info h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.gp-info p { font-size: 13px; opacity: 0.65; }
.gp-features { display: flex; gap: 8px; flex-wrap: wrap; }
.gp-features span {
  padding: 5px 12px; background: rgba(255,255,255,0.08);
  border-radius: 12px; font-size: 12px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.06);
}
.gp-download-hint {
  display: block; margin-top: 18px; font-size: 13px; font-weight: 600;
  color: var(--primary-light); opacity: 0.7; transition: var(--transition);
}
.game-product-card:hover .gp-download-hint { opacity: 1; }

/* ==========================================
   合作案例
   ========================================== */
.cases-section { background: var(--bg); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-xs); border: 1px solid var(--border);
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-thumb {
  height: 190px; display: flex; align-items: center; justify-content: center;
  font-size: 52px; position: relative; overflow: hidden;
}
.case-thumb-img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; }
.case-thumb.thumb-game { background: linear-gradient(135deg, #ff6b35 0%, #ff8a5c 50%, #ffc107 100%); }
.case-thumb.thumb-ai { background: linear-gradient(135deg, #07c160 0%, #2ecc71 50%, #27ae60 100%); }
.case-thumb.thumb-cloud { background: linear-gradient(135deg, #0052d9 0%, #1a6fe8 50%, #3498db 100%); }
.case-body { padding: 24px; }
.case-tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.case-body h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.case-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ==========================================
   关于我们
   ========================================== */
.about-section { background: var(--card); }
.about-content {
  display: grid; grid-template-columns: 3fr 2fr; gap: 56px;
  align-items: start; margin-bottom: 72px;
}
.about-text h3 { font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.about-text p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.about-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.vision-item {
  padding: 24px; background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.vision-item:hover { box-shadow: var(--shadow-sm); }
.vision-item h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.vision-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

.about-image { position: relative; }
.about-img {
  width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-placeholder {
  width: 100%; height: 360px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius); display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.about-placeholder::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ap-icon { font-size: 72px; margin-bottom: 16px; position: relative; z-index: 1; }
.about-placeholder p { font-size: 18px; font-weight: 600; position: relative; z-index: 1; }

/* 招聘 */
.recruitment {
  padding-top: 56px; border-top: 1px solid var(--border);
}
.recruit-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; text-align: center; }
.recruit-desc { font-size: 16px; color: var(--text-light); text-align: center; margin-bottom: 36px; }
.job-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.job-card {
  background: var(--bg); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-sm); border-color: var(--primary-bg); }
.job-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.job-header h4 { font-size: 18px; font-weight: 700; }
.job-tag {
  padding: 4px 12px; background: var(--primary-bg); color: var(--primary);
  border-radius: 12px; font-size: 12px; font-weight: 600;
}
.job-tag.hot { background: rgba(255,107,53,0.1); color: var(--accent); }
.job-body { margin-bottom: 20px; }
.job-body p { font-size: 14px; margin-bottom: 8px; font-weight: 600; }
.job-body ul { padding-left: 18px; list-style: disc; margin-bottom: 14px; }
.job-body li { font-size: 13px; color: var(--text-light); line-height: 1.8; }

/* 简历投递弹窗 */
.resume-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9000;
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: none;
  padding: 20px;
}
.resume-overlay.open {
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center;
  animation: fadeIn 0.25s ease;
}
.resume-modal {
  background: var(--card); border-radius: 20px; padding: 40px; width: 520px; max-width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.resume-modal h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.resume-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.resume-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border: none; background: var(--bg); border-radius: 50%; cursor: pointer;
  font-size: 20px; color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.resume-close:hover { background: var(--border); color: var(--text); }
.resume-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.resume-field { margin-bottom: 18px; }
.resume-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.resume-field .required { color: var(--accent); }
.resume-field input, .resume-field textarea, .resume-field select {
  width: 100%; padding: 11px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; background: var(--bg); transition: var(--transition);
}
.resume-field input:focus, .resume-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,82,217,0.08); background: #fff;
}
.file-upload-area {
  border: 2px dashed var(--border); border-radius: 12px; cursor: pointer;
  transition: var(--transition); background: var(--bg);
}
.file-upload-area:hover, .file-upload-area.dragover {
  border-color: var(--primary); background: rgba(0,82,217,0.03);
}
.file-upload-placeholder {
  padding: 32px 20px; text-align: center;
}
.file-upload-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.file-upload-placeholder p { font-size: 14px; color: var(--text-light); margin-bottom: 4px; }
.file-upload-hint { font-size: 12px; color: var(--text-muted); }
.file-upload-info {
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.file-type-icon { font-size: 32px; flex-shrink: 0; }
.file-details { flex: 1; min-width: 0; }
.file-name { display: block; font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: 12px; color: var(--text-muted); }
.file-remove {
  width: 28px; height: 28px; border: none; background: rgba(238,10,36,0.08); color: var(--accent);
  border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
}
.file-remove:hover { background: rgba(238,10,36,0.15); }
.resume-submit { width: 100%; padding: 13px; font-size: 16px; margin-top: 8px; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .resume-modal { padding: 28px 20px; }
  .resume-form-row { grid-template-columns: 1fr; }
}

/* ==========================================
   新闻动态
   ========================================== */
.news-section { background: var(--bg); }
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.news-card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-xs); border: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.nc-date { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.nc-tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.news-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.news-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ==========================================
   资料下载
   ========================================== */
.downloads-section { background: var(--card); }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download-card {
  background: var(--bg); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); transition: var(--transition);
  display: flex; align-items: center; gap: 16px; cursor: pointer;
}
.download-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.dl-icon { font-size: 36px; flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.dl-icon .icon-img { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm); }
.dl-info { flex: 1; min-width: 0; }
.dl-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.dl-info p { font-size: 13px; color: var(--text-light); }
.dl-badge {
  padding: 3px 10px; background: rgba(7,193,96,0.1); color: var(--success);
  border-radius: 10px; font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.download-card.has-file:hover { border-color: var(--success); }

/* ==========================================
   联系我们
   ========================================== */
.contact-section { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; }
.ci-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-bg); display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
}
.contact-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-light); }
.contact-form-wrapper {
  background: var(--card); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg); margin-bottom: 12px;
  font-size: 14px; transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,82,217,0.08);
  background: var(--card);
}
.contact-form .btn { width: 100%; }

/* ==========================================
   页脚
   ========================================== */
.footer {
  background: linear-gradient(180deg, #0a0f1e 0%, #0d1b2a 100%);
  color: #fff; padding: 72px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; opacity: 0.5; margin-top: 16px; line-height: 1.7; }
.footer-brand .logo-text { color: #fff; }
.footer-links h4 { font-size: 15px; font-weight: 700; margin-bottom: 18px; opacity: 0.9; }
.footer-links a {
  display: block; font-size: 14px; opacity: 0.5; padding: 5px 0;
  transition: var(--transition);
}
.footer-links a:hover { opacity: 1; color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; font-size: 13px; opacity: 0.4;
}
.footer-bottom a { color: inherit; transition: var(--transition); }
.footer-bottom a:hover { opacity: 0.8; }

/* ==========================================
   在线客服
   ========================================== */
.chat-widget { position: fixed; bottom: 28px; right: 28px; z-index: 1001; }
.chat-toggle {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 24px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,82,217,0.4);
  position: relative; transition: var(--transition); border: none;
  display: flex; align-items: center; justify-content: center;
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,82,217,0.5); }
.chat-badge {
  position: absolute; top: -3px; right: -3px; width: 20px; height: 20px;
  background: var(--accent); border-radius: 50%; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; border: 2px solid #fff;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.chat-panel {
  position: absolute; bottom: 72px; right: 0; width: 380px;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-xl); display: none; flex-direction: column;
  max-height: 500px; overflow: hidden; border: 1px solid var(--border);
}
.chat-panel.open { display: flex; animation: fadeInUp 0.3s ease; }
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; flex-shrink: 0;
}
.chat-header h4 { font-size: 15px; font-weight: 600; }
.chat-close { background: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; opacity: 0.8; transition: var(--transition); }
.chat-close:hover { opacity: 1; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; min-height: 200px; }
.chat-msg { display: flex; gap: 8px; margin-bottom: 12px; }
.chat-msg.user { flex-direction: row-reverse; }
.msg-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.msg-bubble {
  max-width: 70%; padding: 10px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.6;
}
.chat-msg.bot .msg-bubble { background: var(--bg); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-bottom-right-radius: 4px;
}
.chat-quick-replies { padding: 8px 16px; display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.quick-reply {
  padding: 6px 14px; background: var(--bg); border-radius: 16px;
  font-size: 12px; color: var(--primary); cursor: pointer;
  border: 1px solid var(--border); transition: var(--transition); font-weight: 500;
}
.quick-reply:hover { background: var(--primary-bg); border-color: var(--primary); }
.chat-input-area {
  display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex-shrink: 0;
}
.chat-input-area input {
  flex: 1; padding: 10px 16px; border: 1px solid var(--border);
  border-radius: 20px; font-size: 14px; background: var(--bg);
  transition: var(--transition);
}
.chat-input-area input:focus { border-color: var(--primary); background: var(--card); }
.chat-input-area button {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.chat-input-area button:hover { opacity: 0.9; }

/* ==========================================
   回到顶部
   ========================================== */
.back-to-top {
  position: fixed; bottom: 28px; right: 100px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--card); color: var(--text);
  box-shadow: var(--shadow-md); font-size: 20px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: var(--transition);
  z-index: 100; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,82,217,0.3);
  border-color: transparent;
}

/* ==========================================
   动画
   ========================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

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

/* ==========================================
   响应式
   ========================================== */
@media (max-width: 1024px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-content { grid-template-columns: 1fr; }
  .sol-visual { min-height: 200px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .header.has-smart-service-nav .nav { display: none; }
  .header.has-smart-service-nav .header-cta { display: none; }
  .header.has-smart-service-nav .menu-toggle { display: flex; margin-left: auto; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .mobile-menu { top: 64px; }

  .hero { min-height: 92vh; padding: 80px 0 40px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 28px; }

  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }

  .business-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .game-products { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .about-vision { grid-template-columns: 1fr; }
  .job-list { grid-template-columns: 1fr; }
  .solution-tabs { flex-direction: column; align-items: stretch; }
  .sol-content { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .chat-panel { width: calc(100vw - 32px); right: -12px; }
}
