:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #5b6664;
  --soft: #f5f7f5;
  --line: #dce5e1;
  --green: #0f766e;
  --green-dark: #0b4f4a;
  --blue: #2563eb;
  --amber: #d97706;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 35, 32, 0.12);
  --radius: 8px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans TC",
    "Microsoft JhengHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(15, 31, 28, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(7, 19, 18, 0.16);
}

.site-header.is-scrolled .brand-logo {
  border-color: rgba(15, 118, 110, 0.18);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: currentColor;
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.header-cta,
.button,
.floating-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 750;
}

.header-cta {
  min-width: 112px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .header-cta {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 22, 21, 0.82) 0%, rgba(9, 22, 21, 0.7) 33%, rgba(9, 22, 21, 0.18) 72%),
    linear-gradient(0deg, rgba(9, 22, 21, 0.72) 0%, rgba(9, 22, 21, 0.06) 38%);
}

.hero-content {
  width: min(660px, calc(100% - 36px));
  margin: 0 0 clamp(32px, 8vh, 88px) clamp(18px, 7vw, 88px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #9fe2d8;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 6vw, 5.35rem);
  line-height: 1.04;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  padding: 0 18px;
  border: 1px solid transparent;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button.dark {
  background: #10201d;
}

.shop-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 34px 0 0;
}

.shop-stats div {
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.shop-stats dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.shop-stats dd {
  margin: 6px 0 0;
  font-size: 1.35rem;
  font-weight: 850;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fcfdfc;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 18px clamp(14px, 2.8vw, 34px);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 760;
}

.quick-links span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(18px, 5vw, 64px);
}

.section > *,
.footer > * {
  max-width: 1180px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  background: var(--white);
}

.intro h2,
.section-heading h2,
.service h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 0;
}

.intro p:not(.section-kicker),
.service-copy p,
.product-card p,
.checklist span,
.faq p {
  color: var(--muted);
  line-height: 1.78;
}

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

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

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(15, 31, 28, 0.04);
}

.product-card:hover {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 7px;
  color: var(--green-dark);
  background: #dff4ee;
  font-weight: 900;
}

.tag {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.product-card p {
  flex: 1;
  margin-bottom: 24px;
}

.product-card a {
  color: var(--green-dark);
  font-weight: 850;
}

.guide {
  background: var(--white);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.checklist {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: guide;
}

.checklist li {
  counter-increment: guide;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checklist li::before {
  content: counter(guide, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  color: var(--white);
  background: var(--green);
  font-weight: 850;
}

.checklist strong,
.checklist span {
  grid-column: 2;
}

.checklist strong {
  margin-top: -44px;
  font-size: 1.08rem;
}

.compat-card {
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(37, 99, 235, 0.88)),
    #0f766e;
  box-shadow: var(--shadow);
}

.compat-card h3 {
  margin-bottom: 18px;
  font-size: 1.42rem;
}

.compat-row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.compat-row span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: #eaf6f3;
}

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

.service .section-kicker {
  color: var(--green);
}

.service .button {
  flex: 0 0 auto;
}

.contact {
  background: #f7faf9;
}

.contact-intro {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-label {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.contact-card strong {
  margin-top: 22px;
  font-size: 1.13rem;
  line-height: 1.4;
}

.contact-value {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px) 92px;
  color: var(--white);
  background: #10201d;
}

.footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-width: 112px;
  padding: 0 16px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header {
    height: 66px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: min(100% - 32px, 620px);
    margin-left: 16px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 22, 21, 0.84), rgba(9, 22, 21, 0.42)),
      linear-gradient(0deg, rgba(9, 22, 21, 0.8), rgba(9, 22, 21, 0.12));
  }

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

  .intro,
  .guide-layout {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 620px) {
  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-image {
    object-position: 58% center;
  }

  h1 {
    font-size: clamp(2.48rem, 11vw, 3.75rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .shop-stats {
    grid-template-columns: 1fr;
  }

  .shop-stats div {
    min-height: 68px;
  }

  .quick-links,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    min-height: 60px;
  }

  .section {
    padding: 52px 16px;
  }

  .product-card {
    min-height: 260px;
  }

  .checklist li {
    grid-template-columns: 46px 1fr;
    padding: 18px;
  }

  .checklist li::before {
    width: 38px;
    height: 38px;
  }

  .checklist strong,
  .checklist span {
    grid-column: 1 / -1;
  }

  .checklist strong {
    margin-top: 0;
  }

  .footer {
    flex-direction: column;
  }
}
