* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3f8 48%, #ffffff 100%);
  color: #0b1f3a;
}

.page {
  min-height: 100vh;
  padding: 34px 18px;
}

.card {
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  padding: 42px;
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(8, 22, 48, 0.12);
  border: 1px solid rgba(15, 38, 72, 0.08);
}

.header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.brand {
  display: inline-block;
  background: #0b1f3a;
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 14px;
}

h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 42px); }
h2 { margin-top: 28px; }

.header p {
  color: #5d6b7a;
  line-height: 1.6;
  max-width: 650px;
}

.percent {
  background: #f4f8fb;
  border: 1px solid #dce6ef;
  color: #0b1f3a;
  padding: 13px 20px;
  border-radius: 16px;
  font-weight: 700;
}

.progress {
  width: 100%;
  height: 12px;
  background: #e7eef5;
  border-radius: 999px;
  margin-top: 24px;
  overflow: hidden;
}

#progressBar {
  height: 12px;
  width: 8%;
  background: linear-gradient(90deg, #0b1f3a, #1d4f8f);
  border-radius: 999px;
  transition: 0.3s;
}

.step-label {
  font-weight: 700;
  color: #0b1f3a;
}

.step { display: none; }
.step.active { display: block; }

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

label {
  display: block;
  font-weight: 700;
  color: #0b1f3a;
}

input, select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d4dee8;
  border-radius: 14px;
  font-size: 15px;
  background: #fbfdff;
  color: #0b1f3a;
  outline: none;
  margin-top: 8px;
}

input.error, select.error {
  border: 2px solid #dc2626;
  background: #fff7f7;
}

.hidden { display: none !important; }

.notice {
  background: #f4f8fb;
  padding: 15px;
  border-radius: 14px;
  color: #334155;
  border: 1px solid #dce6ef;
  margin: 15px 0;
}

.error-box {
  background: #fff7f7;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.check {
  background: #f7fafc;
  padding: 15px;
  border-radius: 14px;
  margin-bottom: 12px;
  border: 1px solid #dce6ef;
  font-weight: 500;
}

.check input {
  width: auto;
  margin-right: 8px;
}

.navigation {
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.btn {
  background: #0b1f3a;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.22);
}

.btn.secondary {
  background: #edf2f7;
  color: #0b1f3a;
  box-shadow: none;
}

.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.summary-card {
  background: #f7fafc;
  border: 1px solid #dce6ef;
  padding: 16px;
  border-radius: 16px;
}

@media (max-width: 640px) {
  .card { padding: 24px; border-radius: 20px; }
  .navigation { flex-direction: column; }
  .btn { width: 100%; }
}
