/* ============================================================
   YofMo 定价页（P2）— 仅新增类，复用 style.css 令牌
   ============================================================ */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: stretch; }

.plan-card {
  position: relative; background: var(--yof-card); border: 1px solid var(--yof-border);
  border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--yof-border-2); }
.plan-card.featured { border-color: var(--yof-primary); box-shadow: var(--sh-glow); }
.plan-card h3 { font-size: 20px; }

.plan-tag {
  position: absolute; top: -11px; left: var(--s-6);
  background: var(--yof-primary); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: var(--r-full);
  letter-spacing: .03em; box-shadow: var(--sh-sm);
}

.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.1; margin: var(--s-4) 0 var(--s-2); color: var(--yof-text); }
.plan-price small { font-size: 14px; color: var(--yof-text-3); font-weight: 500; }
.plan-meta { font-size: 13px; color: var(--yof-text-3); min-height: 18px; margin-bottom: var(--s-4); }

.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: var(--s-5); flex: 1; }
.plan-feats li { position: relative; padding-left: 24px; font-size: 14px; color: var(--yof-text-2); line-height: 1.55; }
.plan-feats li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--yof-primary)); }
.plan-feats li.muted { padding-left: 0; color: var(--yof-text-3); }
.plan-feats li.muted::before { display: none; }

.plan-card .btn-block { margin-top: auto; }

/* 骨架屏（加载态） */
.plan-card.skeleton { gap: 12px; }
.sk-line {
  height: 14px; border-radius: 8px;
  background: linear-gradient(90deg, var(--yof-bg-soft) 25%, var(--yof-border) 37%, var(--yof-bg-soft) 63%);
  background-size: 400% 100%;
  animation: sk 1.4s ease infinite;
}
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

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