/* btn */
.btn {
  display: inline-block;
  text-align: center;
  background-color: var(--primary-color-100);
}

.login-btn {
  width: 128px;
  height: 48px;
  border-radius: 8px;
  color: var(--secondary-color-gray100);
  font-size: var(--text-base);
  line-height: 4.8rem;
  font-weight: var(--font-semibold);
}

.more-btn {
  width: 100%;
  height: 56px;
  margin: 32px 0 0;
  border-radius: 40px;
  color: var(--secondary-color-gray50);
  font-size: var(--text-lg);
  line-height: 5.6rem;
  font-weight: var(--font-semibold);
}

/* badge */
.badge {
  font-size: var(--text-base);
  line-height: var(--leading-base);
  font-weight: var(--font-bold);
  color: var(--primary-color-100);
}

/* font size */
body {
  font-size: var(--text-base);
  line-height: var(--leading-base);
  font-weight: var(--font-normal);
  color: var(--secondary-color-gray700);
}

/* Hero, footer-banner 메인 타이틀 */
.hero-heading h1,
.footer-banner-heading h2 {
  font-size: var(--text-3xl);
  line-height: var(--leading-3xl);
  font-weight: var(--font-bold);
  margin: 0;
}

/* 섹션 타이틀 */
.features h2 {
  font-size: var(--text-2xl);
  line-height: var(--leading-2xl);
  font-weight: var(--font-bold);
  margin: 0;
}

/* 기타 텍스트 (링크, 부가 정보 등) */
footer p,
footer a {
  font-size: var(--text-base);
  line-height: var(--leading-base);
  font-weight: var(--font-normal);
}

.container {
  width: 100%;
  max-width: 343px;
  margin: 0 auto;
}

/* header */
header {
  width: 100%;
  height: 70px;
  padding: 9px 16px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 103px;
}

/* main */
main {
  margin-top: 70px;
}

/* hero */
.hero {
  height: 540px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 48px 0 0;
  background-color: var(--background-color);
}

.hero-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.hero-heading {
  max-width: 240px;
  text-align: center;
}

.hero .img-box {
  width: 100%;
}

/* features */
.features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px 0px;
  background-color: #fff;
}

.feature {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.features .img-box {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.features .text-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature:nth-child(2) .text-box {
  align-items: flex-end;
  text-align: right;
}

/* footer-banner */
.footer-banner {
  height: 540px;
  padding-top: 120px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: var(--background-color);
}

.footer-banner-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.footer-banner-heading {
  text-align: center;
}

.footer-banner .img-box {
  width: 100%;
}

/* footer */
footer {
  height: 160px;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  background-color: var(--secondary-color-gray900);
}

.footer-inner {
  max-width: 1120px;
  width: 100%;
  margin-top: 3.2rem;
  display: flex;
  justify-content: space-between;
  position: relative;
}

footer ul {
  display: flex;
}

.copyright {
  position: absolute;
  left: 0;
  top: 48px;
}

.footer-links {
  gap: 3rem;
}

.sns-links {
  gap: 1.2rem;
}

.sns-link {
  display: inline-block;
}

footer p {
  color: var(--secondary-color-gray400);
}
footer a {
  color: var(--secondary-color-gray200);
}

/* 반응형 조절 */

@media (min-width: 768px) {
  .container {
    max-width: 696px;
  }

  .more-btn {
    width: 357px;
  }

  .logo img {
    max-width: 153px;
  }

  /* font-size */
  .features p {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
  }

  .badge {
    font-size: var(--text-lg);
  }

  .hero-heading h1,
  .footer-banner-heading h2 {
    font-size: var(--text-4xl);
    line-height: var(--leading-4xl);
    font-weight: var(--font-bold);
  }

  .features h2 {
    font-size: var(--text-3xl);
    line-height: var(--leading-3xl);
    font-weight: var(--font-bold);
    margin: 0;
  }

  /* 레이아웃 수정 */
  header {
    padding: 9px 24px;
  }

  .hero {
    height: 771px;
    padding: 84px 0 0;
  }

  .hero-heading {
    max-width: 515px;
  }

  .feature {
    max-width: 696px;
  }

  .features .img-box img {
    width: 100%;
    height: auto;
  }

  .features .text-box {
    gap: 24px;
  }

  .footer-banner {
    height: 927px;
    padding: 201px 0 0;
  }

  .copyright {
    position: static;
  }

  footer {
    padding: 0px 104px;
  }
}

@media (min-width: 1200px) {
  .word-nowrap {
    white-space: nowrap;
  }

  .container {
    max-width: 1120px;
  }

  /* font-size */
  body {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
  }

  .more-btn {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
  }

  .badge {
    font-size: var(--text-lg);
  }

  .features h2 {
    font-size: var(--text-4xl);
    line-height: var(--leading-4xl);
    font-weight: var(--font-bold);
  }

  .features p {
    font-size: var(--text-2xl);
    line-height: var(--leading-2xl);
    font-weight: var(--font-medium);
  }

  /* 레이아웃 수정 */
  header {
    padding: 9px 200px;
  }

  .hero {
    height: 540px;
  }

  .hero-inner {
    max-width: 1110px;
    flex-direction: row;
  }

  .hero-heading {
    max-width: 357px;
    text-align: left;
  }
  .hero .img-box {
    height: 100%;
    align-items: flex-end;
  }

  .features {
    padding: 138px 0;
    gap: 138px 0;
  }

  .feature {
    max-width: 988px;
    height: 444px;
    flex-direction: row;
    margin: 0 auto;
    gap: 64px;
    border-radius: 12px;
    background-color: var(--secondary-color-gray50);
  }

  .feature:nth-child(2) {
    flex-direction: row-reverse;
  }

  .features .img-box {
    max-width: 579px;
    border-radius: 0;
  }

  .features .text-box {
    flex: 1;
  }

  .footer-banner {
    height: 540px;
    padding: 143px 0 0;
  }

  .footer-banner-inner {
    max-width: 1110px;
    flex-direction: row;
  }

  .footer-banner-heading {
    text-align: left;
  }

  .footer-banner .img-box {
    width: 746px;
  }
}

@media (min-width: 1920px) {
  .header-inner {
    max-width: 1120px;
    margin: 0 auto;
  }
}
