
@import url("https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;700&display=swap");

:root{
  --bg:#08111f;
  --bg2:#0d1830;
  --card:#ffffff;
  --line:#d9e1f2;
  --text:#0f172a;
  --muted:#64748b;
  --primary:#4f46e5;
  --primary2:#7c3aed;
  --cyan:#06b6d4;
  --accent:#8b5cf6;
  --black:#0b1220;
  --shadow:0 20px 60px rgba(8,17,31,.24);
}
*{box-sizing:border-box}
body{
  margin:0;
  background:
    radial-gradient(circle at top right, rgba(79,70,229,.22), transparent 28%),
    radial-gradient(circle at top left, rgba(6,182,212,.18), transparent 24%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  color:var(--text);
}
a{text-decoration:none}
input,select,textarea,button{font-family:inherit}
input::placeholder{color:#94a3b8!important}
.container{
  max-width:1040px;
  background:rgba(255,255,255,.98);
  border-radius:28px;
  margin:28px auto;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.free-wrap{
  width:min(94%,1040px);
  margin:28px auto;
  background:rgba(255,255,255,.98);
  padding:24px;
  border-radius:28px;
  box-shadow:var(--shadow);
}
.top_img,.top_img_step{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  object-fit:contain;
  object-position:center top;
  background:#fff;
}
.top_button{text-align:center;margin:18px 0}
.top_button button:first-child,.btn2,.btn_box>button,.hero-button{
  border:none;border-radius:16px;font-weight:700;cursor:pointer;transition:.2s transform,.2s box-shadow,.2s opacity;
}
.top_button button:first-child{
  width:100%;padding:16px 24px;font-size:20px;color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:0 14px 30px rgba(79,70,229,.28);
}
.top_button button:first-child:hover,.btn2:hover,.btn_box>button:hover,.hero-button:hover{transform:translateY(-1px)}
.bx-play{vertical-align:middle;font-size:22px;margin-right:6px}
.div02{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:8px 0 24px;padding:18px 20px;border:1px solid rgba(79,70,229,.12);
  background:linear-gradient(135deg,rgba(79,70,229,.06),rgba(6,182,212,.05));
  border-radius:18px;
}
.div02 p,.div02>div>p{margin:0;color:#334155;font-weight:600;font-size:14px;line-height:1.6}
.btn2{
  width:150px;height:46px;color:#fff;
  background:linear-gradient(135deg,#312e81,#2563eb);
  flex:0 0 auto;
}
.arrow-icon,.arrow-icon2{display:none}
.title,.title_step{
  margin:0;
  padding:14px 18px;
  color:#fff;
  font-size:1.02rem;
  letter-spacing:0;
  background:linear-gradient(135deg,#0f172a,#312e81);
  border-radius:18px 18px 0 0;
}
.title_sub,.title_step_sub{
  border:1px solid var(--line);
  border-top:none;
  padding:18px;
  background:#fff;
  border-radius:0 0 18px 18px;
}
.btn_box{text-align:center;margin:20px 0 0}
.btn_box>button{
  width:100%;padding:14px 0;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;font-size:17px;
}
.input-form{padding:22px}
.form-control,.custom-select{
  min-height:48px;
  border-radius:14px;
  border:1px solid #cbd5e1;
  padding:.75rem .95rem;
  box-shadow:none!important;
}
select.form-control{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-color:#fff;
  padding-right:40px;
  height:48px;
  line-height:1.5;
  cursor:pointer;
}
.form-control:focus,.custom-select:focus{
  border-color:#7c3aed;
  box-shadow:0 0 0 4px rgba(124,58,237,.12)!important;
}
.section-caption{
  margin:0 0 16px;padding:12px 14px;border-radius:14px;
  background:#0f172a;color:#fff;font-size:.95rem;font-weight:700;
}
.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}
.option-grid label,.survey-list label{
  display:flex;align-items:flex-start;gap:10px;margin:0;
  padding:10px 12px;border:1px solid #e2e8f0;border-radius:14px;
  background:#f8fafc;cursor:pointer;line-height:1.45
}
.option-grid label:hover,.survey-list label:hover{border-color:#a78bfa;background:#f5f3ff}
.option-grid input,.survey-list input{margin-top:3px}
.inline-note{font-size:.82rem;color:#ef4444;font-weight:600}
.dual-actions{display:flex;gap:12px;margin:24px 0 8px}
.dual-actions .action-primary,.dual-actions .action-secondary{
  flex:1;padding:15px 18px;border:none;border-radius:16px;font-size:17px;font-weight:700
}
.dual-actions .action-primary{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff}
.dual-actions .action-secondary{background:#eef2ff;color:#312e81}
.check-panel{
  padding:16px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc
}
.hero-card{
  margin-top:18px;padding:18px;border:1px solid rgba(79,70,229,.12);
  border-radius:20px;background:linear-gradient(135deg,rgba(79,70,229,.05),rgba(6,182,212,.04));
}
.hero-card button{
  max-width:100%;
}
.layer-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(3,7,18,.55);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  z-index:9999;
  opacity:0;
  transition:opacity .22s ease;
}
.layer-modal.is-open{
  display:flex;
  opacity:1;
}
.layer-modal-dialog{
  position:relative;
  display:flex;
  flex-direction:column;
  width:min(100%, 460px);
  height:auto;
  max-height:min(94vh, 640px);
  min-height:360px;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(2,6,23,.45), 0 4px 16px rgba(2,6,23,.18);
  transform:translateY(16px) scale(.98);
  opacity:0;
  transition:transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
.layer-modal.is-open .layer-modal-dialog{
  transform:translateY(0) scale(1);
  opacity:1;
}
.layer-modal-header{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 56px 16px 22px;
  background:linear-gradient(135deg,var(--primary,#4f46e5),var(--accent,#06b6d4));
  color:#fff;
  flex-shrink:0;
}
.layer-modal-title{
  margin:0;
  font-size:17px;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1.3;
}
.layer-modal-close{
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .15s ease, transform .15s ease;
}
.layer-modal-close:hover{
  background:rgba(255,255,255,.32);
  transform:translateY(-50%) rotate(90deg);
}
.layer-modal-close:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}
.layer-modal-frame{
  flex:0 0 auto;
  width:100%;
  height:360px;
  max-height:calc(94vh - 72px);
  border:0;
  display:block;
  background:#fff;
  overflow:hidden;
}
.modal-open{
  overflow:hidden;
}
textarea{font-family:inherit}
@media (max-width:768px){
  .free-wrap,.container{width:94%;margin:16px auto;border-radius:22px}
  .free-wrap{padding:16px}
  .div02{display:block;text-align:center}
  .btn2{width:100%;margin-top:12px}
  .top_button button:first-child{font-size:16px;line-height:1.4;padding:14px 16px}
  .option-grid{grid-template-columns:1fr}
  .dual-actions{flex-direction:column}
  .input-form{padding:14px}
  body{font-size:14px}
  .layer-modal{padding:10px}
  .layer-modal-dialog{
    width:100%;
    max-width:420px;
    max-height:min(96vh, 660px);
    min-height:340px;
    border-radius:18px;
  }
  .layer-modal-header{padding:14px 50px 14px 18px}
  .layer-modal-title{font-size:16px}
  .layer-modal-close{width:32px;height:32px;font-size:20px;right:12px}
}
