.plan-page {
  width: calc(100% - 24px);
  max-width: 420px;
  margin: 14px auto 0;
  color: var(--text);
  padding: 96px 14px 140px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(168, 126, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 255, 0.96));
  box-shadow: 0 38px 70px rgba(50, 30, 91, 0.28);
}

.plan-hero {
  margin-bottom: 18px;
}

.plan-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(145deg, #b07cff, #8b5cf6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.18);
}

.plan-title {
  margin: 12px 0 8px;
  text-align: left;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #2e2546;
}

.plan-subtitle {
  margin: 0;
  color: #8d80ad;
  font-size: 13px;
  line-height: 1.55;
}

.plan-card {
  width: 100%;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 255, 0.94));
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: 0 22px 38px rgba(81, 54, 138, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(81, 54, 138, 0.18);
}

.plan-card::before {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  right: -16px;
  top: -18px;
  border-radius: 28px;
  transform: rotate(22deg);
  background: rgba(139, 92, 246, 0.07);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.badge1 {
  background: linear-gradient(145deg, #c8a6ff, #8b5cf6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.18);
}

.plan-name {
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4eeff;
  font-size: 10px;
  font-weight: 700;
  color: #8d80ad;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-price {
  margin: 16px 0 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffca69, #f6a73a);
  color: #fff;
  box-shadow: 0 18px 30px rgba(246, 167, 58, 0.24);
}

.plan-price small {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  opacity: 0.86;
}

.plan-price strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.plan-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 12px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(247, 243, 255, 0.82);
  border: 1px solid rgba(139, 92, 246, 0.08);
  color: var(--text);
  font-size: 12px;
}

.stat span {
  font-size: 11px;
  color: #7e6a55;
}

.stat b {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.plan-features {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(247, 243, 255, 0.92);
  border: 1px solid rgba(139, 92, 246, 0.08);
  color: var(--text-soft);
  font-size: 12px;
  min-height: 84px;
}

.feature i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  margin-right: 0;
  flex-shrink: 0;
}

.feature div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature span {
  display: block;
  font-size: 11px;
  color: #8d80ad;
}

.feature strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: #2e2546;
}

.plan-btn {
  display: block;
  margin-top: 16px;
  text-align: center;
  padding: 15px;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(145deg, #b07cff, #8b5cf6);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 16px 28px rgba(139, 92, 246, 0.24);
}

.plan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(139, 92, 246, 0.3);
}

@media (max-width: 480px) {
  .plan-page {
    width: calc(100% - 24px);
    max-width: none;
    margin: 10px auto 0;
    padding: 92px 12px 136px;
    border-radius: 32px;
  }

  .plan-card {
    padding: 18px;
    border-radius: 24px;
  }

  .plan-price strong {
    font-size: 28px;
  }

  .plan-features {
    grid-template-columns: 1fr;
  }
}
