:root {
  --primary: #2c3e6b;
  --success: #27ae60;
  --danger: #c0392b;
  --bg: #f5f7fa;
  --card-bg: #ffffff;
  --text: #2c3e50;
  --text-muted: #7f8c8d;
  --border: #e0e4e8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
}

.container {
  max-width: 480px;
  width: 100%;
}

.logo {
  text-align: center;
  margin-bottom: 20px;
}
.logo img {
  max-width: 207px;
  height: auto;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 16px;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.badge-valid { background: var(--success); }
.badge-invalid { background: var(--danger); }
.badge svg { width: 24px; height: 24px; fill: currentColor; }

.detail-table {
  width: 100%;
  border-collapse: collapse;
}
.detail-table tr { border-bottom: 1px solid var(--border); }
.detail-table tr:last-child { border-bottom: none; }
.detail-table td {
  padding: 10px 16px;
  font-size: 0.92rem;
  vertical-align: top;
}
.detail-table td:first-child {
  color: var(--text-muted);
  font-size: 0.82rem;
  width: 40%;
  white-space: nowrap;
}
.detail-table td:last-child {
  font-weight: 600;
  text-align: right;
}

.section-header {
  background: #f8f9fb;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.total-row td {
  background: #f0faf4;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--success) !important;
}

.footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 24px;
  padding-bottom: 20px;
}

.landing-header {
  background: var(--primary);
  color: #fff;
  padding: 20px 24px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.landing-body {
  padding: 24px;
}

.landing-body p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.landing-how {
  margin: 20px 0;
}

.landing-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}
.landing-step:last-child { border-bottom: none; }

.landing-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}

.landing-note {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

@media (max-width: 520px) {
  body { padding: 12px 10px; }
  .badge { font-size: 1rem; padding: 14px 16px; }
  .detail-table td { padding: 8px 12px; font-size: 0.86rem; }
  .detail-table td:first-child { font-size: 0.78rem; }
}
