/* ============ 公司官网（未登录首页）============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: #333; line-height: 1.6; background: #fff; }

.ws-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.ws-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid #e8ecf3; }
.ws-nav-inner { display: flex; align-items: center; height: 64px; }
.ws-logo { font-size: 22px; font-weight: 700; color: #1d4ed8; text-decoration: none; letter-spacing: .5px; }
.ws-nav-links { flex: 1; display: flex; gap: 28px; justify-content: flex-end; margin-right: 24px; }
.ws-nav-links a { color: #444; text-decoration: none; font-size: 15px; }
.ws-nav-links a:hover { color: #1d4ed8; }
.ws-login-btn { background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; text-decoration: none; font-size: 14px; padding: 8px 20px; border-radius: 20px; transition: opacity .2s; }
.ws-login-btn:hover { opacity: .9; }

/* Hero */
.ws-hero { background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 45%, #4f46e5 100%); color: #fff; padding: 110px 0 120px; }
.ws-hero-img { background-size: cover; background-position: center; }
.ws-hero-content { max-width: 720px; }
.ws-hero-title { font-size: 46px; font-weight: 800; line-height: 1.3; letter-spacing: 1px; }
.ws-hero-sub { margin-top: 18px; font-size: 17px; opacity: .9; }
.ws-hero-btn { display: inline-block; margin-top: 34px; background: #fff; color: #1d4ed8; font-weight: 600; font-size: 15px; padding: 12px 32px; border-radius: 24px; text-decoration: none; transition: transform .2s; }
.ws-hero-btn:hover { transform: translateY(-2px); }

/* 通用区块 */
.ws-section { padding: 80px 0; }
.ws-section-alt { background: #f6f8fc; }
.ws-section-title { text-align: center; font-size: 30px; font-weight: 700; color: #111827; margin-bottom: 48px; position: relative; }
.ws-section-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #2563eb, #4f46e5); margin: 14px auto 0; }

/* 公司简介 */
.ws-intro { max-width: 820px; margin: 0 auto; font-size: 16px; color: #4b5563; text-align: center; }

/* 产品卡片 */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.ws-card { background: #fff; border: 1px solid #eef1f6; border-radius: 12px; padding: 30px 26px; text-align: center; transition: box-shadow .25s, transform .25s; }
.ws-card:hover { box-shadow: 0 12px 28px rgba(29,78,216,.12); transform: translateY(-4px); }
.ws-card-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 18px; background: linear-gradient(135deg, #e0e7ff, #dbeafe); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ws-card-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ws-card-name { font-size: 18px; font-weight: 600; color: #111827; margin-bottom: 10px; }
.ws-card-desc { font-size: 14px; color: #6b7280; }

/* 公司力量数据墙 */
.ws-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.ws-stat { text-align: center; padding: 30px 16px; background: #fff; border-radius: 12px; border: 1px solid #eef1f6; }
.ws-stat-value { font-size: 42px; font-weight: 800; color: #1d4ed8; }
.ws-stat-label { margin-top: 8px; font-size: 15px; color: #6b7280; }

/* 联系 */
.ws-contact { max-width: 640px; margin: 0 auto; }
.ws-contact-item { display: flex; align-items: center; padding: 16px 0; border-bottom: 1px dashed #e3e8f0; }
.ws-contact-item:last-child { border-bottom: none; }
.ws-contact-label { width: 60px; color: #9ca3af; font-size: 15px; }
.ws-contact-item a, .ws-contact-item span { color: #374151; font-size: 16px; text-decoration: none; }

/* 页脚 */
.ws-footer { background: #0f172a; color: #94a3b8; padding: 34px 0; text-align: center; font-size: 14px; }

/* 响应式 */
@media (max-width: 768px) {
  .ws-hero-title { font-size: 30px; }
  .ws-nav-links { gap: 14px; margin-right: 10px; }
  .ws-nav-links a { font-size: 13px; }
  .ws-section { padding: 56px 0; }
}

/* H5 移动端增强 */
@media (max-width:640px){
  .ws-nav-inner{ height:56px; }
  .ws-logo{ font-size:18px; }
  .ws-nav-links{ gap:10px; margin-right:8px; }
  .ws-nav-links a{ font-size:12px; }
  .ws-login-btn{ font-size:12px; padding:6px 14px; }
  .ws-hero{ padding:64px 0 72px; }
  .ws-hero-title{ font-size:26px; }
  .ws-hero-sub{ font-size:14px; margin-top:12px; }
  .ws-hero-btn{ margin-top:22px; padding:10px 24px; font-size:14px; }
  .ws-section{ padding:48px 0; }
  .ws-section-title{ font-size:24px; margin-bottom:32px; }
  .ws-grid{ grid-template-columns:1fr; }
  .ws-stats{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .ws-stat-value{ font-size:30px; }
  .ws-card{ padding:24px 18px; }
  .ws-intro{ font-size:14px; }
  .ws-contact-item a,.ws-contact-item span{ font-size:14px; }
}
@media (max-width:420px){
  .ws-nav-links{ gap:6px; }
  .ws-nav-links a{ font-size:11px; }
  .ws-login-btn{ padding:5px 10px; font-size:11px; }
  .ws-stats{ grid-template-columns:1fr 1fr; }
}
