@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans+TC:wght@400;500;700&display=swap");

:root {
  --bg: #f6fbfa;
  --surface: #ffffff;
  --surface-soft: #f1f8f7;
  --border: #dbeeeb;
  --ink: #10211f;
  --muted: #5d7470;
  --teal: #2c8c80;
  --teal-dark: #1f6f65;
  --teal-soft: #e0f3f0;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(31, 111, 101, 0.10);
  --font: "Noto Sans TC", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 251, 250, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--teal);
  color: white;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.hero {
  padding: 4.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3rem;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

.lede {
  margin: 1.2rem 0 2rem;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.button.primary {
  background: var(--teal);
  color: white;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.ghost {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
}

.button.ghost:hover {
  background: var(--surface-soft);
}

.hero-visual {
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.section {
  padding: 5.5rem 0;
}

.section.muted {
  background: #eef7f5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.8rem;
}

.section-head p:last-child {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 140, 128, 0.45);
}

.card-icon,
.cap-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
}

.card p,
.cap p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card {
  padding: 0;
  overflow: hidden;
}

.product-image {
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.product-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card .card-body {
  padding: 1.8rem;
}

.banner {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.banner-track {
  position: relative;
  min-height: 620px;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 3rem 3.5rem 4.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.banner-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.banner-copy h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.banner-copy p:not(.eyebrow) {
  max-width: 32em;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.banner-visual {
  min-height: 420px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-soft);
  overflow: hidden;
}

.banner-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal);
  box-shadow: 0 10px 30px rgba(31, 111, 101, 0.10);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.banner-nav:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.banner-prev {
  left: 1.5rem;
}

.banner-next {
  right: 1.5rem;
}

.banner-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 0.6rem;
  transform: translateX(-50%);
}

.banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(44, 140, 128, 0.25);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.banner-dot.is-active {
  width: 26px;
  background: var(--teal);
}

.contact {
  background: var(--bg);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 0.8rem;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .banner-slide {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.8rem;
    padding: 2.2rem 2.4rem 4.2rem;
  }

  .banner-track {
    min-height: 0;
  }

  .banner-visual {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .contact-inner {
    padding: 1.8rem;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .card {
    transition: none;
  }
}
