:root {
  --ink: #17202a;
  --muted: #5d6978;
  --subtle: #eef4f6;
  --surface: #ffffff;
  --surface-strong: #f7fbfb;
  --line: #dce8ea;
  --brand: #096b72;
  --brand-strong: #064b52;
  --accent: #f3b23a;
  --sky: #dff3f5;
  --shadow: 0 24px 70px rgba(14, 67, 76, 0.14);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fcfc 0%, #ffffff 36%, #f6fbfb 100%);
  font-size: 16px;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 232, 234, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(9, 107, 114, 0.18);
  border-radius: 8px;
  color: var(--brand);
  background: linear-gradient(135deg, #ffffff, var(--sky));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
}

.lang-toggle,
.button,
.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lang-toggle {
  border: 1px solid var(--line);
  padding: 0 14px;
  color: var(--brand);
  background: var(--surface);
  font-weight: 700;
}

.button {
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
}

.button:hover,
.lang-toggle:hover,
.site-footer a:hover {
  transform: translateY(-1px);
}

.primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(9, 107, 114, 0.22);
}

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

.secondary {
  border-color: var(--line);
  color: var(--brand);
  background: var(--surface);
}

.full {
  width: 100%;
}

.hero {
  display: grid;
  min-height: calc(100svh - 80px);
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  padding: clamp(54px, 8vw, 94px) clamp(20px, 5vw, 72px) 46px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.92));
}

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

.sensor-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: min(300px, calc(100% - 44px));
  border: 1px solid rgba(9, 107, 114, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(23, 32, 42, 0.14);
}

.sensor-panel span {
  color: var(--muted);
  font-size: 13px;
}

.sensor-panel strong {
  color: var(--brand);
  font-size: 20px;
}

.section {
  padding: clamp(62px, 8vw, 106px) clamp(20px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
  padding-block: 1px;
}

.metric {
  min-height: 138px;
  padding: 32px;
  background: var(--surface);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--brand);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.metric span {
  margin-top: 8px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(30px, 6vw, 86px);
  background: var(--surface);
}

.section-copy {
  color: var(--muted);
  font-size: 19px;
}

.profile {
  display: grid;
  grid-template-columns: minmax(310px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  background: var(--surface-strong);
}

.profile-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-image img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
}

.profile-content p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 650;
}

.check-list svg,
.product-card svg,
.contact-card svg,
.site-footer svg,
.button svg,
.lang-toggle svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.check-list svg,
.product-card svg,
.contact-card svg {
  color: var(--brand);
}

.products {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-inline: auto;
  text-align: center;
}

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

.product-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
}

.product-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
}

.product-card p {
  color: var(--muted);
}

.process {
  background: linear-gradient(180deg, #edf8f8 0%, #ffffff 100%);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline div {
  min-height: 220px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
}

.timeline span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.timeline p {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--surface);
}

.contact-card {
  display: grid;
  gap: 22px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 6px 14px;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  grid-column: 2;
  line-height: 1.55;
}

.contact-note {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 12px !important;
  border: 1px solid rgba(9, 107, 114, 0.18);
  border-radius: 8px;
  padding: 15px;
  color: var(--brand);
  background: #ffffff;
  font-weight: 800;
}

.contact-note span {
  color: var(--brand);
  font-size: 15px;
  text-transform: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}

.site-footer a {
  width: 44px;
  border: 1px solid var(--line);
  color: var(--brand);
  background: var(--surface);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
    overflow-x: auto;
  }

  .hero,
  .split,
  .profile,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

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

@media (max-width: 700px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 18px;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .intro-band,
  .product-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .intro-band {
    display: grid;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 340px;
  }

  .sensor-panel {
    right: 14px;
    bottom: 14px;
    min-width: calc(100% - 28px);
  }

  .metric,
  .product-card,
  .timeline div {
    min-height: auto;
  }

  .contact-card div:not(.contact-note) {
    grid-template-columns: 1fr;
  }

  .contact-card div:not(.contact-note) strong {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
