.telegram-plans-v2 {
  box-sizing: border-box;
  width: min(calc(100% - 56px), 1180px);
  max-width: calc(100vw - 24px);
  margin: 0 auto;
  padding: 50px 32px 42px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(111, 224, 165, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 6%, rgba(111, 224, 165, 0.16), transparent 23rem),
    radial-gradient(circle at 14% 100%, rgba(126, 91, 225, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(17, 22, 28, 0.96), rgba(8, 12, 16, 0.98));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  scroll-margin-top: 88px;
}

.telegram-plans-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(111, 224, 165, 0.08), transparent);
  opacity: 0.72;
}

.telegram-plans-heading-v2 {
  max-width: 900px;
  margin: 0 auto 22px;
  text-align: center;
}

.telegram-plans-heading-v2 > div {
  margin-bottom: 12px;
  color: #a5eec6;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-shadow: 0 0 22px rgba(111, 224, 165, 0.22);
}

.telegram-plans-heading-v2 h2 {
  margin: 0;
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.telegram-plans-heading-v2 h2 span {
  color: #8df0b7;
}

.telegram-plans-heading-v2 p {
  max-width: 660px;
  margin: 16px auto 0;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.5;
}

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

.telegram-plan-card-v2 {
  min-width: 0;
  min-height: 0;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 0%, rgba(126, 91, 225, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(23, 29, 37, 0.96), rgba(13, 18, 24, 0.98));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.telegram-plan-card-v2.is-featured {
  border-color: rgba(111, 224, 165, 0.42);
  background:
    radial-gradient(circle at 90% 0%, rgba(111, 224, 165, 0.22), transparent 18rem),
    radial-gradient(circle at 4% 100%, rgba(126, 91, 225, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(18, 31, 27, 0.98), rgba(10, 17, 18, 0.98));
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.3),
    0 0 52px rgba(111, 224, 165, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.telegram-plan-card-head > span {
  width: fit-content;
  padding: 6px 9px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(232, 231, 225, 0.68);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.telegram-plan-card-v2.is-featured .telegram-plan-card-head > span {
  border-color: rgba(111, 224, 165, 0.32);
  background: rgba(111, 224, 165, 0.1);
  color: #a5eec6;
}

.telegram-plan-card-head h3 {
  margin: 18px 0 0;
  color: var(--fg-1);
  font-size: 22px;
  font-weight: 500;
}

.telegram-plan-card-head strong {
  margin-top: 12px;
  display: block;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: clamp(42px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.telegram-plan-card-v2.is-featured .telegram-plan-card-head strong {
  color: #dfffe9;
}

.telegram-plan-card-head p {
  margin: 10px 0 0;
  color: var(--fg-3);
  font-size: 14px;
}

.telegram-plan-card-head b {
  margin-top: 12px;
  display: block;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
}

.telegram-plan-card-head em {
  margin-top: 6px;
  display: block;
  color: #a5eec6;
  font-size: 13px;
  font-style: normal;
}

.telegram-plan-card-v2 ul {
  margin: 18px 0 0;
  padding: 16px 0 0;
  display: grid;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--fg-2);
  list-style: none;
}

.telegram-plan-card-v2 li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.telegram-plan-card-v2 li svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: #6fe0a5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.telegram-plans-cta-v2 {
  box-sizing: border-box;
  width: fit-content;
  margin: 18px auto 0;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, #8df0b7, #3fce85);
  box-shadow: 0 16px 42px rgba(63, 206, 133, 0.22);
  color: var(--ink-0);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.telegram-plans-cta-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(63, 206, 133, 0.26);
}

.telegram-plans-note-v2 {
  max-width: 780px;
  margin: 12px auto 0;
  color: var(--fg-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.telegram-plans-note-v2 a {
  color: #a5eec6;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .telegram-plans-v2 {
    width: min(calc(100% - 24px), 1180px);
    padding: 42px 18px 36px;
    border-radius: 26px;
    scroll-margin-top: 72px;
  }

  .telegram-plans-heading-v2 {
    margin-bottom: 24px;
    text-align: left;
  }

  .telegram-plans-heading-v2 h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .telegram-plans-heading-v2 p {
    margin-left: 0;
    font-size: 16px;
  }

  .telegram-plan-grid-v2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .telegram-plan-card-v2 {
    min-height: 0;
    padding: 22px 20px;
    border-radius: 22px;
  }

  .telegram-plan-card-head strong {
    font-size: clamp(44px, 14vw, 60px);
  }

  .telegram-plans-cta-v2 {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .telegram-plans-cta-v2 {
    transition: none;
  }
}
