/* Fengwei Theme - B2B Industrial Site */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; }
a { color: #1a5276; text-decoration: none; }
a:hover { color: #2980b9; text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.main { min-height: 60vh; }

/* Header */
.site-header { background: #1a2a3a; color: #fff; padding: 16px 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.logo { color: #fff; font-size: 20px; font-weight: 700; }
.logo:hover { color: #f0c040; text-decoration: none; }
.main-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.main-nav a { color: #d5dae0; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: #f0c040; text-decoration: none; }
.lang-switch { font-size: 14px; }
.lang-switch a, .lang-current { color: #d5dae0; padding: 2px 6px; }
.lang-current { color: #f0c040; font-weight: 600; }

/* Hero */
.hero { background: linear-gradient(135deg, #1a3a5a, #2c5f7c); color: #fff; padding: 60px 0; text-align: center; }
.hero h1 { font-size: 32px; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: 0.9; max-width: 800px; margin: 0 auto; }

/* Product Grid */
.home-products, .product-list { padding: 40px 0; }
.home-products h2, .home-about h2, .product-list h1 { font-size: 26px; margin-bottom: 24px; border-bottom: 3px solid #f0c040; display: inline-block; padding-bottom: 6px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card { display: block; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); transform: translateY(-2px); text-decoration: none; }
.product-card img { width: 100%; height: 200px; object-fit: cover; background: #f5f5f5; }
.product-card-noimg { width: 100%; height: 200px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #aaa; }
.product-card h3 { font-size: 15px; padding: 10px 12px 4px; color: #222; line-height: 1.4; }
.product-card p { font-size: 13px; padding: 0 12px 8px; color: #666; }
.product-cat { display: inline-block; font-size: 11px; background: #eef3f7; color: #1a5276; padding: 2px 8px; margin: 0 12px 10px; border-radius: 10px; }
.home-more { text-align: center; margin-top: 30px; }
.btn { display: inline-block; background: #f0c040; color: #1a2a3a; padding: 10px 28px; border-radius: 4px; font-weight: 600; border: none; cursor: pointer; font-size: 15px; }
.btn:hover { background: #e0b020; text-decoration: none; }
.btn-inquiry { background: #c0392b; color: #fff; }
.btn-inquiry:hover { background: #a93226; color: #fff; }

/* About */
.home-about { padding: 40px 0; background: #f8f9fa; }

/* Product Detail */
.product-detail { padding: 30px 0; }
.breadcrumb { font-size: 13px; margin-bottom: 20px; color: #999; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-gallery .main-img { width: 100%; border-radius: 6px; border: 1px solid #e0e0e0; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gallery-thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img:hover { border-color: #f0c040; }
.product-info h1 { font-size: 24px; margin-bottom: 12px; }
.product-summary { color: #555; margin-bottom: 20px; }
.product-meta { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.product-meta th { text-align: left; background: #f5f5f5; padding: 8px 12px; width: 140px; font-size: 14px; border: 1px solid #e0e0e0; }
.product-meta td { padding: 8px 12px; font-size: 14px; border: 1px solid #e0e0e0; }
.product-spec, .product-content { margin-top: 30px; }
.product-spec h2, .product-content h2 { font-size: 20px; margin-bottom: 12px; border-left: 4px solid #f0c040; padding-left: 10px; }
.product-spec table { width: 100%; border-collapse: collapse; }
.product-spec th, .product-spec td { border: 1px solid #ddd; padding: 8px 12px; font-size: 14px; }
.product-spec th { background: #f8f9fa; text-align: left; }
.product-tags { margin-top: 20px; }
.tag { display: inline-block; font-size: 12px; background: #eef3f7; color: #1a5276; padding: 3px 10px; margin: 0 4px 4px 0; border-radius: 10px; }
.product-related { margin-top: 40px; }
.product-related h2 { font-size: 20px; margin-bottom: 16px; }

/* Category tabs */
.category-tabs { margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.category-tabs a { padding: 6px 14px; background: #f0f0f0; border-radius: 16px; font-size: 14px; }
.category-tabs a.active, .category-tabs a:hover { background: #1a5276; color: #fff; text-decoration: none; }

/* Contact */
.contact-page { padding: 30px 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info h2, .contact-form h2 { font-size: 20px; margin-bottom: 16px; }
.contact-info p { margin-bottom: 8px; line-height: 1.8; }
.contact-form form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; gap: 12px; }
.form-row input { flex: 1; }
.contact-form input, .contact-form textarea { padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #1a5276; }
.btn-submit { align-self: flex-start; }

/* Footer */
.site-footer { background: #1a2a3a; color: #d5dae0; padding: 40px 0 20px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-col p, .footer-col li { font-size: 13px; line-height: 1.8; }
.footer-col a { color: #d5dae0; }
.footer-col a:hover { color: #f0c040; }
.footer-col ul { list-style: none; }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid #2c3e50; padding-top: 16px; font-size: 12px; opacity: 0.7; }

/* Responsive */
@media (max-width: 768px) {
  .product-layout, .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .form-row { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .category-cards { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .home-about-split { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* ============ 全新首页样式 ============ */

/* Hero 全屏背景 */
.hero-full {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 20px;
}
.hero-content { max-width: 760px; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f0c040;
  border: 1px solid rgba(240,192,64,0.5);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-full h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-full p {
  font-size: 17px;
  opacity: 0.92;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: #f0c040; color: #1a2a3a; padding: 14px 36px; font-size: 16px; font-weight: 700; }
.btn-primary:hover { background: #ffd24d; color: #1a2a3a; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(240,192,64,0.4); }
.btn-outline { background: transparent; color: #fff; padding: 14px 36px; font-size: 16px; font-weight: 600; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; text-decoration: none; }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-text { color: #1a5276; padding: 0; font-weight: 600; background: none; }
.btn-text:hover { color: #f0c040; text-decoration: none; }
.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 12px; opacity: 0.7; letter-spacing: 1px; }

/* 数据条 */
.stats-bar { background: #1a2a3a; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 30px; font-weight: 800; color: #f0c040; }
.stat-label { font-size: 13px; color: #a0b0c0; margin-top: 4px; letter-spacing: 0.5px; }

/* 通用区块标题 */
.home-section { padding: 60px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.section-head h2 { font-size: 28px; font-weight: 700; color: #1a2a3a; position: relative; padding-left: 16px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 28px; background: #f0c040; border-radius: 2px; }
.section-head p { color: #666; font-size: 15px; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center h2 { padding-left: 0; }
.section-head-center h2::before { display: none; }
.section-more { color: #1a5276; font-weight: 600; font-size: 15px; }

/* 分类卡片 */
.category-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cat-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 28px 24px;
  transition: all 0.25s;
  overflow: hidden;
}
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: #f0c040; transition: height 0.25s; }
.cat-card:hover { border-color: #d5dae0; box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); text-decoration: none; }
.cat-card:hover::before { height: 100%; }
.cat-card-num { font-size: 12px; color: #999; font-weight: 600; }
.cat-card h3 { font-size: 18px; color: #1a2a3a; margin: 8px 0 6px; font-weight: 700; }
.cat-card p { font-size: 13px; color: #777; }
.cat-card-arrow { position: absolute; right: 20px; bottom: 20px; color: #f0c040; font-weight: 700; opacity: 0; transition: opacity 0.25s; }
.cat-card:hover .cat-card-arrow { opacity: 1; }

/* 产品卡片优化 */
.product-card-body { padding: 14px 16px 16px; }
.product-card-img { overflow: hidden; }
.product-card-img img { transition: transform 0.3s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }

/* 公司优势 */
.home-advantages { background: #f7f9fb; padding: 60px 0; }
.advantage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.adv-card { background: #fff; border-radius: 10px; padding: 32px 24px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: transform 0.2s; }
.adv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.adv-icon { font-size: 40px; margin-bottom: 16px; }
.adv-card h3 { font-size: 17px; color: #1a2a3a; margin-bottom: 10px; }
.adv-card p { font-size: 13px; color: #666; line-height: 1.7; }

/* 关于分栏 */
.home-about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 28px; color: #1a2a3a; margin-bottom: 20px; }
.about-text p { color: #555; margin-bottom: 16px; line-height: 1.9; font-size: 15px; }
.about-visual img { width: 100%; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

/* CTA 行动召唤 */
.home-cta-band { background: linear-gradient(135deg, #1a3a5a, #2c5f7c); color: #fff; padding: 50px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-text h2 { font-size: 24px; margin-bottom: 6px; }
.cta-text p { opacity: 0.9; font-size: 15px; }

