@charset "UTF-8";
@import url("../fonts/Pretendard/fonts.css");
@import url("../fonts/RemixIcon/remixicon.css");


* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Pretendard', Arial, '맑은 고딕', 'Malgun Gothic', sans-serif;
}

/* ============ 레이아웃 ============ */
.page {
  font-family: 'Pretendard';
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
}

/* ============ 히어로 ============ */
.hero {
  position: relative;
  height: 260px;
  background-color: #040917;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: 0.85;
}
.top-bar {
  position: relative;
  z-index: 1;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.logo {
  display: block;
  border: 0;
}
.top-bar-text {
  flex: 1;
  text-align: right;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 700;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 25px 20px 0 20px;
  word-break: auto-phrase;
}
.hero-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 700;
}
.hero-subtitle {
  margin: 20px 0 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
  font-weight: 600;
}

/* ============ 안내 카드 ============ */
.info-section {
  background-color: #f4f6fa;
  padding: 20px;
}
.info-card {
  border-radius: 10px;
  padding: 20px;
}
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.info-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 25px;
  color: #0d1424;
  font-weight: 400;
  word-break: auto-phrase;
}
.info-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 8px;
  line-height: 25px;
  color: #1245f2;
}
.info-list li strong {
  font-weight: 600;
}

/* ============ 폼 ============ */
.form {
  background-color: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field-label {
  font-size: 16px;
  font-weight: 600;
  color: #0d1424;
}
.required-mark {
  color: #ff4f0a;
}
.text-input {
  height: 48px;
  padding: 0 20px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #0d1424;
  width: 100%;
}
.text-input::placeholder { color: #666; }
.text-input:focus {
  border-color: #1033b4;
  outline: none;
}

/* ============ 사은품 선택 (라디오) ============ */
.gift-options {
  position: relative;
  display: flex;
  gap: 10px;
}
.gift-radio {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 0;
  height: 0;
}
.gift-option {
  flex: 1;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  text-align: center;
  word-break: auto-phrase;
  cursor: pointer;
  padding: 10px;
}
.gift-option-title { font-weight: 600; }
.gift-option-desc {font-size: 18px;font-weight: 600;}
.gift-option--a .gift-option-title,
.gift-option--a .gift-option-desc { color: #ff4f0a; }
.gift-option--a .gift-option-desc { font-size: 16px; }
.gift-option--b .gift-option-title,
.gift-option--b .gift-option-desc { color: #1245f2; }

#giftA:checked + .gift-option--a {
  border-color: #ff4f0a;
  background-color: #fff5ef;
}
#giftB:checked + .gift-option--b {
  border-color: #1245f2;
  background-color: #f0f5ff;
}
.gift-radio:focus-visible + .gift-option {
  outline: 2px solid #1245f2;
  outline-offset: 2px;
}

/* ============ 개인정보 동의 체크박스 ============ */
.agree-wrap {
  position: relative;
  margin-top: -10px;
}
.agree-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 0;
  height: 0;
}
.agree-label {
  background-color: #f8f8f8;
  border: 1px solid #ced3d7;
  border-radius: 10px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.chk-box {
  display: inline-flex;
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.chk-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  display: block;
}
.chk-icon--unchecked { color: #666666; }
.chk-icon--checked { color: #1245f2; display: none; }
.agree-input:checked + .agree-label .chk-icon--unchecked { display: none; }
.agree-input:checked + .agree-label .chk-icon--checked { display: block; }
.agree-text {
  flex: 1 1 0%;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #666666;
  line-height: 1.5;
  word-break: auto-phrase;
}
.agree-input:focus-visible + .agree-label .chk-box {
  outline: 2px solid #1245f2;
  outline-offset: 2px;
}

/* ============ 제출 버튼 ============ */
.submit-btn {
  background-color: #ff4f0a;
  border: none;
  border-radius: 10px;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.3s all;
}
.submit-btn-text {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}
.submit-btn-icon {
  font-size: 24px;
  color: #ffffff;
  line-height: 1;
}
.submit-btn:hover {
  background-color: #e04509;
}

/* ============ 푸터 ============ */
.footer {
  background-color: #0f172a;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 600;
}
.footer-card {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 15px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.footer-company {
  flex-shrink: 0;
  width: auto;
  margin: 0;
  margin-right: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 700;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact-line {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 600;
}
.footer-contact-name {
  color: #3cceef;
  margin-right: 8px;
}
.footer-link {
  color: inherit;
  font: inherit;
  text-decoration: none;
}
.footer-link:hover,
.footer-link:visited,
.footer-link:active {
  color: inherit;
  text-decoration: none;
}

/* ============ 반응형 (~380px, 300px까지 대응) ============ */
@media (max-width: 380px) {
  .hero {
    height: auto;
    min-height: 220px;
  }
  .top-bar {
    height: auto;
    min-height: 48px;
    flex-wrap: wrap;
    row-gap: 4px;
    padding: 10px 15px;
  }
  .logo {
    width: 78px;
    height: auto;
  }
  .top-bar-text {
    font-size: 12px;
  }
  .hero-content {
    padding: 15px 15px 20px 15px;
  }
  .hero-title {
    font-size: 22px;
  }
  .hero-subtitle {
    font-size: 13px;
  }

  /* 안내 카드 */
  .info-section {
    padding: 15px;
  }
  .info-card {
    padding: 15px;
  }
  .info-list li {
    font-size: 13px;
    line-height: 20px;
    padding-left: 16px;
  }
  .info-list li::before {
    line-height: 20px;
  }

  .form {
    padding: 15px;
    gap: 15px;
  }
  .field-label {
    font-size: 14px;
  }
  .text-input {
    height: 44px;
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }


  .gift-options {
    flex-wrap: wrap;
  }
  .gift-option {
    height: auto;
    min-height: 60px;
    padding: 8px;
    flex-basis: calc(50% - 5px);
  }
  .gift-option-title {
    font-size: 14px;
  }
  .gift-option-desc {
    font-size: 15px;
  }
  .gift-option--a .gift-option-desc {
    font-size: 14px;
  }


  .agree-label {
    height: auto;
    min-height: 44px;
    padding: 10px 14px;
  }
  .agree-text {
    font-size: 12px;
    line-height: 1.4;
  }


  .submit-btn {
    padding: 13px 15px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .submit-btn-text {
    font-size: 15px;
  }
  .submit-btn-icon {
    font-size: 17px;
  }

  /* 푸터 */
  .footer {
    padding: 20px 15px;
  }
  .footer-title {
    font-size: 16px;
  }
  .footer-card {
    flex-direction: column;
    gap: 8px;
    padding: 15px;
  }
  .footer-company {
    width: auto;
  }
  .footer-contact-line {
    font-size: 13px;
  }
}
