/* ==========================================================================
   PocketAgent 官网样式  ·  纯静态、域名无关
   调性：清爽、可信、克制，适合作为合规备案和官方信息入口
   ========================================================================== */

:root {
  --color-primary: #123152;
  --color-primary-dark: #0b1f35;
  --color-accent: #2463c7;
  --color-accent-2: #0f9f8f;
  --gradient-accent: linear-gradient(135deg, #2463c7 0%, #0f9f8f 100%);
  --gradient-accent-bright: linear-gradient(120deg, #2463c7 0%, #0f9f8f 100%);
  --gradient-accent-soft: linear-gradient(135deg, rgba(36, 99, 199, .09), rgba(15, 159, 143, .09));
  --color-accent-soft: #eef6ff;
  --color-text: #2a3147;
  --color-text-soft: #515a73;
  --color-text-muted: #6b7488;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8fc;
  --color-border: #eceef5;
  --color-success: #16a34a;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(22, 30, 56, .04);
  --shadow-md: 0 8px 26px rgba(22, 30, 56, .07);
  --shadow-glow: 0 10px 26px rgba(36, 99, 199, .18);
  --max-width: 1120px;
  --max-width-legal: 820px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- 渐变文字工具类 ---------- */
.gradient-text {
  background: var(--gradient-accent-bright);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient-accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 16px; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(36, 99, 199, .22);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--color-text-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--color-accent); text-decoration: none; }

/* ---------- Hero（浅色轻盈渐变） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  color: var(--color-text);
  padding: 76px 0 62px;
  border-bottom: 1px solid var(--color-border);
}
.hero-inner { max-width: 900px; position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid rgba(36, 99, 199, .18);
  color: var(--color-accent);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero .eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-accent-2);
  box-shadow: 0 0 0 0 rgba(15, 159, 143, .45);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(15, 159, 143, .42); }
  70%  { box-shadow: 0 0 0 9px rgba(15, 159, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 159, 143, 0); }
}
.hero-slogan {
  color: var(--color-primary-dark);
  font-size: 32px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.hero p.lead {
  font-size: 18.5px;
  color: var(--color-text-soft);
  margin-bottom: 30px;
  max-width: 700px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient-accent-bright);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(36, 99, 199, .26); color: #fff; }
.btn-ghost {
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------- 信任徽标条 ---------- */
.badge-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 34px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 9px 15px; border-radius: 999px;
  font-size: 13.5px; color: var(--color-text-soft);
  box-shadow: var(--shadow-sm);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); }

/* ---------- 通用区块 ---------- */
.section { padding: 82px 0; }
.section.alt { background: var(--color-bg-soft); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.section-head .kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 5px 13px; border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 30px; color: var(--color-primary-dark); margin-bottom: 12px; font-weight: 800; letter-spacing: 0;
}
.section-head p { color: var(--color-text-soft); font-size: 16.5px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 卡片：轻盈白卡 */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(36, 99, 199, .24); }
.card h3 { font-size: 18px; color: var(--color-primary-dark); margin-bottom: 10px; display: flex; align-items: center; gap: 9px; font-weight: 700; }
.card p { color: var(--color-text-soft); font-size: 15px; }
.card .ico {
  width: 42px; height: 42px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-accent);
  background: var(--gradient-accent-soft);
  flex-shrink: 0;
}
.card .tag {
  display: inline-block; margin-top: 13px;
  font-size: 13px; color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 5px 11px; border-radius: 6px;
}

/* 应用场景卡：对话气泡感 */
.scenario {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease;
}
.scenario:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.scenario .who {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: var(--color-accent); background: var(--color-accent-soft);
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.scenario .ask {
  font-size: 15.5px; color: var(--color-text); font-weight: 600; line-height: 1.55;
  padding-left: 14px; border-left: 3px solid var(--color-accent);
  margin-bottom: 12px;
}
.scenario .do {
  font-size: 14px; color: var(--color-text-muted);
  display: flex; align-items: flex-start; gap: 7px;
}
.scenario .do::before { content: "→"; color: var(--color-accent); font-weight: 700; }

/* 为什么选择 / 差异化 */
.reason {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .18s ease, box-shadow .22s ease;
}
.reason:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.reason .num {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 8px;
  background: var(--gradient-accent);
  color: #fff; font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(36, 99, 199, .20);
}
.reason h3 { font-size: 17px; color: var(--color-primary-dark); margin-bottom: 6px; font-weight: 700; }
.reason p { color: var(--color-text-soft); font-size: 14.5px; }

/* 信任与合规带 */
.trust {
  background: linear-gradient(180deg, #f8fafc 0%, #eef5fb 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.trust-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex; gap: 13px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.trust-item .ti-ico { font-size: 20px; line-height: 1.4; flex-shrink: 0; }
.trust-item .ti-t { font-weight: 700; color: var(--color-primary-dark); font-size: 15px; margin-bottom: 3px; }
.trust-item .ti-d { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.6; }
.trust-links { margin-top: 22px; text-align: center; font-size: 14px; color: var(--color-text-muted); }
.trust-links a { margin: 0 8px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-size: 15.5px; font-weight: 600;
  color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px; font-weight: 600; color: var(--color-accent);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .ans { padding: 0 20px 18px; color: var(--color-text-soft); font-size: 14.5px; line-height: 1.75; }

/* 定位宣言段（大字、留白、克制） */
.manifesto {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.manifesto .line {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 22px;
}
.manifesto .line em {
  font-style: normal;
  background: var(--gradient-accent-bright);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.manifesto .sub {
  font-size: 17px;
  color: var(--color-text-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* 底部 CTA 带（浅色） */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f8fbff, #eef5fb);
  color: var(--color-text);
  text-align: center;
  padding: 70px 22px;
}
.cta-band h2 { font-size: 28px; color: var(--color-primary-dark); margin-bottom: 12px; font-weight: 800; }
.cta-band p { color: var(--color-text-soft); margin-bottom: 26px; font-size: 16px; }

/* 页脚 */
.site-footer {
  background: var(--color-primary-dark);
  color: #cbd5e1;
  padding: 46px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
.footer-grid a { color: #cbd5e1; }
.footer-grid a:hover { color: #fff; }
.footer-brand { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-about { font-size: 13.5px; line-height: 1.8; max-width: 360px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 18px;
  font-size: 13px;
  color: #94a3b8;
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
}
.footer-legal a { color: #cbd5e1; }
.footer-legal .sep { opacity: .5; }

/* 法律文档（隐私政策 / 用户协议）排版 */
.legal { padding: 52px 0 70px; }
.legal .container { max-width: var(--max-width-legal); }
.legal-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.legal-header h1 { font-size: 30px; color: var(--color-primary-dark); margin-bottom: 8px; font-weight: 800; }
.legal-meta { font-size: 13.5px; color: var(--color-text-muted); }
.prose h2 {
  font-size: 20px; color: var(--color-primary-dark);
  margin: 34px 0 14px; padding-top: 8px; font-weight: 700;
}
.prose h3 { font-size: 16.5px; color: var(--color-text); margin: 22px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--color-text); }
.prose ul, .prose ol { margin: 0 0 16px 0; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--color-primary-dark); }
.notice {
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-accent);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  font-size: 14.5px;
  color: var(--color-text);
}
.notice.tbd { background: #fff7ed; border-color: #f59e0b; }
.notice strong { color: inherit; }

/* 合规信息块 */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.compliance-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.compliance-card .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.compliance-card strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: 17px;
  margin-bottom: 8px;
}
.compliance-card p {
  color: var(--color-text-soft);
  font-size: 14px;
}

/* 表格（合规清单） */
.table-wrap { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
table.data thead th { background: var(--color-bg-soft); color: var(--color-primary-dark); font-weight: 600; font-size: 13.5px; }
table.data tbody tr:last-child td { border-bottom: 0; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.contact-grid .card { display: flex; flex-direction: column; }
.contact-grid .card h3 { font-size: 15.5px; margin-bottom: 6px; }
.contact-grid .info-list { flex: 1; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--color-border); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { width: 116px; flex-shrink: 0; color: var(--color-text-muted); font-size: 13px; }
.info-list .v { color: var(--color-text); font-weight: 500; font-size: 13.5px; word-break: break-all; }

/* 响应式 */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-items { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 38px 0 18px; }
  .hero h1 { font-size: 30px; }
  .hero-slogan { font-size: 26px; }
  .hero p.lead { font-size: 16px; }
  .badge-row { margin-top: 24px; }
  .manifesto .line { font-size: 25px; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 24px; }
  .cta-band h2 { font-size: 23px; }
}
@media (max-width: 640px) {
  .nav {
    height: auto;
    min-height: 62px;
    padding: 10px 0;
    flex-wrap: wrap;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .nav-links a { font-size: 13px; }
  .hero-cta .btn { width: 100%; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-legal .sep { display: none; }
}
