:root {
  --primary: #1a73e8;
  --secondary: #4f46e5;
  --dark: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.06);
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Microsoft YaHei','PingFang SC','Helvetica Neue',sans-serif; color: #1e293b; }
a { text-decoration:none; color: inherit; }

/* ===== 导航栏 ===== */
#mainNav {
  background: var(--dark);
  padding: 12px 0;
  transition: all .3s;
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}
#mainNav .nav-link { color: #cbd5e1 !important; font-weight: 500; padding: 8px 16px !important; border-radius: 6px; transition: all .2s; }
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: #fff !important; background: rgba(255,255,255,.1); }
#mainNav .navbar-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; }
#mainNav .btn-outline-light { color: #60a5fa !important; border-color: #475569 !important; font-size: 13px; }
#mainNav .btn-outline-light:hover { background: var(--primary); color: #fff !important; }

/* ===== Hero / 幻灯片 ===== */
.carousel-slide { min-height: 520px; display: flex; align-items: center; justify-content: center; position: relative; }
.carousel-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.carousel-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 20px; max-width: 700px; }
.carousel-heading { font-size: 44px; font-weight: 800; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.carousel-sub { font-size: 20px; opacity: .9; margin-bottom: 0; }
@media(max-width:768px) {
  .carousel-slide { min-height: 360px; }
  .carousel-heading { font-size: 28px; }
  .carousel-sub { font-size: 16px; }
}

/* ===== Section通用 ===== */
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; position: relative; padding-left: 24px; }
.section-tag::before { content:''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 3px; background: var(--primary); border-radius: 2px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.section-subtitle { color: var(--gray); font-size: 16px; max-width: 560px; margin: 0 auto; }
.section-text { color: var(--gray); font-size: 16px; line-height: 1.8; }

/* ===== 公司简介视觉 ===== */
.intro-visual { position: relative; height: 360px; }
.intro-card { position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; align-items: center; gap: 12px; font-weight: 600; transition: transform .3s; }
.intro-card:hover { transform: translateY(-4px); }
.intro-card i { font-size: 28px; color: var(--primary); }
.intro-card-1 { top: 10%; left: 10%; }
.intro-card-2 { top: 45%; right: 5%; }
.intro-card-3 { bottom: 5%; left: 20%; }
.intro-bg-shape { position: absolute; top: 10%; right: 10%; width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); opacity: .1; }
.intro-overview-img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--gray); }

/* ===== 产品卡片 ===== */
.product-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, box-shadow .3s; height: 100%; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.product-card-header { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 28px 24px 20px; }
.product-tag { background: rgba(255,255,255,.2); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; }
.product-card-body { padding: 24px; flex: 1; }
.product-card-body h5 { font-weight: 700; margin-bottom: 8px; }
.product-card-body p { color: var(--gray); font-size: 14px; margin-bottom: 0; }
.product-card-footer { padding: 0 24px 20px; }

/* ===== 新闻Ticker ===== */
.news-ticker-wrap { display: flex; align-items: center; background: var(--light); border-radius: 8px; padding: 10px 16px; overflow: hidden; }
.news-ticker-label { background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; white-space: nowrap; margin-right: 16px; flex-shrink: 0; }
.news-ticker { flex: 1; overflow: hidden; position: relative; }
.news-ticker-inner { display: flex; gap: 40px; white-space: nowrap; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; }
.ticker-item a { color: var(--dark); font-size: 14px; transition: color .2s; }
.ticker-item a:hover { color: var(--primary); }
.ticker-date { color: var(--gray); font-size: 12px; }

/* ===== 新闻卡片 ===== */
.news-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s; height: 100%; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); }
.news-card-img { height: 180px; background: linear-gradient(135deg, var(--primary), var(--secondary)); position: relative; }
.news-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.9); color: var(--primary); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.news-card-body { padding: 20px; flex: 1; }
.news-date { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.news-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.news-title a { color: var(--dark); transition: color .2s; }
.news-title a:hover { color: var(--primary); }
.news-summary { color: var(--gray); font-size: 14px; margin-bottom: 0; }

/* ===== 案例卡片 ===== */
.case-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s; height: 100%; }
.case-card:hover { transform: translateY(-4px); }
.case-card-img { height: 180px; background: linear-gradient(135deg, #1e293b, #334155); position: relative; display: flex; align-items: flex-end; padding: 16px; }
.case-industry { background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 12px; }
.case-card-body { padding: 20px; }
.case-card-body h5 { font-weight: 700; margin-bottom: 8px; }
.case-result { font-size: 13px; color: #059669; margin-top: 8px; }

/* ===== CTA ===== */
.section-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.cta-card { color: #fff; }
.cta-title { font-size: 30px; font-weight: 800; }
.cta-info { font-size: 15px; opacity: .9; }
.cta-info i { margin-right: 4px; }

/* ===== 页脚 ===== */
.site-footer { background: var(--dark); color: #cbd5e1; padding: 40px 0 20px; }
.site-footer-compact { padding: 28px 0 16px; }
.footer-main-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-main-row .footer-logo { flex-shrink: 0; }
.footer-contact-inline { flex: 1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact-item { font-size: 13px; color: #94a3b8; white-space: nowrap; }
.contact-item i { margin-right: 4px; }
.footer-qrcode { flex-shrink: 0; }
.footer-qrcode img { width: 64px !important; height: 64px !important; border-radius: 6px; }
.site-footer-compact .footer-heading { margin-bottom: 12px; font-size: 14px; }
.footer-logo { margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: #94a3b8; line-height: 1.8; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 15px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links li i { margin-right: 6px; width: 16px; }
.footer-hr { border-color: #334155; margin: 16px 0; }
.footer-copy { color: #64748b; font-size: 13px; }

/* ===== 服务卡片 ===== */
.service-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; text-align: center; transition: transform .3s; height: 100%; }
.service-card:hover { transform: translateY(-6px); }
.service-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 32px; color: #fff; margin-bottom: 20px; }
.service-card h5 { font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 14px; }

/* ===== 解决方案 ===== */
.solution-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; display: flex; gap: 20px; align-items: flex-start; transition: transform .3s; height: 100%; }
.solution-card:hover { transform: translateY(-4px); }
.solution-icon { width: 56px; height: 56px; background: var(--light); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); flex-shrink: 0; }

/* ===== 关于页 ===== */
.culture-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; text-align: center; transition: transform .3s; height: 100%; display: flex; flex-direction: column; }
.culture-card:hover { transform: translateY(-4px); }
.culture-card i { font-size: 40px; color: var(--primary); margin-bottom: 16px; }
.culture-card h5 { font-weight: 700; margin-bottom: 8px; }
.culture-card p { flex: 1; }
.culture-overview { max-width: 720px; margin: 0 auto 1rem; font-size: 16px; color: #555; line-height: 1.8; }
.partner-logo { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 200px; transition: transform .3s; flex: 1; }
.partner-logo:hover { transform: translateY(-4px); }
.partner-logo img { max-width: 100%; max-height: 110px; object-fit: contain; display: block; margin: 0 auto; margin-top: 8px; }
.partner-name { display: block; width: 100%; font-weight: 600; font-size: 14px; color: #334155; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }

/* ===== 新闻列表页 ===== */
.news-list-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 16px; display: flex; gap: 20px; transition: transform .2s; }
.news-list-item:hover { transform: translateX(4px); }
.news-list-img { width: 200px; height: 130px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--secondary)); flex-shrink: 0; object-fit: cover; }
.news-list-body { flex: 1; }
.news-list-body h5 a { color: var(--dark); transition: color .2s; }
.news-list-body h5 a:hover { color: var(--primary); }

/* ===== 联系页 ===== */
.contact-info-card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 40px; }
.contact-info-card h4 { margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-text { flex: 1; min-width: 0; overflow-wrap: break-word; word-break: break-all; }
.contact-icon { width: 48px; height: 48px; background: rgba(255,255,255,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.contact-info-card .contact-item { white-space: normal; }
.map-frame { width: 100%; height: 400px; border: none; border-radius: var(--radius); background: #e2e8f0; }

/* ===== 新闻详情 ===== */
.article-content { line-height: 1.8; font-size: 16px; color: #334155; }
.article-content p { margin-bottom: 16px; }
.breadcrumb-custom { background: transparent; padding: 0; margin-bottom: 24px; }

/* ===== 页面标题区 ===== */
.page-hero { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: 80px 0 60px; text-align: center; }
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; opacity: .85; max-width: 600px; margin: 0 auto; }

/* 分类筛选标签 */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-tab { padding: 8px 20px; border-radius: 24px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; font-size: 14px; transition: all .2s; }
.filter-tab:hover, .filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
