:root {
  --navy: #0A1628;
  --navy-2: #12233D;
  --steel: #1E3A5C;
  --steel-2: #2E5A8C;
  --gold: #B8975A;
  --gold-2: #D4B36A;
  --gold-3: #F0DFB0;
  --bg: #F7F9FB;
  --panel: #FFFFFF;
  --line: #E0E5EC;
  --text: #121B26;
  --muted: #566575;
  --light: #EAF0F6;
  --shadow: 0 12px 40px rgba(10,22,40,0.08);
  --shadow-lg: 0 24px 60px rgba(10,22,40,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--gold); }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 0; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(10,22,40,0.08); }

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

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-mark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: nowrap; white-space: nowrap; }
.nav-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { width: 100%; }

.header-actions { display: -webkit-box; display: -ms-flexbox; display: flex; align-items: center; gap: 16px; }
.header-cta { padding: 10px 18px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.lang-switch a {
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 4px;
}
.lang-switch a.active {
  background: var(--navy);
  color: #fff;
}
.lang-switch a:hover:not(.active) { color: var(--navy); background: var(--light); }
.lang-switch span { color: var(--line); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(184,151,90,0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-3) 100%); color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

.mobile-menu-toggle { display: none; }

/* Collapse the nav to a hamburger before it would overflow the header (English labels are wide). */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 8px;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.2s ease;
  }
  .site-header .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(10,22,40,0.08);
    margin-left: 0;
  }
  .site-header .nav.open { display: flex; }
  .site-header .nav .nav-link { padding: 10px 0; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(18,35,61,0.72) 50%, rgba(10,22,40,0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-copy { max-width: 640px; }
.eyebrow {
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 22px;
  font-weight: 800;
}
.hero-sub {
  color: #C9D4E3;
  font-size: 18px;
  margin: 0 0 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-2);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: #A8B8CC;
  margin-top: 8px;
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--light); }

.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: 34px;
  color: var(--navy);
  margin: 0 0 14px;
  font-weight: 800;
}
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--text);
}
.about-media img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-stat { text-align: center; }
.about-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--steel);
}
.about-stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Products */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.cat-tab {
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
}
.cat-tab:hover { border-color: var(--steel); color: var(--steel); }
.cat-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card.hidden { display: none; }
.product-thumb {
  height: 220px;
  background: #F0F3F7;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-body h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}
.product-short {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.product-specs {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: 12px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--muted); }
.spec-value { color: var(--navy); font-weight: 700; }
.product-desc {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.cap-media img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.cap-list { display: grid; gap: 18px; }
.cap-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.cap-content h4 { margin: 0 0 6px; color: var(--navy); font-size: 17px; }
.cap-content p { margin: 0; color: var(--muted); font-size: 14px; }

/* Applications */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.app-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.app-card:hover { transform: translateY(-4px); }
.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--steel) 0%, var(--steel-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}
.app-card h4 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.app-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Quality */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.quality-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.quality-card h4 { margin: 0 0 10px; color: var(--navy); font-size: 17px; }
.quality-card p { margin: 0; color: var(--muted); font-size: 14px; }
.cert-gallery {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cert-figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 360px;
}
.cert-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.cert-figure figcaption {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* News */
.news-list {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.news-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.news-date {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.news-item h3 { margin: 0 0 10px; color: var(--navy); font-size: 19px; }
.news-item p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.news-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--steel);
}
.news-link:hover { color: var(--gold); }

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-info-card h3 { margin: 0 0 20px; color: var(--navy); font-size: 20px; }
.contact-line {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.contact-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.contact-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}
.contact-value:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.social-link:hover { background: var(--steel); color: #fff; }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #FAFBFC;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  background: #fff;
}
.form-note { font-size: 12px; color: var(--muted); margin: 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #A8B8CC;
  padding: 48px 0 28px;
}
.footer-inner { display: grid; gap: 16px; text-align: center; }
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 4px;
}
.footer-brand span { font-size: 13px; color: #8AA0B8; }
.footer-seo-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.7;
  color: #8AA0B8;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #C9D4E3;
  font-size: 13px;
  font-weight: 600;
}
.footer-links a:hover { color: var(--gold); }
.footer-copyright {
  font-size: 12px;
  color: #6B829C;
  margin-top: 8px;
}

/* 底部友情链接下拉（选中后新窗口打开） */
.footer-friends {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-friends strong {
  font-size: 13px;
  color: #C9D4E3;
}
.footer-select {
  background: #16283f;
  color: #C9D4E3;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  min-width: 220px;
  max-width: 90%;
  cursor: pointer;
}
.footer-select:focus { outline: 2px solid var(--gold); }

/* 富文本内容区统一样式 */
.product-desc,
.cap-desc,
.app-desc,
.quality-desc,
.faq-answer,
.news-body-inner {
  line-height: 1.75;
  font-size: 14px;
  color: inherit;
}
.product-desc p,
.cap-desc p,
.app-desc p,
.quality-desc p,
.faq-answer p,
.news-body-inner p { margin: 0 0 .75em; }
.product-desc img,
.cap-desc img,
.app-desc img,
.quality-desc img,
.faq-answer img,
.news-body-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: .5em 0;
}
.news-body { margin-top: 10px; }
.news-body summary {
  cursor: pointer;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}
.news-body summary:hover { text-decoration: underline; }
.news-body-inner {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(184,151,90,.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  text-align: left;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { max-width: 480px; margin-top: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 8px;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.2s ease;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .site-header .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(10,22,40,0.08);
    margin-left: 0;
  }
  .site-header .nav.open { display: flex; }
  .site-header .nav .nav-link { padding: 10px 0; }

  .product-grid { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .quality-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
}

@media (max-width: 560px) {
  .hero { min-height: auto; }
  .hero h1 { font-size: 28px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .cert-figure img { height: 200px; }
  .section { padding: 64px 0; }
}
