/* ==================== 全局重置与变量 ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #273548;
  --bg-input: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* ==================== 导航栏 ==================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,23,42,0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(100,116,139,0.2);
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 20px; font-weight: 700;
  color: var(--text-primary);
}
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo .icon { font-size: 28px; }
.nav-logo .icon { font-size: 28px; }
.nav-logo span { background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text-primary); }

/* ==================== 按钮 ==================== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; font-weight: 600; transition: var(--transition); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,70,229,0.4); }
.btn-outline { background: transparent; border: 1px solid var(--primary-light); color: var(--primary-light); }
.btn-outline:hover { background: rgba(79,70,229,0.1); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(6,182,212,0.4); }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ==================== Hero区域 ==================== */
.hero {
  position: relative; overflow: hidden;
  padding: 160px 40px 120px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(79,70,229,0.3), transparent),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(6,182,212,0.15), transparent);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
  opacity: 0.5; pointer-events: none;
}
.hero-badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: rgba(79,70,229,0.2); border: 1px solid rgba(129,140,248,0.3);
  color: var(--primary-light); font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 800;
  line-height: 1.2; max-width: 900px; margin: 0 auto 20px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #67e8f9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 18px; color: var(--text-secondary); max-width: 700px;
  margin: 0 auto 40px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==================== 数据展示条 ==================== */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 1200px; margin: -60px auto 0; padding: 0 40px;
  position: relative; z-index: 10;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  backdrop-filter: blur(10px); transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--primary-light); }
.stat-card .stat-num { font-size: 36px; font-weight: 800; background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .stat-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* ==================== 通用区块 ==================== */
.section { padding: 100px 40px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .badge { display: inline-block; padding: 6px 16px; border-radius: 20px; background: rgba(6,182,212,0.15); color: var(--accent); font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.section-header h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ==================== 产品卡片 ==================== */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: var(--transition);
}
.product-card:hover::before { opacity: 1; }
.product-card:hover { transform: translateY(-6px); border-color: var(--primary-light); box-shadow: var(--shadow); }
.product-card .p-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.product-card .p-icon.cpu { background: rgba(79,70,229,0.15); color: var(--primary-light); }
.product-card .p-icon.gpu { background: rgba(6,182,212,0.15); color: var(--accent); }
.product-card .p-icon.storage { background: rgba(16,185,129,0.15); color: var(--success); }
.product-card h3 { font-size: 20px; margin-bottom: 12px; }
.product-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.product-card .feat-list { list-style: none; }
.product-card .feat-list li { font-size: 13px; color: var(--text-muted); padding: 6px 0; padding-left: 20px; position: relative; }
.product-card .feat-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ==================== 业务场景 ==================== */
.business-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto;
}
.business-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; display: flex; gap: 24px;
  transition: var(--transition);
}
.business-card:hover { border-color: var(--primary-light); transform: translateX(4px); }
.business-card .b-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(79,70,229,0.1); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.business-card h3 { font-size: 18px; margin-bottom: 8px; }
.business-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ==================== 技术架构 ==================== */
.arch-section { background: var(--bg-card); }
.arch-flow { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.arch-node { background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; text-align: center; min-width: 160px; transition: var(--transition); }
.arch-node:hover { border-color: var(--primary-light); transform: scale(1.05); }
.arch-node .node-icon { font-size: 32px; margin-bottom: 10px; }
.arch-node .node-title { font-weight: 600; font-size: 15px; }
.arch-node .node-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.arch-arrow { font-size: 24px; color: var(--primary-light); }

/* ==================== GEO 内容区 ==================== */
.geo-section { background: var(--bg-dark); border-top: 1px solid rgba(100,116,139,0.1); }
.geo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 1200px; margin: 0 auto 48px;
}
.geo-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 28px;
  transition: var(--transition);
}
.geo-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.geo-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.geo-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.geo-card p strong { color: var(--primary-light); font-weight: 600; }
.geo-promise {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.promise-item {
  background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(6,182,212,0.08));
  border: 1px solid rgba(129,140,248,0.15); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 14px; align-items: flex-start;
  transition: var(--transition);
}
.promise-item:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.promise-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.promise-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.promise-item p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ==================== 页脚 ==================== */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 60px 40px 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer h4 { font-size: 16px; margin-bottom: 16px; }
.footer p, .footer a { font-size: 14px; color: var(--text-muted); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ==================== Toast ==================== */
.toast { position: fixed; top: 80px; right: 24px; padding: 14px 24px; border-radius: var(--radius-sm); color: #fff; font-size: 14px; font-weight: 500; z-index: 9999; transform: translateX(120%); transition: transform 0.4s ease; box-shadow: var(--shadow); }
.toast.show { transform: translateX(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ==================== GEO 服务内容区 ==================== */
.geo-services {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; max-width: 1200px; margin: 0 auto 48px;
}
.geo-service-card:last-child { grid-column: 1 / -1; }
.geo-service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition);
}
.geo-service-card:hover { border-color: var(--primary-light); }
.geo-service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; color: var(--text-primary); }

/* 规格表格 */
.geo-spec-table { width: 100%; border-collapse: collapse; }
.spec-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
  padding: 10px 8px; font-size: 13px; color: var(--text-secondary);
  border-bottom: 1px solid rgba(100,116,139,0.1);
}
.spec-header span { font-weight: 700; color: var(--text-primary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.spec-row:hover { background: rgba(79,70,229,0.05); }
.geo-note { font-size: 12px; color: var(--text-muted); margin-top: 14px; }
.geo-note strong { color: var(--accent); }

/* 服务流程 */
.geo-flow { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.geo-flow-step {
  flex: 1; min-width: 130px;
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 14px; text-align: center;
  transition: var(--transition);
}
.geo-flow-step:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.flow-num {
  display: inline-block; width: 32px; height: 32px; line-height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 10px;
}
.geo-flow-step strong { display: block; font-size: 14px; margin-bottom: 6px; }
.geo-flow-step p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.geo-flow-arrow {
  display: flex; align-items: center; padding-top: 12px;
  font-size: 18px; color: var(--primary-light); flex-shrink: 0;
}

/* 技术指标 */
.geo-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.geo-metric-item {
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 16px; text-align: center;
  transition: var(--transition);
}
.geo-metric-item:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.metric-value {
  font-size: 24px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.metric-label { font-size: 12px; color: var(--text-muted); }

/* ==================== GEO 案例扩展 ==================== */
.geo-cases-section { max-width: 1200px; margin: 0 auto 48px; }
.geo-cases-header { text-align: center; margin-bottom: 28px; }
.geo-cases-header h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.geo-cases-header p { font-size: 14px; color: var(--text-muted); }
.geo-cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.geo-case-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: var(--transition);
}
.geo-case-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.geo-case-icon { font-size: 32px; flex-shrink: 0; width: 48px; height: 48px; background: rgba(79,70,229,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.geo-case-content { flex: 1; }
.geo-case-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.geo-case-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.geo-case-tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  background: rgba(6,182,212,0.12); color: var(--accent);
  font-size: 11px; font-weight: 500; margin-right: 6px; margin-bottom: 4px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .geo-grid { grid-template-columns: 1fr 1fr; }
  .geo-promise { grid-template-columns: 1fr 1fr; }
  .geo-services { grid-template-columns: 1fr; }
  .geo-metrics { grid-template-columns: 1fr 1fr; }
  .geo-cases-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 120px 20px 80px; }
  .section { padding: 60px 20px; }
  .stats-bar { grid-template-columns: 1fr 1fr; margin-top: -30px; padding: 0 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: 1fr; }
  .geo-promise { grid-template-columns: 1fr; }
  .geo-services { grid-template-columns: 1fr; }
  .geo-metrics { grid-template-columns: 1fr 1fr; }
  .geo-cases-grid { grid-template-columns: 1fr; }
  .geo-flow { flex-direction: column; align-items: stretch; }
  .geo-flow-arrow { justify-content: center; transform: rotate(90deg); padding: 4px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
