/* Permes Link 官网共享样式：深色主题，与客户端 UI 色板一致（#0f1420） */

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

:root {
  --bg: #0f1420;
  --bg-card: #1a2132;
  --bg-card2: #141b2a;
  --border: #2a3350;
  --text: #e8eaf0;
  --text-dim: #9aa3b5;
  --blue: #3b82f6;
  --teal: #14b8a6;
  --grad: linear-gradient(135deg, #3b82f6, #14b8a6);
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 20, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 20px; flex: 1; }
.nav-links a { color: var(--text-dim); font-size: 14px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; border-radius: 8px; cursor: pointer;
  font-size: 16px; padding: 13px 36px; border: none;
  transition: transform .1s, opacity .15s;
}
.btn:hover { text-decoration: none; opacity: .92; }
.btn-primary { background: var(--grad); color: #fff; font-weight: 600; }
.btn-ghost { background: none; border: 1px solid var(--border); color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { font-size: 14px; padding: 8px 20px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 72px 20px 56px; }
.hero-logo { width: 96px; height: 96px; }
.hero h1 {
  font-size: 40px; margin: 20px 0 16px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { color: var(--text-dim); font-size: 17px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; color: #5b6478; font-size: 13px; }

/* ---------- 区块 ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: 56px 20px 8px; }
.section h2 { font-size: 26px; text-align: center; margin-bottom: 26px; }
.section-sub { text-align: center; color: var(--text-dim); margin: -14px 0 22px; font-size: 14px; }

.cards { display: grid; gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
}
.card h3 { font-size: 16px; margin-bottom: 8px; color: var(--teal); }
.card p { color: var(--text-dim); font-size: 14px; }

/* ---------- 三步 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--bg-card2); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.step-no {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ---------- 界面截图 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mockup { text-align: center; }
.mockup figcaption { color: var(--text-dim); font-size: 13px; margin-top: 10px; }
.shot-img {
  width: 100%; display: block;
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

/* ---------- 价格 ---------- */
.price { text-align: center; }
.price .amount { font-size: 36px; font-weight: 700; margin: 6px 0 2px; }
.price .per { color: #7dd3a8; font-size: 13px; }
.price .desc { margin: 8px 0 16px; }
.price.featured { border-color: var(--teal); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.faq details p { color: var(--text-dim); font-size: 14px; margin-top: 10px; }

/* ---------- 页脚 ---------- */
.footer {
  text-align: center; padding: 48px 20px 36px;
  color: #5b6478; font-size: 13px;
  border-top: 1px solid var(--border); margin-top: 64px;
}
.footer-links { display: flex; gap: 22px; justify-content: center; margin-bottom: 10px; }
.footer a { color: #7c869c; }

/* ---------- 协议/隐私正文页 ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 20px 24px; }
.doc h1 { font-size: 26px; margin-bottom: 6px; }
.doc .doc-updated { color: #5b6478; font-size: 13px; margin-bottom: 26px; }
.doc h2 { font-size: 18px; margin: 26px 0 8px; color: var(--teal); }
.doc p, .doc li { color: var(--text-dim); font-size: 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 4px; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .cards.two, .cards.three, .cards.four, .steps, .shots { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .desktop-br { display: none; }
  .nav-links { display: none; }
}
