:root {
  --bg: #f5f6fb;
  --white: #ffffff;
  --text: #151933;
  --muted: #737996;
  --line: #e7e9f5;
  --purple: #7c4dff;
  --purple-2: #9d6bff;
  --purple-soft: rgba(124, 77, 255, 0.12);
  --dark: #050816;
  --dark-2: #0d1328;
  --green: #18b576;
  --shadow-lg: 0 30px 70px rgba(12, 16, 38, 0.14);
  --shadow-md: 0 16px 36px rgba(12, 16, 38, 0.1);
  --shadow-sm: 0 8px 20px rgba(12, 16, 38, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.pricing-shell {
  overflow: hidden;
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 10%, rgba(124, 77, 255, 0.24), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(124, 77, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #040611 0%, #091024 100%);
}

.pricing-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 77, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 255, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.5;
}

.pricing-topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px 0 14px;
}

.pricing-brand img {
  width: 112px;
}

.pricing-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 500;
}

.pricing-nav a {
  padding: 8px 10px;
  border-radius: 10px;
}

.pricing-nav a:hover,
.pricing-link:hover {
  color: var(--white);
}

.pricing-nav .is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pricing-topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pricing-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
}

.pricing-hero__content {
  position: relative;
  z-index: 1;
  padding: 48px 0 72px;
  text-align: center;
}

.pricing-kicker {
  display: inline-block;
  color: #d3c2ff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-kicker--dark {
  color: var(--purple);
}

.pricing-hero__content h1,
.compare-copy h2,
.faq-copy h2,
.pricing-cta__box h2 {
  margin: 14px auto 0;
  max-width: 690px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.pricing-hero__content h1 span {
  color: var(--purple-2);
}

.pricing-hero__content p,
.compare-copy p,
.pricing-cta__box p {
  max-width: 560px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.72;
}

.compare-copy p,
.pricing-cta__box p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.button--solid {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 100%);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(124, 77, 255, 0.22);
}

.button--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(124, 77, 255, 0.28);
}

.button--outline,
.button--outline-dark {
  background: var(--white);
  border-color: var(--line);
  color: var(--text);
}

.button--outline:hover,
.button--outline-dark:hover {
  background: #fafafe;
}

.button--full {
  width: 100%;
}

.pricing-section {
  padding: 48px 0;
}

.pricing-section--light {
  background: var(--white);
}

.pricing-cards {
      max-width: 800px;
      
      margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  position: relative;
  padding: 26px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card--featured {
  background:
    radial-gradient(circle at top right, rgba(124, 77, 255, 0.13), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border-color: rgba(124, 77, 255, 0.22);
  box-shadow: 0 28px 70px rgba(124, 77, 255, 0.14);
}

.price-card__ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f3fa;
  color: #5e647f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-badge--featured {
  background: var(--purple-soft);
  color: var(--purple);
}

.price-card__header h2 {
  margin: 14px 0 8px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.price-card__header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fafafe;
  border: 1px solid var(--line);
}

.price-box strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.price-box span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.price-box--featured {
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.08), rgba(157, 107, 255, 0.12));
  border-color: rgba(124, 77, 255, 0.18);
}

.saving-box {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(160, 160, 160, 0.16);
}

.saving-box strong {
  display: block;
  color: var(--purple);
  font-size: 18px;
}

.saving-box span {
  display: block;
  margin-top: 6px;
  color: #547964;
  font-size: 13px;
  line-height: 1.6;
}

.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 100%);
}

.feature-list--featured li {
  color: #575d78;
}

.price-card .button {
  margin-top: 22px;
}

.compare-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.compare-table {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.compare-row:first-child {
  border-top: none;
}

.compare-row--head {
  background: #fafafe;
  font-weight: 700;
}

.compare-row span {
  color: var(--muted);
  font-size: 13px;
}

.compare-row--head span,
.compare-row .highlight {
  color: var(--text);
}

.compare-row .highlight {
  font-weight: 800;
}

.faq-wrap {
  display: grid;
  gap: 22px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.pricing-cta {
  padding: 8px 0 54px;
}

.pricing-cta__box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 30px 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at right top, rgba(124, 77, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #0a0f20 0%, #121a34 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.pricing-cta__actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 1080px) {
  .pricing-cards,
  .compare-block,
  .pricing-cta__box {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .pricing-topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .pricing-nav,
  .pricing-topbar__actions,
  .pricing-cta__actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-cards {
    margin-top: -20px;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .pricing-hero__content {
    padding: 42px 0 58px;
  }

  .price-card,
  .faq-card,
  .pricing-cta__box {
    padding: 24px;
  }

  .price-box strong {
    font-size: 34px;
  }

  .pricing-hero__content h1,
  .compare-copy h2,
  .faq-copy h2,
  .pricing-cta__box h2 {
    font-size: 30px;
  }

  .button,
  .pricing-cta__actions .button {
    width: 100%;
  }

  .pricing-cta__actions {
    flex-direction: column;
  }
}
