/* ============================================================
   HYIS Scientific — Global Stylesheet
   Minimal light theme: white / grey / black
   Laboratory Sample Preparation & Post-treatment Equipment
   ============================================================ */

:root {
  --ink: #111827;
  --text: #4b5563;
  --text-light: #9ca3af;
  --bg: #ffffff;
  --muted: #f7f7f8;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --accent: #111827;
  --accent-hover: #374151;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 6px 20px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 14px 38px rgba(17, 24, 39, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
a:hover { color: #000; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  background: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.section-sub { color: var(--text-light); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border-dark); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.3px; }
.logo img { height: 34px; width: auto; }
.logo small { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 2.5px; color: var(--text-light); text-transform: uppercase; }
.logo span { display: block; line-height: 1.15; }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}
.nav a:hover { color: var(--ink); background: var(--muted); }
.nav a.active { color: var(--ink); font-weight: 600; background: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-tel { font-weight: 600; color: var(--ink); font-size: 0.93rem; }

/* ---------- Language switch ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.2;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--ink); color: #fff; }

/* Hamburger */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .header-cta .btn, .header-tel { display: none; }
  .nav {
    position: fixed;
    top: 72px;
    right: -320px;
    width: 300px;
    height: calc(100vh - 72px);
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--border);
    transition: right 0.3s ease;
  }
  .nav.open { right: 0; }
  .nav a { padding: 13px 16px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--ink);
  background: var(--bg);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 100px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  color: var(--text);
}
.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: #6b7280; }
.hero-desc { font-size: 1.08rem; color: var(--text); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
  max-width: 560px;
}
.stat { border-left: 2px solid var(--border-dark); padding-left: 14px; }
.stat b { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 700; }
.stat span { font-size: 0.82rem; color: var(--text-light); }

.hero-visual { position: relative; min-height: 380px; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.hero-card h3 { color: var(--ink); font-size: 1.02rem; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.hero-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card li { color: var(--text); font-size: 0.9rem; display: flex; gap: 8px; align-items: flex-start; }
.hero-card li::before { content: "—"; color: var(--text-light); font-weight: 700; }
.floating-chip {
  position: absolute;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.chip-1 { top: -18px; right: 8px; }
.chip-2 { bottom: -14px; left: -8px; }
.chip-2 small { display: block; font-weight: 400; color: var(--text-light); font-size: 0.74rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 70px 0; }
  .hero-visual { min-height: auto; margin-top: 12px; }
}

/* ---------- Category Cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--shadow-sm);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-dark); }
.cat-card.pre { background: #f4f6f8; }
.cat-card.post { background: #f2f7f5; }
.cat-card.cent { background: #f3f6fa; }
.cat-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.cat-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.3px; line-height: 1.35; }
.cat-card p { color: var(--text); font-size: 0.95rem; margin-bottom: 22px; max-width: 420px; }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 3px;
}
.cat-link:hover { color: #000; border-color: var(--ink); }
.cat-count {
  position: absolute;
  top: 30px;
  right: 34px;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--ink);
  opacity: 0.07;
  line-height: 1;
}

/* ---------- Product Cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.prod-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prod-thumb {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.prod-thumb svg { width: 84px; height: 84px; opacity: 0.9; }
.prod-thumb svg path, .prod-thumb svg circle, .prod-thumb svg rect, .prod-thumb svg line, .prod-thumb svg polyline, .prod-thumb svg polygon { stroke: var(--ink); }

/* 产品图形（原创工程线描 SVG，见 IMAGE-PLAN.md） */
.prod-thumb .prod-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.prod-card:hover .prod-thumb .prod-art { transform: scale(1.045); }
.prod-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.prod-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-model { font-size: 0.78rem; font-weight: 700; color: var(--text-light); letter-spacing: 1px; margin-bottom: 6px; }
.prod-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.prod-desc { font-size: 0.88rem; color: var(--text-light); flex: 1; margin-bottom: 16px; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prod-foot .btn { padding: 8px 16px; font-size: 0.82rem; }

/* light grey gradients for product thumb placeholders */
.grad-1 { background: linear-gradient(135deg, #eef1f5, #dfe4ea); }
.grad-2 { background: linear-gradient(135deg, #edf3f0, #dce9e3); }
.grad-3 { background: linear-gradient(135deg, #f0eff4, #e2e0ec); }
.grad-4 { background: linear-gradient(135deg, #f5eef4, #eadfec); }
.grad-5 { background: linear-gradient(135deg, #f4f1ea, #eae4d8); }
.grad-6 { background: linear-gradient(135deg, #f5eef0, #ecdfe3); }
.grad-7 { background: linear-gradient(135deg, #edf2f5, #dde8ee); }
.grad-8 { background: linear-gradient(135deg, #f0f3ea, #e3ead7); }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--muted);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat h4 { color: var(--ink); font-size: 1.02rem; margin-bottom: 8px; }
.feat p { font-size: 0.88rem; color: var(--text-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.5px; }
.cta-band p { color: rgba(255, 255, 255, 0.72); max-width: 600px; margin: 0 auto 30px; }
.cta-band .btn-primary { background: #fff; color: #111827; }
.cta-band .btn-primary:hover { background: #e5e7eb; color: #111827; }

/* ---------- Footer ---------- */
.footer { background: #111827; color: rgba(255, 255, 255, 0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer p, .footer li { font-size: 0.9rem; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, 0.7); }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--muted);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.5px; }
.page-hero p { color: var(--text); margin-top: 10px; max-width: 640px; margin-inline: auto; }
.breadcrumb { margin-top: 16px; font-size: 0.85rem; color: var(--text-light); }
.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: #000; }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--border-dark); color: var(--ink); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-thumb {
  border-radius: var(--radius);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 96px;
  overflow: hidden;
}
.detail-thumb svg { width: 150px; height: 150px; opacity: 0.9; }
.detail-thumb svg path, .detail-thumb svg circle, .detail-thumb svg rect, .detail-thumb svg line, .detail-thumb svg polyline, .detail-thumb svg polygon { stroke: var(--ink); }

/* ---------- Product illustrations: cards, detail page, shape navigation ---------- */
.art-figure { margin: 0; width: 100%; display: flex; flex-direction: column; }
.detail-thumb .art-figure { height: 100%; }
.detail-thumb .art-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.art-caption {
  padding: 10px 16px 12px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.86);
  border-top: 1px solid var(--border);
}
.detail-thumb .art-caption { margin-top: -1px; }

/* 「按外形找产品」可视化导航 */
.art-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.art-nav-card {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 14px;
  padding: 0 0 10px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  font: inherit;
}
.art-nav-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.art-nav-card.active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(0, 141, 213, 0.22); }
.art-nav-img { width: 100%; height: 96px; object-fit: cover; display: block; }
.art-nav-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.35;
  padding: 0 8px;
}

@media (max-width: 720px) {
  .prod-thumb { height: 200px; }
  .detail-thumb { height: 280px; position: static; }
  .art-nav { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .art-nav-img { height: 78px; }
}
.detail-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-meta span {
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.detail h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); font-weight: 800; margin-bottom: 16px; line-height: 1.25; letter-spacing: -0.5px; }
.detail-intro { font-size: 1.05rem; color: var(--text); margin-bottom: 28px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 30px; }
.spec-table th, .spec-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.92rem;
}
.spec-table th { background: var(--ink); color: #fff; font-weight: 600; }
.spec-table tr:nth-child(even) td { background: var(--white); }
.spec-table tr:nth-child(odd) td { background: var(--muted); }
.detail-section-title { font-size: 1.25rem; color: var(--ink); font-weight: 700; margin: 34px 0 12px; }
.detail-list li { padding-left: 22px; position: relative; margin-bottom: 10px; font-size: 0.95rem; }
.detail-list li::before { content: "—"; position: absolute; left: 0; color: var(--text-light); font-weight: 700; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-media {
  border-radius: var(--radius);
  height: 380px;
  background: var(--muted);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-media svg { width: 120px; height: 120px; opacity: 0.35; }
.about-media svg path, .about-media svg circle, .about-media svg rect, .about-media svg line { stroke: var(--ink); }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.timeline li { position: relative; margin-bottom: 26px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-dark);
}
.timeline b { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 4px; }
.timeline span { font-size: 0.92rem; color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: 20px; }
.contact-info-card li { display: flex; gap: 14px; margin-bottom: 20px; font-size: 0.95rem; align-items: flex-start; }
.contact-info-card li svg { flex-shrink: 0; margin-top: 3px; stroke: var(--ink); }
.contact-info-card a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-info-card a:hover { color: #000; }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}
.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 8px; }

/* 供货承诺 / 按需邮件交付说明（SITE-RULES §7.4 标准表述） */
.docs-note {
  margin-top: 22px;
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: var(--bg-soft, #f6f8fa);
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
  color: var(--text);
}
.promise-note {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(0, 141, 213, 0.07);
  border: 1px solid rgba(0, 141, 213, 0.22);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.lead { font-size: 1.08rem; color: var(--text); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Smart Product Advisor (floating AI assistant)
   Brand accent: #008DD5
   ============================================================ */
:root {
  --brand: #008dd5;
  --brand-dark: #0069a3;
  --brand-soft: #e6f4fb;
}

.advisor-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 141, 213, 0.32);
  transition: transform 0.2s, background 0.2s;
}
.advisor-launcher:hover { background: var(--brand-dark); transform: scale(1.05); }
.advisor-launcher svg { width: 27px; height: 27px; }
.advisor-launcher .advisor-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand);
  animation: advisorPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes advisorPulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}
.advisor-launcher .advisor-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e24b4a;
  border: 2px solid #fff;
}
@media (prefers-reduced-motion: reduce) { .advisor-launcher .advisor-pulse { display: none; } }

.advisor-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 301;
  width: 384px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 150px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.advisor-panel[hidden] { display: none; }

.advisor-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
}
.advisor-head .advisor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.advisor-head .advisor-title { font-size: 0.95rem; font-weight: 600; line-height: 1.25; }
.advisor-head .advisor-sub { font-size: 0.72rem; opacity: 0.85; }
.advisor-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.85;
}
.advisor-close:hover { opacity: 1; }

.advisor-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--muted);
}
.advisor-msg { display: flex; margin-bottom: 12px; }
.advisor-msg .advisor-bubble {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}
.advisor-msg.user { justify-content: flex-end; }
.advisor-msg.user .advisor-bubble {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.advisor-msg.bot .advisor-bubble { border-bottom-left-radius: 4px; }
.advisor-typing { display: inline-flex; gap: 4px; align-items: center; }
.advisor-typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-light);
  animation: advisorBlink 1.2s infinite;
}
.advisor-typing i:nth-child(2) { animation-delay: 0.2s; }
.advisor-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes advisorBlink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

.advisor-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
  background: var(--muted);
}
.advisor-opt {
  border: 1.5px solid var(--border-dark);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}
.advisor-opt:hover { border-color: var(--brand); color: var(--brand); }
.advisor-opt.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.advisor-opt.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.advisor-prod {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.advisor-prod .advisor-prod-model {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--brand);
  margin-bottom: 3px;
}
.advisor-prod h5 { font-size: 0.92rem; color: var(--ink); font-weight: 600; margin-bottom: 5px; line-height: 1.35; }
.advisor-prod p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 9px; line-height: 1.5; }
.advisor-prod .advisor-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.advisor-prod .advisor-acts a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border-dark);
  color: var(--ink);
}
.advisor-prod .advisor-acts a.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.advisor-prod .advisor-acts a.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.advisor-prod .advisor-acts a:hover { border-color: var(--brand); color: var(--brand); }
.advisor-prod .advisor-acts a.primary:hover { color: #fff; }

.advisor-foot {
  display: flex;
  gap: 8px;
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}
.advisor-foot a {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.advisor-foot a:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 560px) {
  .advisor-launcher { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .advisor-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: 82vh;
    max-height: none;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }
}

/* ============================================================
   FAQ blocks (AI/LLM friendly Q&A content)
   ============================================================ */
.faq-list { margin: 18px 0 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-dark); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--brand); }
.faq-item p {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
}
.faq-grid { max-width: 860px; margin: 0 auto; }
