* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  color: #0f172a;
}

.page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px 32px;
}

.fade-up {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  text-align: center;
  margin-bottom: 36px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.hero p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: #475569;
}

.form-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.form-card h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.8px;
}

.form-desc {
  margin: 10px 0 26px;
  color: #64748b;
  font-size: 15px;
}

label {
  display: block;
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  background: #fff;
  font-size: 16px;
  color: #10233f;
}

input,
select {
  height: 60px;
  padding: 0 18px;
}

textarea {
  min-height: 150px;
  padding: 18px;
  resize: vertical;
}
textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 15px;
  resize: vertical;
  line-height: 1.5;
  font-family: inherit;
}

textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

input:focus,
select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.age-preview {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.coverage-box {
  margin-top: 10px;
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.coverage-box strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}

.coverage-box ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.submit-btn {
  width: 100%;
  height: 58px;
  margin-top: 28px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.submit-btn:hover {
  transform: translateY(-1px);
}

.notice {
  margin: 18px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

footer {
  text-align: center;
  margin-top: 36px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

footer p {
  margin: 2px 0;
}

.popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  z-index: 999;
}

.popup.active {
  display: flex;
}

.popup-card {
  width: 100%;
  max-width: 360px;
  padding: 30px 24px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  animation: popupUp 0.25s ease both;
}

@keyframes popupUp {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.popup-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.popup-card button {
  width: 100%;
  height: 48px;
  margin-top: 24px;
  border: none;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 640px) {
  .page {
    padding: 34px 16px 26px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .form-card {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .form-card h2 {
    font-size: 24px;
  }
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  font-weight: 600;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.privacy-check span {
  display: block;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}

.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.footer-link {
  color: #475569;
  text-decoration: underline;
}

.check-section {
  padding: 90px 20px;
  background: #f5f8fc;
}

.check-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  color: #1f7ae0;
  font-weight: 700;
  margin-bottom: 12px;
}

.check-section h2 {
  font-size: 38px;
  color: #10233f;
  margin-bottom: 16px;
}

.check-desc {
  font-size: 18px;
  color: #526174;
  margin-bottom: 42px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}

.check-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 12px 30px rgba(16, 35, 63, 0.08);
  border: 1px solid #e6edf5;
}

.check-card span {
  display: inline-block;
  color: #1f7ae0;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.check-card h3 {
  font-size: 20px;
  color: #10233f;
  margin-bottom: 12px;
  line-height: 1.4;
}

.check-card p {
  font-size: 15px;
  color: #5d6b7c;
  line-height: 1.7;
}

.check-bottom {
  margin-top: 42px;
  padding: 38px 24px;
  background: linear-gradient(135deg, #10233f, #1f7ae0);
  border-radius: 22px;
  color: #fff;
}

.check-bottom h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.check-bottom p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 24px;
}

.check-btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  background: #fff;
  color: #1f7ae0;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .check-grid {
    grid-template-columns: 1fr;
  }

  .check-section h2 {
    font-size: 30px;
  }

  .check-section {
    padding: 70px 18px;
  }
}