/* ===========================================================
   苏州速风动力科技有限公司 — 官网样式表
   2026-09-16 WorkBuddy: 初版，四页静态站点
   =========================================================== */

:root {
  --navy: #0A2540;
  --navy-2: #103A5E;
  --navy-3: #14304C;
  --blue: #1668DC;
  --blue-dark: #0F4FA8;
  --accent: #F97316;
  --accent-dark: #D9600A;

  --bg: #FFFFFF;
  --soft: #F4F7FB;
  --soft-2: #EAF0F8;
  --line: #E1E8F0;

  --text: #16212E;
  --mute: #5B6B7C;
  --mute-2: #8494A4;

  --radius: 12px;
  --radius-lg: 18px;
  --max: 1200px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06);
  --shadow: 0 6px 24px -8px rgba(10, 37, 64, .18);
  --shadow-lg: 0 18px 48px -16px rgba(10, 37, 64, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用组件 ---------- */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #fff; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--mute); font-size: 16px; }
.section--navy .section-head p { color: rgba(255, 255, 255, .68); }
.section--navy .eyebrow { color: #6FB2FF; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(22, 104, 220, .8); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(10, 37, 64, .18); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); background: rgba(10, 37, 64, .04); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #EAF0F8; transform: translateY(-1px); }
.btn-outline-white { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.brand-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--mute-2);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #33465A;
  transition: background .16s, color .16s;
}
.nav > a:hover { background: var(--soft-2); color: var(--navy); }
.nav > a.active { color: var(--blue); }
.nav .nav-cta { margin-left: 12px; background: var(--blue); color: #fff; }
.nav .nav-cta:hover { background: var(--blue-dark); color: #fff; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页横幅 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(22, 104, 220, .10), transparent 70%),
    radial-gradient(700px 380px at -10% 110%, rgba(249, 115, 22, .08), transparent 70%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
  padding: 84px 0 92px;
}
.hero h1 { font-size: 46px; }
.hero .hl { color: var(--blue); }
.hero .lead { margin-top: 22px; font-size: 17px; color: var(--mute); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3E5266; }
.hero-points svg { flex: 0 0 auto; }

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }

.spin-ring { transform-origin: 250px 190px; animation: spin 5.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin-ring { animation: none; } }

/* ---------- 数据条 ---------- */

.stat-bar { background: var(--navy); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); }
.stat-item { background: var(--navy); padding: 40px 28px; text-align: center; }
.stat-item b { display: block; font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.stat-item b span { font-size: 20px; font-weight: 600; color: #6FB2FF; }
.stat-item p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .62); }

/* ---------- 卡片 ---------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFDCEC; }

.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: #EAF1FC;
  color: var(--blue);
  margin-bottom: 22px;
}
.icon-box.alt { background: #FDF1E6; color: var(--accent-dark); }

.card h3 { margin-bottom: 10px; color: var(--navy); }
.card p { color: var(--mute); font-size: 15px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12.5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--soft-2);
  color: #40566B;
  font-weight: 500;
}

/* 2026-09-16 WorkBuddy: pc-list 与 tags 原本只在 .product-card 内生效，
   内页（products/about）直接使用时样式丢失，此处提升为全局样式 */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pc-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 14.5px;
  color: #40566B;
}
.pc-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* 产品大卡 */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-card .pc-top {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 30px 28px 26px;
  color: #fff;
  position: relative;
}
.product-card .pc-top h3 { color: #fff; }
.product-card .pc-top .pc-kicker {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #7FB6FF; font-weight: 600; margin-bottom: 10px; display: block;
}
.product-card .pc-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.product-card .pc-body p { margin-bottom: 18px; }
.product-card .pc-list { margin-bottom: 24px; }
.product-card .pc-list li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: 14.5px; color: #40566B;
}
.product-card .pc-list li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.product-card .pc-foot { margin-top: auto; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--blue); }
.link-arrow:hover { gap: 11px; }
.link-arrow svg { transition: transform .2s; }

/* ---------- 应用领域 ---------- */

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .2s, background .2s;
}
.app-item:hover { border-color: #CFDCEC; background: var(--soft); }
.app-item .dot {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  background: #EAF1FC; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.app-item h4 { color: var(--navy); margin-bottom: 4px; }
.app-item p { font-size: 14px; color: var(--mute); }

/* ---------- 流程 ---------- */

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.flow-item { position: relative; padding-top: 8px; }
.flow-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--blue); margin-bottom: 12px;
}
.flow-item::after {
  content: ""; position: absolute; left: 46px; right: -24px; top: 16px;
  height: 1px; background: var(--line);
}
.flow-item:last-child::after { display: none; }
.flow-item h4 { color: var(--navy); margin-bottom: 8px; }
.flow-item p { font-size: 14.5px; color: var(--mute); }

/* ---------- CTA 横幅 ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #16457A 60%, #1B5AA0 100%);
  border-radius: 22px;
  padding: 56px 56px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .72); max-width: 620px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页头（内页） ---------- */

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #123A62 100%);
  color: #fff;
  padding: 76px 0 68px;
}
.page-hero h1 { font-size: 38px; }
.page-hero p { margin-top: 16px; color: rgba(255, 255, 255, .74); max-width: 680px; font-size: 16.5px; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.crumb a:hover { color: #fff; }

/* ---------- 参数表 ---------- */

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table caption { text-align: left; font-weight: 700; color: var(--navy); padding: 0 0 14px; font-size: 17px; }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--soft); color: var(--navy); font-weight: 600; width: 34%; }
.spec-table td { color: #3E5266; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- 产品详情块 ---------- */

.pd { padding: 64px 0; border-bottom: 1px solid var(--line); }
.pd:last-of-type { border-bottom: none; }
.pd-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.pd-head .num {
  flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--blue);
  background: #EAF1FC; border-radius: 10px; padding: 8px 14px; letter-spacing: .06em;
}
.pd-head h2 { font-size: 26px; }
.pd-head p { margin-top: 8px; color: var(--mute); }
.pd-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* ---------- 关于我们 ---------- */

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about-grid p + p { margin-top: 16px; }
.about-grid p { color: #3E5266; }

.value-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.value-list li:last-child { border-bottom: none; }
.value-list .vn { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: #EAF1FC; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.value-list h4 { color: var(--navy); margin-bottom: 2px; }
.value-list p { font-size: 14.5px; color: var(--mute); }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--blue);
}
.timeline b { display: block; color: var(--blue); font-size: 14px; letter-spacing: .04em; margin-bottom: 4px; }
.timeline h4 { color: var(--navy); margin-bottom: 4px; }
.timeline p { font-size: 14.5px; color: var(--mute); }

/* ---------- 联系我们 ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ci {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px;
  background: #EAF1FC; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-item h4 { color: var(--navy); margin-bottom: 3px; font-size: 15px; }
.contact-item p { color: var(--mute); font-size: 14.5px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: var(--accent); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: #FCFDFF;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 122px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 104, 220, .12); background: #fff;
}
.field .err { display: none; color: #C0392B; font-size: 13px; margin-top: 6px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C0392B; }
.field.has-error .err { display: block; }

.form-note { font-size: 13px; color: var(--mute-2); margin-top: 14px; }
.form-ok {
  display: none;
  background: #E9F7EF; border: 1px solid #B7E4C7; color: #1E6B43;
  border-radius: 10px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 20px; font-weight: 500;
}
.form-ok.show { display: block; }

.map-placeholder {
  border: 1px dashed #C9D6E5; border-radius: var(--radius-lg);
  background: var(--soft);
  padding: 46px 24px; text-align: center; color: var(--mute);
  font-size: 14.5px;
}

/* ---------- 页脚 ---------- */

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 68px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: rgba(255, 255, 255, .45); }
.footer-about { margin-top: 20px; max-width: 320px; color: rgba(255, 255, 255, .6); }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.site-footer li { margin-bottom: 11px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
/* 2026-09-16 WorkBuddy: 备案号链接继承页脚文字色，避免默认蓝色突兀 */
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 滚动入场 ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 60px 0 72px; }
  .hero-visual { max-width: 520px; }
  .header-inner { height: 66px; }
}

@media (max-width: 900px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .hero h1 { font-size: 34px; }
  .section { padding: 66px 0; }
  .grid-3, .grid-4, .app-grid, .flow { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .pd-body { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cta-band { padding: 40px 32px; }
  .cta-band h2 { font-size: 23px; }
  .flow-item::after { display: none; }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 16px 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a { padding: 12px 14px; border-radius: 8px; }
  .nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .site-header { position: sticky; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-4, .app-grid, .flow, .form-row, .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 28px 16px; }
  .stat-item b { font-size: 28px; }
  .hero h1 { font-size: 29px; }
  .section { padding: 54px 0; }
  .card { padding: 26px 22px; }
  .form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; border-radius: 16px; }
  .spec-table th, .spec-table td { padding: 12px 14px; font-size: 13.5px; }
  .spec-table th { width: 42%; }
  .page-hero { padding: 56px 0 50px; }
  .page-hero h1 { font-size: 28px; }
}
