/* =====================================================
   双平台皮秒激光裂片一体切割机 - 上海鑫科汇新材料有限公司
   ===================================================== */
:root {
  --blue-900: #082c54;
  --blue-700: #0e4d92;
  --blue-600: #1467d2;
  --blue-500: #1a7af0;
  --blue-050: #eef4fc;
  --amber: #ffb400;
  --wa: #25d366;
  --ink: #1c2733;
  --ink-soft: #51606f;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(8, 44, 84, .07);
  --shadow-md: 0 10px 30px rgba(8, 44, 84, .12);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(8, 44, 84, .96); }
.site-header.scrolled .brand-text strong,
.site-header.scrolled .main-nav a { color: #fff; }
.site-header.scrolled .brand-text em { color: rgba(255, 255, 255, .65); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: var(--amber); }
.site-header.scrolled .nav-cta { background: var(--amber); color: #082c54 !important; border-color: var(--amber); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .5px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 15px; color: var(--ink); transition: color .3s; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--ink-soft); transition: color .3s; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 12px; font-size: 14.5px; color: var(--ink);
  border-radius: 8px; transition: color .2s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue-600); }
.main-nav .nav-cta {
  margin-left: 8px; background: var(--blue-600); color: #fff !important;
  padding: 9px 20px; border-radius: 999px; font-weight: 600;
}
.main-nav .nav-cta:hover { background: var(--blue-700); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--blue-700); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 70px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(26, 122, 240, .18), transparent 60%),
    linear-gradient(160deg, #f7fafd 0%, #eef4fc 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-tag {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: var(--blue-600); background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; color: var(--blue-900); }
.hero-en { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
.hero-desc { margin: 18px 0 24px; color: var(--ink-soft); font-size: 16px; }
.hero-desc strong { color: var(--blue-700); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 0; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue-700); border: 1.5px solid var(--blue-600); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-block { width: 100%; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.hero-stats li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 8px; text-align: center; box-shadow: var(--shadow-sm);
}
.hero-stats strong { display: block; font-size: 22px; color: var(--blue-700); }
.hero-stats strong em { font-style: normal; font-size: 13px; }
.hero-stats span { font-size: 12.5px; color: var(--ink-soft); }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ---------- 通用 Section ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); color: var(--blue-900); }
.section-head h2 span {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue-500); margin-top: 4px;
}
.section-head p { color: var(--ink-soft); margin-top: 14px; }
.note { font-size: 13px; color: #8a96a3; margin-top: 12px; }

/* ---------- 产品概述 ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.overview-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.overview-points h3 { font-size: 18px; color: var(--blue-900); margin: 22px 0 12px; }
.overview-points h3:first-child { margin-top: 0; }
.mode-list li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue-600);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.mode-list strong { display: block; color: var(--blue-900); font-size: 15px; }
.mode-list span { font-size: 13.5px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  background: var(--blue-050); color: var(--blue-700); font-size: 13px;
  padding: 5px 13px; border-radius: 999px; border: 1px solid #d7e5f7;
}

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adv-num {
  font-size: 13px; font-weight: 800; color: var(--amber);
  background: #fff7e6; width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.adv-card h3 { font-size: 17px; color: var(--blue-900); margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 核心配置 ---------- */
.config-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.config-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.config-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.config-card img { width: 100%; height: 170px; object-fit: cover; background: var(--blue-050); }
.config-card h3 { font-size: 16.5px; color: var(--blue-900); padding: 16px 18px 6px; }
.config-card ul { padding: 0 18px 18px; }
.config-card li {
  font-size: 13.5px; color: var(--ink-soft); padding-left: 16px; position: relative; margin-top: 6px;
}
.config-card li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500);
}

/* ---------- 样品 / 视频 ---------- */
.samples-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.samples-grid figure, .video-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.samples-grid img { width: 100%; }
.samples-grid figcaption, .video-card figcaption {
  padding: 12px 16px; font-size: 14px; color: var(--ink-soft); text-align: center;
}
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }

/* ---------- 参数表 ---------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.spec-table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.spec-table-wrap h3 { font-size: 18px; color: var(--blue-900); margin-bottom: 14px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table tbody th { color: var(--blue-700); font-weight: 600; width: 38%; white-space: nowrap; }
.spec-table td { color: var(--ink-soft); }
.spec-table.compact { font-size: 13px; }
.spec-table.compact thead th { background: var(--blue-050); color: var(--blue-700); white-space: nowrap; }
.spec-table.compact td { white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: #c9dcf3; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 46px 16px 18px;
  font-weight: 600; font-size: 15.5px; color: var(--blue-900); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: absolute; right: 18px; top: 50%; width: 12px; height: 12px;
  transform: translateY(-50%);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--blue-600); border-radius: 2px;
  transition: transform .25s;
}
.faq-icon::before { width: 12px; height: 2.5px; top: 5px; left: 0; }
.faq-icon::after { width: 2.5px; height: 12px; left: 5px; top: 0; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-body { padding: 0 18px 16px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 联系 & 表单 ---------- */
.section-contact {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: #fff;
}
.section-contact h2, .section-contact h3 { color: #fff; }
.section-contact h2 span { display: block; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: #9cc3f5; margin-top: 4px; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-info > p { color: #c4d8f2; margin: 12px 0 22px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.c-ico {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.contact-list strong { display: block; font-size: 13.5px; color: #9cc3f5; }
.contact-list a { color: #fff; font-size: 17px; font-weight: 600; }
.contact-list div span:last-child { color: #dbe8fa; font-size: 14.5px; }

.quote-form {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-md);
}
.quote-form h3 { color: var(--blue-900); font-size: 19px; }
.form-tip { font-size: 13px; color: var(--ink-soft); margin: 6px 0 16px; }
.form-row { margin-bottom: 14px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.quote-form label i { color: #e0484f; font-style: normal; }
.quote-form input, .quote-form textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fbfdff;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.quote-form input:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(26, 122, 240, .15);
}
.quote-form .btn-primary { margin-top: 6px; }
.quote-form .btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-msg { margin-top: 12px; font-size: 14px; text-align: center; min-height: 20px; }
.form-msg.ok { color: #17914c; }
.form-msg.err { color: #e0484f; }

/* ---------- Footer ---------- */
.site-footer { background: #061f3c; color: #b9c9dc; padding: 34px 0 0; font-size: 14px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; }
.site-footer strong { color: #fff; font-size: 16px; }
.site-footer p { margin-top: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 20px;
  text-align: center; font-size: 12.5px; color: #7e93ac;
}

/* ---------- 悬浮 WhatsApp ---------- */
.wa-float {
  position: fixed; left: 18px; bottom: 24px; z-index: 99;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(37, 211, 102, .6); }
.wa-tip {
  position: absolute; left: 66px; white-space: nowrap;
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 8px; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateX(-6px); transition: .25s; pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .config-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 18px; gap: 2px; box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .main-nav .nav-cta { margin: 10px 0 0; text-align: center; border-bottom: 0; }
  .site-header.scrolled .main-nav a { color: var(--ink); }

  .hero { padding: 118px 0 50px; }
  .hero-grid, .overview-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .samples-grid, .video-grid { grid-template-columns: 1fr; }
  .video-card video { aspect-ratio: 16 / 10; object-fit: cover; }
  .section { padding: 56px 0; }
  .footer-contact { text-align: left; }
}
@media (max-width: 560px) {
  .adv-grid, .config-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
  .brand-text strong { font-size: 13.5px; }
  .hero-actions .btn { width: 100%; }
  .wa-float { width: 52px; height: 52px; left: 14px; bottom: 18px; }
}
