:root {
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --accent: #facc15;
  --success: #16a34a;
  --danger: #dc2626;
  --text: #1f2937;
  --text-muted: #64748b;
  --border: #dbe3ef;
  --bg: #f4f7fb;
  --card: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.bg-orb {
  display: none;
}

/* ===== HEADER ===== */

.header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 60px 0;
  border-bottom: 5px solid var(--accent);
}

.header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.header h1 {
  margin: 18px 0 12px;
  max-width: none;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.header h1 span {
  color: var(--accent);
}

.header p {
  max-width: 850px;
  margin: 0 auto;
  color: #e0ecff;
  font-size: 17px;
}

.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-pills span {
  background: white;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

/* Responsif untuk tablet dan ponsel */

@media (max-width: 992px) {
  .header h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .header h1 {
    white-space: normal;
    font-size: 30px;
  }

  .header p {
    font-size: 15px;
  }
}

/* ===== CARD ===== */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.highlight {
  border-left: 6px solid var(--success);
}

.verify.ok {
  border-left: 6px solid var(--success);
}

.verify.bad {
  border-left: 6px solid var(--danger);
}

/* ===== SECTION TITLE ===== */

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.section-title span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--primary-light);
  color: white;
  border-radius: 8px;
  font-weight: 700;
}

.section-title h2 {
  font-size: 22px;
  color: var(--primary);
}

/* ===== FORM ===== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

input,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: 0.2s;
}

input:focus,
select:focus {
  border-color: var(--primary-light);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

small,
.note {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== BUTTON ===== */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

button,
.clear {
  padding: 13px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}

.primary-btn {
  background: var(--primary-light);
  color: white;
}

.secondary {
  background: var(--accent);
  color: var(--text);
}

.clear {
  background: #e5e7eb;
  color: #374151;
}

button:hover,
.clear:hover {
  opacity: 0.9;
}

/* ===== ERROR ===== */

.error {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-weight: 600;
}

/* ===== SUMMARY ===== */

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

.summary-grid div {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
}

.summary-grid b {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #475569;
}

/* ===== CODE ===== */

code {
  font-family: Consolas, monospace;
  word-break: break-all;
}

code.big {
  font-size: 18px;
  font-weight: 800;
  color: var(--success);
}

.block {
  display: block;
  margin-top: 8px;
  padding: 13px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
}

/* ===== GRID ===== */

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 16px;
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 16px 0;
}

/* ===== TABLE ===== */

.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  background: white;
}

th {
  background: var(--primary);
  color: white;
  padding: 12px;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}

td {
  padding: 11px 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  vertical-align: top;
}

tr:nth-child(even) td {
  background: #f8fafc;
}

/* ===== ROUND ===== */

.round {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 14px 0;
  overflow: hidden;
  background: white;
}

.round summary {
  padding: 15px 18px;
  background: #eef4ff;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.round[open] summary {
  border-bottom: 1px solid var(--border);
}

.round > *:not(summary) {
  margin-left: 18px;
  margin-right: 18px;
}

h3 {
  color: var(--primary);
  margin: 20px 0 8px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .form-grid,
  .summary-grid,
  .two,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 40px 0;
  }

  .header h1 {
    font-size: 30px;
  }

  .header p {
    font-size: 15px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  button,
  .clear {
    width: 100%;
    text-align: center;
  }

  .card {
    padding: 20px;
  }
}