:root {
  --ink: #0b1220;
  --ink-soft: #1a2436;
  --muted: #6b7788;
  --line: #d5dde6;
  --paper: #e8edf2;
  --white: #ffffff;
  --surface: #f3f6f9;
  --accent: #416788;
  --accent-hover: #527a9c;
  --accent-dark: #2b4a66;
  --logo: #100084;
  --dark: #0b1220;
  --glow: rgba(65, 103, 136, 0.35);
  --radius: 28px;
  --max: 1180px;
  --sans: "Noto Sans TC", "Noto Sans Thai", "Noto Sans", "Microsoft JhengHei UI", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f6f8;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  font-size: 18px;
}
.brand-logo {
  width: 54px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav .brand-logo,
.foot .brand-logo {
  filter: brightness(0) invert(1);
}
.brand small {
  display: block;
  font-weight: 500;
  color: #a8b4c2;
  font-size: 11px;
  letter-spacing: .12em;
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-select {
  background: transparent;
  color: #f4f6f8;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
}
.lang-select option {
  color: #0b1220;
  background: #ffffff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #c5d0db;
}
.nav-links a:hover, .nav-links a.active { color: #ffffff; }
.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.menu-btn {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #f4f6f8;
  border-radius: 10px;
  padding: 8px 10px;
}

.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 12% 0%, rgba(65, 103, 136, 0.45), transparent 55%),
    radial-gradient(60% 70% at 90% 20%, rgba(16, 0, 132, 0.35), transparent 50%),
    var(--ink);
  color: #f4f6f8;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
}
.hero-copy { padding-bottom: 72px; }
.kicker {
  color: #9ec3dd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
}
.page-hero .kicker { color: #7ca4be; }
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.08; margin: 0 0 18px; }
h1 { font-size: clamp(40px, 6.6vw, 84px); font-weight: 900; }
h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; }
h3 { font-size: 24px; font-weight: 800; }
.lede {
  font-size: 20px;
  color: #c5d0db;
  max-width: 36ch;
}
.hero .lede { color: #c5d0db; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  border: 1px solid transparent;
  font-size: 15px;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #f4f6f8;
}
.section .btn-ghost,
.page-hero .btn-ghost {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.hero-shot {
  margin: 0;
  transform: translateY(48px);
}
.hero-shot img {
  display: block;
  width: 100%;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.section { padding: 100px 0; }
.section.alt { background: var(--white); }
.section.dark {
  background:
    radial-gradient(70% 80% at 80% 0%, rgba(65, 103, 136, 0.4), transparent 55%),
    var(--dark);
  color: #f4f6f8;
}
.section.dark .muted, .section.dark .lede { color: #c5d0db; }
.section.dark .eyebrow { color: #9ec3dd; }
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.muted { color: var(--muted); }
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: .16em;
}

.card-index {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 18px;
}

.product-shot { margin-top: 48px; }
.product-shot img,
.shot-grid img,
.feature-media img {
  display: block;
  width: 100%;
  border-radius: 20px;
  background: var(--surface);
}
.product-shot figcaption,
.shot-grid figcaption,
.feature-media figcaption,
.split-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.shot-grid,
.matter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.shot-grid figure,
.matter-grid figure { margin: 0; }
.matter-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 320px;
}
.matter-card img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  transform: scale(1.04);
}
.matter-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 20px 18px;
  color: #f4f6f8;
  background: linear-gradient(transparent, rgba(11, 18, 32, 0.88));
  font-weight: 800;
  font-size: 20px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}
.feature-row.reverse { grid-template-columns: 0.85fr 1.15fr; }
.feature-row.reverse .feature-copy { order: -1; }
.feature-copy h3 { margin-top: 0; font-size: 32px; }

.page-hero {
  padding: 80px 0 36px;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(65, 103, 136, 0.22), transparent 50%),
    var(--paper);
}
.page-hero h1 { font-size: clamp(44px, 7vw, 76px); }
.page-hero .lede { color: var(--muted); }
.page-banner {
  margin-top: 36px;
  overflow: hidden;
  border-radius: 28px;
}
.page-banner img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.split-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.split-photo figure { margin: 0; }
.split-photo img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 22px;
}

.stat {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.audience span {
  background: var(--ink);
  color: #f4f6f8;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
}

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.contact-list { display: grid; gap: 14px; }
.contact-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.contact-brand h3 { margin: 0; }
.contact-brand .brand-logo {
  width: 64px;
  height: 52px;
  filter: none;
}
.contact-list a { color: var(--accent); font-weight: 700; }
form, .contact-compose { display: grid; gap: 12px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
label { font-size: 13px; font-weight: 700; }

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 36px;
}
a.download-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.download-card:hover { border-color: var(--accent); }
.download-card.preferred {
  background: var(--ink);
  color: #f4f6f8;
  border-color: var(--ink);
}
.download-card.preferred .muted,
.download-card.preferred .version { color: #c5d0db; }
.download-card.preferred .badge {
  background: var(--accent);
  color: white;
}
.download-hint {
  display: inline-block;
  margin-top: 8px;
  color: #9ec3dd;
  font-size: 13px;
  font-weight: 800;
}
.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.download-extras {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.download-extra {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.download-card.preferred .download-extra { color: #9ec3dd; }
.download-extra:hover { text-decoration: underline; }
.version {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
}
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  background: #e8eef3;
  color: var(--accent-dark);
  font-weight: 800;
}
.badge.wait { background: #dce3e9; color: var(--muted); }

footer {
  background: var(--ink);
  color: #a8b4c2;
  padding: 48px 0 56px;
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.foot strong { color: #f4f6f8; }
.foot a { color: #c5d0db; }
.foot .brand-logo { margin-bottom: 10px; }

/* —— 產品頁數據卡片 —— */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px;
}
.stat-card .num {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent-dark);
  line-height: 1.05;
}
.stat-card .label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.stat-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  max-width: 70ch;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 16px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .menu-btn { display: block; }
  .hero-grid, .cols-2, .cols-3, .contact-grid, .download-card,
  .shot-grid, .matter-grid, .feature-row, .feature-row.reverse, .split-photo,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-copy { order: 0; }
  .hero { padding-top: 40px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-shot { transform: none; }
  h1 { font-size: 40px; }
  .page-banner img, .matter-card img, .split-photo img { height: 220px; }
}
