:root {
  --jw-ink: #102031;
  --jw-muted: #5f6f7d;
  --jw-blue: #2f6da5;
  --jw-blue-dark: #173c5f;
  --jw-copper: #c67a2d;
  --jw-line: #dce3e8;
  --jw-surface: #f4f7f9;
  --jw-white: #ffffff;
  --jw-shadow: 0 18px 44px rgba(15, 33, 49, 0.1);
}

html {
  scroll-behavior: smooth;
}

body.product-seo-page {
  background: var(--jw-white);
  color: var(--jw-ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.75;
}

.product-seo-page .navigation {
  box-shadow: 0 1px 0 rgba(16, 32, 49, 0.1);
}

.seo-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 76px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(10, 31, 50, 0.97) 0%, rgba(20, 58, 88, 0.92) 64%, rgba(35, 93, 135, 0.86) 100%),
    url("../images/slider/bg1.jpg") center / cover;
}

.seo-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.seo-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1020px;
}

.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #9dc9e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.seo-eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--jw-copper);
}

.seo-hero h1 {
  max-width: 1020px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.seo-hero__lead {
  max-width: 780px;
  margin: 0;
  color: #dceaf4;
  font-size: clamp(17px, 2vw, 21px);
}

.seo-hero__actions,
.seo-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.seo-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.seo-button:hover,
.seo-button:focus {
  transform: translateY(-2px);
}

.seo-button--primary {
  color: #fff !important;
  background: var(--jw-copper);
}

.seo-button--primary:hover,
.seo-button--primary:focus {
  background: #a95f18;
}

.seo-button--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.seo-button--light {
  border-color: var(--jw-line);
  color: var(--jw-blue-dark) !important;
  background: #fff;
}

.seo-breadcrumb {
  padding: 15px 0;
  border-bottom: 1px solid var(--jw-line);
  color: var(--jw-muted);
  background: #fff;
  font-size: 14px;
}

.seo-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-breadcrumb li + li::before {
  margin-right: 8px;
  color: #9aa6af;
  content: "/";
}

.seo-breadcrumb a {
  color: var(--jw-blue);
}

.seo-trust {
  border-bottom: 1px solid var(--jw-line);
  background: #fff;
}

.seo-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.seo-trust__item {
  padding: 22px 24px;
  border-left: 1px solid var(--jw-line);
}

.seo-trust__item:last-child {
  border-right: 1px solid var(--jw-line);
}

.seo-trust__item strong,
.seo-trust__item span {
  display: block;
}

.seo-trust__item strong {
  color: var(--jw-blue-dark);
  font-size: 18px;
}

.seo-trust__item span {
  color: var(--jw-muted);
  font-size: 13px;
}

.seo-section {
  padding: 78px 0;
}

.seo-section--soft {
  background: var(--jw-surface);
}

.seo-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.seo-section-heading h2 {
  margin: 0;
  color: var(--jw-ink);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}

.seo-section-heading p {
  margin: 0;
  color: var(--jw-muted);
}

.seo-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.seo-category-card {
  position: relative;
  min-height: 385px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--jw-shadow);
  background: #102031;
}

.seo-category-card img {
  width: 100%;
  height: 100%;
  min-height: 385px;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.seo-category-card:hover img {
  transform: scale(1.035);
  opacity: 0.58;
}

.seo-category-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 24px 24px;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 22, 34, 0.97) 37%);
}

.seo-category-card__count {
  display: block;
  margin-bottom: 8px;
  color: #a6d1ec;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.seo-category-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
}

.seo-category-card p {
  min-height: 48px;
  margin: 0 0 15px;
  color: #d9e5ed;
  font-size: 14px;
  line-height: 1.65;
}

.seo-category-card a {
  color: #ffc17d;
  font-weight: 800;
}

.seo-category-card a::after {
  margin-left: 8px;
  content: "→";
}

.seo-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.seo-filter button {
  padding: 9px 18px;
  border: 1px solid #cdd8df;
  border-radius: 999px;
  color: var(--jw-blue-dark);
  background: #fff;
  font-weight: 800;
}

.seo-filter button:hover,
.seo-filter button:focus,
.seo-filter button.is-active {
  border-color: var(--jw-blue);
  color: #fff;
  background: var(--jw-blue);
}

.seo-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.seo-case-card {
  overflow: hidden;
  border: 1px solid var(--jw-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 32, 49, 0.06);
}

.seo-case-card[hidden] {
  display: none;
}

.seo-case-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e9eef2;
  aspect-ratio: 4 / 3;
}

.seo-case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.seo-case-card:hover .seo-case-card__image img {
  transform: scale(1.035);
}

.seo-case-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 2px;
  color: #fff;
  background: rgba(13, 43, 66, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.seo-case-card__body {
  padding: 22px;
}

.seo-case-card h3 {
  margin: 0 0 15px;
  color: var(--jw-ink);
  font-size: 21px;
  font-weight: 800;
}

.seo-spec-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.seo-spec-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf1f3;
}

.seo-spec-list dt,
.seo-spec-list dd {
  margin: 0;
  font-size: 14px;
}

.seo-spec-list dt {
  color: var(--jw-muted);
  font-weight: 500;
}

.seo-spec-list dd {
  color: var(--jw-ink);
  font-weight: 700;
}

.seo-text-link {
  color: var(--jw-blue);
  font-weight: 800;
}

.seo-text-link::after {
  margin-left: 7px;
  content: "→";
}

.product-hero {
  padding: 72px 0;
  color: #fff;
  background: #10283d;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 64px;
  align-items: center;
}

.product-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.14;
}

.product-hero p {
  margin: 0;
  color: #d7e5ef;
  font-size: 18px;
}

.product-hero__media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.26);
  background: #fff;
}

.product-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 58px;
  align-items: start;
}

.product-copy h2,
.product-copy h3 {
  color: var(--jw-ink);
  font-weight: 800;
  line-height: 1.25;
}

.product-copy h2 {
  margin: 0 0 18px;
  font-size: 34px;
}

.product-copy h3 {
  margin: 42px 0 14px;
  font-size: 24px;
}

.product-copy p {
  color: #3e4d59;
  font-size: 16px;
}

.product-copy ul,
.product-copy ol {
  padding-left: 22px;
  color: #3e4d59;
}

.product-copy li {
  margin-bottom: 8px;
}

.product-sidebar {
  position: sticky;
  top: 112px;
  padding: 25px;
  border-top: 4px solid var(--jw-copper);
  background: var(--jw-surface);
}

.product-sidebar h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
}

.product-sidebar dl {
  margin: 0;
}

.product-sidebar dl > div {
  padding: 11px 0;
  border-bottom: 1px solid var(--jw-line);
}

.product-sidebar dt {
  color: var(--jw-muted);
  font-size: 13px;
}

.product-sidebar dd {
  margin: 2px 0 0;
  color: var(--jw-ink);
  font-weight: 800;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--jw-line);
  border-radius: 5px;
  background: #fff;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-gallery figcaption {
  padding: 12px 14px;
  color: var(--jw-muted);
  font-size: 13px;
}

.seo-capability-grid,
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seo-capability-card,
.seo-related-card {
  padding: 24px;
  border: 1px solid var(--jw-line);
  background: #fff;
}

.seo-capability-card h3,
.seo-related-card h3 {
  margin: 0 0 10px;
  color: var(--jw-ink);
  font-size: 19px;
  font-weight: 800;
}

.seo-capability-card p,
.seo-related-card p {
  margin: 0;
  color: var(--jw-muted);
  font-size: 14px;
}

.seo-faq {
  border-top: 1px solid var(--jw-line);
}

.seo-faq details {
  border-bottom: 1px solid var(--jw-line);
}

.seo-faq summary {
  padding: 20px 0;
  color: var(--jw-ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}

.seo-faq details p {
  margin: -6px 0 20px;
  color: var(--jw-muted);
}

.seo-cta {
  padding: 54px;
  color: #fff;
  background: linear-gradient(115deg, #143c5d, #235f8d);
}

.seo-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.seo-cta p {
  max-width: 720px;
  margin: 0;
  color: #dceaf3;
}

.seo-notice {
  padding: 17px 20px;
  border-left: 4px solid var(--jw-copper);
  color: #4b5a66;
  background: #fff8ef;
}

.seo-empty-note {
  margin-top: 20px;
  color: var(--jw-muted);
}

.product-seo-page footer .footer {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .seo-category-grid,
  .seo-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero__grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .seo-shell {
    width: min(100% - 28px, 1180px);
  }

  .seo-hero {
    padding: 70px 0 58px;
  }

  .seo-section {
    padding: 58px 0;
  }

  .seo-section-heading,
  .seo-category-grid,
  .seo-case-grid,
  .seo-capability-grid,
  .seo-related-grid,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .seo-section-heading {
    gap: 16px;
  }

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

  .seo-trust__item:nth-child(2) {
    border-right: 1px solid var(--jw-line);
  }

  .product-hero {
    padding: 54px 0;
  }

  .product-hero__grid {
    gap: 34px;
  }

  .seo-cta {
    padding: 34px 26px;
  }
}

@media (max-width: 480px) {
  .seo-category-grid,
  .seo-case-grid {
    grid-template-columns: 1fr;
  }

  .seo-trust__grid {
    grid-template-columns: 1fr;
  }

  .seo-trust__item,
  .seo-trust__item:nth-child(2),
  .seo-trust__item:last-child {
    border-right: 1px solid var(--jw-line);
  }
}
