:root {
  --bg: #f5f7fb;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee8;
  --panel: #ffffff;
  --accent: #146c5f;
  --accent-dark: #0f4f46;
  --blue: #2457a7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  letter-spacing: 0;
}

.page {
  min-height: 100vh;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 32px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.04;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

a {
  color: inherit;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.primary-button {
  background: var(--accent);
  color: #fff;
}

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

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
}

.preview-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.13);
  overflow: hidden;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #eef2f7;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.erp-shell {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 390px;
}

.erp-shell aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #18202f;
  color: #dce6f5;
  font-size: 13px;
  font-weight: 800;
}

.erp-shell aside strong {
  margin-bottom: 16px;
  color: #fff;
  font-size: 18px;
}

.erp-shell section {
  padding: 22px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-row div {
  height: 84px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef7f4, #edf2ff);
  border: 1px solid #dde7f0;
}

.table-lines {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.table-lines span {
  height: 36px;
  border-radius: 6px;
  background: #eef2f7;
}

.info-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-grid article {
  border-top: 3px solid var(--blue);
  background: #fff;
  padding: 20px;
}

.info-grid h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .erp-shell {
    grid-template-columns: 1fr;
  }

  .erp-shell aside {
    min-height: auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
