* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f8fb;
  color: #1f2937;
  line-height: 1.6;
}

.site-header {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  padding: 44px 20px;
  text-align: center;
}

.site-header h1 {
  margin: 0;
  font-size: 34px;
}

.site-header p {
  margin: 10px 0 0;
  font-size: 17px;
}

.nav {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav a {
  display: inline-block;
  margin: 4px 12px;
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 700;
}

.nav a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
}

.hero {
  background: white;
  padding: 28px;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  display: block;
  background: white;
  padding: 24px;
  border-radius: 18px;
  text-decoration: none;
  color: #1f2937;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f7;
}

.card:hover {
  transform: translateY(-3px);
}

.form-box {
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  margin-bottom: 24px;
}

label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 15px;
}

button {
  margin-top: 18px;
  background: #1e3a8a;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.result-box {
  background: white;
  padding: 24px;
  border-radius: 18px;
  margin-top: 24px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.success {
  color: #15803d;
  font-weight: 700;
}

.error {
  color: #b91c1c;
  font-weight: 700;
}

.warning {
  color: #92400e;
  background: #fffbeb;
  padding: 12px;
  border-radius: 12px;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.score-table th,
.score-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.score-table th {
  background: #1e3a8a;
  color: white;
}

.question {
  background: white;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.option {
  display: block;
  margin: 8px 0;
}

footer {
  text-align: center;
  padding: 24px;
  color: #6b7280;
}
