/* ── PAGE WRAPPER ── */
.page-wrap {
  padding-top: 68px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── LEFT PANEL ── */
.left-panel {
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 6vw 4rem;
  min-height: calc(100vh - 68px);
}
.left-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.left-glow {
  position: absolute; top: -10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(232,92,44,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.left-glow2 {
  position: absolute; bottom: 5%; left: -5%;
  width: 360px; height: 300px;
  background: radial-gradient(ellipse, rgba(26,170,152,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.left-content { position: relative; z-index: 2; }
.left-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,92,44,0.15); border: 1px solid rgba(232,92,44,0.3);
  padding: 0.35rem 0.9rem; border-radius: 100px;
  font-size: 0.68rem; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 2rem; width: fit-content;
}
.left-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.left-h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.4rem;
}
.left-h1 .accent-text { color: var(--accent); }
.left-h1 .dim-text { color: rgba(255,255,255,0.3); }
.left-sub {
  font-size: 0.92rem; line-height: 1.9;
  color: rgba(255,255,255,0.55);
  max-width: 400px;
  margin-bottom: 3rem;
}
.left-steps {
  display: flex; flex-direction: column; gap: 0; margin-bottom: 3.5rem;
}
.step {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; color: var(--accent);
  background: rgba(232,92,44,0.12);
  border: 1px solid rgba(232,92,44,0.25);
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  font-weight: 500;
}
.step-info h4 { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.step-info p { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

.left-assurance {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.assurance-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.assurance-item::before { content: '✓'; color: var(--teal); font-weight: 700; font-size: 0.8rem; }

/* ── RIGHT PANEL ── */
.right-panel {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5vw 4rem;
  position: relative;
}

.form-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.8rem 2.8rem 2.4rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  animation: fadeUp 0.6s ease both;
}

.form-header { margin-bottom: 2rem; }
.form-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.2em; color: var(--accent);
  text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-bottom: 0.7rem;
}
.form-tag::before { content:''; width: 20px; height: 1px; background: var(--accent); }
.form-title { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; color: var(--white); margin-bottom: 0.4rem; }
.form-subtitle { font-size: 0.82rem; color: var(--gray); line-height: 1.7; }

/* ── FORM FIELDS ── */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field-group { display: flex; flex-direction: column; gap: 0.45rem; }
.field-group.full { grid-column: 1 / -1; }
.field-label {
  font-size: 0.73rem; font-weight: 600; color: var(--white);
  letter-spacing: 0.03em; display: flex; align-items: center; gap: 4px;
}
.field-label .req { color: var(--accent); font-size: 0.7rem; }
.field-input, .field-select {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.95rem;
  font-size: 0.83rem;
  color: var(--white);
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
  appearance: none;
}
.field-input::placeholder { color: rgba(90,99,114,0.5); }
.field-input:focus, .field-select:focus {
  border-color: var(--accent);
  background: var(--bg2);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field-select-wrap { position: relative; }
.field-select-wrap::after {
  content: '▾'; position: absolute; right: 0.9rem; top: 50%;
  transform: translateY(-50%); color: var(--gray); font-size: 0.7rem; pointer-events: none;
}

/* ── DIVIDER ── */
.form-divider { height: 1px; background: var(--border); margin: 1.4rem 0; }

/* ── PRIVACY ── */
.privacy-wrap {
  display: flex; align-items: flex-start; gap: 0.7rem;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 1.2rem;
}
.privacy-checkbox {
  width: 16px; height: 16px; border-radius: 4px;
  border: 1.5px solid var(--border); background: var(--bg2);
  flex-shrink: 0; cursor: pointer; appearance: none;
  margin-top: 1px; transition: all 0.15s; position: relative;
}
.privacy-checkbox:checked { background: var(--accent); border-color: var(--accent); }
.privacy-checkbox:checked::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #fff; font-size: 0.6rem; font-weight: 700; }
.privacy-text { font-size: 0.78rem; color: var(--gray); line-height: 1.6; }
.privacy-text a { color: var(--accent); text-decoration: none; }
.privacy-text a:hover { text-decoration: underline; }

/* ── SUBMIT ── */
.btn-submit {
  width: 100%; padding: 0.95rem;
  background: var(--accent); color: #fff;
  border: none; border-radius: 10px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
}
.btn-submit::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.btn-submit:hover { background: #d44d1f; transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-submit:active { transform: translateY(0); }
.btn-arrow { transition: transform 0.2s; }
.btn-submit:hover .btn-arrow { transform: translateX(4px); }

.form-footer-note {
  text-align: center; margin-top: 1rem;
  font-size: 0.72rem; color: rgba(90,99,114,0.7);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.form-footer-note::before { content: '🔒'; font-size: 0.75rem; }

/* ── SUCCESS STATE ── */
.success-state {
  display: none;
  flex-direction: column; align-items: center; text-align: center;
  padding: 1rem 0;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(26,170,152,0.1); border: 2px solid rgba(26,170,152,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.4rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.success-title { font-size: 1.2rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.success-sub { font-size: 0.82rem; color: var(--gray); line-height: 1.7; max-width: 300px; }

/* ── ANIMATIONS ── */
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; }
  .left-panel { min-height: auto; padding: 4rem 5vw 3rem; }
  .left-steps { display: none; }
  .left-assurance { margin-top: 0; }
  footer { grid-column: 1; flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 600px) {
  .nav-center { display: none; }
  .form-card { padding: 2rem 1.4rem; }
  .field-grid { grid-template-columns: 1fr; }
  .form-title { font-size: 1.25rem; }
}

/* 에러 상태 인풋 */
.field-input-error {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* 에러 메시지 */
.field-error-msg {
  color: #ef4444;
  font-size: 12px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: fadeIn 0.2s ease;
}

.field-error-msg::before {
  content: '⚠';
  font-size: 11px;
}

/* 개인정보 동의 에러 */
.privacy-error {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}