/* LiverStats 料金プラン · リリース記念キャンペーン（LP + pricing.html 共通） */

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.price-card {
  padding: 1.35rem;
  border-radius: var(--radius, 14px);
  background: var(--bg-card, rgba(15, 17, 28, 0.92));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card--featured {
  border-color: var(--purple-light, rgba(168, 85, 247, 0.45));
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.15);
}

.price-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.price-card__amount {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-card__amount small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted, #94a3b8);
}

.price-card__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim, #64748b);
}

.price-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
}

.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.3rem 0;
}

.price-card__features li::before {
  content: '✓';
  flex: 0 0 1rem;
  width: 1rem;
  line-height: 1.45;
  text-align: center;
  color: var(--purple-light, #c084fc);
  font-weight: 700;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-campaign {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius, 14px);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.12);
}

.pricing-campaign--page {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-campaign--cta {
  margin: 0 0 1.5rem;
  text-align: left;
}

.pricing-campaign__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--neon, #c084fc);
}

.pricing-campaign__lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.pricing-campaign__rows {
  display: grid;
  gap: 0.55rem;
}

.pricing-campaign__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(4, 5, 10, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-campaign__plan {
  font-weight: 700;
  font-size: 0.9rem;
}

.pricing-campaign__price {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
}

.pricing-campaign__price strong {
  color: var(--text, #f8fafc);
  font-size: 1rem;
}

/* ── Price cards ── */
.price-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.price-card--recommended {
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow: 0 0 36px rgba(250, 204, 21, 0.12), 0 0 32px rgba(124, 58, 237, 0.12);
  position: relative;
}

.price-card--recommended::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(168, 85, 247, 0.12));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.price-badge--pick {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(245, 158, 11, 0.18));
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde68a;
}

.price-badge--release {
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
}

.price-badge--off {
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #a5f3fc;
}

.price-badge--early {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted, #94a3b8);
}

.price-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price-card__regular {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.price-card__regular-label,
.price-card__campaign-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim, #64748b);
  text-transform: none;
}

.price-card__regular-amount {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim, #64748b);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.price-card__regular-amount small {
  font-size: 0.75rem;
  font-weight: 500;
}

.price-card__amount--campaign {
  margin: 0;
}

.price-card__amount--campaign .price-card__campaign-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--neon, #c084fc);
}

.price-card__trial {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #f8fafc);
}

.price-card__transition {
  margin: 0.15rem 0;
  font-size: 0.95rem;
  color: var(--text-dim, #64748b);
  line-height: 1;
}

.price-card__transition-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
}

.price-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

/* ── データ閲覧期間（Standard 90日 / Pro 全期間） ── */
.price-card__retention {
  margin: 0.15rem 0 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.price-card__retention-label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim, #64748b);
}

.price-card__retention-headline {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.price-card__retention-sub {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
}

.price-card__retention-note {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-dim, #64748b);
}

.price-card__retention--trial {
  border-color: rgba(148, 163, 184, 0.2);
}

.price-card__retention--trial .price-card__retention-headline {
  font-size: 1.25rem;
  color: var(--text, #f8fafc);
}

.price-card__retention--limited {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.45);
}

.price-card__retention--limited .price-card__retention-headline {
  color: #cbd5e1;
}

.price-card__retention--unlimited {
  border-color: rgba(250, 204, 21, 0.4);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(124, 58, 237, 0.12));
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.08);
}

.price-card__retention--unlimited .price-card__retention-headline {
  color: #fde68a;
  font-size: 1.75rem;
}

.price-card__retention--unlimited .price-card__retention-sub {
  color: #fef3c7;
}

.price-card__tagline {
  margin: -0.15rem 0 0;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: #fde68a;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.25);
}

.price-card__section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-card__section-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim, #64748b);
}

.pricing-campaign__diff {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
}

.pricing-campaign__diff strong {
  color: var(--text, #f8fafc);
}

.pricing-campaign__row--pro {
  border-color: rgba(250, 204, 21, 0.25);
  background: rgba(250, 204, 21, 0.06);
}

.pricing-campaign__plan small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim, #64748b);
}

.pricing-campaign__row--pro .pricing-campaign__plan small {
  color: #fde68a;
}

/* ── 事務所プラン ── */
.pricing-agency-notice {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius, 14px);
  text-align: center;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(124, 58, 237, 0.1));
}

.pricing-agency-notice__headline {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fde68a;
}

.pricing-agency-notice__sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.55;
}

.price-badge--pro-included {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(245, 158, 11, 0.18));
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde68a;
  font-size: 0.72rem;
}

.price-card--agency {
  gap: 0.85rem;
}

.price-card__pro-included {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  background: rgba(250, 204, 21, 0.06);
}

.price-card__pro-included-headline {
  margin: 0.45rem 0 0.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fef3c7;
  line-height: 1.45;
}

.price-card__pro-included-sub {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
}

.price-card__pro-highlight {
  margin: 0.15rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(250, 204, 21, 0.55);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(124, 58, 237, 0.16));
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.price-card__pro-highlight-headline {
  margin: 0;
  font-size: clamp(0.92rem, 3.8vw, 1.02rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #fef08a;
  text-shadow: 0 0 18px rgba(250, 204, 21, 0.25);
}

.price-card__pro-highlight-sub {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fde68a;
}

.price-card--compact .price-card__pro-highlight {
  padding: 0.65rem 0.75rem;
}

.pricing-agency-notice__highlight {
  margin: 0;
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fef08a;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.price-card__section--recommended {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.price-card__recommended {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
}

.price-card__recommended li {
  padding: 0.28rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}

.price-card__recommended li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--purple-light, #c084fc);
  font-weight: 700;
}

.price-card--agency-featured {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.15);
}

.price-card__liver-range {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(124, 58, 237, 0.08);
}

.price-card__liver-range-label {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim, #64748b);
}

.price-card__liver-range-headline {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #e9d5ff;
  line-height: 1.35;
}

.price-card__liver-range-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
}

.price-card__overage {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.price-card__overage-line {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.5;
}

.price-card__overage-line strong {
  color: var(--text, #f8fafc);
}

.price-card__enterprise-note {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fde68a;
  line-height: 1.5;
}

.price-card__overage-note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--text-dim, #64748b);
  line-height: 1.45;
}

/* LP 料金セクション */
.ref-pricing {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.ref-pricing__eyebrow {
  text-align: center;
}

.ref-pricing__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.ref-pricing__desc {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted, #94a3b8);
}

.ref-pricing__more {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.88rem;
}

.ref-pricing__more a {
  color: var(--cyan, #22d3ee);
}

@media (min-width: 768px) {
  .pricing-campaign--cta {
    max-width: 28rem;
  }
}

/* ── スマホ優先: 価格 → 最大メリット → 主要機能 → 詳細機能 ── */
.price-card--stacked {
  gap: 0;
}

.price-card__tier {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.price-card__tier:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-card__tier-label {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim, #64748b);
}

.price-card__tier--price {
  padding-top: 0;
}

.price-card__tier--price .price-card__tier-label {
  color: #c084fc;
}

.price-card__tier--price .price-card__amount {
  font-size: clamp(1.85rem, 7vw, 2rem);
}

.price-card__choose-reason {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.price-card__choose-reason-label {
  margin: 0 0 0.2rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dim, #64748b);
}

.price-card__choose-reason-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text, #f8fafc);
}

.price-card__tier--hero {
  gap: 0.55rem;
}

.price-card__tier--hero .price-card__tier-label {
  color: #fde68a;
}

.price-card__tier--hero .price-card__retention {
  margin: 0;
}

.price-card__tier--hero .price-card__tagline--hero {
  margin: 0;
}

.price-card__tier--primary .price-card__tier-label {
  color: #86efac;
}

.price-card__features--primary {
  font-size: 0.88rem;
  color: var(--text, #f8fafc);
}

.price-card__features--primary li {
  padding: 0.35rem 0;
  line-height: 1.45;
  gap: 0.55rem;
}

.price-card__tier--detail {
  gap: 0.55rem;
  padding-top: 0.55rem;
}

.price-card__tier--detail .price-card__tier-label {
  color: var(--text-dim, #64748b);
}

.price-card__features--detail {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
}

.price-card__features--detail li {
  padding: 0.28rem 0;
  line-height: 1.42;
  gap: 0.5rem;
}

.price-card__section--detail {
  margin-top: 0.15rem;
}

.price-card__tier--detail .price-card__meta {
  margin-top: 0.15rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.14);
}

.price-card__tier--detail .price-card__signup-flow {
  margin-top: 0.35rem;
}

.price-card__tier--hero .price-card__pro-included {
  margin-top: 0.35rem;
}

@media (min-width: 768px) {
  .price-card--stacked {
    gap: 0.75rem;
  }

  .price-card__tier {
    padding: 0;
    border-bottom: none;
    gap: 0.35rem;
  }

  .price-card__tier-label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .price-card__tier--price .price-card__amount {
    font-size: 1.75rem;
  }

  .price-card__features--primary,
  .price-card__features--detail {
    font-size: 0.85rem;
    color: var(--text-muted, #94a3b8);
  }
}

/* ── コンパクトカード: 上部（価格・CTA・メリット）+ 下部2列機能 ── */
.price-card--compact {
  gap: 0;
  padding: 1.1rem;
}

.price-card__top {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.price-card__top .price-card__tier {
  padding: 0;
  border-bottom: none;
  gap: 0.35rem;
}

.price-card__top .price-card__tier--hero {
  gap: 0.4rem;
}

.price-card__top .price-card__cta {
  margin-top: 0.1rem;
}

.price-card--compact .price-card__choose-reason {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.price-card--compact .price-card__retention {
  padding: 0.6rem 0.7rem;
}

.price-card--compact .price-card__retention-headline {
  font-size: 1.05rem;
}

.price-card--compact .price-card__retention--unlimited .price-card__retention-headline {
  font-size: 1.15rem;
}

.price-card--compact .price-card__liver-range {
  padding: 0.6rem 0.7rem;
}

.price-card--compact .price-card__liver-range-headline {
  font-size: 0.92rem;
}

.price-card--compact .price-card__pro-included {
  padding: 0.55rem 0.65rem;
}

.price-card--compact .price-card__pro-included-headline {
  font-size: 0.8rem;
}

.price-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.7rem;
}

.price-card__features-grid-wrap {
  margin: 0;
}

.price-card__features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.55rem 0.45rem;
}

.price-card__features-col {
  min-width: 0;
}

.price-card__features-col-label {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card__features-col:first-child .price-card__features-col-label {
  color: #86efac;
}

.price-card__features-col:last-child .price-card__features-col-label {
  color: var(--text-dim, #64748b);
}

.price-card--compact .price-card__features--primary {
  font-size: 0.78rem;
  color: var(--text, #f8fafc);
}

.price-card--compact .price-card__features--detail {
  font-size: 0.74rem;
  color: var(--text-muted, #94a3b8);
}

.price-card--compact .price-card__features li {
  gap: 0.4rem;
  padding: 0.22rem 0;
  line-height: 1.4;
  word-break: break-word;
}

.price-card--compact .price-card__features li::before {
  flex: 0 0 0.85rem;
  width: 0.85rem;
  font-size: 0.72rem;
  line-height: 1.4;
}

.price-card__bottom-extras {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.price-card--compact .price-card__meta {
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.14);
  font-size: 0.78rem;
}

.price-card--compact .price-card__signup-flow {
  margin-top: 0;
}

.price-card--compact .price-card__flow-steps {
  font-size: 0.72rem;
}

@media (min-width: 768px) {
  .price-card--compact {
    padding: 1.35rem;
  }

  .price-card--compact .price-card__features--primary,
  .price-card--compact .price-card__features--detail {
    font-size: 0.8rem;
  }

  .price-card--compact .price-card__retention-headline {
    font-size: 1.25rem;
  }

  .price-card--compact .price-card__retention--unlimited .price-card__retention-headline {
    font-size: 1.55rem;
  }
}
