/* 智扣原创模板 ZK-007 · 新能源制造官网 · 版权归智扣所有 */
:root {
  --ink: #12262B;
  --ink-2: #2E464D;
  --muted: #63797F;
  --line: #D5E2E6;
  --brand: #0F5F73;
  --brand-2: #1E93A8;
  --silver: #EDF3F5;
  --soft: #F4F9FA;
  --paper: #FFFFFF;
  --warn: #B4732C;
  --radius: 10px;
  --shadow: 0 14px 34px rgba(18, 38, 43, .10);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.lead { font-size: 16px; color: var(--ink-2); margin: 14px 0 10px; }
.muted { color: var(--muted); }
.section { padding: 78px 0; }
.section-soft { background: var(--silver); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 34px; }
.section-head p { max-width: 400px; color: var(--muted); font-size: 13.5px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .16em; color: var(--brand-2); font-weight: 800; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 16px; height: 1px; background: currentColor; }
.eyebrow.light { color: #9FD3DA; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 42px; height: 42px; border-radius: var(--radius); display: grid; place-items: center; background: linear-gradient(140deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 16px; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { font-size: 14px; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--brand); border-bottom-color: var(--brand-2); }
.header-cta { background: var(--brand); color: #fff; padding: 10px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px rgba(15, 95, 115, .22); }
.header-cta:hover { background: var(--brand-2); }
.nav-toggle { display: none; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }

.hero { position: relative; overflow: hidden; background: var(--silver); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 380px at 84% 12%, rgba(30, 147, 168, .22), transparent 70%),
    radial-gradient(620px 420px at 6% 92%, rgba(15, 95, 115, .14), transparent 72%),
    linear-gradient(180deg, #F3F8F9 0%, var(--silver) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 95, 115, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 95, 115, .07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center; padding: 74px 0 82px; }
.hero-copy h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; margin: 4px 0 16px; }
.hero-copy h1 span { color: var(--brand); }
.hero-desc { color: var(--ink-2); font-size: 15.5px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius); font-weight: 700; font-size: 14px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(15, 95, 115, .24); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: rgba(255, 255, 255, .72); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand); }

.dash { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--soft), #fff); }
.dash-title b { display: block; font-size: 14px; letter-spacing: .02em; }
.dash-title span { font-size: 10.5px; color: var(--muted); letter-spacing: .1em; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--brand); font-weight: 700; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px rgba(30, 147, 168, .18); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.kpi { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi:nth-child(2n) { border-right: 0; }
.kpi:nth-child(n+3) { border-bottom: 0; }
.kpi-label { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.kpi-val { display: block; font-size: 22px; font-weight: 800; line-height: 1.4; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi-val em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.kpi-sub { display: block; font-size: 10.5px; color: var(--brand-2); font-weight: 600; }
.kpi.warn .kpi-val { color: var(--brand); }
.kpi.warn .kpi-sub { color: var(--warn); }
.chart-block { padding: 13px 16px 6px; }
.chart-head { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.chart { position: relative; height: 108px; }
.chart-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 100%; align-items: end; }
.chart-bars i { display: block; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--brand-2), rgba(30, 147, 168, .28)); }
.chart-bars i:nth-child(1) { height: 48%; }
.chart-bars i:nth-child(2) { height: 52%; }
.chart-bars i:nth-child(3) { height: 56%; }
.chart-bars i:nth-child(4) { height: 61%; }
.chart-bars i:nth-child(5) { height: 66%; }
.chart-bars i:nth-child(6) { height: 72%; }
.chart-bars i:nth-child(7) { height: 79%; }
.chart-bars i:nth-child(8) { height: 86%; }
.chart-bars i:nth-child(9) { height: 82%; }
.chart-bars i:nth-child(10) { height: 76%; }
.chart-bars i:nth-child(11) { height: 70%; }
.chart-bars i:nth-child(12) { height: 74%; background: linear-gradient(180deg, var(--brand), rgba(15, 95, 115, .42)); }
.plan-line { position: absolute; left: 0; right: 0; top: 28%; border-top: 1px dashed rgba(15, 95, 115, .4); }
.chart-axis { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 6px; font-size: 9.5px; color: #8AA0A6; text-align: center; }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 10px 16px 13px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 5px; }
.lg-solid { width: 8px; height: 8px; border-radius: 2px; background: var(--brand-2); }
.lg-dash { width: 12px; border-top: 1px dashed rgba(15, 95, 115, .5); }
.lg-upd { margin-left: auto; font-variant-numeric: tabular-nums; }

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start; }
.about-copy h2 { margin-bottom: 2px; }
.about-numbers { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.about-numbers div { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--line); }
.about-numbers div:first-child { padding-left: 0; border-left: 0; }
.about-numbers b { font-size: 25px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1.3; }
.about-numbers b span { font-size: 12px; margin-left: 2px; }
.about-numbers span { font-size: 12px; color: var(--muted); }
.about-points { display: grid; gap: 12px; }
.point { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 17px 18px; background: var(--silver); border: 1px solid var(--line); border-radius: var(--radius); }
.point b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--brand-2); font-family: var(--mono); font-size: 11px; }
.point strong { display: block; font-size: 15px; }
.point p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(30, 147, 168, .55); }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.product-index { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--brand-2); }
.product-tag { font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.product-card h3 { font-size: 17px; margin-bottom: 8px; }
.product-card > p { font-size: 12.5px; color: var(--muted); min-height: 62px; }
.spec { list-style: none; margin-top: auto; border-top: 1px solid var(--line); }
.spec li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.spec li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec span { color: var(--muted); }
.spec b { font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.metric { padding: 22px 20px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric b { display: block; font-size: 33px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.metric b span { font-size: 12.5px; color: var(--brand-2); margin-left: 3px; }
.metric small { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.progress-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 12px; }
.progress-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 62px; align-items: center; gap: 16px; padding: 9px 0; }
.bar-label { font-size: 13px; color: var(--ink-2); }
.bar-track { height: 8px; background: var(--silver); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.bar-val { font-size: 13px; font-weight: 700; text-align: right; color: var(--brand); font-variant-numeric: tabular-nums; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cert { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brand-2); border-radius: var(--radius); padding: 18px 20px 20px; }
.cert-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cert-code { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--brand-2); font-weight: 800; }
.cert-ok { font-size: 10.5px; color: var(--brand); background: rgba(30, 147, 168, .1); border-radius: 999px; padding: 2px 8px; }
.cert b { display: block; font-size: 16px; margin-bottom: 4px; }
.cert p { font-size: 12.5px; color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.case-top { display: flex; justify-content: space-between; align-items: center; }
.case-no { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--brand-2); }
.case-tag { font-size: 10.5px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.case-card h3 { font-size: 17px; margin: 14px 0 8px; }
.case-card p { font-size: 12.5px; color: var(--muted); }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.case-meta span { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.case-meta b { font-size: 16px; font-variant-numeric: tabular-nums; }

.section-contact { position: relative; overflow: hidden; background: linear-gradient(135deg, #0F5F73 0%, #0C4B5B 44%, #12262B 100%); color: #fff; }
.section-contact::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.section-contact h2 { color: #fff; }
.contact-desc { color: #C6E0E4; font-size: 14px; max-width: 460px; margin-top: 12px; }
.contact-info { display: grid; gap: 13px; margin-top: 26px; }
.contact-info div { display: grid; grid-template-columns: 78px 1fr; gap: 12px; font-size: 13.5px; }
.contact-info span { color: #9FC6CD; }
.contact-info b { font-weight: 600; }
.contact-form { background: var(--paper); border-radius: var(--radius); padding: 26px 28px; display: grid; gap: 13px; color: var(--ink); box-shadow: 0 24px 54px rgba(8, 24, 29, .34); }
.form-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.form-head b { font-size: 14px; }
.form-head span { font-size: 10.5px; color: var(--brand-2); font-weight: 600; letter-spacing: .04em; }
.contact-form label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.contact-form input, .contact-form select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 13.5px; background: var(--soft); outline: none; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus { border-color: var(--brand-2); background: #fff; }
.contact-form .btn-primary { width: 100%; border-radius: 8px; margin-top: 2px; }
.form-tip { font-size: 11.5px; color: #8AA0A6; text-align: center; }

.site-footer { background: var(--ink); color: #AFC7CD; padding: 44px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start; }
.brand-footer .brand-text b { color: #fff; }
.brand-footer .brand-text small { color: #8AA0A6; }
.footer-desc { font-size: 12.5px; margin-top: 12px; max-width: 320px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-meta { text-align: right; font-size: 12px; line-height: 1.9; }
.powered { color: #7C949B; }

.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 16px); background: var(--ink); color: #fff; border: 1px solid rgba(30, 147, 168, .6); padding: 11px 20px; border-radius: var(--radius); font-size: 13px; opacity: 0; pointer-events: none; transition: .25s ease; z-index: 30; max-width: calc(100% - 40px); text-align: center; box-shadow: 0 12px 30px rgba(18, 38, 43, .28); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 64px; }
  .hero-desc { max-width: 640px; }
  .dash { max-width: 620px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 16px 24px; gap: 14px; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero-copy h1 { font-size: clamp(28px, 8.4vw, 38px); }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { flex: 1 1 100%; }
  .kpi { padding: 12px 14px; }
  .chart-bars, .chart-axis { gap: 4px; }
  .chart-axis { font-size: 8px; }
  .legend { font-size: 10px; gap: 10px; }
  .lg-upd { margin-left: 0; }
  .product-grid, .metric-strip, .cert-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .bar-row { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 0; }
  .bar-label { grid-column: 1 / 2; }
  .bar-val { grid-column: 2 / 3; }
  .bar-track { grid-column: 1 / -1; }
  .contact-info div { grid-template-columns: 72px 1fr; }
  .contact-form { padding: 22px 20px; }
  .case-meta b { font-size: 15px; }
}
