/* ─── RESET & TOKENS ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0d2b45;
  --navy-mid:    #163d5e;
  --teal:        #1a8c7a;
  --teal-light:  #22b59f;
  --teal-soft:   #e6f7f5;
  --teal-soft2:  #d0f0ea;
  --gold:        #c89a3c;
  --gold-soft:   #fdf4e3;
  --slate:       #4a5e72;
  --text:        #1c2d3d;
  --text-sec:    #5a6e80;
  --border:      #d8e5ed;
  --bg:          #f4f8fb;
  --white:       #ffffff;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(13,43,69,0.10);
  --shadow-sm:   0 2px 10px rgba(13,43,69,0.07);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text); background: var(--white);
  font-size: 15px; line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─── NAV ───────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,43,69,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
}
.nav-logo-text { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.nav-logo-text span { color: var(--teal-light); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--teal); color: #fff;
  border-radius: 6px;
  padding: 8px 20px; font-size: 13px; font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--teal-light); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 5vw; z-index: 99; flex-direction: column; gap: 14px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 15px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ─── TOP STRIP ─────────────────────────────────────────────────── */
.top-strip {
  background: var(--teal); color: #fff;
  padding: 8px 5vw; font-size: 12px; text-align: center;
  margin-top: 64px;
}
.top-strip strong { color: var(--gold-soft); }

/* ─── COMMON LAYOUT ─────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 5vw; }
main { min-height: calc(100vh - 64px - 400px); }

.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  background: var(--teal-soft); color: var(--teal);
  padding: 4px 12px; border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 17px; }
p  { color: var(--text-sec); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px;
  font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.btn-primary   { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-light); }
.btn-outline   { border: 1px solid var(--border); color: var(--navy); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.btn-large     { padding: 14px 32px; font-size: 15px; }

.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); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 5vw 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: -10%; width: 60%; height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(34,181,159,0.18), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1240px; margin: 0 auto; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(34,181,159,0.15); color: var(--teal-light);
  padding: 6px 14px; border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: 48px; max-width: 820px; }
.hero-tagline { color: rgba(255,255,255,0.75); font-size: 17px; margin-top: 20px; max-width: 720px; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-primary { background: var(--teal-light); color: var(--navy); }
.hero-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.hero-cta .btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num { font-size: 28px; font-weight: 700; color: var(--teal-light); }
.hero-stat-label { color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 4px; }

/* ─── FEATURE CARDS ─────────────────────────────────────────────── */
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: left;
  transition: all .3s;
}
.feature-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; }

/* ─── PRODUCT CARDS ─────────────────────────────────────────────── */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .3s;
}
.product-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card-img {
  aspect-ratio: 1 / 1;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card-img img { width: 88%; height: 88%; object-fit: contain; }
.product-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-card-model {
  display: inline-block;
  background: var(--teal-soft); color: var(--teal);
  padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600;
  margin-bottom: 8px; align-self: flex-start;
}
.product-card h3 { font-size: 15px; line-height: 1.5; margin-bottom: 6px; }
.product-card-series { font-size: 12px; color: var(--text-sec); }
.product-card-cta {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--teal); font-weight: 500;
}

/* ─── CERTIFICATE WALL ──────────────────────────────────────────── */
.cert-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cert-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 12px; text-align: center;
  transition: all .2s;
}
.cert-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.cert-badge {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #e5b451 100%);
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.cert-card h4 { font-size: 13px; margin-bottom: 4px; }
.cert-card p { font-size: 11px; }

/* ─── OEM STEPS ─────────────────────────────────────────────────── */
.oem-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.oem-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  position: relative;
}
.oem-step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.oem-step h4 { font-size: 15px; margin: 12px 0 8px; }
.oem-step p { font-size: 12px; }

/* ─── PRODUCT DETAIL ────────────────────────────────────────────── */
.pd-hero {
  padding: 96px 5vw 48px;
  background: var(--bg);
}
.pd-hero-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 6fr; gap: 60px; align-items: center;
}
.pd-image {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
}
.pd-image img { width: 82%; height: 82%; object-fit: contain; }
.pd-model {
  display: inline-block;
  background: var(--teal-soft); color: var(--teal);
  padding: 4px 12px; border-radius: 4px;
  font-size: 12px; font-weight: 600;
  margin-bottom: 14px;
}
.pd-title { font-size: 32px; margin-bottom: 8px; }
.pd-en    { font-size: 15px; color: var(--text-sec); margin-bottom: 20px; }
.pd-tagline {
  padding: 18px 20px;
  background: var(--teal-soft); border-left: 3px solid var(--teal);
  border-radius: 4px;
  color: var(--navy); font-size: 15px; line-height: 1.7;
  margin: 20px 0 28px;
}
.pd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 28px; }
.pd-meta div { font-size: 13px; }
.pd-meta strong { color: var(--navy); }

.pd-section { padding: 64px 0; }
.pd-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pd-highlight {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.pd-highlight-num {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--teal); color: #fff;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.pd-highlight h4 { font-size: 16px; margin-bottom: 6px; }
.pd-highlight p  { font-size: 14px; }

.pd-specs { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pd-specs tr:nth-child(even) { background: var(--bg); }
.pd-specs td { padding: 14px 20px; font-size: 14px; border-top: 1px solid var(--border); }
.pd-specs td:first-child { color: var(--text-sec); width: 200px; font-weight: 500; }
.pd-specs td:last-child  { color: var(--navy); }

.pd-faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.pd-faq summary {
  padding: 18px 24px;
  cursor: pointer; font-weight: 500; color: var(--navy);
  list-style: none; position: relative;
}
.pd-faq summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--teal);
}
.pd-faq details[open] summary::after { content: '−'; }
.pd-faq details[open] summary { border-bottom: 1px solid var(--border); }
.pd-faq-body { padding: 18px 24px; color: var(--text-sec); font-size: 14px; }

.pd-skeleton-notice {
  padding: 32px;
  background: var(--gold-soft); border-radius: var(--radius);
  color: var(--navy); font-size: 14px; text-align: center;
}

/* ─── PRODUCTS LIST ─────────────────────────────────────────────── */
.products-hero {
  padding: 100px 5vw 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; text-align: center;
}
.products-hero h1 { color: #fff; }
.products-hero p { color: rgba(255,255,255,0.7); margin-top: 12px; }

.series-block { margin-bottom: 48px; }
.series-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: var(--teal-soft); border-left: 4px solid var(--teal);
  border-radius: 4px;
  margin-bottom: 20px;
}
.series-title h2 { font-size: 20px; color: var(--navy); }
.series-title span { font-size: 13px; color: var(--text-sec); }

/* ─── CONTACT ───────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.contact-info {
  background: var(--bg); border-radius: var(--radius); padding: 32px;
}
.contact-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-item strong { color: var(--navy); display: block; font-size: 13px; margin-bottom: 4px; }
.contact-item span   { color: var(--text-sec); font-size: 14px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; color: var(--navy); font-weight: 500; }
.form-field label .req { color: #d94a5e; margin-left: 3px; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; color: var(--text); font-family: inherit;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--teal); }
.form-field.full { grid-column: 1 / -1; }
.form-submit-row { grid-column: 1 / -1; margin-top: 8px; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 60px 5vw 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1240px; margin: 0 auto;
}
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color .2s; }
.footer li a:hover { color: var(--teal-light); }
.footer-brand { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--teal-light); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
.footer-contact { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.9; }
.footer-contact strong { color: var(--teal-light); }
.footer-bottom {
  max-width: 1240px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ─── CONTACT WIDGET (right bottom float) ───────────────────────── */
.widget {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.widget-btn {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: #fff;
  box-shadow: var(--shadow);
  font-size: 20px;
  transition: all .2s;
  position: relative;
}
.widget-btn:hover { background: var(--teal-light); transform: scale(1.05); }
.widget-btn .tooltip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff;
  padding: 6px 12px; border-radius: 4px;
  font-size: 12px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.widget-btn:hover .tooltip { opacity: 1; }
.widget-wechat-pop {
  position: absolute; right: 62px; bottom: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  display: none;
}
.widget-wechat-pop.open { display: block; }
.widget-wechat-pop img { width: 140px; height: 140px; }
.widget-wechat-pop p { font-size: 11px; text-align: center; margin-top: 6px; color: var(--text-sec); }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6, .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .oem-steps { grid-template-columns: repeat(2, 1fr); }
  .pd-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 32px; }
  .hero h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .section { padding: 60px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-steps { grid-template-columns: 1fr; }
  .pd-highlights { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 22px; }
}
