/* GoBooks 定价 / 营销页样式 */

.page-pricing {
  background: #fff;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.zp-container {
  max-width: 1080px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ── Hero（大标题 + ￥0） ── */
.zp-hero {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.zp-hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.zp-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.zp-hero-free {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.zp-hero-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  margin: 0.5rem 0 1.75rem;
  color: #e42527;
}

.zp-hero-currency {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.zp-hero-amount {
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
}

.zp-hero-price-note {
  font-size: 0.9375rem;
  color: #6b7280;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.zp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.zp-btn-primary {
  background: #e42527;
  border-color: #e42527;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.65rem 2rem;
  min-width: 160px;
}

.zp-btn-primary:hover,
.zp-btn-primary:focus {
  background: #c91f21;
  border-color: #c91f21;
  color: #fff;
}

.zp-btn-outline {
  background: transparent;
  border: 2px solid #d1d5db;
  color: #374151;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.65rem 2rem;
  min-width: 160px;
}

.zp-btn-outline:hover {
  border-color: #9ca3af;
  color: #111827;
  background: #f9fafb;
}

/* ── Features checklist ── */
.zp-features {
  padding: 3.5rem 0;
  background: #fff;
}

.zp-section-title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
}

.zp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem 2rem;
}

.zp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.975rem;
  line-height: 1.5;
  color: #374151;
}

.zp-check {
  color: #059669;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ── Feature grid（更多功能，四列介绍） ── */
.zp-feature-grid {
  padding: 3.5rem 0 4rem;
  background: #fff;
}

.zp-feature-grid__title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #1a5fb4;
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.35;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.zp-feature-grid__items {
  display: grid;
  grid-template-columns: repeat(var(--zp-fg-cols, 4), minmax(0, 1fr));
  gap: 2rem 1.75rem;
}

@media (max-width: 991.98px) {
  .zp-feature-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .zp-feature-grid__items {
    grid-template-columns: 1fr;
  }
}

.zp-feature-grid__item-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.zp-feature-grid__item-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

/* ── Feature showcase（图标 + 标题 + 描述） ── */
.zp-feature-showcase {
  padding: 3.5rem 0 4rem;
  background: #f3f6f9;
}

.zp-feature-showcase__title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 2.75rem;
  line-height: 1.35;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.zp-feature-showcase__grid {
  display: grid;
  grid-template-columns: repeat(var(--zp-fs-cols, 3), minmax(0, 1fr));
  gap: 2.5rem 2rem;
}

@media (max-width: 991.98px) {
  .zp-feature-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .zp-feature-showcase__grid {
    grid-template-columns: 1fr;
  }
}

.zp-feature-showcase__icon {
  color: #1a5fb4;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.85rem;
  display: block;
}

.zp-feature-showcase__item-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a5fb4;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.zp-feature-showcase__item-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #374151;
  margin: 0;
}

/* ── Plan cards（可选展示，数据来自 API） ── */
.zp-plans {
  padding: 2rem 0 3rem;
  background: #f9fafb;
}

.zp-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.zp-plan-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.zp-plan-card--highlight {
  border-color: #e42527;
  box-shadow: 0 4px 24px rgba(228, 37, 39, 0.12);
}

.zp-plan-edition {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.zp-plan-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.35rem 0 0.75rem;
}

.zp-plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: #e42527;
}

.zp-plan-price small {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.zp-link {
  color: #e42527;
  font-weight: 600;
  text-decoration: none;
}

.zp-link:hover {
  text-decoration: underline;
}

/* ── Support ── */
.zp-support {
  padding: 3rem 0;
  background: #f3f4f6;
}

.zp-support-lead {
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.zp-support-mail {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.zp-support-mail:hover {
  text-decoration: underline;
}

/* ── Mobile / download ── */
.zp-mobile {
  padding: 3.5rem 0;
  background: #fff;
}

.zp-mobile-lead {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.zp-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.zp-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  background: #fff;
}

.zp-store-badge:hover {
  border-color: #9ca3af;
  color: #111827;
}

.zp-device-mock {
  display: inline-block;
  padding: 1rem;
}

.zp-device-screen {
  width: 220px;
  height: 380px;
  border: 3px solid #1f2937;
  border-radius: 24px;
  background: #f9fafb;
  padding: 1.25rem 1rem;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.zp-device-bar {
  display: block;
  width: 40%;
  height: 4px;
  background: #d1d5db;
  border-radius: 999px;
  margin: 0 auto 1.25rem;
}

.zp-device-line {
  display: block;
  height: 10px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.zp-device-line--short {
  width: 60%;
}

/* ── FAQ accordion ── */
.zp-faq {
  padding: 3.5rem 0;
  background: #fafbfc;
}

.zp-faq-container {
  max-width: 800px;
}

.zp-faq-list {
  margin-top: 1rem;
}

.zp-faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.zp-faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}

.zp-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}

.zp-faq-q:hover {
  color: #e42527;
}

.zp-faq-icon {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: transform 0.2s;
}

.zp-faq-item.is-open .zp-faq-icon {
  transform: rotate(45deg);
  color: #e42527;
}

.zp-faq-a {
  display: none;
  padding: 0 0 1.1rem;
}

.zp-faq-item.is-open .zp-faq-a {
  display: block;
}

.zp-faq-a p {
  margin: 0;
  color: #6b7280;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.zp-faq-a a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Offline install entry (always on pricing) ── */
.zp-install-guide {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-top: 1px solid #eef2f7;
}

.zp-install-guide-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .zp-install-guide-inner {
    grid-template-columns: 1.4fr 1fr;
  }
}

.zp-install-guide-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.zp-install-guide-lead {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.zp-install-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.zp-install-guide-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.zp-install-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 500;
}

.zp-install-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Bottom CTA ── */
.zp-bottom-cta {
  padding: 4rem 0;
  background: #fff;
}

.zp-bottom-cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #111827;
}

/* Nav active state on pricing page */
.page-pricing .site-public-nav .nav-link.active {
  color: #e42527 !important;
}
