:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #dbe3ee;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #0f9d58;
  --shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  padding: 48px 20px 36px;
}

.hero-inner,
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #bfdbfe;
  font-size: 14px;
  letter-spacing: 1px;
}

h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.2;
}

.subtitle {
  margin: 0;
  max-width: 760px;
  color: #dbeafe;
}

.status-card,
.panel {
  background: var(--panel);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.status-card {
  color: var(--text);
  padding: 22px;
}

.status-card h2,
.section-title h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child {
  border-bottom: 0;
}

.online {
  color: var(--success);
}

.container {
  padding: 28px 0 36px;
}

.panel {
  padding: 24px;
  margin-bottom: 22px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.action-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.action-card.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: 0;
}

.action-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.action-card p {
  margin: 0 0 16px;
  color: inherit;
  opacity: 0.9;
}

.action-card span {
  font-weight: bold;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.workflow {
  margin: 18px 0 0;
  padding-left: 20px;
}

.workflow li {
  margin-bottom: 12px;
}

.info-list {
  margin-top: 18px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-item:last-child {
  border-bottom: 0;
}

.info-item span,
.notice-item,
.link-list a {
  color: var(--muted);
}

.notice-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.notice-item {
  padding: 14px 16px;
  border-left: 5px solid var(--primary);
  background: #f8fbff;
  border-radius: 12px;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.link-list a {
  text-decoration: none;
  text-align: center;
  padding: 14px 12px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
}

.link-list a:hover {
  color: var(--primary-dark);
  border-color: #a9c2ff;
}

.footer {
  text-align: center;
  padding: 18px 12px 30px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-inner,
  .two-column,
  .card-grid,
  .link-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 32px;
  }

  .hero-inner,
  .two-column,
  .card-grid,
  .link-list {
    grid-template-columns: 1fr;
  }

  .panel,
  .status-card {
    padding: 18px;
  }

  .info-item,
  .status-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
