:root {
  --brand: #3b6e8f;
  --brand-deep: #2a536d;
  --brand-soft: #d7e4ec;
  --ink: #15202b;
  --muted: #5b6b78;
  --line: rgba(21, 32, 43, 0.12);
  --paper: #eef3f6;
  --paper-2: #f7fafb;
  --white: #ffffff;
  --warn: #b7791f;
  --ok: #2f6f4e;
  --shadow: 0 24px 60px rgba(21, 32, 43, 0.12);
  --radius: 18px;
  --font-display: "Syne", "Noto Sans TC", sans-serif;
  --font-body: "Noto Sans TC", system-ui, sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(59, 110, 143, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(215, 228, 236, 0.9), transparent 50%),
    linear-gradient(180deg, #f4f7f9 0%, var(--paper) 40%, #e8eef2 100%);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

address {
  font-style: normal;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 249, 0.84);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 251, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--brand);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--brand-deep);
}

.menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0;
  cursor: pointer;
}

.menu-btn span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 1.5px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 251, 0.98);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  font-weight: 500;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 3.5rem;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 110, 143, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 110, 143, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

.hero-glow {
  position: absolute;
  right: -10%;
  top: 10%;
  width: 55vw;
  max-width: 680px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(59, 110, 143, 0.22), transparent 68%);
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: none;
}

.brand-line {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  letter-spacing: 0.12em;
  color: var(--brand-deep);
}

.headline,
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  font-weight: 800;
}

.headline {
  display: block;
  max-width: 9em;
}

.lede,
.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.lede {
  margin: 1.25rem 0 1.25rem;
}

.hero-punchline {
  margin: 0.85rem 0 0;
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
  max-width: none;
}

.hero-phone {
  display: inline-block;
  margin: 0.35rem 0 0;
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-phone:hover {
  color: var(--brand);
}

.outcome-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.15rem 0 1.25rem;
  max-width: 34rem;
}

.outcome-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 7.5rem;
  padding: 1rem 0.6rem;
  text-align: center;
  background: linear-gradient(165deg, #1c2a36 0%, #2a536d 55%, #3b6e8f 100%);
  border: 1px solid rgba(232, 238, 242, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(21, 32, 43, 0.22);
  color: #e8eef2;
  transform: translateZ(0);
  animation: outcome-pop 0.7s ease both;
}

.outcome-chip:nth-child(2) {
  animation-delay: 0.08s;
}

.outcome-chip:nth-child(3) {
  animation-delay: 0.16s;
}

.outcome-chip span {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.outcome-chip img {
  width: 56px;
  height: 56px;
  filter: brightness(1.08);
}

@keyframes outcome-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--ink);
}

.hero-cred {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-certs img {
  height: 44px;
  width: auto;
  max-width: 68px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem 0.45rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.panel {
  width: min(100%, 440px);
  background: linear-gradient(160deg, #1c2a36 0%, #243846 45%, #2f4d63 100%);
  color: #e8eef2;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(232, 238, 242, 0.12);
  animation: rise-in 0.9s ease both;
  opacity: 1;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(232, 238, 242, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(232, 238, 242, 0.28);
}

.panel-title {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.panel-body {
  padding: 1.25rem 1.15rem 1.35rem;
}

.signal-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.signal-line {
  height: 2px;
  background: rgba(232, 238, 242, 0.18);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.signal-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, #9ec3d8, transparent);
  animation: pulse-line 2.4s ease-in-out infinite;
}

.meter-block {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 110px;
  margin: 1.25rem 0 1rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.meter {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  border-radius: 6px;
  background: rgba(232, 238, 242, 0.06);
  overflow: hidden;
}

.meter span {
  display: block;
  width: 100%;
  height: var(--h);
  background: linear-gradient(180deg, #9ec3d8, #3b6e8f);
  border-radius: 6px 6px 0 0;
  animation: meter-breathe 3s ease-in-out infinite;
}

.meter:nth-child(2) span { animation-delay: 0.2s; }
.meter:nth-child(3) span { animation-delay: 0.4s; }
.meter:nth-child(4) span { animation-delay: 0.15s; }
.meter:nth-child(5) span { animation-delay: 0.35s; }
.meter:nth-child(6) span { animation-delay: 0.5s; }

.status-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.86rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.status b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status.ok {
  color: #8fcdb0;
}

.status.warn {
  color: #e0c07a;
}

.ui-keys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.ui-keys span {
  text-align: center;
  padding: 0.7rem 0.5rem;
  border-radius: 10px;
  background: rgba(232, 238, 242, 0.08);
  border: 1px solid rgba(232, 238, 242, 0.1);
  font-size: 0.82rem;
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  font-weight: 700;
}

.section-desc {
  margin: 0;
}

.pain {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45) 20%, rgba(255, 255, 255, 0.45) 80%, transparent);
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pain-item {
  padding: 1.25rem 1.25rem 1.4rem;
  border-top: 2px solid var(--brand);
  background: rgba(255, 255, 255, 0.55);
}

.pain-item .fig {
  width: 100%;
  max-width: 160px;
  height: auto;
  margin: 0 0 0.85rem;
}

.pain-num {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  color: var(--brand);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.pain-item h3,
.service h3,
.case h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.pain-item p,
.service p,
.case p {
  margin: 0;
  color: var(--muted);
}

.pain-punch {
  margin: 2.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--brand-deep);
}

.service-stack {
  display: grid;
  gap: 1rem;
}

.service {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service:nth-child(even) {
  background: rgba(215, 228, 236, 0.35);
}

.service:nth-child(even) {
  grid-template-columns: 1fr 200px;
}

.service:nth-child(even) .service-fig {
  order: 2;
}

.service-fig {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.service-copy h3 {
  margin: 0 0 0.55rem;
}

.service ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service li + li {
  margin-top: 0.35rem;
}

.approach {
  background:
    linear-gradient(135deg, rgba(59, 110, 143, 0.08), transparent 40%),
    rgba(255, 255, 255, 0.35);
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.2rem 0 1.2rem 4rem;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
}

.steps strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.steps span {
  color: var(--muted);
}

.approach-fig {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin-top: 0.5rem;
}

.si-fig {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 0 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.75rem;
  border: 1px solid var(--line);
}

.partners {
  background:
    linear-gradient(180deg, rgba(59, 110, 143, 0.1), rgba(59, 110, 143, 0.04)),
    rgba(255, 255, 255, 0.5);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.partner-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.partner-card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.partner-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.partner-card li + li {
  margin-top: 0.45rem;
}

.partner-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #e8eef2;
}

.partner-cta p {
  margin: 0;
  max-width: 36rem;
}

.partner-cta .btn-primary {
  background: #e8eef2;
  color: var(--ink);
}

.partner-cta .btn-primary:hover {
  background: var(--white);
}

.proof {
  padding: 3.5rem 0 2rem;
}

.proof-head {
  margin-bottom: 1.75rem;
}

.proof-head h2 {
  margin: 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.cert-card {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.1rem 0.75rem 1.15rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cert-card img {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.cert-card figcaption {
  display: grid;
  gap: 0.2rem;
}

.cert-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.cert-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #e8eef2;
}

.proof-bar strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.proof-bar span {
  color: rgba(232, 238, 242, 0.68);
  font-size: 0.88rem;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.exp-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -0.5rem 0 1.75rem;
}

.exp-bar span {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-deep);
  font-size: 0.86rem;
  font-weight: 600;
}

.case {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.case-tag {
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
}

.case-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact {
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-points li {
  display: grid;
  gap: 0.2rem;
}

.contact-points span {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-points a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: none;
}

.contact-points a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: var(--paper-2);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(59, 110, 143, 0.35);
  border-color: var(--brand);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-note.is-success {
  color: var(--ok);
}

.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(21, 32, 43, 0.22);
  text-decoration: none;
  opacity: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-float:hover {
  background: #1ebe57;
  transform: translateY(-2px) scale(1.04);
}

.wa-float img {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: rgba(255, 255, 255, 0.4);
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-brand span,
.site-footer p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.copyright {
  margin-top: 0.5rem !important;
  font-size: 0.8rem !important;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, 6%, 0) scale(1.08); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-line {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@keyframes meter-breathe {
  0%, 100% { transform: scaleY(1); transform-origin: bottom; }
  50% { transform: scaleY(0.86); transform-origin: bottom; }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-block;
  }

  .approach-grid,
  .contact-grid,
  .service,
  .service:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service:nth-child(even) .service-fig {
    order: 0;
  }

  .service-fig {
    max-width: 220px;
  }

  .pain-list,
  .case-list,
  .proof-bar,
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-visual {
    justify-content: stretch;
  }

  .panel {
    width: 100%;
  }

  .outcome-row {
    max-width: none;
    gap: 0.55rem;
  }

  .outcome-chip {
    min-height: 6.4rem;
    padding: 0.85rem 0.4rem;
  }

  .outcome-chip span {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
    letter-spacing: 0.04em;
  }

  .outcome-chip img {
    width: 44px;
    height: 44px;
  }

  .pain-list,
  .case-list,
  .proof-bar,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-cta {
    align-items: flex-start;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-block;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  :root {
    --shell: min(1120px, calc(100% - 1.5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow,
  .signal-line i,
  .meter span,
  .panel,
  .outcome-chip {
    animation: none;
  }
}

/* —— 條屏機產品頁 —— */
.product-hero,
#method,
#fit,
#partners,
#cases,
#contact,
#pain,
#services,
#compare,
#led-player,
#classroom,
#optimize,
#security,
#about,
#si {
  scroll-margin-top: 4.75rem;
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 3.25rem;
}

.product-hero-intro {
  position: relative;
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.product-hero-intro .headline {
  max-width: 12em;
}

.product-hero-intro .lede:last-of-type {
  margin-bottom: 1.35rem;
}

.product-hero-visual {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-hero-visual img,
.product-closeup img,
.product-teaser-visual img {
  width: 100%;
  height: auto;
}

.compare-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.compare-legend p {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.compare-legend strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.legend-bad {
  border-left: 4px solid #b54a4a;
}

.legend-good {
  border-left: 4px solid var(--ok);
}

.product-closeup {
  margin: 0 0 2rem;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(21, 32, 43, 0.1);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.method-card {
  padding: 1.2rem 1.15rem 1.3rem;
  border-top: 2px solid var(--brand);
  background: rgba(255, 255, 255, 0.58);
}

.method-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-fit {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45) 18%, rgba(255, 255, 255, 0.45) 82%, transparent);
}

.fit-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 36rem;
}

.fit-yes {
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.fit-yes h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: var(--ok);
}

.fit-yes ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.fit-yes li + li {
  margin-top: 0.45rem;
}

.product-security {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45) 18%, rgba(255, 255, 255, 0.45) 82%, transparent);
}

.product-security .product-closeup {
  margin-bottom: 0.75rem;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.security-card {
  padding: 1.2rem 1.15rem 1.3rem;
  border-top: 2px solid var(--ok);
  background: rgba(255, 255, 255, 0.58);
}

.security-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.security-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-teaser {
  padding-top: 0;
}

.product-teaser + .product-teaser {
  padding-top: 1.5rem;
}

.product-teaser-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-teaser-grid h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.product-teaser-grid p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  max-width: 28rem;
}

.about-exp {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.about-exp > h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.about-exp > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

.product-teaser-visual {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

@media (max-width: 960px) {
  .method-grid,
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-teaser-grid,
  .fit-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .product-hero {
    padding-top: 1.75rem;
  }

  .product-hero-intro .headline {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .compare-legend,
  .method-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .product-teaser-grid {
    padding: 1.25rem;
  }
}
