/* NexTalk — Pricing Page */
.pricing-page { background: var(--primary-bg); }

.pricing-hero {
  padding: 56px 0 24px;
  text-align: center;
}

.pricing-hero-inner {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.pricing-hero h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.25;
  color: var(--green);
}

.pricing-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.pricing-plans {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(7, 183, 130, 0.35);
}

.plan-card--featured {
  border-color: var(--emerald);
  box-shadow: 0 16px 40px rgba(7, 183, 130, 0.15);
  position: relative;
}

.plan-card--featured::before {
  content: '推荐';
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--emerald);
}

.plan-name {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--green);
}

.plan-tagline {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}

.plan-price-block {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.plan-price-main {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
}

.plan-price-main small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.plan-price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.plan-price-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  display: grid;
  gap: 10px;
}

.plan-features li {
  padding-left: 22px;
  position: relative;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.plan-card .btn {
  width: 100%;
  min-height: 44px;
}

.plan-card .btn.ghost {
  border-color: var(--emerald);
  color: var(--emerald);
}

/* Compare table */
.pricing-compare {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto 64px;
}

.pricing-compare h2,
.pricing-faq h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 32px;
  color: var(--green);
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--green);
  background: var(--primary-50);
  position: sticky;
  left: 0;
  z-index: 1;
}

.compare-table thead th {
  background: var(--primary-50);
  color: var(--green);
  font-size: 14px;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table .group-row td {
  background: #fafcfb;
  font-weight: 700;
  color: var(--green);
  text-align: left;
}

.compare-yes { color: var(--emerald); font-weight: 700; }
.compare-no { color: var(--text-muted); }
.compare-limit { color: var(--warning); font-size: 12px; }

/* FAQ */
.pricing-faq {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto 72px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--green);
}

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

@media (max-width: 1080px) {
  .pricing-plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pricing-hero h1 { font-size: 30px; }
  .pricing-plans { grid-template-columns: 1fr; }
  .pricing-compare h2,
  .pricing-faq h2 { font-size: 26px; }
}
