/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3a6b;
  --primary-dark: #0d2449;
  --accent: #1e88e5;
  --accent-light: #4fc3f7;
  --gold: #f4a620;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-gray: #f4f7fc;
  --border: #e5eaf3;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26,58,107,0.10);
  --shadow-lg: 0 12px 48px rgba(26,58,107,0.16);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; }

/* ===== 通用容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(30,136,229,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,136,229,0.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.75);
  color: #fff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ===== Section 通用 ===== */
.section { padding: 90px 0; }
.section-gray { background: var(--bg-gray); }
.section-blue { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1565c0 100%); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header.white .section-tag,
.section-header.white .section-title,
.section-header.white .section-desc { color: #fff; }

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-title.left { text-align: left; }
.section-desc { color: var(--text-muted); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ===== 顶部导航 ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transition: var(--transition);
  padding: 0;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(26,58,107,0.12);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  font-size: 28px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.header:not(.scrolled) .logo-main { color: #fff; }
.header:not(.scrolled) .logo-sub { color: rgba(255,255,255,0.6); }

.nav-list { display: flex; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.header.scrolled .nav-link { color: var(--text-muted); }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--accent);
  background: rgba(30,136,229,0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .menu-toggle span { background: var(--primary); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 45%, #1565c0 80%, #1e88e5 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(79,195,247,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(244,166,32,0.08) 0%, transparent 50%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 130px 24px 100px;
  max-width: 760px;
}
.hero-badge {
  display: inline-block;
  padding: 7px 20px;
  border: 1px solid rgba(79,195,247,0.4);
  border-radius: 24px;
  font-size: 13px;
  color: var(--accent-light);
  margin-bottom: 22px;
  letter-spacing: 1px;
  background: rgba(79,195,247,0.07);
}
.hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--accent-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.9;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 8px;
}
.stat-item { text-align: center; padding: 0 24px; }
.stat-item:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 1px;
  animation: bounceY 1.8s ease-in-out infinite;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== 产品卡片 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  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(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.product-icon svg { width: 28px; height: 28px; }
.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}
.product-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.product-features {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.product-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== 关于我们 ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-placeholder {
  background: linear-gradient(135deg, #1a3a6b, #1565c0);
  padding: 32px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-placeholder svg { width: 100%; max-width: 260px; }
.about-badge-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border);
}
.badge-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.badge-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.about-intro {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.about-milestones { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.milestone {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.milestone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 0 3px rgba(30,136,229,0.18);
}
.milestone-content { display: flex; gap: 12px; align-items: baseline; }
.milestone-year {
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  white-space: nowrap;
}
.milestone-text { color: var(--text-muted); font-size: 14px; }

/* ===== 核心优势 ===== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.strength-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30,136,229,0.25);
}
.strength-icon { font-size: 40px; margin-bottom: 16px; }
.strength-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
.strength-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== 荣誉资质 ===== */
.honor-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.honor-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.honor-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.honor-icon { font-size: 36px; margin-bottom: 12px; }
.honor-text { color: rgba(255,255,255,0.88); font-size: 13px; font-weight: 500; line-height: 1.5; }

/* ===== 联系我们 ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  font-size: 22px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-detail strong { font-size: 14px; font-weight: 600; color: var(--primary); }
.contact-detail span { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text); }
.form-group input,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-gray);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,136,229,0.1);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}
.footer-inner { display: flex; flex-direction: column; }
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-desc { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.8; margin-top: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li, .footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  cursor: pointer;
}
.footer-col ul a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(30,136,229,0.4);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,136,229,0.5);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .honor-list { grid-template-columns: repeat(3, 1fr); }
  .about-layout { gap: 48px; }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .honor-list { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 4px; }
  .stat-item { padding: 0 12px; }
  .stat-num { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section-title { font-size: 26px; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 20px 24px;
    display: none;
    backdrop-filter: blur(12px);
  }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-link { color: var(--text) !important; }
  .nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
    background: rgba(30,136,229,0.08);
  }
  .about-badge-card { bottom: -16px; right: -12px; }
}

/* ===== 动画入场 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card, .strength-card, .honor-item {
  animation: fadeInUp 0.5s both;
}
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

/* 粒子点 */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
