/* AppPad product site additions */
.apppad-page .product-main {
  width: min(100%, 1120px);
}

.hero-note {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: center;
}

.hero-shot {
  margin: clamp(44px, 7vw, 72px) auto 0;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-product);
  background: var(--color-surface);
}

.hero-shot figcaption {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: var(--font-size-caption);
  text-align: center;
}

.pro-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--color-action) 45%, transparent);
  border-radius: 999px;
  color: var(--color-action);
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}

.compare-wrap {
  margin: 40px auto 0;
  max-width: 820px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-body-sm);
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table td:first-child {
  color: var(--color-text);
}

.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
  width: 22%;
  text-align: center;
}

.compare-table .yes {
  color: var(--color-action);
  font-weight: 600;
}

.compare-table .no {
  color: var(--color-text-muted);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: 44px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.price-card.featured {
  border-color: color-mix(in srgb, var(--color-action) 55%, transparent);
  box-shadow: 0 10px 34px rgba(0, 102, 204, 0.10);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-action);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.price-head h3 {
  color: var(--color-text);
  font-size: var(--font-size-title-sm);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-head p {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: var(--font-size-caption);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
}

.price-amount .cny {
  color: var(--color-text);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.price-amount .usd {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.price-list {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.price-list li {
  padding: 9px 0 9px 20px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  color: var(--color-text-muted);
  font-size: var(--font-size-body-sm);
  line-height: 1.5;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-action);
  font-weight: 600;
}

.price-card .buy-button {
  margin-top: auto;
  width: 100%;
}

.price-card .buy-button.is-disabled {
  background: var(--color-surface-elevated);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.price-note {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-caption);
  line-height: 1.7;
  text-align: center;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 820px;
  margin: 36px auto 0;
  padding: 26px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.download-card h3 {
  color: var(--color-text);
  font-size: var(--font-size-title-sm);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.download-card p {
  margin-top: 8px;
  max-width: 520px;
  color: var(--color-text-muted);
  font-size: var(--font-size-body-sm);
  line-height: 1.65;
}

.download-card .ui-button {
  flex: 0 0 auto;
}

.download-note {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: var(--font-size-caption);
  text-align: center;
}

.faq-list {
  max-width: 820px;
  margin: 36px auto 0;
  border-top: 1px solid var(--color-border);
}

.faq-list details {
  border-bottom: 1px solid var(--color-border);
}

.faq-list summary {
  position: relative;
  padding: 18px 34px 18px 0;
  color: var(--color-text);
  font-size: var(--font-size-body-sm);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 4px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 18px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 0 18px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-body-sm);
  line-height: 1.75;
}

.faq-list a {
  color: var(--color-action);
  text-decoration: none;
}

.faq-list a:hover {
  text-decoration: underline;
}

.product-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.product-legal a {
  color: var(--color-text-muted);
  font-size: var(--font-size-caption);
  text-decoration: none;
}

.product-legal a:hover {
  color: var(--color-action);
}

.legal-note {
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: var(--font-size-caption);
  line-height: 1.65;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 860px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }
}

@media (max-width: 620px) {
  .product-specs {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-spec {
    padding: 0;
    border-left: 0;
  }

  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .price-amount .cny {
    font-size: 30px;
  }
}
