/* ============================================================
   苏州奥思特电子有限公司 官网样式
   主色调：科技蓝 (#0B4EA2) + 深空蓝 (#0A2E5C) + 点缀橙 (#F58220)
   ============================================================ */
:root {
  --primary: #0B4EA2;
  --primary-dark: #0A2E5C;
  --accent: #F58220;
  --text: #333;
  --text-light: #777;
  --bg-gray: #F5F7FA;
  --white: #fff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: var(--text); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; }
.logo-text { font-size: 20px; font-weight: bold; color: var(--primary-dark); }
.logo-text small { display: block; font-size: 11px; color: var(--text-light); font-weight: normal; }
.main-nav { display: flex; gap: 8px; }
.main-nav a { padding: 8px 18px; font-size: 16px; color: var(--text); border-radius: 4px; transition: .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(11,78,162,.06); }

/* ---------- Banner ---------- */
.banner { position: relative; height: 480px; background: linear-gradient(rgba(10,46,92,.72), rgba(10,46,92,.72)), url("../images/banner/home-banner.jpg") center/cover no-repeat; color: #fff; display: flex; align-items: center; overflow: hidden; }
.banner::after { content: ""; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.06); }
.banner-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.banner h1 { font-size: 44px; margin-bottom: 16px; }
.banner p { font-size: 20px; opacity: .9; }
.banner .tagline { margin-top: 30px; font-size: 16px; opacity: .75; }
.page-banner { height: 260px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; display: flex; align-items: center; }
.page-banner h1 { font-size: 34px; }

/* ---------- 通用版块 ---------- */
.section { padding: 70px 0; }
.section.bg-gray { background: var(--bg-gray); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title .en { color: var(--accent); font-size: 14px; letter-spacing: 4px; text-transform: uppercase; }
.section-title h2 { font-size: 32px; color: var(--primary-dark); margin-top: 6px; }
.section-title .line { width: 60px; height: 3px; background: var(--accent); margin: 14px auto 0; }
.section-title p.desc { color: var(--text-light); margin-top: 14px; font-size: 15px; }

/* ---------- 数据统计 ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 50px; }
.stat-item { background: var(--white); border-radius: 10px; padding: 30px 10px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: .25s; }
.stat-item:hover { transform: translateY(-6px); }
.stat-item .num { font-size: 38px; font-weight: bold; color: var(--primary); }
.stat-item .num span { font-size: 18px; }
.stat-item .label { color: var(--text-light); margin-top: 6px; }

/* ---------- 卡片通用 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.card .img-box { height: 200px; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; color: #b0b8c4; font-size: 14px; overflow: hidden; }
.card .img-box img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 22px; }
.card .card-body h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 10px; }
.card .card-body p { font-size: 14px; color: var(--text-light); }
.card .card-body ul { margin-top: 8px; }
.card .card-body ul li { font-size: 13px; color: var(--text-light); padding-left: 16px; position: relative; margin-bottom: 4px; }
.card .card-body ul li::before { content: "•"; color: var(--accent); position: absolute; left: 0; }
.more-btn { display: inline-block; margin-top: 14px; padding: 7px 22px; border: 1px solid var(--primary); color: var(--primary); border-radius: 20px; font-size: 14px; transition: .2s; }
.more-btn:hover { background: var(--primary); color: #fff; }

/* ---------- 优势/技术条目 ---------- */
.feature-row { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 40px; }
.feature-num { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; }
.feature-body h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 8px; }
.feature-body p { color: var(--text-light); font-size: 15px; }

/* ---------- 表格 ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: #fff; }
.spec-table th, .spec-table td { border: 1px solid #E3E8EF; padding: 10px 14px; font-size: 14px; text-align: left; }
.spec-table th { background: var(--primary); color: #fff; font-weight: normal; white-space: nowrap; }
.spec-table tr:nth-child(even) td { background: #F7FAFD; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-dark); color: #cfd8e3; padding: 50px 0 20px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 30px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { font-size: 14px; color: #cfd8e3; display: block; margin-bottom: 6px; }
.footer-grid a:hover { color: var(--accent); }
.copyright { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; text-align: center; font-size: 13px; color: #8fa3ba; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner h1 { font-size: 30px; }
  .main-nav { flex-wrap: wrap; }
  .header-inner { height: auto; padding: 10px 0; flex-direction: column; gap: 8px; }
}
