@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700;900&display=swap');

:root {
  --primary-color: #1e3c72;
  --secondary-color: #2a5298;
  --accent-color: #f9d74c;
  --text-color: #333;
  --light-gray: #f0f2f5;
  --white: #ffffff;
  --shadow: 0 10px 20px rgba(0,0,0,0.07);
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-color);
  line-height: 1.8;
  background-color: var(--light-gray);
  font-weight: 400;
}

h1, h2, h3 {
  margin: 0 0 15px;
  font-weight: 700;
  word-break: keep-all;
}

h1 { font-size: 2.8rem; font-weight: 900; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

/* 섹션별 배경 패턴/그래픽 */
.hero {
  background: linear-gradient(120deg, var(--primary-color) 60%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38px;
  background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 1440 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0H1440V25C960 38 480 12 0 25V0Z" fill="%23f9d74c" fill-opacity="0.7"/></svg>') repeat-x;
  opacity: 0.18;
  filter: blur(2.5px);
  z-index: 0;
  pointer-events: none;
}

@keyframes move-grid {
  from { transform: translate(0, 0); }
  to { transform: translate(-100px, 100px); }
}


.hero-content {
  max-width: 480px;
  margin: 0 auto;
  padding-top: 18px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .highlight {
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(249, 215, 76, 0.5);
}

.hero p {
  max-width: 420px;
  margin: 0 auto 18px auto;
  font-size: 1.13rem;
  font-weight: 600;
  color: #fffbe8;
  background: linear-gradient(90deg, #1e3c72cc 60%, #2a5298cc 100%);
  padding: 8px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 6px #1e3c7220;
  display: inline-block;
  text-shadow: 0 2px 8px #1e3c72cc, 0 0 8px #f9d74c40;
  letter-spacing: -0.5px;
}

.cta-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 18px auto 0 auto;
  background: linear-gradient(90deg, var(--accent-color) 80%, #fffbe8 100%);
  color: var(--primary-color);
  border: none;
  padding: 13px 0;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 22px;
  box-shadow: 0 4px 16px #f9d74c44, 0 2px 8px #1e3c7212;
  text-shadow: 0 0 6px #fffbe8, 0 0 10px #f9d74c;
  letter-spacing: 0.01em;
  transition: all 0.18s cubic-bezier(.4,1,.4,1);
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}

.cta-btn:hover {
  filter: brightness(1.08) drop-shadow(0 0 8px #f9d74c);
  box-shadow: 0 12px 32px #f9d74c77, 0 2px 8px #1e3c7212;
}

.hero-content .cta-btn + .cta-gradient-bar {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 4px;
  margin: 12px auto 0 auto;
  border-radius: 4px;
  background: linear-gradient(90deg, #fffbe8 0%, var(--accent-color) 100%);
  opacity: 0.38;
  box-shadow: 0 1px 4px #f9d74c22;
}

.deadline {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 10px 18px;
  margin: 18px auto 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 320px;
  box-shadow: 0 2px 8px #1e3c7212;
  margin-bottom: 10px;
}

.deadline p {
  margin: 0;
  font-size: 0.9rem;
}

.deadline h2 {
  margin: 8px 0 0;
  color: var(--accent-color);
  font-size: 2rem;
  letter-spacing: 2px;
}

section {
  padding: 90px 0 70px 0;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  text-align: center;
  position: relative;
}

section h2 {
    margin-bottom: 40px;
}

/* PC: 카드 3개 자연스럽게 퍼지게, gap/align 개선 */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 32px;
  margin-top: 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.card {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 360px;
  margin: 0;
  background: #fff;
  border-radius: 36px 18px 32px 24px;
  box-shadow: 0 4px 24px 0 rgba(30,60,114,0.07), 0 1.5px 6px rgba(30,60,114,0.03);
  padding: 20px 16px 18px 16px;
  min-height: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: box-shadow 0.28s cubic-bezier(.4,1,.4,1), transform 0.22s cubic-bezier(.4,1,.4,1), background 0.3s, border-radius 0.3s;
  background-clip: padding-box;
  border: 1.5px solid #f0f2f5;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  border-radius: 36px 18px 32px 24px;
  background: linear-gradient(120deg,rgba(249,215,76,0.07) 0%,rgba(30,60,114,0.04) 100%);
  z-index: 0;
  pointer-events: none;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 16px 40px 0 rgba(30,60,114,0.13), 0 2px 8px rgba(30,60,114,0.08);
  background: #f9fafc;
  border-radius: 32px 24px 36px 18px;
  border-color: var(--accent-color);
}

.card .icon {
    font-size: 2.1rem;
    margin-bottom: 8px;
    margin-top: 0;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    margin-top: 0;
    font-size: 1.13rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.98rem;
}

.what {
    background: var(--white);
}

/* WHAT 섹션: 리스트가 카드처럼 보이게 */
.what ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  padding: 0;
}
.what li {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  background: #f7f8fa;
  box-shadow: 0 2px 10px #1e3c7212;
  border-radius: 28px 16px 24px 20px;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 22px 22px 22px 54px;
  position: relative;
  display: flex;
  align-items: center;
  border: 1.2px solid #ececec;
  transition: box-shadow 0.22s cubic-bezier(.4,1,.4,1), background 0.22s, border-radius 0.3s;
  overflow: hidden;
  text-align: left;
}
.what li i, .what li svg {
  vertical-align: middle;
  margin-right: 8px;
}
.what li::before {
  border-radius: 28px 16px 24px 20px;
}
.what li:hover {
  background: #fffbe8;
  box-shadow: 0 8px 24px #f9d74c33, 0 2px 8px #1e3c7212;
  border-radius: 24px 20px 28px 16px;
}

.what li::before {
    content: '✔';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-weight: bold;
}


.proof {
  background: #f0f2f5;
  position: relative;
  padding-top: 64px;
  padding-bottom: 48px;
  overflow: hidden;
}
.proof::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; height: 70px;
  background: linear-gradient(180deg, #ffe06633 0%, transparent 100%);
  background-size: 100% 100%;
  background-position: top;
  z-index: 0;
}
.proof::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 70px;
  background: linear-gradient(0deg, #ffe06633 0%, transparent 100%);
  background-size: 100% 100%;
  background-position: bottom;
  z-index: 0;
}
.proof h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px #f9d74c33, 0 0 12px #1e3c7211;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.proof h2::after {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  margin: 14px auto 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-color) 60%, #fffbe8 100%);
  opacity: 0.7;
}
.proof p {
  color: #666;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
  border-bottom: 1.5px dashed #ffe06655;
  display: inline-block;
  padding-bottom: 4px;
  background: linear-gradient(90deg, #fffbe8 0%, #f0f2f5 100%);
  border-radius: 4px;
  box-shadow: 0 1px 4px #f9d74c11;
  position: relative;
  z-index: 1;
}

.cta-form-container {
  margin-top: 48px;
  margin-bottom: 0;
  border-radius: 36px 18px 32px 24px;
  box-shadow: 0 4px 24px 0 rgba(30,60,114,0.07), 0 1.5px 6px rgba(30,60,114,0.03);
  background: #fff;
  padding: 48px 0;
  overflow: hidden;
}

.cta-form {
  background: var(--white);
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(30, 60, 114, 0.1), 0 8px 16px rgba(30, 60, 114, 0.08);
  max-width: 550px;
  padding: 50px;
  margin: 0 auto; /* 폼 컨테이너 중앙 정렬 */
  border: 1px solid #eee;
}

.cta-form h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.cta-form form {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.cta-form input {
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
}

.cta-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.2);
}

.cta-form button {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 16px 4px #f9d74c80, 0 4px 15px rgba(249, 215, 76, 0.4);
  text-shadow: 0 0 8px #f9d74c, 0 0 16px #f9d74c;
}

.cta-form button:hover {
  opacity: 0.9;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  filter: brightness(1.1) drop-shadow(0 0 8px #f9d74c);
}

.privacy {
  font-size: 0.8rem;
  color: #999;
  margin-top: 15px;
}

footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--primary-color);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* 슬라이더 스타일 */
.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px 0 32px 0;
  padding: 0 0 0 0;
}
.slider-viewport {
  width: 100%;
  max-width: 720px;
  min-width: 220px;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.slider {
  display: flex;
  min-height: 140px;
  align-items: center;
  transition: transform 0.5s cubic-bezier(.4,1,.4,1);
}

.slide {
  flex-shrink: 0;
  width: 220px;
  max-width: 90vw;
  min-width: 140px;
  margin: 0 6px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px #1e3c720c;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 500;
}

.slide:hover {
    transform: translateY(-5px);
}

.slide h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.slider-btn {
  background: #fff;
  border: 1px solid #ddd;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 50%;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 0 15px;
}

.slider-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .slider-viewport {
    max-width: 740px;
  }
}

/* 타이포그래피 강조 */
.hero h1, .hero .highlight {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 2px 16px #1e3c72cc, 0 0 24px #f9d74c99;
}

@media (max-width: 800px) {
  .hero h1, .hero .highlight { font-size: 2.1rem; }
}

.cards .card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* 미니 인터랙션: 버튼 클릭, 카드 클릭 */
.cta-btn:active, .cta-form button:active {
  transform: scale(0.96) translateY(2px);
  box-shadow: 0 2px 8px #f9d74c80;
}
.card:active {
  transform: scale(0.98) translateY(2px);
  box-shadow: 0 2px 8px #1e3c7280;
}

/* 모바일: 카드/리스트/섹션 세로로 부드럽게 쌓이게, 여백/gap 조정 */
@media (max-width: 900px) {
  .cards {
    gap: 14px;
  }
  .card {
    flex: 1 1 98vw;
    max-width: 98vw;
    min-width: 220px;
    margin: 0 auto;
    min-height: 160px;
    padding: 16px 8px 12px 8px;
  }
  .what ul {
    gap: 10px;
  }
  .what li {
    max-width: 98vw;
    min-width: 120px;
    margin: 0 auto;
  }
  .slider-viewport {
    max-width: 98vw;
    min-width: 120px;
  }
  .slide {
    width: 45vw;
    min-width: 120px;
    max-width: 98vw;
    margin: 0 2vw;
    padding: 10px 6px;
    font-size: 0.98rem;
    border-radius: 8px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .hero h1, .hero .highlight { font-size: 1.4rem; }
  .hero { padding: 40px 8px 30px; }
  .hero-content {
    max-width: 98vw;
    padding-top: 8px;
  }
  .hero p {
    max-width: 95vw;
    font-size: 0.98rem;
    padding: 6px 8px;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  .deadline {
    min-width: 0;
    max-width: 98vw;
    padding: 7px 6px;
    border-radius: 7px;
    margin: 10px auto 6px auto;
  }
  .cta-btn {
    max-width: 98vw;
    font-size: 0.98rem;
    padding: 9px 0;
    border-radius: 13px;
    margin: 12px auto 0 auto;
    margin-bottom: 16px;
  }
  .hero-content .cta-btn + .cta-gradient-bar {
    max-width: 98vw;
    height: 3px;
    margin: 8px auto 0 auto;
    border-radius: 2px;
  }
  .cards {
    flex-direction: column;
    gap: 8px;
    padding: 0 1vw;
    max-width: 100vw;
  }
  .card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 2px 6px 2px;
    border-radius: 12px 6px 10px 8px;
    box-sizing: border-box;
    height: auto;
    min-height: unset;
    flex: none;
    align-items: center;
  }
  .card .icon {
    font-size: 1rem;
    margin-bottom: 3px;
  }
  .card h3 {
    font-size: 0.93rem;
    margin-bottom: 3px;
    word-break: keep-all;
  }
  .card p {
    font-size: 0.91rem;
    margin-bottom: 0;
    word-break: break-word;
  }
  .cta-form-container { padding: 20px 4px; }
  .cta-form { padding: 12px 4px; max-width: 98vw; }
  .cta-form input, .cta-form button { font-size: 0.95rem; padding: 10px; }
  .slider-viewport { width: 98vw; min-width: 80px; }
  .slide { width: 90vw; min-width: 80px; max-width: 98vw; margin: 0 1vw; padding: 8px 2px; font-size: 0.97rem; border-radius: 6px; }
  .slider-btn { font-size: 1.1rem; padding: 4px 8px; margin: 8px 0; }
  .privacy { font-size: 0.7rem; }
  footer { padding: 20px 4px; font-size: 0.8rem; }
  .what ul {
    gap: 10px;
    margin-top: 18px;
  }
  .what li {
    max-width: 98vw;
    padding: 14px 10px 14px 38px;
    font-size: 0.98rem;
    border-radius: 16px 8px 12px 10px;
  }
  }
  
.salary-preview {
  background: #fff;
  margin: 48px auto 0 auto;
  padding: 36px 24px 28px 24px;
  border-radius: 18px;
  box-shadow: 0 4px 18px #1e3c7210, 0 1.5px 6px #1e3c7208;
  max-width: 420px;
  text-align: center;
  position: relative;
}
.salary-preview h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.salary-preview p {
  font-size: 1.01rem;
  color: #444;
  margin-bottom: 18px;
}
.salary-preview input[type="number"] {
  padding: 8px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.2px solid #ddd;
  width: 110px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px #1e3c7208;
}
.salary-preview input[type="number"]:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px #f9d74c33;
}
.salary-preview button {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--accent-color);
  color: var(--primary-color);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px #f9d74c22;
  transition: background 0.2s, box-shadow 0.2s;
}
.salary-preview button:hover {
  background: #ffe066;
  box-shadow: 0 4px 16px #f9d74c33;
}
#salary-result {
  font-size: 1.13rem;
  font-weight: 800;
  color: var(--primary-color);
  min-height: 28px;
  margin-top: 10px;
  }
#salary-extra-msg {
  font-size: 0.99rem;
  color: #666;
  margin-top: 7px;
  background: #f7f8fa;
  border-radius: 7px;
  padding: 7px 0 6px 0;
  box-shadow: 0 1px 4px #1e3c7208;
  display: none;
}
@media (max-width: 600px) {
  .salary-preview {
    padding: 18px 6px 14px 6px;
    border-radius: 10px;
    margin: 28px auto 0 auto;
    max-width: 98vw;
  }
  .salary-preview h2 {
    font-size: 1.08rem;
    margin-bottom: 7px;
  }
  .salary-preview p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  .salary-preview input[type="number"] {
    padding: 6px 8px;
    font-size: 0.97rem;
    border-radius: 6px;
    width: 80px;
  }
  .salary-preview button {
    padding: 6px 10px;
    font-size: 0.97rem;
    border-radius: 6px;
  }
  #salary-result {
    font-size: 1.01rem;
    margin-top: 7px;
  }
  #salary-extra-msg {
    font-size: 0.93rem;
    border-radius: 4px;
    padding: 5px 0 4px 0;
    margin-top: 5px;
  }
}
@media (max-width: 600px) {
  .slider-viewport {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    padding: 0;
    margin: 0 auto;
  }
  .slide {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
}
