/* ===== 기본 리셋 & 유틸리티 ===== */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Hero 배경 패턴 ===== */
.hero-pattern {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

/* ===== 섹션 타이틀 ===== */
.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  text-align: center;
  color: #1e293b;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ===== 하이라이트 카드 (숫자 강조) ===== */
.highlight-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.highlight-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #F37321;
  margin-bottom: 0.25rem;
}

.highlight-label {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .highlight-number {
    font-size: 1.75rem;
  }
}

/* ===== 카드 컴포넌트 ===== */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===== 교육체계 스텝 ===== */
.step-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.step-card-highlight {
  background: linear-gradient(135deg, #F37321, #EA580C);
  border-color: transparent;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: #FFF8F1;
  color: #F37321;
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-number-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.125rem;
}

.step-desc {
  font-size: 0.875rem;
  color: #64748b;
}

.step-connector {
  width: 2px;
  height: 1.5rem;
  background: #F37321;
  margin-left: 2.75rem;
  opacity: 0.3;
}

/* ===== 복리후생 카드 ===== */
.benefit-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.375rem;
}

.benefit-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
}

/* ===== 근무조건 행 ===== */
.info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.info-label {
  min-width: 5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #F37321;
  flex-shrink: 0;
}

.info-value {
  font-size: 0.9375rem;
  color: #334155;
}

/* ===== 지원자격 리스트 ===== */
.qual-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #334155;
  transition: transform 0.2s ease;
}

.qual-item:hover {
  transform: translateX(4px);
}

.qual-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #F37321;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 입사자 후기 카드 ===== */
.review-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.review-author {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== "이런 분이라면" 카드 ===== */
.for-you-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.0625rem;
  line-height: 1.5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.for-you-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.for-you-emoji {
  font-size: 1.75rem;
  flex-shrink: 0;
}

/* ===== 폼 스타일 ===== */
.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  border-color: #F37321;
  box-shadow: 0 0 0 3px rgba(243, 115, 33, 0.15);
}

.form-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* ===== 모달 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
}

.modal-content {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

/* ===== 고정 CTA 버튼 ===== */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e2e8f0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fixed-cta.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* ===== Fade-in 애니메이션 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 제출 버튼 로딩 상태 ===== */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  top: 50%;
  left: 50%;
  margin-top: -0.625rem;
  margin-left: -0.625rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== 체크박스 커스텀 ===== */
input[type="checkbox"] {
  accent-color: #F37321;
}

/* ===== 반응형 보정 ===== */
@media (max-width: 640px) {
  .section-title {
    font-size: 1.5rem;
  }

  .for-you-card {
    font-size: 0.9375rem;
    padding: 1rem;
  }

  .for-you-emoji {
    font-size: 1.5rem;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .info-label {
    min-width: auto;
  }

  .highlight-number {
    font-size: 1.25rem;
  }

  .step-card {
    padding: 1rem;
  }
}
