/* ==========================================
   채용광고 상품 페이지 - Toss-Inspired Design
   ========================================== */

/* 메인 컨테이너 */
.products-main {
  min-height: calc(100vh - 200px);
  background: #f5f5f5;
  padding: 60px 0 80px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   히어로 영역
   ========================================== */
.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 48px;
  padding: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 24px;
  border: 1px solid #e5e8eb;
}

.hero-left {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 히어로 일러스트레이션 */
.hero-illustration {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.illustration-circle i {
  font-size: 32px;
  color: #ffffff;
}

.circle-1 {
  top: 20px;
  left: 20px;
  background: var(--brand-color, #A50808);
  animation-delay: 0s;
}

.circle-2 {
  top: 20px;
  right: 20px;
  background: var(--brand-color, #A50808);
  animation-delay: 0.5s;
}

.circle-3 {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-color, #A50808);
  animation-delay: 1s;
}

.illustration-center {
  position: relative;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 3px solid #e5e8eb;
  z-index: 1;
}

.center-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-color, #A50808);
  line-height: 1;
  margin-bottom: 4px;
}

.center-text {
  font-size: 14px;
  font-weight: 600;
  color: #6b7684;
}

.hero-right {
  flex: 1;
}

.hero-right h1 {
  font-size: 28px;
  font-weight: 700;
  color: #191f28;
  margin: 0 0 20px 0;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.hero-right h1 b {
  color: var(--brand-color, #A50808);
  font-weight: 800;
}

.hero-right p {
  font-size: 16px;
  color: #6b7684;
  margin: 0;
  line-height: 1.7;
}

/* ==========================================
   프로모션 배너
   ========================================== */
.promo-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 2px solid #e5e8eb;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.02) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.promo-image {
  flex: 0 0 200px;
  position: relative;
  z-index: 1;
}

.promo-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.promo-image:hover img {
  transform: scale(1.05);
}

.promo-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.promo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.promo-badge {
  display: inline-block;
  background: var(--brand-color, #A50808);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.promo-title {
  font-size: 32px;
  font-weight: 800;
  color: #191f28;
  margin: 0 0 20px 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.promo-text {
  flex: 1;
  font-size: 15px;
  color: #6b7684;
  margin: 0;
  line-height: 1.6;
}

.promo-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4e5968;
}

.feature-item i {
  color: var(--brand-color, #A50808);
  font-size: 18px;
}

/* ==========================================
   섹션 타이틀
   ========================================== */
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #191f28;
  margin: 0 0 32px 0;
  text-align: center;
  letter-spacing: -0.02em;
}

/* ==========================================
   상품 카드 그리드
   ========================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.2s ease;
}

.card:hover {
  border-color: #d1d6db;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card .badge {
  display: inline-block;
  padding: 16px 20px;
  background: var(--brand-color, #A50808);
  color: #ffffff;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .meta {
  font-size: 14px;
  color: #6b7684;
  margin-bottom: 12px;
  line-height: 1.6;
  min-height: 44px;
}

.pos-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn.small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #e5e8eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #4e5968;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.small:hover {
  background: #ffffff;
  border-color: #d1d6db;
  color: #191f28;
}

.btn.small .chev {
  font-size: 18px;
  font-weight: 700;
  color: #8b95a1;
}

.btn.register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #e5e8eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #4e5968;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0;
  letter-spacing: 0;
}

.btn.register-btn:hover {
  background: #ffffff;
  border-color: #d1d6db;
  color: #191f28;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ==========================================
   가격 안내 섹션
   ========================================== */
.pricing-section {
  margin-top: 64px;
}

.price-row {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.2s ease;
}

.price-row:hover {
  border-color: #d1d6db;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* 상품 플랜 */
.price-plan {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
}

.price-plan-header {
  padding: 16px 24px;
  background: var(--brand-color, #0076BE);
  color: #ffffff;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.price-plan-body {
  font-size: 14px;
  color: #4e5968;
  line-height: 1.8;
}

.price-plan-body strong {
  color: var(--brand-color, #A50808);
  font-weight: 600;
}

/* 가격 옵션 */
.price-options-wrap {
  flex: 1;
  display: flex;
  gap: 16px;
}

.price-options {
  flex: 1;
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e8eb;
}

.price-options-title {
  font-size: 15px;
  font-weight: 700;
  color: #191f28;
  margin-bottom: 16px;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e8eb;
}

.price-options ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-options li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e8eb;
  transition: all 0.2s ease;
}

.price-options li:hover {
  border-color: #d1d6db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.price-options li span:first-child {
  font-size: 14px;
  color: #6b7684;
  font-weight: 500;
}

.price-options li .price {
  font-size: 16px;
  color: #191f28;
  font-weight: 700;
}

/* ==========================================
   안내사항 섹션
   ========================================== */
.notice-section {
  margin-top: 64px;
  padding: 32px 40px;
  background: #f9fafb;
  border: 1px solid #e5e8eb;
  border-radius: 16px;
}

.notice-title {
  font-size: 18px;
  font-weight: 700;
  color: #191f28;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-list li {
  font-size: 14px;
  color: #6b7684;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.notice-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-color, #A50808);
  font-weight: 700;
  font-size: 16px;
}

/* ==========================================
   반응형 디자인
   ========================================== */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-options-wrap {
    flex-direction: column;
  }

  .price-row {
    flex-direction: column;
  }

  .price-plan {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .products-main {
    padding: 40px 0 60px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero {
    flex-direction: column;
    gap: 32px;
    padding: 32px 24px;
  }

  .hero-left {
    flex: 1;
    max-width: 250px;
  }

  .hero-illustration {
    width: 220px;
    height: 220px;
  }

  .illustration-circle {
    width: 60px;
    height: 60px;
  }

  .illustration-circle i {
    font-size: 24px;
  }

  .circle-1 {
    top: 10px;
    left: 10px;
  }

  .circle-2 {
    top: 10px;
    right: 10px;
  }

  .circle-3 {
    bottom: 10px;
  }

  .illustration-center {
    width: 110px;
    height: 110px;
  }

  .center-number {
    font-size: 36px;
  }

  .center-text {
    font-size: 12px;
  }

  .hero-right h1 {
    font-size: 22px;
  }

  .hero-right p {
    font-size: 15px;
  }

  .promo-banner {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .promo-image {
    flex: 0 0 auto;
  }

  .promo-image img {
    width: 150px;
    height: 150px;
  }

  .promo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }

  .promo-title {
    font-size: 24px;
  }

  .promo-text {
    font-size: 14px;
  }

  .promo-features {
    gap: 12px;
  }

  .feature-item {
    font-size: 13px;
  }

  .section-title {
    font-size: 22px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-row {
    padding: 24px 20px;
  }

  .price-plan-header {
    font-size: 16px;
    padding: 14px 20px;
  }

  .price-plan-body {
    font-size: 13px;
  }

  .notice-section {
    padding: 24px 20px;
  }

  .notice-title {
    font-size: 16px;
  }

  .notice-list li {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-right h1 {
    font-size: 20px;
  }

  .promo-banner {
    padding: 20px;
  }

  .promo-image img {
    width: 120px;
    height: 120px;
  }

  .promo-header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .promo-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .promo-text {
    font-size: 13px;
  }

  .promo-badge {
    font-size: 13px;
    padding: 6px 16px;
  }

  .feature-item {
    font-size: 12px;
  }

  .feature-item i {
    font-size: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .card {
    padding: 24px 20px;
  }

  .price-row {
    padding: 20px 16px;
  }

  .price-options {
    padding: 16px;
  }

  .price-options-title {
    font-size: 14px;
  }
}

/* ==========================================
   애니메이션
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.card {
  animation: fadeInUp 0.5s ease backwards;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }

.price-row {
  animation: fadeInUp 0.5s ease backwards;
}

.price-row:nth-child(2) { animation-delay: 0.1s; }
.price-row:nth-child(3) { animation-delay: 0.15s; }
.price-row:nth-child(4) { animation-delay: 0.2s; }
.price-row:nth-child(5) { animation-delay: 0.25s; }
.price-row:nth-child(6) { animation-delay: 0.3s; }
.price-row:nth-child(7) { animation-delay: 0.35s; }
