/* ============================================================
   FGi-lab · 飞弓仪器(上海)有限公司  —  www.fgi-lab.com
   Brand: orange #F58220 / ink #12151F / gray #F4F5F8
   ============================================================ */
:root {
  --orange: #F58220;
  --orange-dk: #D96A0B;
  --orange-lt: #FDF1E4;
  --ink: #12151F;
  --ink-2: #3C4254;
  --gray: #6B7280;
  --line: #E5E7EB;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 21, 31, .08);
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.7; font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #C9CCD6; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 26px; height: 36px; align-items: center; }
.topbar a:hover { color: var(--orange); }
.topbar .sep { color: #4B4F5C; }

/* ---------- header nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 72px; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; }
.menu { display: flex; gap: 6px; flex: 1; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 10px 16px; font-weight: 600; font-size: 15.5px;
  border-radius: 8px; transition: .2s;
}
.menu > li > a:hover { color: var(--orange); background: var(--orange-lt); }
.menu > li.has-sub:hover .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; width: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 10px; visibility: hidden; opacity: 0; transform: translateY(8px); transition: .22s;
}
.submenu a { display: block; padding: 10px 14px; border-radius: 8px; }
.submenu a:hover { background: var(--orange-lt); }
.submenu b { display: block; font-size: 15px; }
.submenu span { font-size: 12.5px; color: var(--gray); }
.nav-cta {
  background: var(--orange); color: #fff; font-weight: 700; padding: 10px 22px;
  border-radius: 999px; transition: .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-dk); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px; font-weight: 700;
  font-size: 16px; transition: .2s; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dk); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #272c3d; transform: translateY(-2px); }

/* ---------- section scaffolding ---------- */
section { padding: 88px 0; }
.sec-alt { background: var(--bg); }
.kicker {
  display: inline-block; color: var(--orange); font-weight: 800; letter-spacing: .18em;
  font-size: 13px; text-transform: uppercase; margin-bottom: 12px;
}
h1.sec-title, h2.sec-title { font-size: 36px; line-height: 1.3; margin-bottom: 16px; font-weight: 800; }
.sec-sub { color: var(--gray); max-width: 760px; font-size: 17px; }
.center { text-align: center; }
.center .sec-sub { margin: 0 auto; }

/* ---------- hero (home) ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(245,130,32,.16), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(245,130,32,.10), transparent 55%),
    linear-gradient(160deg, #161A29 0%, #10131E 70%);
  color: #fff; padding: 100px 0 110px; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 50px; line-height: 1.22; font-weight: 800; margin: 18px 0 20px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p { color: #B8BCC9; font-size: 18px; max-width: 520px; }
.hero .btns { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 520px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.hero-visual img { width: 100%; max-width: 500px; border-radius: 18px; box-shadow: 0 24px 48px rgba(0,0,0,.5); }

/* ---------- stats band ---------- */
.stats { background: var(--ink); color: #fff; padding: 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: 34px; color: var(--orange); font-weight: 800; }
.stat span { font-size: 14px; color: #9DA2B0; }

/* ---------- product cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.p-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: .25s; display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #F3C89B; }
.p-card .ph {
  height: 300px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #F2F4F8, #FAFAFC); padding: 28px;
}
.p-card .ph img { max-height: 100%; object-fit: contain; }
.p-card .ph svg { width: 85%; height: auto; }
.p-card .bd { padding: 28px 30px 32px; }
.p-card .tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--orange);
  background: var(--orange-lt); border-radius: 999px; padding: 3px 12px; margin-bottom: 12px;
}
.p-card h3 { font-size: 24px; margin-bottom: 6px; }
.p-card .en { color: var(--gray); font-size: 14px; margin-bottom: 14px; }
.p-card p { color: var(--ink-2); font-size: 15px; }
.p-card ul { margin: 14px 0 20px; }
.p-card li { font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative; margin-bottom: 6px; }
.p-card li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--orange);
}
.link-arrow { color: var(--orange); font-weight: 700; font-size: 15px; }
.link-arrow:hover { color: var(--orange-dk); }
.link-arrow::after { content: " →"; }

/* ---------- application cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.app-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: .25s;
}
.app-card:hover { border-color: #F3C89B; box-shadow: var(--shadow); transform: translateY(-4px); }
.app-card .ico {
  width: 58px; height: 58px; border-radius: 14px; background: var(--orange-lt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.app-card .ico svg { width: 32px; height: 32px; }
.app-card h3 { font-size: 19px; margin-bottom: 8px; }
.app-card p { font-size: 14.5px; color: var(--gray); }

/* ---------- workflow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; margin-top: 48px; }
.flow-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; position: relative;
}
.flow-step .no {
  width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.flow-step h4 { font-size: 16.5px; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--gray); }
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%);
  color: var(--orange); font-size: 20px; font-weight: 800; z-index: 2;
}

/* ---------- references ---------- */
.refs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 44px; }
.ref {
  background: #fff; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0;
  padding: 18px 22px; box-shadow: 0 2px 10px rgba(18,21,31,.05);
}
.ref p { font-size: 14.5px; color: var(--ink-2); }
.ref b { font-size: 14px; color: var(--orange); display: block; margin-top: 6px; }
.partners { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; justify-content: center; }
.partners span {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px; font-size: 14px;
  color: var(--ink-2); background: #fff; font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange), #FBA43F); color: #fff;
  border-radius: 20px; padding: 64px 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 30px; font-weight: 800; }
.cta-band p { opacity: .92; margin-top: 8px; }
.cta-band .btn { background: var(--ink); color: #fff; }
.cta-band .btn:hover { background: #272c3d; }

/* ---------- page hero (product / about) ---------- */
.page-hero { background: linear-gradient(160deg, #161A29, #10131E); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(245,130,32,.28), transparent 65%);
}
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.page-hero .crumb { font-size: 13.5px; color: #8F94A3; margin-bottom: 16px; }
.page-hero .crumb a:hover { color: var(--orange); }
.page-hero h1 { font-size: 40px; line-height: 1.25; font-weight: 800; }
.page-hero .en-name { color: var(--orange); font-size: 18px; font-weight: 700; margin: 8px 0 18px; }
.page-hero p { color: #B8BCC9; font-size: 16.5px; max-width: 520px; }
.page-hero .btns { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.page-hero .photo { display: flex; justify-content: center; }
.page-hero .photo img { max-height: 380px; object-fit: contain; filter: drop-shadow(0 20px 36px rgba(0,0,0,.5)); }
.page-hero .photo svg { width: 100%; max-width: 430px; filter: drop-shadow(0 20px 36px rgba(0,0,0,.5)); }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-chips span {
  font-size: 13px; border: 1px solid rgba(255,255,255,.25); color: #D9DCE5;
  padding: 5px 14px; border-radius: 999px;
}

/* ---------- anchor nav (product pages) ---------- */
.anchor-nav { position: sticky; top: 72px; background: #fff; border-bottom: 1px solid var(--line); z-index: 90; }
.anchor-nav .wrap { display: flex; gap: 4px; overflow-x: auto; }
.anchor-nav a {
  padding: 14px 18px; font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  border-bottom: 3px solid transparent; white-space: nowrap; transition: .15s;
}
.anchor-nav a:hover, .anchor-nav a.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------- feature split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
.split .vis {
  background: linear-gradient(150deg, #F2F4F8, #FBFBFD); border-radius: var(--radius);
  padding: 30px; display: flex; align-items: center; justify-content: center; min-height: 300px;
}
.split .vis img { max-height: 340px; object-fit: contain; }
.split h3 { font-size: 26px; margin: 10px 0 14px; }
.split p { color: var(--ink-2); }
.checklist { margin-top: 20px; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--ink-2); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px;
  background: var(--orange-lt); color: var(--orange); border-radius: 50%;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; top: 5px;
}

/* ---------- numbered systems (M1) ---------- */
.sys-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
.sys {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; transition: .2s;
}
.sys:hover { box-shadow: var(--shadow); border-color: #F3C89B; }
.sys .no {
  position: absolute; top: 24px; right: 26px; font-size: 42px; font-weight: 800;
  color: var(--orange-lt); -webkit-text-stroke: 1.5px var(--orange); color: transparent;
}
.sys h3 { font-size: 20px; margin-bottom: 10px; padding-right: 60px; }
.sys p, .sys li { font-size: 14.5px; color: var(--ink-2); }
.sys ul { margin-top: 8px; }
.sys li { padding-left: 18px; position: relative; margin-bottom: 5px; }
.sys li::before { content: "•"; position: absolute; left: 4px; color: var(--orange); font-weight: 800; }

/* ---------- spec table ---------- */
.spec-wrap { overflow-x: auto; margin-top: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.spec caption {
  text-align: left; font-weight: 800; font-size: 17px; padding: 18px 24px 12px;
  color: var(--ink); border-bottom: 2px solid var(--orange); background: #fff;
}
table.spec tr { border-bottom: 1px solid var(--line); }
table.spec tr:last-child { border-bottom: none; }
table.spec th, table.spec td { padding: 14px 24px; text-align: left; vertical-align: top; }
table.spec th { width: 34%; color: var(--ink-2); font-weight: 600; background: #FAFAFC; }
table.spec td { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 44px auto 0; }
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 14px; overflow: hidden; }
summary {
  cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; color: var(--orange); font-weight: 400; flex-shrink: 0; transition: .2s; }
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; }

/* ---------- brochure / download ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.dl-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: .2s; }
.dl-card:hover { box-shadow: var(--shadow); }
.dl-card img { width: 100%; height: 200px; object-fit: cover; object-position: top; }
.dl-card .bd { padding: 14px 16px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-grid p { color: var(--ink-2); margin-bottom: 14px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 22px; margin-bottom: 20px; }
.contact-card li { display: flex; gap: 14px; margin-bottom: 16px; color: var(--ink-2); font-size: 15px; }
.contact-card .ico {
  width: 40px; height: 40px; border-radius: 10px; background: var(--orange-lt); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--orange); font-weight: 800;
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }

/* ---------- footer ---------- */
footer { background: #0D1017; color: #9DA2B0; padding: 72px 0 0; font-size: 14.5px; }
footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
footer li { margin-bottom: 10px; }
footer a:hover { color: var(--orange); }
footer .f-logo { height: 34px; margin-bottom: 18px; }
footer .f-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
footer .copyright {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 13px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero .wrap, .page-hero .wrap, .split, .about-grid { grid-template-columns: 1fr; }
  .hero-visual, .page-hero .photo { order: -1; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:not(:last-child)::after { display: none; }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .menu, .nav-cta, .topbar .hide-m { display: none; }
  .grid-2, .grid-3, .refs, .sys-list, .values { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .hero h1 { font-size: 34px; }
  h1.sec-title, h2.sec-title { font-size: 28px; }
  section { padding: 64px 0; }
  .anchor-nav { top: 0; }
  header.nav { position: static; }
  .cta-band { padding: 44px 30px; }
  .dl-grid { grid-template-columns: 1fr; }
}
