html.pricing-html,
body.pricing-body {
  height: auto;
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

.pricing-body {
  margin: 0;
  color: #e3dbcc;
  font-family: clother, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(242, 19, 60, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 30%, rgba(227, 219, 204, 0.05), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 70%, rgba(242, 19, 60, 0.06), transparent 45%),
    #060606;
}

.pricing-page {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.pricing-top .logo-img {
  height: 20px;
  width: auto;
  max-height: 20px;
}

.pricing-signin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.pricing-signin__hint {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(227, 219, 204, 0.55);
  white-space: nowrap;
}

.pricing-signin .dk-btn {
  text-decoration: none;
}

.pricing-title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pricing-lead {
  margin: 0 0 20px;
  max-width: 52rem;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(227, 219, 204, 0.68);
}

.pricing-billing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 24px;
  padding: 4px;
  border: 1px solid rgba(227, 219, 204, 0.18);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.65);
  box-shadow: inset 0 1px 0 rgba(227, 219, 204, 0.06);
}

.pricing-billing__btn {
  appearance: none;
  border: none;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  color: rgba(227, 219, 204, 0.62);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.2;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pricing-billing__btn:hover {
  color: #e3dbcc;
}

.pricing-billing__btn.is-active {
  background: linear-gradient(180deg, rgba(242, 19, 60, 0.22), rgba(242, 19, 60, 0.1));
  color: #e3dbcc;
  box-shadow:
    0 0 0 1px rgba(242, 19, 60, 0.35),
    0 6px 18px rgba(242, 19, 60, 0.18);
}

.pricing-billing__save {
  margin-left: 4px;
  color: #f2133c;
  font-weight: 500;
}

.pricing-billing__btn.is-active .pricing-billing__save {
  color: #ff6b84;
}

.pricing-status {
  min-height: 1.4em;
  margin: 0 0 28px;
  font-size: 0.9rem;
  color: rgba(227, 219, 204, 0.7);
}

.pricing-status.is-error {
  color: #f2133c;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

@property --pricing-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes pricing-border-loop {
  to {
    --pricing-border-angle: 360deg;
  }
}

@keyframes pricing-card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pricing-featured-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(242, 19, 60, 0.42),
      0 18px 40px rgba(0, 0, 0, 0.35),
      0 0 48px rgba(242, 19, 60, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(242, 19, 60, 0.55),
      0 22px 48px rgba(0, 0, 0, 0.4),
      0 0 64px rgba(242, 19, 60, 0.2);
  }
}

.pricing-card {
  --pricing-border-angle: 0deg;
  --pricing-card-shine: rgba(227, 219, 204, 0.07);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(227, 219, 204, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(227, 219, 204, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
  box-shadow:
    0 1px 0 rgba(227, 219, 204, 0.06) inset,
    0 12px 28px rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.25s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: pricing-card-in 0.55s ease both;
}

.pricing-card:nth-child(1) { animation-delay: 0.04s; }
.pricing-card:nth-child(2) { animation-delay: 0.1s; }
.pricing-card:nth-child(3) { animation-delay: 0.16s; }
.pricing-card:nth-child(4) { animation-delay: 0.22s; }

.pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--pricing-border-angle),
    transparent 0deg,
    transparent 280deg,
    #f2133c 310deg,
    #e3dbcc 335deg,
    #f2133c 350deg,
    transparent 360deg
  );
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(165deg, var(--pricing-card-shine) 0%, transparent 40%),
    linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
  z-index: 0;
  pointer-events: none;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(227, 219, 204, 0.08) inset,
    0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover::before {
  opacity: 1;
  animation: pricing-border-loop 2.2s linear infinite;
}

.pricing-card.is-featured {
  --pricing-card-shine: rgba(242, 19, 60, 0.16);
  border-color: rgba(242, 19, 60, 0.45);
  transform: translateY(-6px) scale(1.02);
  z-index: 2;
  animation:
    pricing-card-in 0.55s ease both,
    pricing-featured-pulse 4.5s ease-in-out infinite;
  animation-delay: 0.1s, 0.8s;
}

.pricing-card.is-featured:hover {
  border-color: transparent;
  transform: translateY(-8px) scale(1.025);
}

.pricing-card.is-featured .pricing-card__cta {
  color: #e3dbcc;
}

.pricing-card.is-featured .pricing-card__cta .dk-btn__icon {
  color: #f2133c;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-card.is-featured {
    animation: none;
  }

  .pricing-card:hover::before {
    animation: none;
    background: linear-gradient(#f2133c, #f2133c);
    opacity: 0.9;
  }
}

.pricing-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #e3dbcc;
  background: linear-gradient(135deg, #f2133c, #c40f30);
  box-shadow: 0 4px 14px rgba(242, 19, 60, 0.35);
}

.pricing-card__name {
  margin: 0;
  padding-right: 5.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(227, 219, 204, 0.72);
}

.pricing-card.is-featured .pricing-card__name {
  color: rgba(242, 19, 60, 0.95);
}

.pricing-card:not(.is-featured) .pricing-card__name {
  padding-right: 0;
}

.pricing-card__price {
  margin: 2px 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(2rem, 2.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.pricing-card__period {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(227, 219, 204, 0.5);
}

.pricing-card__bill {
  margin: -4px 0 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(227, 219, 204, 0.52);
}

.pricing-card__trial {
  margin: 0;
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(227, 219, 204, 0.85);
  background: rgba(227, 219, 204, 0.08);
  border: 1px solid rgba(227, 219, 204, 0.12);
}

.pricing-card.is-featured .pricing-card__trial {
  color: #ffb3bf;
  background: rgba(242, 19, 60, 0.12);
  border-color: rgba(242, 19, 60, 0.28);
}

.pricing-card__features {
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(227, 219, 204, 0.78);
}

.pricing-card__features li {
  position: relative;
  padding: 5px 0 5px 1.35em;
  border-bottom: 1px solid rgba(227, 219, 204, 0.06);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: rgba(227, 219, 204, 0.28);
  box-shadow: 0 0 0 2px rgba(227, 219, 204, 0.06);
}

.pricing-card.is-featured .pricing-card__features li::before {
  background: #f2133c;
  box-shadow: 0 0 0 2px rgba(242, 19, 60, 0.2);
}

.pricing-card__features li.pricing-card__credits {
  margin-top: 8px;
  padding: 10px 12px 10px 2.1em;
  border: 1px solid rgba(242, 19, 60, 0.28);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(242, 19, 60, 0.12), rgba(227, 219, 204, 0.04));
  color: #e3dbcc;
  border-bottom: 1px solid rgba(242, 19, 60, 0.28);
}

.pricing-card__features li.pricing-card__credits::before {
  left: 0.75em;
  top: 1.05em;
  background: #f2133c;
  box-shadow: 0 0 10px rgba(242, 19, 60, 0.45);
}

.pricing-card .dk-btn {
  align-self: stretch;
  justify-content: center;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(227, 219, 204, 0.18);
  background: rgba(227, 219, 204, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pricing-card .dk-btn:hover {
  background: rgba(227, 219, 204, 0.09);
  border-color: rgba(227, 219, 204, 0.28);
}

.pricing-card.is-featured .dk-btn {
  border-color: rgba(242, 19, 60, 0.55);
  background: linear-gradient(180deg, rgba(242, 19, 60, 0.28), rgba(242, 19, 60, 0.14));
  box-shadow: 0 8px 22px rgba(242, 19, 60, 0.22);
}

.pricing-card.is-featured .dk-btn:hover {
  background: linear-gradient(180deg, rgba(242, 19, 60, 0.4), rgba(242, 19, 60, 0.2));
  border-color: rgba(242, 19, 60, 0.75);
}

.pricing-card--contact .pricing-card__amount {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.pricing-card--contact .pricing-card__period {
  display: none;
}

.pricing-card__muted {
  font-weight: 300;
  color: rgba(227, 219, 204, 0.5);
}

.pricing-footnote {
  margin: 32px 0 0;
  max-width: 52rem;
  width: 100%;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(227, 219, 204, 0.55);
}

.pricing-footnote a {
  color: rgba(227, 219, 204, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-footnote a:hover {
  color: #e3dbcc;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card.is-featured {
    transform: none;
  }

  .pricing-card.is-featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-top {
    flex-wrap: wrap;
  }

  .pricing-card.is-featured {
    transform: none;
  }
}
