:root {
  --black: #111111;
  --charcoal: #2b2b2b;
  --mid-gray: #666666;
  --light-gray: #e5e5e5;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.82);
  --line: rgba(17, 17, 17, 0.08);
  --shadow: 0 22px 60px rgba(17, 17, 17, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
  --font-ui: "Manrope", "Noto Sans TC", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--black);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.95), rgba(229, 229, 229, 0.25) 28%, transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f6 45%, #f0f0f0 100%);
}

body.is-nav-open {
  overflow: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.7), transparent 22%);
  opacity: 0.65;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 18px;
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111111 0%, #2d2d2d 100%);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand-copy span {
  color: var(--mid-gray);
  font-size: 0.78rem;
  line-height: 1.3;
  max-width: 260px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: var(--mid-gray);
  font-size: 0.86rem;
  white-space: nowrap;
}

.nav-group {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  gap: 8px;
  min-width: 180px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-submenu a {
  font-size: 0.82rem;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--black);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  border: 0;
  background: transparent;
  color: var(--mid-gray);
  cursor: pointer;
}

.lang-toggle .is-active {
  color: var(--black);
  font-weight: 800;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--black);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.button-secondary,
.button-ghost {
  background: transparent;
  color: var(--black);
}

.hero-section {
  padding: 42px 0 48px;
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mid-gray);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1,
.content-panel h2,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 6.2rem);
  letter-spacing: -0.04em;
}

.lead,
.content-panel p,
.section-note,
.contact-panel p,
.form-note,
.timeline-copy p,
.product-copy {
  color: var(--mid-gray);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 30px;
}

.hero-meta,
.card-grid,
.timeline,
.category-grid,
.product-grid,
.contact-cards,
.data-grid {
  display: grid;
  gap: 16px;
}

.hero-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.content-panel,
.content-panel,
.visual-panel,
.category-card,
.product-card,
.info-card,
.contact-card,
.contact-panel,
.form-panel,
.timeline-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-card::before,
.content-panel::before,
.visual-panel::before,
.category-card::before,
.product-card::before,
.info-card::before,
.contact-card::before,
.contact-panel::before,
.form-panel::before,
.timeline-item::before {
  content: "";
  position: absolute;
  inset: auto -15% -34% auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75), rgba(229, 229, 229, 0.12));
  filter: blur(26px);
  pointer-events: none;
}

.stat-card,
.content-panel,
.contact-panel,
.form-panel,
.timeline-item {
  padding: 24px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.stat-card span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-image-frame img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hero-float {
  position: absolute;
  right: -10px;
  bottom: 26px;
  width: min(340px, 92%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero-float h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.hero-float p:last-child {
  margin: 0;
  color: var(--mid-gray);
  line-height: 1.75;
}

.section {
  padding: 52px 0;
}

.split-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.split-grid.reversed {
  grid-template-columns: 1.02fr 0.98fr;
}

.content-panel {
  padding: 28px;
}

.content-panel h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 12ch;
}

.card-grid.four-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  padding: 20px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.info-card p {
  margin: 0;
  color: var(--mid-gray);
  line-height: 1.75;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-note {
  max-width: 40ch;
}

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

.timeline-item {
  min-height: 220px;
}

.timeline-year {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.timeline-item p {
  margin: 0;
}

.visual-panel {
  padding: 0;
}

.visual-panel img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.data-strip {
  padding-top: 10px;
}

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

.data-grid .info-card {
  min-height: 100%;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  display: flex;
  flex-direction: column;
}

.category-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
}

.category-body {
  padding: 20px;
}

.category-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-bottom: 10px;
}

.category-body h3 {
  margin: 0;
  font-size: 1.14rem;
}

.category-count {
  display: inline-flex;
  flex: none;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-body p {
  margin: 0 0 14px;
  color: var(--mid-gray);
  line-height: 1.75;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 11px;
  border-radius: 999px;
  background: #f3f3f3;
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 700;
}

.chip-soft {
  background: rgba(17, 17, 17, 0.04);
  font-weight: 600;
}

.example-list {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.example-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.product-sections {
  display: grid;
  gap: 28px;
}

.product-family {
  padding: 24px;
}

.product-family-head {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}

.product-family-cover {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.product-family-cover img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
}

.product-family-copy .eyebrow {
  margin-bottom: 10px;
}

.product-family-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 12px;
}

.product-family-meta h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.product-family-count {
  display: inline-flex;
  flex: none;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-family-copy p:last-child {
  margin: 0;
  color: var(--mid-gray);
  line-height: 1.8;
}

.product-grid-family {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  padding: 16px;
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
}

.product-image-button:hover img,
.product-image-button:focus-visible img {
  transform: scale(1.02);
}

.product-image-button img {
  transition: transform 180ms ease;
}

.product-body {
  padding: 20px;
}

.product-code {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.product-body h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.product-copy {
  margin: 0 0 10px;
}

.product-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--black);
}

.contact-grid {
  grid-template-columns: 0.96fr 1.04fr;
}

.contact-panel,
.form-panel {
  padding: 28px;
}

.contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.contact-card {
  padding: 18px;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
}

.contact-card span,
.contact-card a {
  color: var(--mid-gray);
  line-height: 1.7;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(17, 17, 17, 0.08);
  border-color: rgba(17, 17, 17, 0.18);
}

.site-footer {
  padding: 18px 0 34px;
}

.footer-shell {
  color: var(--mid-gray);
  text-align: center;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.54);
  backdrop-filter: blur(10px);
  z-index: 90;
}

.pdf-dialog {
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.pdf-dialog-head,
.pdf-dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pdf-dialog-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.pdf-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 50%;
  background: #fff;
  color: var(--black);
  font-size: 1.4rem;
  cursor: pointer;
}

.pdf-dialog iframe {
  width: 100%;
  min-height: 70vh;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: #fff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 700ms ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .split-grid,
  .split-grid.reversed,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .category-grid,
  .product-grid,
  .product-grid-family,
  .timeline,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid.three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-image-frame img {
    min-height: 500px;
  }

  .product-family-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 86px 16px auto 16px;
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-group {
    display: grid;
    gap: 10px;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .hero-copy h1,
  .content-panel h2,
  .section-heading h2,
  .contact-panel h2 {
    max-width: none;
  }

  .hero-float {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .hero-meta,
  .card-grid.four-up,
  .card-grid.three-up,
  .card-grid.two-up,
  .data-grid,
  .category-grid,
  .product-grid,
  .product-grid-family,
  .timeline,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .product-family {
    padding: 20px;
  }

  .product-family-meta {
    flex-direction: column;
  }

  .pdf-modal {
    padding: 12px;
  }

  .pdf-dialog {
    max-height: calc(100vh - 24px);
    padding: 14px;
  }

  .pdf-dialog iframe {
    min-height: 62vh;
  }
}
