.pricing {
  background-color: white;
  padding: 78px 20px 68px;
}

.pricing-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 44px 0px 60px;
}

.pricing-header.second {
  margin: 112px 0px 100px;
}

.pricing-header .title {
  font-size: var(--font-h50);
  font-weight: var(--font-weight-bold);
  line-height: 0.95;
}

.pricing-header .sub-title {
  font-size: var(--font-b2);
  line-height: 1.54;
  color: #777777;
}
.pricing-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 20px;
  gap: 23px;
  height: auto;
  justify-content: space-between;
}

.pricing-card.free {
  min-height: 376px;
}

.pricing-card.pro {
  min-height: 455px;
}

.pricing-card.premium {
  min-height: 493px;
}

.pricing-card-uppder {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
}

.card-main-title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-h3);
  line-height: 1.45;
}

.pricing-card.free {
  background-color: white;
  box-shadow: 0px 4px 84.3px 0px #efefef;
}

.pricing-card.pro {
  background-color: var(--brand-tertiary);
  color: white;
}

.pricing-card.premium {
  background-color: var(--brand-primary);
  color: white;
}

.card-sub-title {
  font-size: var(--font-b2);
  line-height: 1.54;
}

.card-sub-title.free {
  color: #7c7c7c;
}

.prcing-card-description {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.desc-title {
  display: flex;
  font-size: var(--font-b2);
  line-height: 1.54;
  align-items: center;
}

.desc-title.free {
  gap: 18.5px;
}

.desc-title.all {
  gap: 11px;
}

.desc-svg-bg {
  height: 28px;
  width: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 100px;
}

.blue {
  background-color: #3484fd;
}

.light-blue {
  background-color: #11afff;
}

.yellow {
  background-color: #ffae00;
}

.black {
  background-color: #3c3c3c;
}

.pricing-card-footer {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.pricing-card-price {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: end;
}

.price-title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-h3);
  line-height: 1.45;
}

.price-sub-title {
  font-size: var(--font-b1);
  line-height: 1.4;
}

.card-btn-section {
  position: relative;
}

.beta-badge {
  position: absolute;
  background-color: #ff5353;
  border-radius: 49px;
  width: 36px;
  height: 22px;
  font-size: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: var(--font-weight-bold);
  color: white;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}

.pricing-card-btn {
  width: 100%;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  font-size: var(--font-b2);
  font-weight: var(--font-weight-bold);
  pointer-events: none;
}

.pricing-card-btn.free {
  background-color: #ebebeb;
}

.pricing-card-btn.blue {
  color: white;
}

.pricing-card-btn.black {
  color: white;
}

/*요금상세*/
.pricing-table {
  width: 100%;
}

.pricing-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 95px;
}

.header-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-b15);
}

.header-cell:first-child {
  background-color: transparent;
}

.header-cell.free {
  border-top-left-radius: 16px;
  background-color: #e8e8e8;
  color: #333;
}

.header-cell.pro {
  background-color: var(--brand-tertiary);
  color: white;
}

.header-cell.premium {
  background-color: var(--brand-primary);
  color: white;
  border-top-right-radius: 16px;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 102px;
}

.feature-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-b1);
  color: #2c2c2c;
}

.check-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.check {
  font-size: 24px;
  color: #000;
}

/* 여기서는 짝수 줄 */
.pricing-row:nth-child(odd) .feature-cell {
  background-color: #f8f8f8;
}

.pricing-row:nth-child(odd) .free-bg {
  background-color: #f8f8f8;
}

.pricing-row:nth-child(odd) .pro-bg {
  background-color: rgba(17, 175, 255, 0.1);
}

.pricing-row:nth-child(odd) .premium-bg {
  background-color: rgba(255, 209, 34, 0.1);
}

/* 여기서는 홀수 줄 */
.pricing-row:nth-child(even) .feature-cell {
  background-color: #f2f2f2;
}

.pricing-row:nth-child(even) .free-bg {
  background-color: #f2f2f2;
}

.pricing-row:nth-child(even) .pro-bg {
  background-color: rgba(17, 175, 255, 0.2);
}

.pricing-row:nth-child(even) .premium-bg {
  background-color: rgba(255, 209, 34, 0.2);
}

@media (min-width: 800px) {
  .pricing {
    padding: 88px 40px 151px;
  }

  .pricing-header {
    margin: 72px 0 80px;
  }

  .pricing-header span {
    font-size: var(--font-h2);
    line-height: 1.34;
  }

  .pricing-main {
    flex-direction: row;
  }

  .pricing-header.second {
    margin: 162px 0px 100px;
  }

  .pricing-card {
    flex: 1;
  }

  .pricing-card.free,
  .pricing-card.pro,
  .pricing-card.premium {
    min-height: 512px;
  }
}

/* 데스크탑 (1280px 이상) - 가로 레이아웃 */
@media (min-width: 1280px) {
  .pricing {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .pricing-inner {
    width: 100%;
    max-width: 1200px;
  }

  .pricing-card.free,
  .pricing-card.pro,
  .pricing-card.premium {
    min-height: 520px;
  }

  .pricing-header.second {
    margin: 112px 0px 100px;
  }
}
