/* ==========================================================================
   智枞电器官网 - 科技蓝工业风
   ========================================================================== */
:root {
  --blue: #0a6cff;
  --blue-dark: #0752c8;
  --blue-deep: #0b1f3a;
  --ink: #16233b;
  --gray: #5b6b84;
  --line: #e3e9f2;
  --bg-soft: #f4f7fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 60, 140, 0.10);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; border-radius: 6px; object-fit: contain; }
.brand-name { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.brand-en { color: rgba(255, 255, 255, 0.55); font-size: 11px; letter-spacing: 2px; margin-top: 10px; }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: rgba(255, 255, 255, 0.82); font-size: 15px; position: relative; padding: 6px 0;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--blue); transition: width .25s;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 10px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 600; cursor: pointer; transition: all .25s;
  border: 2px solid transparent; white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 17px; border-radius: 12px; }
.btn-ico { font-size: 20px; line-height: 1; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(10, 108, 255, 0.35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 108, 255, 0.45); }

.btn-outline { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-ghost { background: rgba(255, 255, 255, 0.10); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 168px 0 120px;
  background: linear-gradient(160deg, #0b1f3a 0%, #10305e 55%, #0a6cff 130%);
  color: #fff; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 4px; color: #9cc3ff;
  border: 1px solid rgba(156, 195, 255, .4); border-radius: 999px; padding: 6px 18px; margin-bottom: 24px;
}
.hero-title { font-size: 56px; font-weight: 800; letter-spacing: 2px; line-height: 1.25; }
.hero-title .accent { color: #4d9bff; }
.hero-sub { max-width: 640px; margin: 22px auto 36px; font-size: 17px; color: rgba(255, 255, 255, 0.82); }
.hero-sub b { color: #fff; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  list-style: none; display: flex; justify-content: center; gap: 64px; margin-top: 64px; flex-wrap: wrap;
}
.hero-stats li { text-align: center; }
.hero-stats strong { display: block; font-size: 34px; font-weight: 800; color: #6fb0ff; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, 0.65); letter-spacing: 1px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-dark { background: linear-gradient(180deg, var(--blue-deep) 0%, #0d2c52 100%); color: #fff; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--blue);
  font-weight: 700; margin-bottom: 12px;
}
.section-dark .section-tag { color: #6fb0ff; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: 1px; }
.section-desc { max-width: 640px; margin: 14px auto 0; color: var(--gray); font-size: 15px; }
.section-dark .section-desc { color: rgba(255, 255, 255, 0.7); }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.about-item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10, 60, 140, 0.16); }
.about-num {
  font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: 1px;
  margin-bottom: 18px; display: inline-block; padding: 4px 12px; border-radius: 8px; background: #eaf2ff;
}
.about-item h3 { font-size: 19px; margin-bottom: 12px; }
.about-item p { font-size: 14px; color: var(--gray); }

/* ---------- 核心业务卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.biz-card {
  display: block; position: relative; padding: 44px 40px; border-radius: 18px;
  color: #fff; overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.biz-card:hover { transform: translateY(-8px); }
.biz-mold { background: linear-gradient(140deg, #0a6cff 0%, #063a8a 100%); }
.biz-injection { background: linear-gradient(140deg, #1aa3a3 0%, #0b5f66 100%); }
.biz-card::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.08);
}
.biz-icon { width: 64px; height: 64px; margin-bottom: 22px; color: #fff; opacity: .95; }
.biz-icon svg { width: 100%; height: 100%; }
.biz-card h3 { font-size: 26px; margin-bottom: 10px; letter-spacing: 1px; }
.biz-card p { font-size: 14px; color: rgba(255, 255, 255, 0.82); max-width: 380px; margin-bottom: 22px; }
.biz-link {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding-bottom: 4px; border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transition: border-color .2s;
}
.biz-card:hover .biz-link { border-color: #fff; }

/* ---------- 优势 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat-item { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--bg-soft); transition: transform .3s; }
.feat-item:hover { transform: translateY(-6px); }
.feat-ico { font-size: 34px; margin-bottom: 14px; }
.feat-item h3 { font-size: 17px; margin-bottom: 8px; }
.feat-item p { font-size: 13px; color: var(--gray); }

/* ---------- 联系 ---------- */
.section-contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.contact-item {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 34px 28px; text-align: center; box-shadow: var(--shadow);
}
.contact-ico { font-size: 30px; margin-bottom: 12px; }
.contact-item h3 { font-size: 17px; margin-bottom: 8px; }
.contact-item p { font-size: 14px; color: var(--gray); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b1f3a; color: rgba(255, 255, 255, 0.75); padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand { display: flex; align-items: baseline; gap: 12px; }
.footer-brand .brand-name { font-size: 22px; color: #fff; }
.footer-brand .brand-en { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,.45); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, 0.75); transition: color .2s; }
.footer-links a:hover { color: #6fb0ff; }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-copy a { color: #6fb0ff; }
.footer-icp { font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.footer-icp a { color: rgba(255, 255, 255, 0.4); }
.footer-icp a:hover { color: #6fb0ff; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .main-nav, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav,
  .site-header.open .nav-actions {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #0b1f3a; padding: 18px 24px 24px; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .main-nav a { font-size: 16px; }
  .hero-title { font-size: 38px; }
  .hero { padding: 140px 0 90px; }
  .about-grid, .biz-grid, .feat-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .section { padding: 70px 0; }
}
