/* ========================================
   企业官网公共样式 - AI驱动TikTok出海营销
   主色调：深蓝(#0f2b5b) + 浅灰(#f5f7fa) + 白色
   ======================================== */

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 1001;
  background: linear-gradient(90deg, var(--accent), #60a5fa, var(--accent-light));
  width: 0%; transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(37,99,235,0.5);
}

/* ---------- 页面加载动画 ---------- */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.loaded {
  opacity: 1;
}

/* ---------- 光标光晕 ---------- */
.cursor-glow {
  position: fixed; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ---------- 点击波纹 ---------- */
.click-ripple {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999;
  background: rgba(37,99,235,0.25);
  animation: rippleExpand 0.6s ease-out forwards;
}
@keyframes rippleExpand {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 120px; height: 120px; opacity: 0; margin-left: -60px; margin-top: -60px; }
}

/* ---------- 3D卡片倾斜 ---------- */
.card-3d {
  perspective: 1000px; transform-style: preserve-3d;
}
.card-3d .card-inner {
  transition: transform 0.15s ease;
}

/* ---------- 增强按钮效果 ---------- */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover::after {
  transform: translateX(100%);
}
.btn-outline {
  position: relative; overflow: hidden;
}
.btn-outline::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent); opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.btn-outline:hover::before {
  opacity: 0.08;
}

/* ---------- 卡片悬停发光 ---------- */
.card-glow {
  position: relative;
}
.card-glow::after {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), transparent, var(--accent-light));
  opacity: 0; transition: opacity 0.4s; z-index: -1;
  filter: blur(8px);
}
.card-glow:hover::after {
  opacity: 0.4;
}

/* ---------- Banner浮动粒子 ---------- */
.banner-particle {
  position: absolute; border-radius: 50%;
  background: rgba(96,165,250,0.15);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ---------- 打字光标 ---------- */
.typing-cursor {
  display: inline-block; width: 3px; height: 1em;
  background: var(--accent); margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- 交错动画 ---------- */
.stagger-item {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-item.visible {
  opacity: 1; transform: translateY(0);
}

/* ---------- 数据卡片脉冲 ---------- */
.stat-item {
  position: relative; overflow: hidden;
}
.stat-item::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(37,99,235,0.03) 0%, transparent 60%);
  animation: statPulse 4s ease-in-out infinite;
}
@keyframes statPulse {
  0%, 100% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* ---------- 导航链接下划线动画 ---------- */
.navbar-menu > li > a {
  position: relative;
}
.navbar-menu > li > a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s, left 0.3s;
}
.navbar-menu > li > a:hover::after {
  width: 60%; left: 20%;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0f2b5b;
  --primary-light: #1a4a8a;
  --primary-dark: #091d40;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5, h6 { color: var(--primary); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { color: var(--gray-600); line-height: 1.8; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ---------- 容器 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section-sm { padding: 80px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none;
  transition: var(--transition); text-decoration: none;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white); box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--gray-200);
}
.btn-outline::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent); opacity: 0;
  transition: opacity 0.3s; z-index: -1;
}
.btn-outline:hover::before { opacity: 0.08; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
  transition: var(--transition); border: 1px solid var(--gray-100);
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), transparent, var(--accent-light));
  opacity: 0; transition: opacity 0.4s; z-index: -1;
  filter: blur(8px);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.card:hover::after { opacity: 0.35; }

/* ---------- 标签 ---------- */
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
}
.badge-primary { background: rgba(37,99,235,0.1); color: var(--accent); }
.badge-dark { background: var(--primary); color: var(--white); }

/* ---------- 高亮数据 ---------- */
.highlight { color: var(--accent); font-weight: 700; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.navbar-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--primary); }
.navbar-logo svg { width: 36px; height: 36px; }
.navbar-menu { display: flex; align-items: center; gap: 8px; list-style: none; }
.navbar-menu > li { position: relative; }
.navbar-menu > li > a {
  padding: 8px 16px; border-radius: 8px; font-size: 0.9rem;
  font-weight: 500; color: var(--gray-600); display: flex; align-items: center; gap: 4px;
  position: relative;
}
.navbar-menu > li > a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s, left 0.3s;
}
.navbar-menu > li > a:hover::after { width: 60%; left: 20%; }
.navbar-menu > li > a:hover { color: var(--primary); background: var(--gray-50); }

/* 下拉菜单 */
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--white); border-radius: var(--radius); padding: 12px;
  min-width: 220px; box-shadow: var(--shadow-xl); border: 1px solid var(--gray-100);
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 16px; border-radius: 8px; font-size: 0.88rem;
  color: var(--gray-600); white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--gray-50); color: var(--primary); }

/* 汉堡菜单 */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); transition: var(--transition); border-radius: 2px; }
.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); }

/* 移动端菜单 */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 24px;
  overflow-y: auto; flex-direction: column; gap: 4px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 20px; border-radius: 10px;
  font-size: 1rem; color: var(--gray-600); font-weight: 500;
}
.mobile-menu a:hover { background: var(--gray-50); color: var(--primary); }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 80px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer a { color: rgba(255,255,255,0.6); font-size: 0.9rem; display: block; padding: 4px 0; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; flex-wrap: wrap; gap: 12px;
}

/* ---------- Banner ---------- */
.banner {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0f2b5b 40%, #1a3a6a 100%);
}
.banner-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.banner-bg::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
  top: -100px; right: -100px; border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}
.banner-bg::after {
  content: ''; position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.1), transparent 70%);
  bottom: -50px; left: -50px; border-radius: 50%;
  animation: pulse 6s ease-in-out infinite reverse;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 1; } }

/* 粒子网格背景 */
.banner-grid {
  position: absolute; inset: 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;
}

.banner-content { position: relative; z-index: 2; }
.banner-content h1 { color: var(--white); margin-bottom: 20px; }
.banner-content p { color: rgba(255,255,255,0.75); font-size: 1.2rem; margin-bottom: 36px; max-width: 600px; }
.banner-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 滚动动画 ---------- */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ---------- 对话窗口UI ---------- */
.chat-window {
  background: var(--gray-50); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden; max-width: 700px; margin: 0 auto;
}
.chat-header {
  background: var(--primary); color: var(--white); padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
}
.chat-header-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.chat-body { padding: 24px; min-height: 300px; display: flex; flex-direction: column; gap: 16px; }
.chat-msg { display: flex; gap: 10px; max-width: 85%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--white);
}
.chat-msg.bot .chat-avatar { background: var(--accent); }
.chat-msg.user .chat-avatar { background: var(--gray-400); }
.chat-bubble {
  padding: 12px 18px; border-radius: 16px; font-size: 0.9rem; line-height: 1.6;
}
.chat-msg.bot .chat-bubble { background: var(--white); border: 1px solid var(--gray-200); border-top-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: var(--accent); color: var(--white); border-top-right-radius: 4px; }
.chat-input {
  display: flex; gap: 12px; padding: 16px 24px;
  border-top: 1px solid var(--gray-200); background: var(--white);
}
.chat-input input {
  flex: 1; padding: 12px 18px; border-radius: 50px; border: 1px solid var(--gray-200);
  font-size: 0.9rem; outline: none;
}
.chat-input input:focus { border-color: var(--accent); }
.chat-input button {
  padding: 12px 24px; border-radius: 50px; background: var(--accent);
  color: var(--white); border: none; font-weight: 600; cursor: pointer;
}

/* ---------- 套餐卡片 ---------- */
.pricing-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px;
  border: 1px solid var(--gray-200); transition: var(--transition); position: relative; overflow: hidden;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--accent); }
.pricing-card.featured { border-color: var(--accent); }
.pricing-card.featured::before {
  content: '推荐'; position: absolute; top: 20px; right: -30px;
  background: var(--accent); color: var(--white); padding: 4px 40px;
  font-size: 0.75rem; font-weight: 700; transform: rotate(45deg);
}
.pricing-level {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  background: rgba(37,99,235,0.1); color: var(--accent);
  font-size: 0.8rem; font-weight: 700; margin-bottom: 16px;
}
.pricing-card h3 { margin-bottom: 12px; }
.pricing-card p { font-size: 0.9rem; margin-bottom: 20px; }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; color: var(--gray-600); }
.pricing-card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ---------- Agent卡片 ---------- */
.agent-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--gray-100); transition: var(--transition); text-align: center;
}
.agent-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.agent-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(15,43,91,0.1));
  font-size: 1.8rem;
}
.agent-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.agent-card p { font-size: 0.88rem; }

/* ---------- 流程步骤 ---------- */
.step-item {
  display: flex; gap: 24px; align-items: flex-start; padding: 24px 0;
  border-bottom: 1px solid var(--gray-100);
}
.step-item:last-child { border-bottom: none; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.step-content h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; }

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition);
  box-shadow: var(--shadow-lg); z-index: 900; border: none; font-size: 1.2rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--accent); }

/* ---------- 页面头部 ---------- */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0a1628 0%, #0f2b5b 50%, #1a3a6a 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 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;
}
.page-header h1 { color: var(--white); position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 16px auto 0; position: relative; z-index: 1; }

/* ---------- 数据统计 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat-item { text-align: center; padding: 32px; position: relative; overflow: hidden; }
.stat-item::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(37,99,235,0.03) 0%, transparent 60%);
  animation: statPulse 4s ease-in-out infinite;
}
@keyframes statPulse {
  0%, 100% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
}
.stat-value { font-size: 3rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; position: relative; z-index: 1; line-height: 1.1; }
.stat-label { font-size: 1.1rem; color: var(--gray-500); position: relative; z-index: 1; font-weight: 600; }

/* ---------- 独立站模拟 ---------- */
.site-preview {
  background: var(--gray-50); border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  overflow: hidden;
}
.site-preview-bar {
  background: var(--white); padding: 12px 20px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 8px;
}
.site-preview-dot { width: 12px; height: 12px; border-radius: 50%; }
.site-preview-body { padding: 32px; min-height: 300px; }

/* ---------- AI中心辐射图 ---------- */
.ai-constellation {
  position: relative; width: 100%; max-width: 700px; height: 500px; margin: 0 auto;
}
.ai-center-node {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 0 40px rgba(37,99,235,0.4), 0 0 80px rgba(37,99,235,0.2);
  z-index: 10; cursor: pointer;
  animation: centerPulse 3s ease-in-out infinite;
}
@keyframes centerPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(37,99,235,0.4), 0 0 80px rgba(37,99,235,0.2); }
  50% { box-shadow: 0 0 60px rgba(37,99,235,0.6), 0 0 120px rgba(37,99,235,0.3); }
}
.ai-center-node::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.3);
  animation: ringExpand 3s ease-in-out infinite;
}
.ai-center-node::after {
  content: ''; position: absolute; inset: -20px; border-radius: 50%;
  border: 1px solid rgba(37,99,235,0.15);
  animation: ringExpand 3s ease-in-out infinite 0.5s;
}
@keyframes ringExpand {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.5; }
}
.ai-product-node {
  position: absolute; width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gray-200);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; color: var(--gray-700);
  box-shadow: var(--shadow); cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5; text-align: center; padding: 6px;
}
.ai-product-node:hover {
  transform: scale(1.2); border-color: var(--accent);
  box-shadow: 0 0 20px rgba(37,99,235,0.3);
  z-index: 15;
}
.ai-product-node .node-icon { font-size: 1.4rem; margin-bottom: 2px; }
.ai-connection-line {
  position: absolute; top: 50%; left: 50%;
  height: 1px; background: linear-gradient(90deg, rgba(37,99,235,0.3), rgba(37,99,235,0.05));
  transform-origin: left center; z-index: 1;
  animation: lineGlow 3s ease-in-out infinite;
}
@keyframes lineGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
.ai-orbit-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px dashed rgba(37,99,235,0.12);
  pointer-events: none;
}

/* ---------- 手风琴折叠面板 ---------- */
.accordion-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
  transition: var(--transition);
}
.accordion-item:hover { border-color: var(--accent); }
.accordion-item.active { border-color: var(--accent); box-shadow: 0 4px 20px rgba(37,99,235,0.1); }
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; background: var(--white);
  transition: var(--transition); user-select: none;
}
.accordion-header:hover { background: var(--gray-50); }
.accordion-header h3 { font-size: 1.05rem; margin: 0; flex: 1; }
.accordion-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0; margin-left: 16px;
}
.accordion-item.active .accordion-icon {
  background: var(--accent); color: #fff; transform: rotate(180deg);
}
.accordion-icon svg { transition: var(--transition); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  padding: 0 24px;
}
.accordion-item.active .accordion-body {
  max-height: 1200px; padding: 0 24px 24px;
}

/* ---------- 横向滑动卡片 ---------- */
.slide-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px 0 30px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slide-track::-webkit-scrollbar { display: none; }
.slide-card {
  flex: 0 0 340px; scroll-snap-align: center;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: var(--transition); cursor: pointer;
}
.slide-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}
.slide-card-img {
  height: 180px; background: linear-gradient(135deg, #0a1628, #1a3a6a);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.slide-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), transparent);
}
.slide-card-body { padding: 24px; }
.slide-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.slide-card-body p { font-size: 0.88rem; margin-bottom: 16px; }
.slide-nav {
  display: flex; justify-content: center; gap: 12px; margin-top: 20px;
}
.slide-nav-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gray-200);
  background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 1.2rem; color: var(--gray-600);
}
.slide-nav-btn:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 4px 15px rgba(37,99,235,0.2);
}

/* ---------- 横向滑入动画 ---------- */
.slide-in-left {
  opacity: 0; transform: translateX(-80px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left.visible { opacity: 1; transform: translateX(0); }
.slide-in-right {
  opacity: 0; transform: translateX(80px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

/* ---------- 科技感网格背景 ---------- */
.tech-grid-bg {
  position: relative;
}
.tech-grid-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ---------- 响应式 ---------- */

/* ---------- 数据流动画 ---------- */
.data-flow-container {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap; max-width: 900px; margin: 0 auto;
}
.data-flow-node {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(96,165,250,0.2);
  border-radius: 16px; padding: 24px 20px; text-align: center;
  min-width: 140px; flex: 0 0 auto;
  transition: all 0.4s ease; position: relative;
  backdrop-filter: blur(10px);
}
.data-flow-node:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(96,165,250,0.5);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(37,99,235,0.3);
}
.data-flow-icon { font-size: 2rem; margin-bottom: 8px; }
.data-flow-label { color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.data-flow-metric { color: #60a5fa; font-size: 0.95rem; font-weight: 800; }
.data-flow-arrow {
  width: 60px; height: 2px; position: relative;
  background: linear-gradient(90deg, rgba(96,165,250,0.1), rgba(96,165,250,0.3));
  flex-shrink: 0;
}
.data-flow-particle {
  position: absolute; top: -3px; left: 0; width: 8px; height: 8px;
  border-radius: 50%; background: #60a5fa;
  box-shadow: 0 0 10px #60a5fa, 0 0 20px rgba(96,165,250,0.5);
  animation: flowParticle 2s ease-in-out infinite;
}
@keyframes flowParticle {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
.data-flow-bg-particles {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(96,165,250,0.15), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(96,165,250,0.1), transparent),
    radial-gradient(2px 2px at 60% 20%, rgba(96,165,250,0.12), transparent),
    radial-gradient(2px 2px at 80% 60%, rgba(96,165,250,0.08), transparent),
    radial-gradient(2px 2px at 10% 80%, rgba(96,165,250,0.1), transparent),
    radial-gradient(2px 2px at 90% 40%, rgba(96,165,250,0.15), transparent);
  animation: bgParticlesDrift 20s linear infinite;
}
@keyframes bgParticlesDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stats-grid[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .hamburger { display: flex; }
  .section { padding: 40px 0; }
  .banner { min-height: 80vh; }
  .banner-content h1 { font-size: 2rem; }
  .banner-content p { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .step-item { flex-direction: column; gap: 12px; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 1.8rem; }
  .ai-constellation { height: 350px; }
  .data-flow-container { flex-direction: column; gap: 0; }
  .data-flow-arrow { width: 2px; height: 40px; }
  .data-flow-particle {
    left: -3px !important; top: 0 !important;
    animation: flowParticleDown 2s ease-in-out infinite;
  }
  @keyframes flowParticleDown {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: calc(100% - 8px); opacity: 0; }
  }
  .slide-card { flex: 0 0 290px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card { padding: 24px; }
  .banner-buttons { flex-direction: column; }
  .banner-buttons .btn { width: 100%; justify-content: center; }
}
