/* ==========================================================================
   VScan S30 產品頁 — styles.css
   偉迅科技 WESHINE TECHNOLOGY
   ========================================================================== */

/* ── Fonts ───────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Everett";
  src: url("fonts/everett-light.woff") format("woff");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Commit Mono";
  src: url("fonts/commit-mono-400-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ── Reset / base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #eef1f6;
  font-family: "Noto Sans TC", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Heiti TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0b1220;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Shell ───────────────────────────────────────────────────────────── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
}
.pad { padding-left: 56px; padding-right: 56px; }

/* shared accents */
.accent { color: #2f6dff; }
.accent-cyan { color: #3ad2ff; }
.mono-accent { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .16em; color: #3ad2ff; }
.mono-muted  { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.mono-blue   { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .16em; color: #7fb6ff; margin-bottom: 18px; }
.mono-cta    { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.7); margin-bottom: 22px; }

.section-title {
  font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300;
  font-size: 46px; letter-spacing: -.02em; color: #0b1220; margin: 0 0 44px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-row { display: flex; gap: 13px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; font-size: 14px; letter-spacing: .04em;
  padding: 14px 28px; border-radius: 11px; transition: filter .15s ease, background .15s ease;
}
.btn--primary { font-weight: 500; color: #fff; background: linear-gradient(135deg,#2f6dff,#0a3fd0); box-shadow: 0 10px 26px rgba(47,109,255,.32); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { font-weight: 400; color: #0b1220; background: transparent; border: 1px solid rgba(11,18,32,.16); }
.btn--ghost:hover { background: rgba(11,18,32,.04); }
.btn--white { font-weight: 500; color: #0a3fd0; background: #fff; padding: 15px 32px; }
.btn--white:hover { filter: brightness(.96); }
.btn--outline { font-weight: 400; color: #fff; border: 1px solid rgba(255,255,255,.4); padding: 15px 32px; }
.btn--outline:hover { background: rgba(255,255,255,.1); }

/* ── Nav ───────────────────────────────────────────────────────────────
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(11,18,32,.08);
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}
.nav--scrolled { box-shadow: 0 6px 24px rgba(11,18,32,.08); }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 38px; width: auto; object-fit: contain; flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid rgba(11,18,32,.12);
  border-radius: 10px; background: #fff; color: #0b1220; cursor: pointer;
  flex-shrink: 0;
}
.nav__toggle:hover { border-color: rgba(47,109,255,.4); color: #2f6dff; }
.nav__links a { text-decoration: none; font-size: 14px; color: #3d5070; transition: color .15s ease; position: relative; white-space: nowrap; }
.nav__links a:hover { color: #2f6dff; }
.nav__links a.is-active { color: #0b1220; font-weight: 500; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #2f6dff; border-radius: 2px; }
.nav__fb { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; color: #2f6dff; border: 1px solid rgba(11,18,32,.1); transition: background .15s ease, color .15s ease; }
.nav__fb:hover { background: #2f6dff; color: #fff; border-color: #2f6dff; }
 */

/* ── Product sub-nav (in-page anchors) ───────────────────────────────── */
.subnav {
  position: sticky; top: 73px; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(251,252,254,.92); backdrop-filter: blur(12px);
}
.subnav__name { display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 15px; color: #0b1220; white-space: nowrap; }
.subnav__name .mono { font-family: "Commit Mono", monospace; font-size: 11px; font-weight: 400; letter-spacing: .1em; color: #7a8ea8; }
.subnav__links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.subnav__links a { text-decoration: none; font-size: 13px; color: #3d5070; border: 1px solid rgba(11,18,32,.12); border-radius: 9999px; padding: 7px 15px; transition: all .15s ease; white-space: nowrap; }
.subnav__links a:hover { color: #2f6dff; border-color: rgba(47,109,255,.4); background: rgba(47,109,255,.05); }
.subnav__cta { text-decoration: none; font-size: 13px; font-weight: 500; color: #fff; background: linear-gradient(135deg,#2f6dff,#0a3fd0); border-radius: 9px; padding: 8px 18px; white-space: nowrap; box-shadow: 0 6px 16px rgba(47,109,255,.28); }

@media (max-width: 900px) {
  .subnav { flex-wrap: wrap; }
  .subnav__name { width: 100%; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 56px 20px;
    background: #fff; border-bottom: 1px solid rgba(11,18,32,.08);
    box-shadow: 0 12px 24px rgba(11,18,32,.08);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid rgba(11,18,32,.06); }
  .nav__links a.is-active::after { display: none; }
  .nav__fb { align-self: flex-start; margin-top: 12px; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; display: grid; grid-template-columns: 1.04fr .96fr;
  align-items: center; gap: 40px; padding-top: 84px; padding-bottom: 72px;
  overflow: hidden; background: #fbfcfe;
}
.hero__halo {
  position: absolute; top: -140px; right: -120px; width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,109,255,.1), rgba(47,109,255,0) 62%);
  pointer-events: none;
}
.hero__copy { position: relative; z-index: 2; }
.eyebrow {
  font-family: "Commit Mono", monospace; font-size: 12px; letter-spacing: .28em;
  color: #7a8ea8; text-transform: uppercase; margin-bottom: 18px;
}
.hero__h1 {
  font-family: Arial, "Helvetica Neue", sans-serif; font-weight: 400;
  font-size: 112px; line-height: 1.14; letter-spacing: 0;
  margin: 0 0 8px; padding: 6px 4px 6px 0; color: #0b1220;
  overflow: visible; white-space: nowrap;
}
.rule { width: 108px; height: 3px; background: linear-gradient(90deg,#2f6dff,#3ad2ff); border-radius: 2px; margin: 14px 0 24px; }
.hero__sub { font-size: 24px; font-weight: 300; letter-spacing: .04em; color: #0b1220; margin-bottom: 24px; }
.hero__lede { font-size: 15.5px; line-height: 1.85; font-weight: 300; color: #3d5070; max-width: 440px; margin: 0 0 36px; text-wrap: pretty; }

.hero__stage {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  min-height: 500px;
}
.halo--stage {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,109,255,.14), rgba(47,109,255,0) 64%);
}
.orbit { position: absolute; border-radius: 50%; }
.orbit--1 { width: 440px; height: 440px; border: 1px solid rgba(47,109,255,.16); animation: vsOrbit 26s linear infinite; }
.orbit--2 { width: 336px; height: 336px; border: 1px dashed rgba(47,109,255,.18); animation: vsOrbit 18s linear infinite reverse; }
.hero__device {
  position: relative; z-index: 1; width: 430px; height: auto;
  filter: drop-shadow(0 34px 46px rgba(11,18,32,.26));
  animation: vsFloat 6s ease-in-out infinite;
}
.chip {
  position: absolute; background: #fff; border: 1px solid rgba(11,18,32,.08);
  border-radius: 9px; padding: 8px 13px; font-family: "Commit Mono", monospace;
  font-size: 11px; color: #3d5070; white-space: nowrap; box-shadow: 0 6px 18px rgba(11,18,32,.1);
}
.chip i, .chip { }
.chip--tr { top: 64px; right: 18px; }
.chip--bl { bottom: 96px; left: 6px; }
.chip::first-letter { color: #2f6dff; }

/* ── Metrics ─────────────────────────────────────────────────────────── */
.metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(11,18,32,.08); border-bottom: 1px solid rgba(11,18,32,.08);
}
.metric { padding: 32px 40px; }
.metric + .metric { border-left: 1px solid rgba(11,18,32,.08); }
.metric__num { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 50px; line-height: 1; color: #0b1220; }
.metric__unit { font-family: "Commit Mono", monospace; font-size: 17px; color: #2f6dff; margin-left: 4px; }
.metric__label { font-size: 12.5px; color: #7a8ea8; margin-top: 8px; letter-spacing: .04em; }

/* ── Marquee ─────────────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; white-space: nowrap; padding: 15px 0;
  background: #f4f6fb; border-bottom: 1px solid rgba(11,18,32,.06);
}
.marquee__track { display: inline-flex; animation: vsMarquee 28s linear infinite; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 30px;
  font-family: "Commit Mono", monospace; font-size: 12px; letter-spacing: .1em; color: #7a8ea8;
}
.marquee__item i { width: 4px; height: 4px; border-radius: 50%; background: #2f6dff; }

/* ── Feature 1 (anti-residue) ────────────────────────────────────────── */
.feat1 {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background: #0a0d14;
  overflow: hidden;
}
.feat1__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.feat1__grad { position: absolute; inset: 0; background: linear-gradient(90deg, #05070c 26%, rgba(5,7,12,.85) 46%, rgba(5,7,12,0) 78%); }
.feat1__inner { position: relative; z-index: 2; max-width: 560px; padding-top: 80px; padding-bottom: 80px; }
.tagline { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.pill-tag { font-family: "Commit Mono", monospace; font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.2); border-radius: 5px; padding: 3px 8px; }
.feat1__h2 { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 48px; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 20px; color: #fff; }
.feat1__p { font-size: 15.5px; line-height: 1.9; font-weight: 300; color: rgba(255,255,255,.72); margin: 0 0 26px; max-width: 430px; text-wrap: pretty; }
.statline { display: flex; gap: 24px; }
.statline__num { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 34px; color: #fff; }
.statline__u { font-size: 14px; color: #3ad2ff; font-family: "Commit Mono", monospace; margin-left: 3px; }
.statline__cap { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; }
.statline__div { width: 1px; background: rgba(255,255,255,.14); }

/* ── Feature 2 (speed) ───────────────────────────────────────────────── */
.feat2 {
  position: relative; min-height: 380px; display: flex; align-items: center;
  background: #03060f;
  overflow: hidden;
}
.feat2__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feat2__grad { position: absolute; inset: 0; background: linear-gradient(90deg, #03060f 24%, rgba(3,6,15,.7) 50%, rgba(3,6,15,.2) 100%); }
.feat2__inner { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; display: flex; align-items: center; gap: 36px; }
.feat2__num { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 120px; line-height: .8; color: #fff; letter-spacing: -.04em; }
.feat2__unit { font-family: "Commit Mono", monospace; font-size: 28px; color: #3ad2ff; letter-spacing: 0; }
.feat2__body { max-width: 380px; }
.feat2__h2 { font-size: 24px; font-weight: 700; margin: 0 0 12px; color: #fff; }
.feat2__p { font-size: 14.5px; line-height: 1.85; font-weight: 300; color: rgba(255,255,255,.7); margin: 0; text-wrap: pretty; }

/* ── Feature cards 3+4 ───────────────────────────────────────────────── */
.fcards { padding-top: 84px; padding-bottom: 84px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card--sdk { border: 1px solid rgba(11,18,32,.08); background: #fff; }
.card__media { position: relative; background: #f4f6fb; height: 240px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.card__badge { position: absolute; top: 20px; left: 22px; font-family: "Commit Mono", monospace; font-size: 10.5px; letter-spacing: .1em; color: #2f6dff; background: #fff; border: 1px solid rgba(47,109,255,.2); border-radius: 6px; padding: 5px 11px; }
.card__body { padding: 30px 32px; }
.card__body h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: #0b1220; }
.card__body p { font-size: 14px; line-height: 1.8; font-weight: 300; color: #5d6f8c; margin: 0; text-wrap: pretty; }
.card--chip { justify-content: space-between; padding: 38px 36px; background: linear-gradient(150deg,#0b1220,#16243f); color: #fff; }
.card__icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(58,210,255,.12); border: 1px solid rgba(58,210,255,.3); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: #3ad2ff; }
.card--chip h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.card__p-light { font-size: 14px; line-height: 1.8; font-weight: 300; color: rgba(255,255,255,.66); margin: 0; text-wrap: pretty; }
.card__foot { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .08em; color: #3ad2ff; }
.card__foot i { width: 6px; height: 6px; border-radius: 50%; background: #3ad2ff; }

/* ── Scene ───────────────────────────────────────────────────────────── */
.scene {
  display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch;
  background: radial-gradient(120% 100% at 100% 50%, #0c1320 0%, #05070c 62%);
  overflow: hidden;
}
.scene__text { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; justify-content: center; }
.scene__h2 { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 46px; line-height: 1.06; letter-spacing: -.02em; margin: 0 0 18px; color: #fff; }
.scene__p { font-size: 15px; line-height: 1.85; font-weight: 300; color: rgba(255,255,255,.82); margin: 0; max-width: 420px; text-wrap: pretty; }
.scene__img { position: relative; min-height: 520px; margin-left: -13%; }
.scene__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.scene__fade { position: absolute; inset: 0; background: linear-gradient(90deg, #05070c 0%, rgba(7,10,18,.55) 22%, rgba(7,10,18,0) 48%); pointer-events: none; }

.industry { padding-top: 64px; padding-bottom: 84px; }
.industry__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ind { border: 1px solid rgba(11,18,32,.08); border-radius: 16px; padding: 32px 28px; background: #fff; color: #2f6dff; }
.ind svg { margin-bottom: 18px; }
.ind h4 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #0b1220; }
.ind p { font-size: 13.5px; line-height: 1.75; font-weight: 300; color: #5d6f8c; margin: 0; text-wrap: pretty; }

/* ── Specs ───────────────────────────────────────────────────────────── */
.specs { padding-top: 84px; padding-bottom: 84px; background: #f4f6fb; border-top: 1px solid rgba(11,18,32,.06); }
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.kicker .mono-accent { color: #2f6dff; letter-spacing: .18em; }
.kicker__rule { flex: 1; height: 1px; background: rgba(11,18,32,.08); }
.specs__box { background: #fff; border: 1px solid rgba(11,18,32,.08); border-radius: 14px; overflow: hidden; }
.specs__table { width: 100%; border-collapse: collapse; }
.specs__table tr { display: grid; grid-template-columns: 1fr 1fr; }
.specs__table th, .specs__table td { padding: 15px 26px; border-bottom: 1px solid rgba(11,18,32,.06); text-align: left; font-weight: 400; }
.specs__table th { font-size: 13.5px; color: #7a8ea8; }
.specs__table td { font-family: "Commit Mono", "Noto Sans TC", monospace; font-size: 13.5px; color: #0b1220; text-align: right; }
/* two-column layout on wide screens */
@media (min-width: 901px) {
  .specs__table tbody { display: grid; grid-template-columns: 1fr 1fr; }
  .specs__table tbody tr:nth-child(-n+8) { border-right: 1px solid rgba(11,18,32,.06); }
}

/* ── CTA ─────────────────────────────────────────────────────────────── */
.cta-wrap { padding-top: 84px; padding-bottom: 96px; }
.cta { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg,#0a3fd0,#2f6dff); padding: 72px 48px; text-align: center; }
.cta__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 42px 42px; pointer-events: none; }
.cta__inner { position: relative; z-index: 1; }
.cta__h2 { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 54px; line-height: 1.06; letter-spacing: -.02em; margin: 0 0 18px; color: #fff; }
.cta__p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.78); max-width: 420px; margin: 0 auto 36px; line-height: 1.8; }

/* CTA + 產品諮詢 combined layout */
.cta--consult { text-align: left; padding: 60px 56px; }
.cta__split { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta__left { display: flex; flex-direction: column; }
.cta--consult .cta__h2 { margin-bottom: 16px; }
.cta__p--left { text-align: left; margin: 0 0 28px; max-width: 400px; }
.cta__contacts { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.cta__contact { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.9); font-size: 14.5px; }
.cta__contact svg { flex-shrink: 0; opacity: .85; }
.cta__contact a { color: #fff; text-decoration: none; }
.cta__contact a:hover { text-decoration: underline; }

.consult-form { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 30px; backdrop-filter: blur(8px); }
.consult-form__title { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.consult-form__sub { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.6); margin: 0 0 20px; }
.consult-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; color: rgba(255,255,255,.75); }
.field label .req { color: #ffd7cc; }
.field input, .field textarea {
  font-family: inherit; font-size: 14px; color: #0b1220;
  background: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 9px;
  padding: 11px 13px; width: 100%; box-sizing: border-box;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: #3ad2ff; box-shadow: 0 0 0 3px rgba(58,210,255,.35); }
.consult-form .btn { margin-top: 4px; display: flex; width: max-content; margin-left: auto; }
.consult-form .btn--ghost { color: #0b1220; background: #fff; border-color: #fff; }
.consult-form .btn--ghost:hover { background: rgba(255,255,255,.88); }
.consult-form__note { font-size: 11.5px; color: rgba(255,255,255,.55); margin: 12px 0 0; text-align: center; line-height: 1.6; }
.consult-form__ok { display: none; text-align: center; padding: 30px 10px; color: #fff; }
.consult-form__ok svg { color: #3ad2ff; margin-bottom: 12px; }
.consult-form.is-sent .consult-form__body { display: none; }
.consult-form.is-sent .consult-form__ok { display: block; }

/* consult section stacks on tablet (≤1024px), same as mobile */
@media (max-width: 1024px) {
  .cta--consult { text-align: left; padding: 48px 40px; }
  .cta__split { grid-template-columns: 1fr; gap: 32px; }
  .cta__p--left { max-width: none; }
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid rgba(11,18,32,.08); background: #fafbfd; }
.footer span { font-size: 13px; color: #5d6f8c; }
.footer__tel { font-family: "Commit Mono", monospace; font-size: 11px !important; color: #9aa9bd !important; letter-spacing: .06em; }

/* ── Scroll-reveal (added by script.js) ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Keyframes ───────────────────────────────────────────────────────── */
@keyframes vsPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.6); } }
@keyframes vsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vsFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes vsOrbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ── RWD ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 48px; }
  .hero__stage { min-height: 400px; order: -1; }
  .fcards { grid-template-columns: 1fr; }
  .industry__grid { grid-template-columns: 1fr 1fr; }
  .feat1 { min-height: 0; }
  .feat1__inner { padding-top: 56px; padding-bottom: 56px; }
  .feat2__inner { padding-top: 48px; padding-bottom: 48px; }
  .specs__table tr { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .pad { padding-left: 22px; padding-right: 22px; }
  .nav__links { display: none; }
  .hero__h1 { font-size: 74px; }
  .section-title, .scene__h2 { font-size: 32px; }
  .hero__stage { min-height: 340px; }
  .hero__device { width: 74vw; max-width: 300px; }
  .orbit, .hero__halo, .halo--stage { display: none; }
  .chip { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric__num { font-size: 40px; }
  .metric + .metric { border-left: none; }
  .metric--3 { border-top: 1px solid rgba(11,18,32,.08); grid-column: 1 / -1; }
  .metric:nth-child(2) { border-left: 1px solid rgba(11,18,32,.08); }
  .feat1__inner { padding-top: 48px; padding-bottom: 48px; }
  .feat1__grad { background: linear-gradient(90deg, rgba(5,7,12,.92) 0%, rgba(5,7,12,.78) 60%, rgba(5,7,12,.45) 100%); }
  .feat2__inner { flex-wrap: wrap; gap: 16px; }
  .feat2__num { font-size: 80px; }
  .scene { grid-template-columns: 1fr; }
  .scene__text { order: -1; }
  .scene__img { min-height: 440px; margin-left: 0; }
  .scene__fade { background: linear-gradient(0deg, rgba(7,10,18,0) 60%, #05070c 100%); }
  .scene__h2 { font-size: 34px; }
  .industry__grid { grid-template-columns: 1fr; }
  .cta__h2 { font-size: 38px; }
  .cta { padding: 48px 26px; }
  .cta--consult { padding: 40px 24px; }
  .cta__split { grid-template-columns: 1fr; gap: 32px; }
  .cta__p--left { max-width: none; }
  .footer { flex-direction: column; gap: 8px; align-items: center; }
  .specs__table tbody { grid-template-columns: 1fr; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit, .hero__device, .marquee__track { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   PRODUCTS PAGE
   ========================================================================== */

/* sub-hero (compact page header) */
.subhero {
  position: relative; overflow: hidden;
  padding-top: 76px; padding-bottom: 56px;
  background: #fbfcfe;
  background-image:
    linear-gradient(rgba(11,18,32,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,18,32,.028) 1px, transparent 1px);
  background-size: 46px 46px;
  border-bottom: 1px solid rgba(11,18,32,.08);
}
.subhero__halo {
  position: absolute; top: -180px; right: -140px; width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,109,255,.12), rgba(47,109,255,0) 62%);
  pointer-events: none;
}
.subhero__inner { position: relative; z-index: 2; max-width: 640px; }
.subhero__eyebrow { font-family: "Commit Mono", monospace; font-size: 12px; letter-spacing: .26em; color: #7a8ea8; text-transform: uppercase; margin-bottom: 16px; }
.subhero__h1 { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 60px; line-height: 1.02; letter-spacing: -.025em; color: #0b1220; margin: 0 0 18px; }
.subhero__lede { font-size: 16px; line-height: 1.85; font-weight: 300; color: #3d5070; max-width: 520px; margin: 0; text-wrap: pretty; }

/* category jump-chips */
.catnav { position: sticky; top: 73px; z-index: 40; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(11,18,32,.08); }
.catnav a { text-decoration: none; font-size: 13px; color: #3d5070; border: 1px solid rgba(11,18,32,.12); border-radius: 9999px; padding: 8px 16px; transition: all .15s ease; white-space: nowrap; }
.catnav a:hover { color: #2f6dff; border-color: rgba(47,109,255,.4); background: rgba(47,109,255,.05); }

/* category section */
.cat { padding-top: 72px; padding-bottom: 8px; scroll-margin-top: 130px; }
.cat__head { margin-bottom: 34px; max-width: 720px; }
.cat__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cat__num { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .18em; color: #2f6dff; }
.cat__rule { flex: 1; height: 1px; background: rgba(11,18,32,.08); }
.cat__title { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 38px; letter-spacing: -.02em; color: #0b1220; margin: 0 0 12px; }
.cat__desc { font-size: 14.5px; line-height: 1.8; font-weight: 300; color: #5d6f8c; margin: 0; text-wrap: pretty; }

/* product grid + cards */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-grid--2 { grid-template-columns: repeat(2, 1fr); }
.prod-card {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(11,18,32,.08); border-radius: 16px; background: #fff;
  padding: 30px 30px 26px; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11,18,32,.1); border-color: rgba(47,109,255,.28); }
.prod-card__icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(47,109,255,.08); border: 1px solid rgba(47,109,255,.2); display: flex; align-items: center; justify-content: center; color: #2f6dff; margin-bottom: 20px; }
.prod-card__title { font-size: 18.5px; font-weight: 700; color: #0b1220; margin: 0 0 10px; letter-spacing: -.01em; }
.prod-card__desc { font-size: 13.5px; line-height: 1.75; font-weight: 300; color: #5d6f8c; margin: 0 0 20px; text-wrap: pretty; flex: 1; }
.prod-card__more { font-family: "Commit Mono", monospace; font-size: 12px; letter-spacing: .04em; color: #2f6dff; display: inline-flex; align-items: center; gap: 6px; }
.prod-card__more svg { transition: transform .18s ease; }
.prod-card:hover .prod-card__more svg { transform: translateX(4px); }

/* featured product card (VScan, with image) */
.prod-feature { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border: 1px solid rgba(11,18,32,.08); border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: box-shadow .2s ease, border-color .2s ease; }
.prod-feature:hover { box-shadow: 0 20px 50px rgba(11,18,32,.12); border-color: rgba(47,109,255,.28); }
.prod-feature__media { position: relative; background: radial-gradient(circle at 50% 45%, rgba(47,109,255,.1), rgba(47,109,255,0) 60%), #f4f6fb; display: flex; align-items: center; justify-content: center; min-height: 300px; padding: 30px; }
.prod-feature__media img { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 24px 34px rgba(11,18,32,.2)); }
.prod-feature__badge { position: absolute; top: 22px; left: 24px; font-family: "Commit Mono", monospace; font-size: 10.5px; letter-spacing: .12em; color: #2f6dff; background: #fff; border: 1px solid rgba(47,109,255,.2); border-radius: 6px; padding: 5px 11px; }
.prod-feature__body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.prod-feature__tag { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .14em; color: #7a8ea8; margin-bottom: 12px; }
.prod-feature__title { font-size: 28px; font-weight: 700; color: #0b1220; margin: 0 0 14px; letter-spacing: -.01em; }
.prod-feature__desc { font-size: 14.5px; line-height: 1.85; font-weight: 300; color: #3d5070; margin: 0 0 24px; text-wrap: pretty; }
.prod-feature__specs { display: flex; gap: 26px; margin-bottom: 26px; }
.prod-feature__specs .s-num { font-family: "Everett", "Noto Sans TC", sans-serif; font-weight: 300; font-size: 30px; color: #0b1220; line-height: 1; }
.prod-feature__specs .s-u { font-family: "Commit Mono", monospace; font-size: 13px; color: #2f6dff; }
.prod-feature__specs .s-cap { font-size: 11.5px; color: #7a8ea8; margin-top: 6px; }
.prod-feature__specs .s-div { width: 1px; background: rgba(11,18,32,.1); }

/* healthcare list-style items */
.med-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.med-item { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; border: 1px solid rgba(11,18,32,.08); border-radius: 14px; background: #fff; padding: 22px 24px; }
.med-item__n { font-family: "Commit Mono", monospace; font-size: 12px; color: #2f6dff; }
.med-item h4 { font-size: 16px; font-weight: 700; color: #0b1220; margin: 0 0 6px; }
.med-item p { font-size: 13px; line-height: 1.7; font-weight: 300; color: #5d6f8c; margin: 0; text-wrap: pretty; }

@media (max-width: 900px) {
  .prod-grid, .prod-grid--2 { grid-template-columns: 1fr 1fr; }
  .prod-feature { grid-template-columns: 1fr; }
  .med-list { grid-template-columns: 1fr; }
  .subhero__h1 { font-size: 46px; }
}
@media (max-width: 620px) {
  .prod-grid, .prod-grid--2 { grid-template-columns: 1fr; }
  .subhero__h1 { font-size: 38px; }
  .cat__title { font-size: 28px; }
  .catnav { top: 61px; }
  .prod-feature__body { padding: 32px 26px; }
}

/* ==========================================================================
   EMS — 排隊叫號系統 detail page
   ========================================================================== */

/* hero 叫號看板 visual */
.board {
  position: relative; z-index: 1; width: 100%; max-width: 460px;
  background: linear-gradient(160deg,#0b1220,#16243f); border-radius: 20px;
  padding: 26px 26px 22px; color: #fff;
  box-shadow: 0 34px 60px rgba(11,18,32,.3);
  border: 1px solid rgba(255,255,255,.06);
}
.board__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.board__label { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .18em; color: #3ad2ff; }
.board__wait { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.16); border-radius: 9999px; padding: 5px 12px; }
.board__now {
  display: flex; flex-direction: column; align-items: center;
  padding: 26px 0 28px; border-radius: 14px;
  background: radial-gradient(circle at 50% 40%, rgba(47,109,255,.28), rgba(47,109,255,0) 70%);
}
.board__now-cap { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.board__num { font-family: "Everett","Noto Sans TC",sans-serif; font-weight: 300; font-size: 82px; line-height: 1; letter-spacing: .02em; color: #fff; opacity: 1; }
.board__num.is-flip { animation: emsFlip .4s ease; }
@keyframes emsFlip { 0% { transform: translateY(-8px); } 100% { transform: none; } }
.board__counters { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.counter-cell { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 12px 10px; text-align: center; }
.counter-cell .c-desk { font-family: "Commit Mono", monospace; font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 5px; }
.counter-cell .c-num { font-family: "Everett","Noto Sans TC",sans-serif; font-weight: 300; font-size: 24px; color: #3ad2ff; line-height: 1; }
.board__ticker { margin-top: 16px; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
.board__ticker span { font-family: "Commit Mono", monospace; font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.5); display: inline-block; animation: vsMarquee 16s linear infinite; }

/* support chips row */
.chips-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip-pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(11,18,32,.1); border-radius: 9999px; padding: 12px 20px; background: #fff; font-size: 14px; color: #0b1220; }
.chip-pill svg { color: #2f6dff; }

/* benefits row */
.benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.benefit { border: 1px solid rgba(11,18,32,.08); border-radius: 16px; padding: 30px 26px; background: #fff; }
.benefit__icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(47,109,255,.08); border: 1px solid rgba(47,109,255,.2); display: flex; align-items: center; justify-content: center; color: #2f6dff; margin-bottom: 18px; }
.benefit h4 { font-size: 16.5px; font-weight: 700; color: #0b1220; margin: 0 0 8px; }
.benefit p { font-size: 13px; line-height: 1.7; font-weight: 300; color: #5d6f8c; margin: 0; text-wrap: pretty; }

@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .benefits { grid-template-columns: 1fr; }
  .board__num { font-size: 64px; }
}
