/* Pinery 亚马逊卖家工具 —— 官方网站
   SaaS 现代简约风格，轻量高性能，无第三方外部依赖 */

:root {
  --bg-page:        #f8fafc;
  --bg-card:        #ffffff;
  --bg-subtle:      #f1f5f9;
  --border-color:   #e2e8f0;
  --text-main:      #0f172a;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;
  --primary:        #2563eb;
  --primary-hover:  #1d4ed8;
  --primary-light:  #eff6ff;
  --success:        #16a34a;
  --success-light:  #dcfce7;
  --danger:         #dc2626;
  --danger-light:   #fee2e2;
  --warning:        #d97706;
  --warning-light:  #fef3c7;
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --shadow-sm:      0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:      0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg:      0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --font:           -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max-w:          1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-page:        #090d16;
    --bg-card:        #111827;
    --bg-subtle:      #1e293b;
    --border-color:   #334155;
    --text-main:      #f8fafc;
    --text-muted:     #94a3b8;
    --text-light:     #64748b;
    --primary:        #3b82f6;
    --primary-hover:  #60a5fa;
    --primary-light:  #1e293b;
    --success:        #22c55e;
    --success-light:  #14532d;
    --danger:         #ef4444;
    --danger-light:   #7f1d1d;
    --warning:        #f59e0b;
    --warning-light:  #78350f;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* 导航栏 */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
@media (prefers-color-scheme: dark) {
  header {
    background: rgba(9, 13, 22, 0.85);
  }
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
nav a:hover {
  color: var(--text-main);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-ghost {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}
.btn-ghost:hover {
  background: var(--bg-subtle);
}
.btn-lg {
  padding: 13px 26px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* 徽章 */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Hero 首屏 */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero-pill {
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lede {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13px;
  color: var(--text-light);
}

/* 信任背书卡片条 */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px auto 70px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.trust-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.trust-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 页面 Section 基础 */
.section {
  padding: 60px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-muted);
}

/* 功能网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}
.feature-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
}
.feature-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.feature-points {
  list-style: none;
  font-size: 13px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
}
.feature-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-points li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

/* 隐私与安全对比模块 */
.privacy-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.compare-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.compare-table th {
  background: var(--bg-subtle);
  font-weight: 700;
}
.col-us {
  background: rgba(37, 99, 235, 0.04);
  font-weight: 600;
  color: var(--primary);
}
.col-others {
  color: var(--text-muted);
}

/* 定价卡片 */
.pricing-wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.pricing-card {
  flex: 1;
  max-width: 440px;
  min-width: 320px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  letter-spacing: 0.05em;
}
.pricing-price {
  font-size: 38px;
  font-weight: 800;
  margin: 16px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-period {
  font-size: 14px;
  font-weight: normal;
  color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
  font-size: 14px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: "✔";
  color: var(--success);
  font-weight: 700;
}

/* FAQ 常见问题 */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}
.faq-item {
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 底部 CTA */
.cta-banner {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.02) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-xl);
  margin: 40px 0 60px;
}
.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* 页脚 */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: var(--bg-card);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a:hover {
  color: var(--text-main);
}
.footer-disclaimer {
  width: 100%;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-light);
}

/* 隐私政策及协议正文排版 */
.doc-wrap {
  max-width: 820px;
  margin: 60px auto 100px;
  padding: 40px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.doc-wrap h1 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}
.doc-wrap .updated {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.doc-wrap h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
}
.doc-wrap p, .doc-wrap li {
  font-size: 15px;
  color: var(--text-secondary, #475569);
  line-height: 1.7;
  margin-bottom: 12px;
}
.doc-wrap ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero h1 { font-size: 34px; }
  .hero p.lede { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .privacy-box { padding: 24px; }
  .doc-wrap { padding: 24px; }
}
