/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333; background: #fff; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; /* 字体平滑 */
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a {
  text-decoration: none; color: inherit; transition: color .3s;
  -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
}
button {
  border: none; background: none; cursor: pointer; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 通用触摸优化 */
@media (hover: none) and (pointer: coarse) {
  /* 移动设备特定样式 */
  * { -webkit-tap-highlight-color: transparent; }
  a, button { min-height: 44px; min-width: 44px; }
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 32px; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; border-radius: 6px; font-size: 14px; font-weight: 500;
  transition: all .3s; border: none; cursor: pointer;
  box-shadow: 0 4px 15px rgba(37,99,235,.3);
  min-height: 44px; /* 触摸友好 */
  -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.4); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(37,99,235,.3); }
.btn-outline {
  display: inline-flex; align-items: center; padding: 12px 32px;
  border: 1px solid #2563eb; color: #2563eb; border-radius: 6px;
  font-size: 14px; font-weight: 500; transition: all .3s;
  min-height: 44px; /* 触摸友好 */
  -webkit-tap-highlight-color: transparent;
}
.btn-outline:hover { background: #2563eb; color: #fff; }
.btn-outline:active { background: #1d4ed8; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; /* 提高z-index确保始终在最上层 */
  background: rgba(10, 22, 40, 0.95);
  -webkit-backdrop-filter: blur(10px); /* Safari兼容 */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all .3s;
}
.header.scrolled { background: rgba(10, 22, 40, 0.98); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: 1px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  color: rgba(255,255,255,0.7); font-size: 14px; position: relative;
  padding: 10px 0; transition: color .3s; /* 增加padding提升触摸目标 */
  -webkit-tap-highlight-color: transparent;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:active { color: #60a5fa; } /* 触摸反馈 */
.nav-link.active::after {
  content: ""; position: absolute; bottom: -2px; left: 0; width: 100%;
  height: 2px; background: #2563eb; border-radius: 1px;
}
.header-cta { padding: 8px 20px; font-size: 13px; min-height: 40px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  min-width: 44px; min-height: 44px; /* 触摸友好 */
  justify-content: center; align-items: center;
  -webkit-tap-highlight-color: transparent;
  position: relative; /* 确保定位正确 */
  z-index: 10001; /* 确保在最上层，高于header */
}
.hamburger:active { opacity: 0.7; } /* 触摸反馈 */
.hamburger span {
  width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: all .3s;
  display: block; /* 确保span显示 */
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 600px; padding: 120px 0 60px;
  background: linear-gradient(135deg, #0a1628 0%, #0f2847 40%, #132e52 100%);
  overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%; opacity: 0.08;
  background: radial-gradient(circle, #2563eb, transparent);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }
.shape-3 { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-content { flex: 1; max-width: 500px; }
.hero-title {
  font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 16px;
  line-height: 1.3;
}
.hero-subtitle { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; line-height: 1.8; }
.hero-cta { font-size: 15px; padding: 14px 36px; }
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }

/* Hero 3D Visual */
.hero-3d { perspective: 800px; width: 350px; height: 300px; position: relative; }
.cube-scene { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.cube {
  position: absolute; border-radius: 8px;
  background: linear-gradient(135deg, rgba(37,99,235,0.6), rgba(37,99,235,0.2));
  border: 1px solid rgba(37,99,235,0.3);
  animation: float 6s ease-in-out infinite;
}
.cube-1 { width: 80px; height: 80px; top: 40px; left: 60px; animation-delay: 0s; }
.cube-2 { width: 60px; height: 60px; top: 80px; right: 80px; animation-delay: 1s; background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(96,165,250,0.2)); }
.cube-3 { width: 100px; height: 70px; bottom: 60px; left: 100px; animation-delay: 2s; background: linear-gradient(135deg, rgba(37,99,235,0.7), rgba(59,130,246,0.3)); }
.cube-4 { width: 50px; height: 50px; top: 20px; right: 40px; animation-delay: 3s; background: linear-gradient(135deg, rgba(96,165,250,0.4), rgba(147,197,253,0.2)); }
.platform {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%) rotateX(60deg);
  width: 250px; height: 150px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.15), transparent 70%);
}
.glow-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 200px; height: 200px; border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.2);
  animation: pulse-ring 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes pulse-ring {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%,-50%) scale(1.1); opacity: 0.6; }
}

/* Hero Stats */
.hero-stats {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 60px; padding: 30px 40px;
  background: rgba(255,255,255,0.05); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.stat-item { text-align: center; flex: 1; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.1); }
.stat-number {
  font-size: 36px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix {
  font-size: 24px; font-weight: 600;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 4px; }

/* ===== Section Common ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 30px; font-weight: 700; color: #1a1a2e; margin-bottom: 12px; }
.section-title.light { color: #fff; }
.section-desc { color: #666; font-size: 15px; }
.section-header-left { margin-bottom: 30px; }
.section-tag {
  display: inline-block; font-size: 18px; font-weight: 600; color: #1a1a2e;
  padding-bottom: 8px; border-bottom: 3px solid #2563eb;
}

/* ===== Solutions ===== */
.solutions { padding: 80px 0; background: #fff; }
.solutions-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.solution-card {
  padding: 30px 24px; border-radius: 12px; text-align: center;
  background: #f8fafc; border: 1px solid #e2e8f0;
  transition: all .4s cubic-bezier(.4,0,.2,1); cursor: pointer;
  position: relative; overflow: hidden;
}
.solution-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transition: opacity .4s; z-index: 0;
}
.solution-card:hover::before, .solution-card.active::before { opacity: 1; }
.solution-card:hover, .solution-card.active {
  transform: translateY(-4px); border-color: transparent;
  box-shadow: 0 10px 30px rgba(37,99,235,.2);
}
.solution-card > * { position: relative; z-index: 1; }
.solution-card:hover *, .solution-card.active * { color: #fff; }
.solution-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  color: #2563eb; transition: color .4s;
}
.solution-card:hover .solution-icon, .solution-card.active .solution-icon { color: #fff; }
.solution-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #1a1a2e; transition: color .4s; }
.solution-card p { font-size: 13px; color: #666; line-height: 1.6; transition: color .4s; }
.solution-link {
  display: inline-block; margin-top: 12px; font-size: 13px;
  color: #fff; opacity: 0.9;
}
.solution-link:hover { opacity: 1; }

/* ===== Customers ===== */
.customers { padding: 80px 0; background: #f8fafc; }
.customer-logos {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
}
.customer-logo-item {
  text-align: center; cursor: pointer; transition: all .3s;
}
.customer-logo {
  width: 180px; height: 80px; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; border: 1px solid #e2e8f0;
  transition: all .3s; padding: 15px;
}
.customer-logo span {
  font-size: 15px; font-weight: 600; color: #333;
  white-space: nowrap;
}
.customer-logo-item:hover .customer-logo,
.customer-logo.highlight {
  border-color: #2563eb; box-shadow: 0 4px 15px rgba(37,99,235,.1);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}
.customer-logo-item p { font-size: 12px; color: #999; margin-top: 8px; }

/* ===== Scenarios ===== */
.scenarios { padding: 60px 0 80px; background: #f0f4f8; }
.scenarios-list { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; }
.scenario-card {
  flex: 0 0 180px; border-radius: 12px; overflow: hidden;
  background: #fff; cursor: pointer; transition: all .5s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.scenario-card.expanded { flex: 0 0 320px; }
.scenario-image { height: 200px; overflow: hidden; position: relative; }
.scenario-image img { width: 100%; height: 100%; object-fit: cover; }
.scenario-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1e3a5f, #0f2847);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 14px;
}
.scene-1 { background: linear-gradient(135deg, #0f2847, #1a365d); }
.scene-2 { background: linear-gradient(135deg, #1a365d, #2563eb); }
.scene-3 { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.scene-4 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.scene-5 { background: linear-gradient(135deg, #3b82f6, #93c5fd); }
.scenario-info { padding: 16px; }
.scenario-info h3 { font-size: 15px; font-weight: 600; color: #1a1a2e; margin-bottom: 6px; }
.scenario-info p { font-size: 13px; color: #666; line-height: 1.6; display: none; }
.scenario-card.expanded .scenario-info p { display: block; }

/* ===== Cases ===== */
.cases {
  padding: 80px 0; background: linear-gradient(135deg, #0a1628, #0f2847);
}
.cases-tabs {
  display: flex; gap: 0; margin-bottom: 40px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.case-tab {
  flex: 1; padding: 16px 24px; color: rgba(255,255,255,0.6);
  font-size: 15px; font-weight: 500; transition: all .3s;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 8px;
}
.case-tab:last-child { border-right: none; }
.case-tab:hover { color: #fff; background: rgba(255,255,255,0.06); }
.case-tab.active {
  color: #fff; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 15px rgba(37,99,235,.3);
}
.tab-num { font-weight: 700; font-size: 18px; }
.cases-content { position: relative; }
.case-panel {
  display: none; gap: 40px; align-items: flex-start;
  animation: fadeIn .5s ease;
}
.case-panel.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.case-image { flex: 0 0 480px; }
.case-image img { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.case-img-placeholder {
  width: 100%; height: 300px; border-radius: 12px;
  background: linear-gradient(135deg, #1a365d, #1e40af);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 14px;
  border: 1px solid rgba(255,255,255,0.1);
}
.case-detail { flex: 1; }
.case-detail h3 { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.case-detail p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
.case-stats { display: flex; gap: 40px; }
.case-stat { text-align: center; }
.case-stat-num {
  font-size: 32px; font-weight: 700; display: block;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-stat p { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 4px; }

/* ===== About ===== */
.about { padding: 80px 0; background: #fff; }
.about-content { display: flex; gap: 50px; align-items: center; }
.about-text { flex: 1; }
.about-company-badge { margin-bottom: 20px; }
.about-text h3 { font-size: 22px; font-weight: 600; color: #1a1a2e; margin-bottom: 16px; }
.about-text p { color: #666; font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.about-image { flex: 0 0 420px; }
.about-image img { width: 100%; height: 280px; object-fit: cover; border-radius: 16px; }
.about-img-gradient {
  width: 100%; height: 280px; border-radius: 16px;
  background: linear-gradient(135deg, #f472b6, #a78bfa, #60a5fa, #34d399);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: 600; letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}

/* ===== Partners ===== */
.partners { padding: 80px 0; background: #f8fafc; }
.partners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.partner-item {
  height: 80px; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; border: 1px solid #e2e8f0;
  transition: all .3s; cursor: pointer; padding: 15px;
}
.partner-item span {
  font-size: 14px; font-weight: 600; color: #999;
  transition: color .3s; white-space: nowrap;
}
.partner-item:hover {
  border-color: #2563eb; box-shadow: 0 4px 15px rgba(37,99,235,.08);
  transform: translateY(-2px);
}
.partner-item:hover span { color: #333; }

/* ===== Footer ===== */
.footer { background: #0a1628; padding-top: 60px; }
.footer-main { display: flex; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { flex: 0 0 240px; }
.footer .logo { margin-bottom: 12px; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-col { flex: 1; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-col a {
  display: block; color: rgba(255,255,255,0.5); font-size: 13px;
  margin-bottom: 10px; transition: color .3s;
}
.footer-col a:hover { color: #60a5fa; }
.footer-contact, .footer-email { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 8px; }
.footer-qrcode { margin-top: 8px; }
.qr-placeholder {
  width: 90px; height: 90px; border-radius: 8px;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 12px;
}
.footer-bottom { padding: 16px 0; background: rgba(0,0,0,0.2); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-record-link {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}
.footer-record-link:hover { color: #60a5fa; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-links a:hover { color: #60a5fa; }
.footer-col-wide { flex: 1.5; }
.footer-col-grid { display: flex; gap: 24px; }
.footer-col-grid div { display: flex; flex-direction: column; }
.footer-col-grid a { display: block; color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 10px; transition: color .3s; }
.footer-col-grid a:hover { color: #60a5fa; }
.footer-address { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom-left { display: flex; align-items: center; gap: 12px; }
.friend-link-label { color: rgba(255,255,255,0.4); font-size: 12px; }
.friend-link-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 4px; font-size: 12px;
  color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all .3s;
}
.friend-link-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
  border-radius: 50%; background: #2563eb; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,99,235,.3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s; z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37,99,235,.4); }

/* ===== Solution Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 22, 40, .6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1); opacity: 1;
}
.modal-box {
  width: 420px; max-width: 92vw; border-radius: 20px;
  background: #fff; position: relative; overflow: hidden;
  transform: translateY(24px) scale(.96); opacity: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.modal-header {
  padding: 36px 32px 0; text-align: center;
  background: linear-gradient(135deg, #0f2847 0%, #1e40af 100%);
  padding-bottom: 32px; position: relative; overflow: hidden;
}
.modal-header::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.modal-header-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,.12); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.modal-header h3 {
  font-size: 20px; font-weight: 700; color: #fff;
  margin-bottom: 6px; position: relative;
}
.modal-header p {
  font-size: 13px; color: rgba(255,255,255,.55);
  position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; transition: all .3s;
}
.modal-close:hover { background: rgba(255,255,255,.2); color: #fff; }
.modal-body { padding: 28px 32px 32px; }
.modal-field { margin-bottom: 18px; }
.modal-label {
  display: block; font-size: 13px; font-weight: 600;
  color: #475569; margin-bottom: 8px;
}
.modal-input {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid #e2e8f0; font-size: 14px;
  color: #1e293b; background: #f8fafc;
  transition: all .3s; outline: none; font-family: inherit;
}
.modal-input::placeholder { color: #94a3b8; }
.modal-input:focus {
  border-color: #2563eb; background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.modal-submit {
  width: 100%; padding: 14px; border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all .3s;
  box-shadow: 0 4px 15px rgba(37,99,235,.3);
  margin-top: 6px;
}
.modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.modal-submit:active { transform: translateY(0); }
.modal-tip {
  text-align: center; font-size: 12px; color: #94a3b8;
  margin-top: 14px;
}
.modal-success {
  display: none; text-align: center; padding: 40px 32px;
}
.modal-success.show { display: block; }
.modal-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.modal-success h4 {
  font-size: 18px; font-weight: 600; color: #1e293b; margin-bottom: 8px;
}
.modal-success p { font-size: 14px; color: #64748b; }

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-visual { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; padding: 20px; }
  .stat-item { flex: 0 0 calc(33.33% - 14px); }
  .stat-item + .stat-item { border-left: none; }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .case-panel { flex-direction: column; }
  .case-image { flex: none; width: 100%; }
  .about-content { flex-direction: column; }
  .about-image { flex: none; width: 100%; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { flex-wrap: wrap; }
  .footer-brand { flex: 0 0 100%; margin-bottom: 20px; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 9998; /* 低于header但高于其他内容 */
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px; /* 增加间距提升触摸体验 */
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: slideDown .3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }
  .nav-link {
    padding: 12px 0; /* 增大触摸目标 */
    font-size: 15px; /* 增大移动端字体 */
  }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  .header-cta { display: none; }
  .hamburger { display: flex; z-index: 10001; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero { min-height: auto; padding: 100px 0 40px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; } /* 增大移动端字体 */
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-item { flex: none; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .customer-logos { gap: 15px; }
  .customer-logo { width: 140px; height: 60px; }
  .scenarios-list { gap: 12px; }
  .scenario-card { flex: 0 0 150px; }
  .scenario-card.expanded { flex: 0 0 260px; }
  .cases-tabs { flex-wrap: wrap; }
  .case-tab { flex: 0 0 calc(50% - 1px); font-size: 13px; padding: 12px 16px; min-height: 44px; }
  .case-stats { gap: 20px; }
  .case-stat-num { font-size: 24px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { gap: 24px; }
  .footer-col { flex: 0 0 calc(50% - 12px); }
  .footer-col a { padding: 8px 0; display: block; } /* 增大触摸目标 */
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 26px; } /* 增大字体 */
  .hero-subtitle { font-size: 14px; }
  .section-title { font-size: 26px; } /* 增大字体 */
  .section-desc { font-size: 14px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card h3 { font-size: 16px; }
  .solution-card p { font-size: 14px; }
  .customer-logos { flex-direction: column; align-items: center; }
  .customer-logo { width: 100%; max-width: 280px; }
  .scenario-card { flex: 0 0 140px; }
  .scenario-card.expanded { flex: 0 0 220px; }
  .case-tab { flex: 0 0 100%; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 32px; } /* 增大字体 */
  .btn-primary, .btn-outline { width: 100%; justify-content: center; } /* 移动端按钮全宽 */
}

/* ===== 子页面公共 Hero Banner ===== */
.page-hero {
  position: relative; padding: 150px 0 60px; overflow: hidden;
  background: linear-gradient(135deg, #070e1a 0%, #0a1628 30%, #0f2847 70%, #132e52 100%);
  min-height: 340px; display: flex; align-items: center;
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-inner {
  position: relative; z-index: 1; text-align: center; width: 100%;
}
.page-hero-inner h1 {
  font-size: 38px; font-weight: 700; color: #fff;
  margin-bottom: 14px; letter-spacing: 2px;
}
.page-hero-inner p {
  color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.8;
  max-width: 520px; margin: 0 auto;
}
@media (max-width: 768px) {
  .page-hero { padding: 110px 0 44px; min-height: auto; }
  .page-hero-inner h1 { font-size: 26px; }
  .page-hero-inner p { font-size: 14px; }
}
@media (max-width: 480px) {
  .page-hero-inner h1 { font-size: 22px; }
}
