:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe4ef;
  --paper: #f8fafc;
  --white: #ffffff;
  --navy: #0f172a;
  --cyan: #0891b2;
  --green: #16a34a;
  --amber: #f59e0b;
  --rose: #e11d48;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  font-family: Inter, "Noto Sans TC", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-width: 1180px;
}

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  min-width: 1180px;
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(219, 228, 239, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
}

.brand,
.header-actions,
.desktop-nav,
.language-switcher,
.hero-actions,
.panel-top,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  letter-spacing: 0;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  gap: 22px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  transition: color 180ms ease;
}

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

.header-actions {
  gap: 12px;
}

.language-switcher {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1f5f9;
}

.lang-btn {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.lang-btn.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.09);
}

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  min-height: 38px;
  padding: 0 15px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
  padding: 150px clamp(24px, 6vw, 88px) 82px;
  background:
    linear-gradient(130deg, rgba(8, 145, 178, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
  scroll-margin-top: 112px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(8, 145, 178, 0.24);
  border-radius: 999px;
}

.orbit-one {
  right: -160px;
  top: 120px;
  width: 520px;
  height: 520px;
}

.orbit-two {
  right: 110px;
  top: 250px;
  width: 260px;
  height: 260px;
  border-color: rgba(22, 163, 74, 0.28);
}

.hero-content,
.hero-panel,
.section {
  position: relative;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: #334155;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.55;
}

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

.primary-btn,
.secondary-btn {
  min-height: 52px;
  padding: 0 22px;
}

.primary-btn {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(219, 228, 239, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-top {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: #475569;
  font-weight: 800;
}

.panel-top strong {
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div,
.chart-card,
.feature-card,
.product-detail,
.timeline-item,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric-grid div {
  min-height: 112px;
  padding: 16px;
}

.metric-grid span,
.contact-card span,
.detail-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 32px;
  line-height: 1;
}

.chart-card {
  margin-top: 12px;
  padding: 18px;
}

.chart-bars {
  display: grid;
  height: 132px;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
  padding: 8px 0 14px;
}

.chart-bars span {
  display: block;
  height: var(--height);
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), #22c55e);
}

.chart-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.section {
  padding: 92px clamp(24px, 6vw, 88px);
  scroll-margin-top: 112px;
}

.section-heading {
  display: grid;
  max-width: 880px;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 700px;
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4.7vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.cooperation-copy p:not(.eyebrow),
.contact-section > div > p:not(.eyebrow) {
  margin: 0;
  color: #475569;
  font-size: 18px;
}

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

.feature-card {
  min-height: 260px;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.icon-badge {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 900;
}

.feature-card:nth-child(2) .icon-badge {
  background: #dcfce7;
  color: #15803d;
}

.feature-card:nth-child(3) .icon-badge {
  background: #fef3c7;
  color: #b45309;
}

.feature-card:nth-child(4) .icon-badge {
  background: #ffe4e6;
  color: #be123c;
}

.feature-card h3,
.timeline-item h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.feature-card p,
.timeline-item p {
  margin: 0;
  color: #475569;
}

.product-section {
  background: #0f172a;
  color: var(--white);
}

.product-section h2 {
  color: var(--white);
}

.product-section .section-heading p:not(.eyebrow) {
  color: #cbd5e1;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
}

.product-list {
  display: grid;
  gap: 10px;
}

.product-tab {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  cursor: pointer;
  text-align: left;
}

.product-tab span {
  color: var(--white);
  font-weight: 900;
}

.product-tab small {
  color: #94a3b8;
}

.product-tab.is-active {
  border-color: rgba(34, 211, 238, 0.62);
  background: rgba(8, 145, 178, 0.2);
}

.product-detail {
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(8, 145, 178, 0.18), transparent 36%),
    #ffffff;
  color: var(--ink);
}

.product-detail h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.product-detail p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: 18px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #1e293b;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 12px;
}

.cooperation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

.cooperation-copy {
  position: sticky;
  top: 120px;
}

.cooperation-copy h2,
.contact-section h2 {
  margin: 0 0 18px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  position: relative;
  padding: 22px 22px 22px 78px;
}

.timeline-item span {
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.timeline-item h3 {
  margin-top: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 36px;
  align-items: center;
  background: #eaf6f8;
}

.contact-card {
  padding: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.09);
}

.contact-card a {
  display: block;
  margin: 8px 0 18px;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 0;
  color: #475569;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(24px, 6vw, 88px);
  background: var(--navy);
  color: #cbd5e1;
  font-size: 14px;
}
