.main {
  width: 100%;
}

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 64px);
  overflow: hidden;
  background-image: url("../assets/images/main-hero-map.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg,
      rgb(255 255 255 / 38%) 0%,
      rgb(255 255 255 / 26%) 28%,
      rgb(255 255 255 / 8%) 55%,
      transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(calc(100% - 40px), 1100px);
  margin: 0 auto;
  padding-top: 52px;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 22px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
}

.hero-title {
  margin: 0;
  color: #0f2748;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.hero-title strong {
  color: var(--color-primary);
  font-weight: 700;
}

.hero-description {
  margin-top: 22px;
  color: #52657e;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.015em;
}

.hero-description strong {
  color: var(--color-primary);
  font-weight: 600;
}

.hero-notice {
  display: flex;
  align-items: center;
  width: min(590px, 100%);
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid rgb(229 231 235 / 80%);
  border-radius: 10px;
  background-color: rgb(255 255 255 / 90%);
  box-shadow: 0 4px 16px rgb(15 23 42 / 5%);
  text-align: left;
}

.notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 14px;
  flex-shrink: 0;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
}

.notice-content {
  min-width: 0;
}

.notice-title {
  color: #17345f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.notice-description {
  margin-top: 2px;
  color: #60728a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(390px, 100%);
  height: 66px;
  margin-top: 20px;
  border-radius: 999px;
  background-color: var(--color-primary);
  box-shadow: 0 10px 30px rgb(37 99 235 / 24%);
  color: var(--color-surface);
  font-size: 18px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.hero-button:hover {
  background-color: #1d4ed8;
  box-shadow: 0 14px 34px rgb(37 99 235 / 30%);
  transform: translateY(-2px);
}

.hero-button-arrow {
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 900px) {
  .hero {
    background-position: center top;
  }

  .hero-content {
    padding-top: 48px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-notice {
    width: min(590px, 90%);
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: calc(100vh - 76px);
    background-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgb(255 255 255 / 55%) 0%,
        rgb(255 255 255 / 35%) 45%,
        rgb(255 255 255 / 8%) 75%,
        transparent 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 40px;
  }

  .hero-eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.4;
  }

  .hero-description {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-description br {
    display: none;
  }

  .hero-notice {
    width: 100%;
    margin-top: 18px;
    padding: 12px 14px;
  }

  .notice-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    font-size: 13px;
  }

  .notice-title {
    font-size: 12px;
  }

  .notice-description {
    font-size: 11px;
  }

  .hero-button {
    width: min(100%, 360px);
    height: 58px;
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-button-arrow {
    font-size: 22px;
  }
}

.safety-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.safety-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.safety-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgb(15 39 72 / 62%);
  backdrop-filter: blur(2px);
}

.safety-modal-content {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px 28px 24px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: 0 24px 70px rgb(15 23 42 / 30%);
  text-align: center;
}

.safety-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: #e7f2ff;
}

.safety-shield svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #087cf0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.safety-modal-content h2 {
  margin: 0;
  color: #0f2748;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.safety-modal-content h2 strong {
  color: #087cf0;
  font-weight: 800;
}

.safety-intro {
  width: min(100%, 430px);
  margin: 14px auto 20px;
  color: #455b73;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  word-break: keep-all;
}

.safety-notice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.safety-notice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 12px;
  text-align: left;
}

.safety-notice-card>div:last-child {
  min-width: 0;
}

.safety-notice-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.safety-notice-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  word-break: keep-all;
}

.safety-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 800;
}

.safety-notice-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.safety-notice-danger {
  background-color: #fff2f2;
}

.safety-notice-danger .safety-notice-icon {
  background-color: #fee2e2;
  color: #dc2626;
}

.safety-notice-danger strong {
  color: #dc2626;
}

.safety-notice-danger p {
  color: #5f4a50;
}

.safety-notice-report {
  background-color: #eff7ff;
}

.safety-notice-report .safety-notice-icon {
  background-color: #dbeeff;
  color: #087cf0;
}

.safety-notice-report strong {
  color: #0875e5;
}

.safety-notice-report p {
  color: #455e76;
}

.safety-notice-info {
  background-color: #f3f6fa;
}

.safety-notice-info .safety-notice-icon {
  background-color: #e1e8f0;
  color: #52677f;
}

.safety-notice-info strong {
  color: #34495f;
}

.safety-notice-info p {
  color: #68798b;
}

.safety-confirm-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 54px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      #087cf0 0%,
      #1469e8 100%);
  box-shadow: 0 8px 20px rgb(8 124 240 / 22%);
  color: #ffffff;
  font-family: "Pretendard", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.safety-confirm-button:hover {
  box-shadow: 0 11px 26px rgb(8 124 240 / 30%);
  transform: translateY(-1px);
}

body.safety-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .safety-modal {
    padding: 16px;
  }

  .safety-modal-content {
    max-height: calc(100vh - 32px);
    padding: 24px 16px 18px;
    border-radius: 16px;
  }

  .safety-shield {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .safety-shield svg {
    width: 28px;
    height: 28px;
  }

  .safety-modal-content h2 {
    font-size: 22px;
  }

  .safety-intro {
    margin: 10px auto 14px;
    font-size: 12px;
  }

  .safety-notice-card {
    gap: 11px;
    padding: 12px;
  }

  .safety-notice-icon {
    width: 34px;
    height: 34px;
  }

  .safety-notice-card strong {
    font-size: 12px;
  }

  .safety-notice-card p {
    font-size: 10px;
  }

  .safety-confirm-button {
    height: 52px;
    margin-top: 10px;
  }
}

.safety-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #64748b;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.safety-modal-close:hover {
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #0f172a;
}