@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --accent2: #8b5cf6;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-card2: #334155;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --text-body: #cbd5e1;
  --gradient1: linear-gradient(135deg, #2563eb, #06b6d4);
  --gradient2: linear-gradient(135deg, #8b5cf6, #ec4899);
  --gradient3: linear-gradient(135deg, #06b6d4, #10b981);
  --shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top:0; left:0; width:100%; z-index:1000;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(15,23,42,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav-container {
  max-width: 1280px; margin:0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo {
  display:flex; align-items:center; gap:12px; text-decoration:none;
}
.nav-logo .logo-icon {
  width:42px; height:42px; background: var(--gradient1); border-radius:10px;
  display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff; font-weight:900;
}
.nav-logo .logo-text {
  font-size: 1.1rem; font-weight: 700; color: var(--text-light);
  letter-spacing: 1px;
}
.nav-links { display:flex; gap:2rem; list-style:none; }
.nav-links a {
  color: var(--text-muted); text-decoration:none; font-size:0.95rem;
  font-weight:500; transition: color 0.3s; position:relative; padding: 0.5rem 0;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:0; width:0; height:2px;
  background: var(--gradient1); transition: width 0.3s;
}
.nav-links a:hover { color: var(--text-light); }
.nav-links a:hover::after { width:100%; }
.nav-toggle { display:none; background:none; border:none; color:#fff; font-size:1.5rem; cursor:pointer; }

/* ===== Hero 区域 ===== */
.hero {
  min-height: 100vh; display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden; padding: 6rem 2rem 4rem;
}
.hero-bg {
  position:absolute; inset:0; z-index:0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0f172a 100%);
}
.hero-bg::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(139,92,246,0.12) 0%, transparent 50%),
              radial-gradient(circle at 60% 80%, rgba(6,182,212,0.1) 0%, transparent 50%);
}
.particles {
  position:absolute; inset:0; z-index:1;
}
.particle {
  position:absolute; border-radius:50%; animation: float linear infinite;
  background: rgba(59,130,246,0.4);
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity:0; }
  10% { opacity:1; }
  90% { opacity:1; }
  100% { transform: translateY(-10vh) scale(1); opacity:0; }
}
.hero-content { position:relative; z-index:2; text-align:center; max-width:900px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(37,99,235,0.15); border:1px solid rgba(37,99,235,0.3);
  padding:8px 20px; border-radius:50px; font-size:0.85rem; color:var(--primary-light);
  margin-bottom:2rem; animation: fadeInUp 0.8s ease;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight:900;
  color:var(--text-light); line-height:1.2; margin-bottom:1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title .highlight {
  background: var(--gradient1); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size:1.15rem; color:var(--text-muted); max-width:640px; margin:0 auto 2.5rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-btns {
  display:flex; gap:1rem; justify-content:center; flex-wrap:wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.btn {
  padding: 14px 32px; border-radius:12px; font-size:1rem; font-weight:600;
  text-decoration:none; transition: all 0.3s ease; cursor:pointer; border:none;
  display:inline-flex; align-items:center; gap:8px;
}
.btn-primary {
  background: var(--gradient1); color:#fff;
  box-shadow: 0 8px 32px rgba(37,99,235,0.3);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,0.4); }
.btn-outline {
  background:transparent; color:var(--text-light);
  border:1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { background:rgba(255,255,255,0.05); border-color:rgba(255,255,255,0.4); }
.hero-stats {
  display:flex; justify-content:center; gap:3rem; margin-top:4rem;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.stat-item { text-align:center; }
.stat-num { font-size:2.2rem; font-weight:900; color:var(--text-light); }
.stat-num .accent { color:var(--accent); }
.stat-label { font-size:0.85rem; color:var(--text-muted); margin-top:4px; }

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}

/* ===== 通用区块 ===== */
.section { padding: 6rem 2rem; }
.section-header { text-align:center; max-width:700px; margin:0 auto 4rem; }
.section-tag {
  display:inline-block; font-size:0.8rem; font-weight:600; text-transform:uppercase;
  letter-spacing:2px; color:var(--primary-light); margin-bottom:1rem;
  background: rgba(37,99,235,0.1); padding:6px 16px; border-radius:50px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight:800;
  color:var(--text-light); margin-bottom:1rem;
}
.section-desc { color:var(--text-muted); font-size:1.05rem; }

/* ===== 业务领域 ===== */
.services-grid {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:1.5rem;
}
.service-card {
  background: var(--bg-card); border-radius:20px; padding:2.5rem 2rem;
  border:1px solid rgba(255,255,255,0.05); transition: all 0.4s ease;
  position:relative; overflow:hidden;
}
.service-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--gradient1); transform:scaleX(0); transition: transform 0.4s; transform-origin:left;
}
.service-card:hover { transform:translateY(-8px); border-color:rgba(37,99,235,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-card:hover::before { transform:scaleX(1); }
.service-icon {
  width:56px; height:56px; border-radius:14px; display:flex; align-items:center;
  justify-content:center; font-size:1.5rem; margin-bottom:1.5rem; color:#fff;
}
.service-card h3 { font-size:1.2rem; font-weight:700; color:var(--text-light); margin-bottom:0.8rem; }
.service-card p { font-size:0.92rem; color:var(--text-muted); line-height:1.7; }

/* ===== 产品展示 ===== */
.products-grid {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap:2rem;
}
.product-card {
  background: var(--bg-card); border-radius:20px; overflow:hidden;
  border:1px solid rgba(255,255,255,0.05); transition: all 0.4s ease;
}
.product-card:hover { transform:translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  height:220px; display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}
.product-img svg { width:80px; height:80px; opacity:0.7; transition: all 0.4s; }
.product-card:hover .product-img svg { opacity:1; transform:scale(1.1); }
.product-info { padding:1.8rem; }
.product-info h3 { font-size:1.15rem; font-weight:700; color:var(--text-light); margin-bottom:0.6rem; }
.product-info p { font-size:0.9rem; color:var(--text-muted); margin-bottom:1rem; }
.product-tag {
  display:inline-block; font-size:0.75rem; padding:4px 12px; border-radius:50px;
  background:rgba(37,99,235,0.1); color:var(--primary-light); font-weight:500;
}

/* ===== 优势特点 ===== */
.features-container { max-width:1280px; margin:0 auto; }
.features-grid {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap:2rem;
}
.feature-item {
  text-align:center; padding:2rem 1.5rem;
  border-radius:20px; transition: all 0.3s ease;
}
.feature-item:hover { background: var(--bg-card); }
.feature-num {
  font-size:3rem; font-weight:900;
  background:var(--gradient1); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  margin-bottom:1rem;
}
.feature-item h3 { font-size:1.1rem; font-weight:700; color:var(--text-light); margin-bottom:0.6rem; }
.feature-item p { font-size:0.9rem; color:var(--text-muted); }

/* ===== 关于我们 ===== */
.about-container {
  max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns: 1fr 1fr; gap:4rem; align-items:center;
}
.about-visual {
  background: var(--bg-card); border-radius:24px; padding:3rem;
  border:1px solid rgba(255,255,255,0.05); position:relative; min-height:400px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.about-visual::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.1), transparent 70%);
}
.about-globe {
  width:200px; height:200px; border-radius:50%; position:relative;
  border:2px solid rgba(37,99,235,0.3); animation: spin 20s linear infinite;
}
.about-globe::before, .about-globe::after {
  content:''; position:absolute; border-radius:50%; border:1px solid rgba(6,182,212,0.2);
}
.about-globe::before { inset:20px; }
.about-globe::after { inset:40px; border-color:rgba(139,92,246,0.2); }
@keyframes spin { to { transform: rotate(360deg); } }
.about-text h3 { font-size:1.8rem; font-weight:800; color:var(--text-light); margin-bottom:1.5rem; }
.about-text p { margin-bottom:1.5rem; color:var(--text-muted); }
.about-list { list-style:none; }
.about-list li {
  padding:0.6rem 0; display:flex; align-items:center; gap:12px;
  color:var(--text-body); font-size:0.95rem;
}
.about-list li::before {
  content:'✓'; width:24px; height:24px; border-radius:50%;
  background:rgba(16,185,129,0.15); color:#10b981; display:flex;
  align-items:center; justify-content:center; font-size:0.8rem; flex-shrink:0;
}

/* ===== 联系我们 ===== */
.contact-container {
  max-width:900px; margin:0 auto;
  background: var(--bg-card); border-radius:24px; padding:3rem;
  border:1px solid rgba(255,255,255,0.05);
}
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
.contact-item {
  display:flex; align-items:flex-start; gap:1rem; padding:1.5rem;
  background: var(--bg-dark); border-radius:16px;
}
.contact-icon {
  width:48px; height:48px; border-radius:12px; display:flex;
  align-items:center; justify-content:center; font-size:1.2rem; color:#fff; flex-shrink:0;
}
.contact-item h4 { font-size:0.95rem; font-weight:600; color:var(--text-light); margin-bottom:4px; }
.contact-item p { font-size:0.88rem; color:var(--text-muted); }

/* ===== 底部 ===== */
.footer {
  border-top:1px solid rgba(255,255,255,0.05); padding:3rem 2rem;
  text-align:center; color:var(--text-muted); font-size:0.85rem;
}
.footer-container { max-width:1280px; margin:0 auto; }
.footer-links { display:flex; justify-content:center; gap:2rem; margin-bottom:1.5rem; list-style:none; }
.footer-links a { color:var(--text-muted); text-decoration:none; transition:color 0.3s; }
.footer-links a:hover { color:var(--text-light); }
.footer-divider { height:1px; background:rgba(255,255,255,0.05); margin:1.5rem 0; }

/* ===== 滚动动画 ===== */
.reveal {
  opacity:0; transform:translateY(40px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.active { opacity:1; transform:translateY(0); }

/* ===== 响应式 ===== */
@media (max-width:768px) {
  .nav-links { display:none; }
  .nav-toggle { display:block; }
  .nav-links.active {
    display:flex; flex-direction:column; position:absolute;
    top:72px; left:0; right:0; background:rgba(15,23,42,0.98);
    padding:1rem 2rem 2rem; gap:0.5rem;
  }
  .hero-stats { gap:1.5rem; flex-wrap:wrap; }
  .about-container { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .about-visual { min-height:280px; }
}
