/* ===== 基础样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 按钮 ===== */
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-size: 16px; font-weight: 500; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: #D4382A; color: #fff; }
.btn-primary:hover { background: #B82E22; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(212,56,42,0.3); }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: #D4382A; }
.btn-white { background: #fff; color: #D4382A; }
.btn-white:hover { background: #f5f5f5; transform: translateY(-2px); }
.btn-outline-white { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.logo-name { font-size: 20px; font-weight: 700; color: #D4382A; }
.logo-slogan { font-size: 11px; color: #999; display: block; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 8px 16px; color: #555; font-size: 15px; border-radius: 6px; transition: all 0.3s; }
.nav-link:hover, .nav-link.active { color: #D4382A; background: rgba(212,56,42,0.06); }
.nav-btn { padding: 8px 20px; background: #D4382A; color: #fff; border-radius: 6px; font-size: 14px; font-weight: 500; transition: all 0.3s; }
.nav-btn:hover { background: #B82E22; }
.mobile-menu-btn { display: none; font-size: 24px; background: none; border: none; cursor: pointer; padding: 10px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #D4382A 0%, #c0392b 30%, #e74c3c 60%, #D4382A 100%); padding: 120px 20px 80px; text-align: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: 52px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: 2px; }
.hero-subtitle { font-size: 22px; color: rgba(255,255,255,0.85); margin-bottom: 8px; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { position: relative; z-index: 2; display: flex; gap: 48px; margin-top: 60px; padding: 24px 48px; background: rgba(255,255,255,0.08); border-radius: 16px; backdrop-filter: blur(10px); }
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 700; color: #fff; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section:nth-child(even) { background: #fafafa; }
.section-title { text-align: center; font-size: 32px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.section-subtitle { text-align: center; font-size: 16px; color: #888; margin-bottom: 48px; }
.section-more { text-align: center; margin-top: 40px; }

/* ===== 优势 ===== */
.advantages { background: #fff !important; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-card { text-align: center; padding: 40px 24px; border-radius: 16px; background: #fff; border: 1px solid #f0f0f0; transition: all 0.3s; }
.advantage-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: #D4382A; }
.adv-icon { font-size: 40px; margin-bottom: 16px; }
.advantage-card h3 { font-size: 18px; color: #1a1a2e; margin-bottom: 8px; }
.advantage-card p { font-size: 14px; color: #888; }

/* ===== 分类 ===== */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.category-card { text-align: center; padding: 36px 20px; border-radius: 16px; background: #fff; border: 2px solid #f0f0f0; transition: all 0.3s; position: relative; }
.category-card:hover { border-color: #D4382A; transform: translateY(-4px); box-shadow: 0 8px 24px rgba(212,56,42,0.12); }
.cat-icon { font-size: 40px; margin-bottom: 12px; }
.category-card h3 { font-size: 16px; color: #1a1a2e; margin-bottom: 4px; }
.category-card p { font-size: 13px; color: #999; }
.cat-arrow { position: absolute; bottom: 16px; right: 16px; font-size: 18px; color: #D4382A; opacity: 0; transition: all 0.3s; }
.category-card:hover .cat-arrow { opacity: 1; transform: translateX(4px); }

/* ===== 产品 ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #f0f0f0; transition: all 0.3s; position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.product-tag { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; color: #fff; z-index: 2; }
.product-tag.hot { background: #D4382A; }
.product-tag.recommend { background: #FF9F43; }
.product-img-wrap { height: 200px; background: linear-gradient(135deg, #f5f5f5, #e8e8e8); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 16px; color: #1a1a2e; margin-bottom: 4px; }
.product-spec { font-size: 13px; color: #999; margin-bottom: 8px; }
.product-desc { font-size: 13px; color: #666; margin-bottom: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-btn { display: inline-block; padding: 8px 20px; background: #D4382A; color: #fff; border-radius: 6px; font-size: 13px; transition: all 0.3s; }
.product-btn:hover { background: #B82E22; }

/* ===== 应用领域 ===== */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.app-item { text-align: center; padding: 36px 20px; border-radius: 16px; background: #fff; transition: all 0.3s; }
.app-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.app-icon { font-size: 48px; margin-bottom: 16px; }
.app-item h3 { font-size: 18px; color: #1a1a2e; margin-bottom: 4px; }
.app-item p { font-size: 14px; color: #888; }

/* ===== CTA ===== */
.cta { background: linear-gradient(135deg, #D4382A, #B82E22); padding: 80px 20px; text-align: center; }
.cta-content h2 { font-size: 32px; color: #fff; margin-bottom: 12px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-col h3 { font-size: 16px; color: #fff; margin-bottom: 16px; font-weight: 500; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-sub { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.contact-list li { font-size: 14px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-bottom a:hover { color: #fff; }

/* ===== 页面顶部Banner ===== */
.page-banner { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); padding: 120px 20px 60px; text-align: center; }
.page-banner h1 { font-size: 36px; color: #fff; margin-bottom: 8px; }
.page-banner p { font-size: 16px; color: rgba(255,255,255,0.6); }

/* ===== 产品列表页 ===== */
.product-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; border: 2px solid #e0e0e0; border-radius: 24px; font-size: 14px; color: #666; background: #fff; cursor: pointer; transition: all 0.3s; }
.filter-btn:hover, .filter-btn.active { border-color: #D4382A; color: #D4382A; background: rgba(212,56,42,0.04); }
.products-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ===== 关于我们 ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 28px; color: #1a1a2e; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: #666; line-height: 1.8; margin-bottom: 16px; }
.about-image { border-radius: 16px; overflow: hidden; height: 400px; background: linear-gradient(135deg, #f5f5f5, #e8e8e8); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.about-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.highlight-card { text-align: center; padding: 32px 16px; border-radius: 12px; background: #fff; }
.highlight-num { font-size: 36px; font-weight: 700; color: #D4382A; }
.highlight-label { font-size: 14px; color: #888; margin-top: 4px; }

/* ===== 联系我们 ===== */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { padding: 40px; }
.contact-info h2 { font-size: 28px; color: #1a1a2e; margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.info-icon { font-size: 24px; min-width: 40px; height: 40px; background: rgba(212,56,42,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.info-text h4 { font-size: 15px; color: #1a1a2e; margin-bottom: 4px; }
.info-text p { font-size: 14px; color: #888; }
.contact-form { padding: 40px; background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.contact-form h3 { font-size: 22px; color: #1a1a2e; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; color: #555; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color 0.3s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: #D4382A; }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit { width: 100%; padding: 14px; background: #D4382A; color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.form-submit:hover { background: #B82E22; }

/* ===== 面包屑 ===== */
.breadcrumb { padding: 20px 0; font-size: 14px; color: #999; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #D4382A; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
  .nav.show { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 18px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; padding: 20px; }
  .stat { min-width: 100px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .products-full-grid { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: repeat(2, 1fr); }
  .contact-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .category-grid { grid-template-columns: 1fr; }
  .products-full-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}
