.pricing {
  padding: 120px 20px;
  background: var(--bg);
  color: #1c1917;
}
.pricing-layout {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: stretch;
  gap: 40px;
}
.pricing-intro {
  flex: 1;
  max-width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pricing-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.pricing-badge {
  margin: 0;
  padding: 4px 8px;
  border-radius: 40px;
  background: var(--pink);
  color: #1c1917;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing h2 {
  margin: 0;
  font: 700 64px/1.1 var(--font);
  letter-spacing: -0.04em;
}
.pricing h2 span {
  display: inline-block;
}
.billing-switch {
  width: 100%;
  height: 49px;
  padding: 4px;
  position: relative;
  display: flex;
  background: #e7e5e4;
  border-radius: 44px;
  overflow: hidden;
}
.billing-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 49%;
  background: #fff;
  border-radius: 50px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.billing-switch button {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 50px;
  background: transparent;
  color: #44403c;
  font: 400 18px/1.5 var(--font);
  cursor: pointer;
}
.billing-switch button[aria-pressed="true"] {
  font-weight: 700;
  color: #1c1917;
}
.billing-switch small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78716c;
}
.pricing.is-yearly .billing-indicator {
  transform: translateX(100%);
}
.pricing-advisor {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 48px 8px 8px;
  border-radius: 24px;
  background: #fff;
  color: #1c1917;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.advisor-avatar {
  position: relative;
  flex: 0 0 80px;
  height: 80px;
}
.advisor-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #aa94ff;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.advisor-avatar i {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 19px;
  height: 19px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #9ef483;
}
.advisor-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 18px;
  line-height: 1.5;
}
.advisor-copy strong {
  font-weight: 600;
}
.advisor-copy > span {
  color: #78716c;
}
.advisor-arrow {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7e5e4;
  transition:
    background 0.3s,
    transform 0.3s;
}
.pricing-advisor:hover {
  transform: scale(1.015);
}
.pricing-advisor:hover .advisor-arrow {
  background: var(--pink);
  transform: rotate(0deg);
}
.pricing-cards {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 24px;
}
.pricing-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
  border-radius: 32px;
  background: #fff;
}
.plan-header {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 24px;
  background: #f4f4f3;
}
.plan-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan-title h3 {
  margin: 0;
  font: 700 24px/1.4 var(--font);
  letter-spacing: -0.04em;
}
.plan-header > p {
  margin: 4px 0 16px;
  color: #78716c;
  font-size: 14px;
  line-height: 1.5;
}
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.price-number {
  position: relative;
  display: block;
  height: 48px;
  overflow: hidden;
  font: 700 40px/48px var(--font);
  letter-spacing: -0.04em;
}
.price-number > span {
  display: block;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.4s,
    filter 0.4s;
}
.price-number > [data-price="yearly"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(5px);
  transform: translate(-24px, 48px) scale(0.4) rotate(45deg);
}
.pricing.is-yearly [data-price="monthly"] {
  opacity: 0;
  filter: blur(5px);
  transform: translate(-24px, -48px) scale(0.4) rotate(-45deg);
}
.pricing.is-yearly [data-price="yearly"] {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.plan-price > small {
  padding-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 16px;
  list-style: none;
}
.pricing-card li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  line-height: 1.4;
}
.pricing-card li::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d0cac6
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10 2.5 2.5L14 7' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/20px;
}
.plan-cta {
  display: flex;
  height: 57px;
  margin-top: auto;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}
.plan-cta > span {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 16px 24px;
  background: #1c1917;
  border-radius: 40px;
}
.plan-cta i {
  display: grid;
  place-items: center;
  flex: 0 0 57px;
  border-radius: 50%;
  background: var(--pink);
  color: #1c1917;
  font-size: 26px;
  font-style: normal;
  transition: transform 0.3s;
}
.plan-cta:hover i {
  transform: rotate(45deg);
}
.pricing-agency {
  background: #1c1917;
  color: #fff;
}
.pricing-agency .plan-header {
  background: #44403c;
}
.pricing-agency .plan-header > p {
  color: #e7e5e4;
}
.pricing-agency li::before {
  background-color: #aa94ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10 2.5 2.5L14 7' fill='none' stroke='%231c1917' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pricing-agency .plan-cta > span {
  background: #fff;
  color: #1c1917;
}
[data-theme="dark"] .pricing h2 {
  color: var(--text);
}
@media (max-width: 1199.98px) {
  .pricing-layout {
    flex-direction: column;
  }
  .pricing-intro {
    max-width: none;
  }
  .pricing h2 {
    font-size: 48px;
  }
  .pricing-advisor {
    order: 2;
  }
  .pricing-intro {
    display: contents;
  }
  .pricing-heading {
    order: 0;
  }
  .pricing-cards {
    order: 1;
  }
}
@media (max-width: 809.98px) {
  .pricing {
    padding: 64px 20px;
  }
  .pricing h2 {
    font-size: 28px;
  }
  .pricing-cards {
    flex-direction: column;
  }
  .billing-switch button:first-of-type {
    flex: 0 0 40%;
  }
  .billing-indicator {
    width: 40%;
    transition:
      transform 0.4s,
      width 0.4s;
  }
  .pricing.is-yearly .billing-indicator {
    width: 59%;
    transform: translateX(67%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pricing *,
  .pricing *::before {
    transition: none !important;
  }
}
