/* ============================================================
   苏州优力克自动化设备科技有限公司 - 官网样式
   现代工业风格 · 无动画
   ============================================================ */

:root {
  --brand: #0f4c9a;
  --brand-dark: #0a356e;
  --brand-deep: #072a58;
  --brand-light: #1d5fb8;
  --accent: #2e9bd8;
  --accent-dark: #1d7fb8;
  --accent-soft: #eaf4fb;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e2eaf3;
  --text: #17263a;
  --text-2: #4d5f76;
  --text-3: #7c8da2;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 76, 154, 0.10);
  --shadow-sm: 0 4px 14px rgba(15, 76, 154, 0.08);
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

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

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

[id] {
  scroll-margin-top: 90px;
}

ul {
  list-style: none;
}

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

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow.light {
  color: #8fd0f2;
}

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: var(--white);
  color: var(--brand);
  border-color: var(--brand);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--brand);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  white-space: nowrap;
}

.lang-switch a,
.lang-switch .lang-active {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.2;
}

.lang-switch a {
  color: var(--text-2);
}

.lang-switch a:hover {
  color: var(--brand);
}

.lang-switch .lang-active {
  background: var(--brand);
  color: var(--white);
}

/* 英文版页眉：保持 logo 与热线排版与中文版一致 */
html[lang="en"] .header-inner {
  gap: 24px;
}

html[lang="en"] .brand {
  flex-shrink: 0;
}

html[lang="en"] .main-nav {
  gap: 20px;
}

html[lang="en"] .main-nav a {
  font-size: 14px;
}

/* 英文版首页：版面尺寸与中文版保持一致 */
html[lang="en"] body {
  font-size: 15px;
  line-height: 1.6;
}

html[lang="en"] .eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

html[lang="en"] .hero h1 {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 18px;
}

html[lang="en"] .hero-sub {
  font-size: 15px;
  margin-bottom: 26px;
}

html[lang="en"] .hero-inner {
  padding-top: 96px;
  padding-bottom: 108px;
}

html[lang="en"] .stat {
  padding: 34px 16px;
}

html[lang="en"] .stat strong {
  font-size: 32px;
}

html[lang="en"] .section-head {
  margin-bottom: 48px;
}

html[lang="en"] .section-head h2 {
  font-size: 33px;
  line-height: 1.28;
  margin-bottom: 12px;
}

html[lang="en"] .section-desc {
  font-size: 14.5px;
}

html[lang="en"] .about-content h2 {
  font-size: 26px;
  line-height: 1.35;
  margin-bottom: 12px;
}

html[lang="en"] .about-content p {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 10px;
}

html[lang="en"] .about-points {
  margin-top: 14px;
  gap: 8px 20px;
}

html[lang="en"] .about-points li {
  font-size: 13px;
  padding-left: 22px;
}

html[lang="en"] .sub-head {
  margin-top: 80px;
}

html[lang="en"] .product-info {
  padding: 22px 24px 24px;
}

html[lang="en"] .product-info h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

html[lang="en"] .product-info p {
  font-size: 13.5px;
  margin-bottom: 8px;
}

html[lang="en"] .product-info span {
  font-size: 12.5px;
  line-height: 1.5;
}

html[lang="en"] .card-link {
  margin-top: 12px;
  font-size: 12.5px;
}

html[lang="en"] .advantage-card {
  padding: 27px 23px;
}

html[lang="en"] .advantage-card .icon {
  width: 47px;
  height: 47px;
  margin-bottom: 13px;
}

html[lang="en"] .advantage-card h3 {
  font-size: 18.5px;
  margin-bottom: 6px;
}

html[lang="en"] .advantage-card p {
  font-size: 13.5px;
  line-height: 1.55;
}

html[lang="en"] .advantage-card h3 {
  margin-bottom: 8px;
}

html[lang="en"] .advantage-grid {
  gap: 24px;
}

html[lang="en"] .app-card {
  padding: 21px 19px;
}

html[lang="en"] .app-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 11px;
}

html[lang="en"] .app-card h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

html[lang="en"] .app-card p {
  font-size: 12.5px;
  line-height: 1.55;
}

html[lang="en"] .app-grid {
  gap: 24px;
}

html[lang="en"] .applications .section-head {
  margin-bottom: 52px;
}

html[lang="en"] .param-table th,
html[lang="en"] .param-table td {
  font-size: 14.5px;
  padding: 16px 20px;
}

html[lang="en"] .param-note {
  font-size: 14.5px;
  padding: 18px 24px;
  margin-top: 24px;
}

html[lang="en"] .parameters .section-head {
  margin-bottom: 56px;
}

html[lang="en"] .client-item,
html[lang="en"] .client-chip {
  height: 84px;
}

html[lang="en"] .client-strip {
  gap: 24px;
}

html[lang="en"] .clients .section-head {
  margin-bottom: 56px;
}

html[lang="en"] .service-card {
  padding: 32px 30px;
}

html[lang="en"] .service-step {
  font-size: 40px;
  margin-bottom: 10px;
}

html[lang="en"] .services .section-head {
  margin-bottom: 52px;
}

html[lang="en"] .service-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

html[lang="en"] .service-card p {
  font-size: 14.5px;
}

html[lang="en"] .warranty-item {
  padding: 30px 14px;
}

html[lang="en"] .warranty-item strong {
  font-size: 34px;
}

html[lang="en"] .contact h2 {
  font-size: 31px;
  line-height: 1.3;
}

html[lang="en"] .contact-desc {
  font-size: 14.5px;
}

html[lang="en"] .contact-list li {
  padding: 13px 0;
}

html[lang="en"] .contact-list a,
html[lang="en"] .contact-list span {
  font-size: 15px;
}

html[lang="en"] .contact-card {
  padding: 32px 30px;
}

html[lang="en"] .contact-card h3 {
  font-size: 22px;
}

html[lang="en"] .footer-grid {
  padding-top: 60px;
  padding-bottom: 48px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand);
}

/* ---------------- 首屏 ---------------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 58%, var(--brand-light) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(46, 155, 216, 0.35) 0%, transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(46, 155, 216, 0.18) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 108px;
}

.hero-text .eyebrow {
  color: #8fd0f2;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.22;
  letter-spacing: 0.02em;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags li {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------------- 404 页面 ---------------- */

.breadcrumb {
  font-size: 13px;
  color: var(--text-3);
}

.breadcrumb a {
  color: var(--text-2);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb span {
  margin: 0 6px;
}

.page-head {
  background:
    radial-gradient(circle at 12% 15%, rgba(46, 155, 216, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(15, 76, 154, 0.10) 0%, transparent 42%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 46px 0 56px;
}

.page-head h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin: 14px 0 16px;
}

.page-head .section-desc {
  max-width: 780px;
}

.code-display {
  display: inline-block;
  font-family: "Consolas", "SFMono-Regular", Menlo, monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  margin-top: 22px;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.code-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.code-parts span {
  font-family: "Consolas", "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 6px 12px;
}

.naming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.block-head {
  margin: 64px 0 20px;
}

.block-head:first-child {
  margin-top: 0;
}

.block-head h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.block-head p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-2);
}

.naming-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.naming-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.naming-card-index {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.naming-card h3 {
  font-size: 17px;
  font-weight: 800;
}

.naming-card p {
  font-size: 14px;
  color: var(--text-2);
}

.naming-card code {
  font-family: "Consolas", "SFMono-Regular", Menlo, monospace;
  font-size: 13.5px;
  color: var(--brand);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 1px 6px;
}

.note-box {
  margin-top: 26px;
  padding: 16px 22px;
  background: #fff8e8;
  border-left: 4px solid #e0a92c;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: #6b5320;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.faq-item h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14.5px;
  color: var(--text-2);
}

.inline-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand);
  border-bottom: 1px solid rgba(15, 76, 154, 0.35);
  padding-bottom: 1px;
}

.inline-link:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.inline-link::after {
  content: " →";
}

.cta-band {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.cta-band .btn {
  background: var(--white);
  color: var(--brand);
}

.cta-band .btn:hover {
  background: var(--accent-soft);
}

.notfound {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(46, 155, 216, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 85% 80%, rgba(15, 76, 154, 0.10) 0%, transparent 42%);
}

.notfound-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

.notfound-code {
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.notfound-inner .eyebrow {
  margin-bottom: 14px;
}

.notfound h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 18px;
}

.notfound-desc {
  color: var(--text-2);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 34px;
}

.notfound-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.notfound-help {
  font-size: 14px;
  color: var(--text-3);
}

.notfound-help a {
  color: var(--brand);
  font-weight: 700;
}

.notfound-help a:hover {
  color: var(--accent-dark);
}

.hero-figure {
  background: var(--white);
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(4, 24, 52, 0.35);
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  display: block;
}

/* ---------------- 数据概览 ---------------- */

.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat {
  padding: 34px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: none;
}

.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.15;
}

.stat strong span {
  font-size: 15px;
  font-weight: 700;
  margin-left: 4px;
  color: var(--accent);
}

.stat p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-2);
}

/* ---------------- 通用区块 ---------------- */

.section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-2);
  font-size: 16px;
}

.sub-head {
  margin-top: 88px;
}

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

.about {
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-frame {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}

.about-media > img {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  right: -20px;
  bottom: 28px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}

.about-badge strong {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.about-badge span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.about-content h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-2);
  margin-bottom: 14px;
}

.about-points {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.about-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

/* ---------------- 产品中心 ---------------- */

.products {
  background: var(--bg-soft);
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: var(--shadow);
  border-color: #c9d9ea;
}

.product-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.product-img {
  height: 230px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.product-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-info {
  padding: 22px 24px 24px;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-info p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 10px;
}

.product-info span {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  font-style: normal;
}

.card-link::after {
  content: "→";
  margin-left: 6px;
}

.product-card:hover .card-link {
  color: var(--accent-dark);
}

/* ---------------- 产品详情弹窗 ---------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 42, 88, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(4, 24, 52, 0.45);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.modal-close:hover {
  background: var(--accent-soft);
  color: var(--brand);
}

.modal-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 40px;
}

.modal-media {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 22px;
}

.modal-media img {
  max-height: 380px;
  max-width: 100%;
  object-fit: contain;
}

.modal-info h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-right: 34px;
}

.modal-desc {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 22px;
}

.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-bottom: 24px;
}

.spec-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
}

.spec-item span {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 2px;
}

.spec-item strong {
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
}

.modal-modes {
  margin-bottom: 26px;
}

.modal-modes h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 10px;
}

.mode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-tags span {
  font-size: 12.5px;
  color: var(--text-2);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------- 核心优势 ---------------- */

.advantages {
  background: var(--brand-deep);
  color: var(--white);
}

.advantages .section-head h2 {
  color: var(--white);
}

.advantages .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

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

.advantage-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(143, 208, 242, 0.45);
}

.advantage-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(46, 155, 216, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.advantage-card .icon svg {
  width: 26px;
  height: 26px;
  stroke: #8fd0f2;
}

.advantage-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.80);
}

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

.applications {
  background: var(--white);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--bg);
}

.app-card:hover {
  background: var(--accent-soft);
  border-color: #bcdcf0;
}

.app-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.app-card .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand);
}

.app-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.app-card p {
  font-size: 14px;
  color: var(--text-2);
}

/* ---------------- 技术参数 ---------------- */

.parameters {
  background: var(--bg-soft);
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.param-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.param-table th {
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 15px 20px;
  text-align: left;
  white-space: nowrap;
}

.param-table th:first-child {
  border-top-left-radius: var(--radius);
}

.param-table th:last-child {
  border-top-right-radius: var(--radius);
}

.param-table td {
  padding: 14px 20px;
  font-size: 14.5px;
  color: var(--text-2);
  border-top: 1px solid var(--line);
  white-space: nowrap;
}

.param-table tbody tr:nth-child(even) {
  background: var(--bg-soft);
}

.param-table tbody tr:hover {
  background: var(--accent-soft);
}

.param-table td:first-child {
  font-weight: 800;
  color: var(--brand);
}

.param-note {
  margin-top: 22px;
  padding: 18px 24px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text-2);
}

/* ---------------- 合作客户 ---------------- */

.clients {
  background: var(--white);
}

.client-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.client-item {
  width: 170px;
  height: 84px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
}

.client-item img {
  width: 130px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1);
}

.client-chip {
  width: 170px;
  height: 84px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-2);
}

/* ---------------- 服务支持 ---------------- */

.services {
  background: var(--bg-soft);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: #c9d9ea;
}

.service-step {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 14px;
  -webkit-text-stroke: 1px var(--accent);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-2);
}

.warranty {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.warranty-item {
  text-align: center;
  padding: 30px 16px;
  border-left: 1px solid var(--line);
}

.warranty-item:first-child {
  border-left: none;
}

.warranty-item strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}

.warranty-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-2);
}

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

.contact {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}

.contact h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
}

.contact-desc {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 34px;
  max-width: 480px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list .icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(46, 155, 216, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list .icon svg {
  width: 20px;
  height: 20px;
  stroke: #8fd0f2;
}

.contact-list p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 2px;
}

.contact-list a,
.contact-list span {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.contact-list a:hover {
  color: #8fd0f2;
}

.contact-card {
  background: var(--white);
  color: var(--text);
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: 0 24px 60px rgba(4, 24, 52, 0.35);
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card > p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.contact-form .btn {
  margin-top: 6px;
}

.form-tip {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

.form-tip a {
  color: var(--brand);
  font-weight: 700;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: left;
}

.form-status.is-success {
  background: #e9f6ee;
  border: 1px solid #c2e5cd;
  color: #1e6b34;
}

.form-status.is-error {
  background: #fdecec;
  border: 1px solid #f4c7c4;
  color: #b3261e;
}

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

.site-footer {
  background: #061f3f;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 44px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-en {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.footer-slogan {
  font-size: 14px;
  color: #8fd0f2;
  font-weight: 600;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #8fd0f2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

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

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 44px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .hero-figure {
    max-width: 560px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat:nth-child(4) {
    border-left: none;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-badge {
    right: 8px;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .modal-body {
    grid-template-columns: 1fr;
    padding: 32px 26px;
  }

  .modal-media {
    min-height: 240px;
  }

  .warranty {
    grid-template-columns: repeat(2, 1fr);
  }

  .warranty-item:nth-child(3) {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .warranty-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15.5px;
  }

  .notfound-code {
    font-size: 110px;
  }

  .notfound h1 {
    font-size: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: none;
  }

  .stat {
    padding: 26px 14px;
  }

  .stat strong {
    font-size: 26px;
  }

  .product-grid,
  .grid-3,
  .app-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-badge {
    position: static;
    margin-top: 18px;
  }

  .about-frame {
    display: none;
  }

  .warranty {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .modal-body {
    padding: 28px 20px;
    gap: 24px;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }

  .client-item,
  .client-chip {
    width: 150px;
    height: 72px;
  }

  .client-item img {
    width: 110px;
    height: 44px;
  }
}

@media (max-width: 520px) {
  .nav-toggle {
    margin-left: auto;
  }

  .warranty {
    grid-template-columns: 1fr;
  }

  .warranty-item {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .warranty-item:first-child {
    border-top: none;
  }
}

/* 英文版移动端：与中文版版面尺寸保持一致 */
@media (max-width: 720px) {
  html[lang="en"] .hero h1 {
    font-size: 31px;
    line-height: 1.25;
  }

  html[lang="en"] .hero-sub {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  html[lang="en"] .hero-inner {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  html[lang="en"] .stat {
    padding: 20px 10px;
  }

  html[lang="en"] .stat strong {
    font-size: 24px;
  }

  html[lang="en"] .stat p {
    font-size: 12px;
  }

  html[lang="en"] .section-head h2 {
    font-size: 25px;
  }

  html[lang="en"] .about-content h2 {
    font-size: 22px;
  }

  html[lang="en"] .about-content p {
    font-size: 13px;
  }

  html[lang="en"] .product-img {
    height: 210px;
  }

  html[lang="en"] .product-info {
    padding: 18px 20px 20px;
  }

  html[lang="en"] .product-info h3 {
    font-size: 17px;
  }

  html[lang="en"] .product-info span {
    font-size: 12px;
  }

  html[lang="en"] .param-table th,
  html[lang="en"] .param-table td {
    font-size: 13px;
    padding: 12px 14px;
  }

  html[lang="en"] .param-note {
    font-size: 13px;
  }

  html[lang="en"] .client-item,
  html[lang="en"] .client-chip {
    height: 66px;
  }

  html[lang="en"] .client-chip {
    font-size: 12.5px;
    padding: 0 8px;
  }

  html[lang="en"] .client-strip {
    gap: 12px;
  }

  html[lang="en"] .service-card {
    padding: 24px 22px;
  }

  html[lang="en"] .service-card p {
    font-size: 13.5px;
  }

  html[lang="en"] .warranty-item {
    padding: 22px 10px;
  }

  html[lang="en"] .warranty-item strong {
    font-size: 28px;
  }

  html[lang="en"] .footer-grid {
    gap: 26px;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  html[lang="en"] .footer-col a,
  html[lang="en"] .footer-col span {
    font-size: 13px;
    margin-bottom: 8px;
  }
}

/* 命名规则页面 */
@media (max-width: 720px) {
  .page-head {
    padding: 32px 0 40px;
  }

  .page-head h1 {
    font-size: 25px;
  }

  .code-display {
    font-size: 15.5px;
    padding: 12px 14px;
  }

  .code-parts {
    gap: 8px;
  }

  .code-parts span {
    font-size: 12.5px;
    padding: 5px 9px;
  }

  .naming-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .naming-card {
    padding: 20px 20px;
  }

  .cta-band {
    padding: 28px 24px;
  }

  .cta-band h2 {
    font-size: 22px;
  }
}
