/* 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #3b70ff;
  --dark-blue: #265ef6;
  --light-blue: #e7efff;
  --text-dark: #1a1a1a;
  --text-gray: #535355;
  --white: #ffffff;
}

body {
  font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR",
    -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 160px;
}

/* 히어로 섹션 */
.hero-section {
  width: 100%;
  padding: 0 160px;
  background: #2372ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.hero-image {
  width: 1168px;
  height: 900px;
  object-fit: cover;
}

/* SNS헬프란? 섹션 */
.intro-section {
  width: 100%;
  padding: 96px 0;
  background: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.intro-content {
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 48px;
}

.intro-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.intro-title {
  width: 100%;
  text-align: center;
  color: black;
  font-size: 36px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
}

.intro-body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px;
}

.intro-subtitle {
  width: 100%;
  text-align: center;
  color: var(--primary-blue);
  font-size: 30px;
  font-weight: 600;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  line-height: 32px;
}

.intro-description {
  width: 100%;
  text-align: center;
  color: #737373;
  font-size: 24px;
  font-weight: 400;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  line-height: 32px;
}

.btn-intro {
  min-width: 224px;
  min-height: 64px;
  padding: 20px 48px;
  background: var(--primary-blue);
  border-radius: 50px;
  border: 2px solid var(--primary-blue);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 24px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-intro:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* 추천인 왜 해야할까요? 섹션 */
.why-section {
  width: 100%;
  padding: 96px 0;
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.why-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.why-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-title {
  width: 100%;
  text-align: center;
  color: black;
  font-size: 36px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
}

.why-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-header > div:first-child {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-number {
  width: 28px;
  height: 28px;
  padding: 2px 6px;
  background: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  line-height: 20px;
}

.card-title {
  color: #18181b;
  font-size: 24px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  margin: 0;
}

.card-content {
  align-self: stretch;
  min-height: 160px;
  padding: 28px 10px;
  background: white;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-content p {
  flex: 1;
  color: #18181b;
  font-size: 24px;
  font-weight: 400;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  line-height: 32px;
  margin: 0;
}

.card-content .highlight {
  color: var(--primary-blue);
  font-weight: 600;
}

.card-content .highlight-bold {
  font-weight: 600;
}

/* 수상 내역 카드 스타일 */
.card-awards {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 64px;
}

.award-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.award-icon {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.award-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.award-badge {
  height: 24px;
  padding: 3px 10px;
  background: #eef2ff;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 600;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  line-height: 12px;
}

.award-years {
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 24px;
  height: 24px;
  padding: 3px 6px;
  background: var(--primary-blue);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 10px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  line-height: 8px;
  white-space: nowrap;
}

/* 누구에게 추천하면 좋을까요? 섹션 */
.recommend-section {
  width: 100%;
  padding: 96px 0;
  background: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.recommend-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 160px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.recommend-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recommend-title {
  width: 100%;
  text-align: center;
  color: black;
  font-size: 36px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
}

.recommend-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.recommend-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.recommend-card-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recommend-number {
  width: 28px;
  height: 28px;
  padding: 2px 6px;
  background: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  line-height: 20px;
}

.recommend-card-title {
  color: #18181b;
  font-size: 24px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  margin: 0;
}

.recommend-card-body {
  height: 160px;
  padding: 28px;
  background: linear-gradient(to right, #eef2ff, #dbeafe);
  border-radius: 12px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  gap: 10px;
}

.recommend-card-body.center {
  justify-content: center;
}

.recommend-text {
  color: #18181b;
  font-size: 20px;
  font-weight: 400;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  line-height: 32px;
  margin: 0;
}

.recommend-text.center {
  text-align: center;
}

.recommend-text .text-highlight {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Icons */
.icon-building {
  position: absolute;
  right: 40px;
  width: 80px;
  height: 96px;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='96' viewBox='0 0 80 96' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='20' height='86' fill='%235B8DEE' rx='2'/%3E%3Crect x='35' y='25' width='20' height='71' fill='%237BA5F0' rx='2'/%3E%3Crect x='60' y='15' width='15' height='81' fill='%234A7FD9' rx='2'/%3E%3Crect x='13' y='20' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='13' y='30' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='13' y='40' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='13' y='50' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='13' y='60' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='13' y='70' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='13' y='80' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='22' y='20' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='22' y='30' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='22' y='40' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='22' y='50' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='22' y='60' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='22' y='70' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='22' y='80' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='38' y='35' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='38' y='45' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='38' y='55' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='38' y='65' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='38' y='75' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='47' y='35' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='47' y='45' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='47' y='55' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='47' y='65' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='47' y='75' width='4' height='6' fill='white' opacity='0.6'/%3E%3Crect x='63' y='25' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='63' y='35' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='63' y='45' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='63' y='55' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='63' y='65' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='63' y='75' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='69' y='25' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='69' y='35' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='69' y='45' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='69' y='55' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='69' y='65' width='3' height='5' fill='white' opacity='0.6'/%3E%3Crect x='69' y='75' width='3' height='5' fill='white' opacity='0.6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-store {
  position: absolute;
  right: 40px;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 25 L15 15 L65 15 L70 25 Z' fill='%235B8DEE'/%3E%3Crect x='10' y='25' width='60' height='45' fill='%237BA5F0' rx='2'/%3E%3Crect x='30' y='45' width='20' height='25' fill='%234A7FD9'/%3E%3Ccircle cx='37' cy='57' r='2' fill='white' opacity='0.8'/%3E%3Crect x='15' y='32' width='12' height='10' fill='%23E0F2FE' opacity='0.7'/%3E%3Crect x='53' y='32' width='12' height='10' fill='%23E0F2FE' opacity='0.7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 3번째 카드를 2열에 걸쳐 중앙 배치 */
.recommend-card:nth-child(3) {
  grid-column: 1 / -1;
  max-width: calc(50% - 14px);
  margin: 0 auto;
  justify-self: center;
}

/* 참여 방법 섹션 */
.howto-section {
  width: 100%;
  padding: 96px 0;
  background: linear-gradient(to bottom, #dbeafe, #ffffff);
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.howto-container {
  width: 100%;
  max-width: 1600px;
  padding: 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.howto-badge {
  padding: 10px 20px;
  background: white;
  border-radius: 8px;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-size: 20px;
  font-weight: 600;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
}

.howto-main-title {
  text-align: center;
  color: #18181b;
  font-size: 36px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  margin: 0;
}

.howto-step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.step-badge {
  padding: 10px 20px;
  background: var(--primary-blue);
  border-radius: 8px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
}

.step-title {
  text-align: center;
  color: #18181b;
  font-size: 24px;
  font-weight: 600;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  margin: 0;
}

.howto-methods {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
}

.method-image {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
}

/* 2-4단계 가로 배치 */
.howto-steps-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step-full-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

/* 지금 시작하세요 섹션 */
.cta-section {
  width: 100%;
  padding: 96px 0;
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.cta-container {
  width: 100%;
  max-width: 1600px;
  padding: 0 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.cta-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px;
}

.cta-title-wrapper {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.cta-title {
  align-self: stretch;
  text-align: center;
  color: black;
  font-size: 36px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  margin: 0;
}

.cta-description {
  align-self: stretch;
  text-align: center;
  color: var(--text-gray);
  font-size: 24px;
  font-weight: 400;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  margin: 0;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-button {
  height: 80px;
  min-width: 224px;
  min-height: 64px;
  padding: 20px 48px;
  background-color: var(--primary-blue);
  border-radius: 50px;
  outline: 2px solid var(--primary-blue);
  outline-offset: -2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  color: white;
  font-size: 24px;
  font-weight: 700;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

@media (min-width: 1024px) {
  /* 1. 최상위 body에 배율 적용 */
  body {
    zoom: 0.8; /* 크롬, 사파리, 엣지에서 레이아웃 흐름을 유지하며 축소 */
    -moz-transform: scale(0.8); /* 파이어폭스 호환성 */
    -moz-transform-origin: top center;
  }

  /* 2. 축소로 인해 하단 배경이 잘리지 않도록 최소 높이 보정 (1 / 0.8 = 1.25) */
  html,
  body {
    min-height: 125vh;
  }
}
