/* ============ 鼎立中天/易安宝 官网样式 ============ */
:root {
  --primary: #0a5cc4;
  --primary-dark: #084a9e;
  --primary-light: #e8f1fc;
  --accent: #00b4d8;
  --text: #2c3542;
  --text-light: #6b7684;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e4e9f0;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 8px 30px rgba(10, 92, 196, 0.08);
  --shadow-hover: 0 12px 40px rgba(10, 92, 196, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 46px; height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text h1 { font-size: 20px; color: var(--primary); font-weight: 700; line-height: 1.2; }
.logo-text span { font-size: 11px; color: var(--text-light); letter-spacing: 1px; }

.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  padding: 10px 18px;
  font-size: 15px;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.25s;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: var(--primary-light); }
.main-nav a.active { font-weight: 600; }
.header-contact { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 700; font-size: 16px;
}
.header-phone svg { width: 18px; height: 18px; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a3d82 0%, #0a5cc4 55%, #0090c8 100%);
  color: white;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.hero::after {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  right: -150px; top: -200px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center;
  padding: 90px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px; border-radius: 30px;
  font-size: 13px; margin-bottom: 24px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: #5ee6a8; border-radius: 50%; }
.hero h2 { font-size: 46px; font-weight: 700; line-height: 1.3; margin-bottom: 20px; letter-spacing: -1px; }
.hero h2 .highlight { color: #7fe5ff; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.85); line-height: 1.9; margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 600;
  transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: white; color: var(--primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-outline { border: 1px solid rgba(255,255,255,0.5); color: white; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.hero-visual { position: relative; }
.hero-map {
  width: 100%; aspect-ratio: 1; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pulse {
  position: absolute; width: 120px; height: 120px;
  border: 2px solid rgba(126,229,255,0.6); border-radius: 50%;
  top: 40%; left: 45%; animation: pulse 3s infinite;
}
.map-pulse:nth-child(2) { animation-delay: 1s; width: 180px; height: 180px; top: 35%; left: 40%; }
.map-pulse:nth-child(3) { animation-delay: 2s; width: 240px; height: 240px; top: 30%; left: 35%; }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.map-center-icon {
  position: relative; z-index: 2;
  width: 90px; height: 90px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}
.map-center-icon svg { width: 48px; height: 48px; fill: white; }
.map-label {
  position: absolute; background: white; color: var(--primary);
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.map-label.l1 { top: 25%; left: 15%; }
.map-label.l2 { top: 60%; right: 12%; animation-delay: 0.5s; }
.map-label.l3 { bottom: 20%; left: 25%; }
.hero-custom-image { display: none; width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); }
.hero-custom-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-label .icon-image { width: 16px; height: 16px; vertical-align: -3px; }
.icon-image { width: 30px; height: 30px; object-fit: contain; }
.default-icon { width: 30px; height: 30px; opacity: 0.55; }
.solution-icon a { color: inherit; text-decoration: none; }
.hero-custom-image a { display: block; width: 100%; height: 100%; }
.service-icon a, .feature-item .num a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.map-label a { color: inherit; text-decoration: none; }

/* ============ Section Common ============ */
.section { padding: 90px 0; }
.section.bg { background: var(--bg); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.section-header p { color: var(--text-light); font-size: 16px; }

/* ============ Service Cards ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: white; border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 26px;
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--text); }
.service-card p { color: var(--text-light); font-size: 14px; line-height: 1.8; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-tags span { background: var(--bg); padding: 4px 10px; border-radius: 4px; font-size: 12px; color: var(--primary); }

/* ============ Product Cards ============ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-image {
  height: 220px; background: linear-gradient(135deg, #f0f5fc, #e4eefb);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .placeholder-icon { width: 100px; height: 100px; opacity: 0.3; }
.product-category {
  position: absolute; top: 14px; left: 14px;
  background: var(--primary); color: white;
  font-size: 11px; padding: 4px 12px; border-radius: 20px;
}
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }
.product-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; flex: 1; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.product-features span { font-size: 11px; background: var(--bg); color: var(--text-light); padding: 3px 8px; border-radius: 3px; }
.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 18px;
}
.product-link:hover { gap: 10px; }

/* ============ Feature Highlights ============ */
.features-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.feature-item h4 { font-size: 15px; margin-bottom: 4px; }
.feature-item p { font-size: 13px; color: var(--text-light); }
.split-visual {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px; padding: 50px 40px; color: white;
  position: relative; overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-visual::after {
  content: ''; position: absolute; width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  right: -100px; bottom: -100px;
}
.stat-row { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.stat-item .number { font-size: 40px; font-weight: 700; line-height: 1; }
.stat-item .label { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 6px; }

/* ============ Solutions ============ */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.solution-card {
  background: white; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); transition: all 0.3s;
}
.solution-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.solution-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), #d4e8ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 18px;
}
.solution-card .category-tag { font-size: 12px; color: var(--accent); font-weight: 600; }
.solution-card h3 { font-size: 19px; margin: 8px 0 12px; }
.solution-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.solution-highlights { margin-top: 16px; }
.solution-highlights li { font-size: 13px; color: var(--text); padding: 4px 0 4px 18px; position: relative; }
.solution-highlights li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* ============ News ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-image { height: 180px; background: linear-gradient(135deg, #eaf2fd, #d8e8fb); display: flex; align-items: center; justify-content: center; }
.news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-image .news-icon { font-size: 48px; opacity: 0.4; }
.news-body { padding: 22px; }
.news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.news-category { color: var(--primary); font-weight: 600; }
.news-body h3 { font-size: 16px; line-height: 1.6; margin-bottom: 10px; }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ============ CTA Banner ============ */
.cta-banner {
  background: linear-gradient(135deg, #0a3d82, #0a5cc4);
  color: white; padding: 70px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1), transparent 60%);
}
.cta-banner h2 { font-size: 34px; margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 28px; position: relative; }
.cta-phone { font-size: 36px; font-weight: 700; letter-spacing: 2px; position: relative; }

/* ============ About Page ============ */
.about-hero { background: linear-gradient(135deg, #0a3d82, #0a5cc4); color: white; padding: 70px 0; }
.about-hero h2 { font-size: 40px; margin-bottom: 12px; }
.about-hero p { color: rgba(255,255,255,0.85); font-size: 17px; }
.about-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: start; }
.about-text h3 { font-size: 26px; margin-bottom: 20px; color: var(--text); }
.about-text p { color: var(--text-light); line-height: 2; margin-bottom: 16px; font-size: 15px; }
.about-info-card { background: var(--bg); border-radius: var(--radius); padding: 30px; }
.about-info-card h3 { font-size: 20px; margin-bottom: 20px; }
.info-row { display: flex; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-row .key { color: var(--text-light); width: 90px; flex-shrink: 0; }
.info-row .val { color: var(--text); font-weight: 500; }
.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.business-item { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.business-item h4 { font-size: 17px; margin-bottom: 10px; color: var(--primary); }
.business-item p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.timeline { position: relative; padding-left: 30px; margin-top: 20px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding: 0 0 24px 20px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 3px solid white; box-shadow: 0 0 0 2px var(--primary); }
.timeline-item .year { font-weight: 700; color: var(--primary); font-size: 15px; }
.timeline-item p { font-size: 14px; color: var(--text-light); }

/* ============ Detail Page ============ */
.detail-hero { background: linear-gradient(135deg, #0a3d82, #0a5cc4); color: white; padding: 50px 0; }
.detail-hero h1 { font-size: 32px; margin-bottom: 10px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.detail-content { padding: 60px 0; }
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.detail-main h2 { font-size: 24px; margin: 30px 0 16px; }
.detail-main p { color: var(--text-light); line-height: 2; margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table td { padding: 12px 16px; border: 1px solid var(--border); font-size: 14px; }
.spec-table td:first-child { background: var(--bg); font-weight: 600; width: 35%; }
.detail-features li { padding: 8px 0 8px 24px; position: relative; color: var(--text); }
.detail-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.sidebar-card { background: var(--bg); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-card h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.sidebar-card a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-light); }
.sidebar-card a:hover { color: var(--primary); padding-left: 6px; }
.sidebar-card a:last-child { border-bottom: none; }

/* ============ Filter Bar ============ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px; border-radius: 30px; border: 1px solid var(--border);
  background: white; color: var(--text-light); font-size: 14px; cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ============ Footer ============ */
.site-footer { background: #0d1b2a; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 54px; height: 54px; object-fit: contain; margin-bottom: 16px; }
.footer-brand h3 { color: white; font-size: 20px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.9; }
.footer-col h4 { color: white; font-size: 15px; margin-bottom: 18px; }
.footer-col a, .footer-col li { display: block; font-size: 13px; padding: 5px 0; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: white; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: white; text-decoration: underline; }

/* ============ Utility ============ */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.loading { text-align: center; padding: 40px; color: var(--text-light); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0; }
  .hero-visual { display: none; }
  .hero h2 { font-size: 36px; }
  .services-grid, .products-grid, .solutions-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .features-split, .about-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
  .main-nav.show { display: flex; }
  .mobile-menu-btn { display: block; }
  .header-contact { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero h2 { font-size: 30px; }
  .section-header h2 { font-size: 28px; }
  .services-grid, .products-grid, .solutions-grid, .news-grid, .feature-list, .business-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 26px; }
  .cta-phone { font-size: 26px; }
}
