/* ─────────────────────────────────────────────
   Paste Easy · 官网样式
   设计语言与 App 一致：macOS 系统灰底 / 语义蓝 / 毛玻璃 / 圆角卡片
   （结构复刻自 LumiBox 官网，配色替换为 Paste Easy 设计 Token）
   ───────────────────────────────────────────── */
:root {
  --cream: #f5f5f7;
  --cream-deep: #ececf0;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #4b4b52;
  --secondary: #86868b;
  --separator: #e2e2e7;
  --pink: #a5c8ff;
  --pink-deep: #0a84ff;
  --pink-soft: #e8f1ff;
  --gold: #30d158;
  --gold-soft: #e3f8ea;
  --radius: 24px;
  --shadow-card: 0 10px 30px rgba(29, 29, 31, 0.07);
  --shadow-pop: 0 18px 44px rgba(10, 132, 255, 0.25);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.site-shell { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── 顶栏 ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: rgba(245, 245, 247, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 226, 231, 0.7);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.brand img {
  width: 42px; height: 42px; border-radius: 11px;
  box-shadow: 0 4px 10px rgba(29, 29, 31, 0.15);
}
.brand small { display: block; font-size: 12px; color: var(--secondary); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px;
  color: var(--ink-soft); transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--pink-soft); color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }
.language-toggle {
  margin-left: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  font-family: var(--font); font-weight: 800; font-size: 14px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.language-toggle:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(29, 29, 31, 0.12); }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-soft); color: #1d7a38;
  font-weight: 800; font-size: 14px; letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 900;
}
.hero h1 .hl { color: var(--pink-deep); }
.hero-copy {
  margin-top: 20px; font-size: 19px; color: var(--ink-soft);
  max-width: 30em; font-weight: 600;
}
.actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 800; font-size: 16px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  border: 1.5px solid var(--ink);
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: #fff; box-shadow: 0 12px 26px rgba(29, 29, 31, 0.25); }
.button.review { background: #fff; color: var(--ink); }
.button.pink { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; box-shadow: var(--shadow-pop); }
.button svg { width: 20px; height: 20px; }

/* Hero 右侧：App 图标 + 漂浮的剪贴板卡片 */
.hero-art { position: relative; min-height: 480px; }
.hero-art .art-icon {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(300px, 64%); border-radius: 24%;
  box-shadow: 0 24px 60px rgba(29, 29, 31, 0.22);
}
.mini-card {
  position: absolute; width: 34%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 226, 231, 0.9);
  border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 14px 30px rgba(29, 29, 31, 0.14);
}
.mc-type { display: inline-block; font-size: 12px; font-weight: 800; color: var(--pink-deep); background: var(--pink-soft); padding: 3px 10px; border-radius: 999px; }
.mc-line { display: block; height: 9px; border-radius: 5px; background: var(--cream-deep); margin-top: 10px; }
.mc-line.short { width: 58%; }
.mc1 { left: 0%; top: 6%; transform: rotate(-7deg); animation: bob 5s ease-in-out infinite; }
.mc2 { right: 0%; top: 12%; transform: rotate(6deg); animation: bob 6s ease-in-out infinite 0.6s; }
.mc3 { left: 6%; bottom: 6%; transform: rotate(5deg); animation: bob 5.4s ease-in-out infinite 1.1s; }
.hero-kbd {
  position: absolute; right: 8%; bottom: 10%;
  font-family: var(--font); font-weight: 800; font-size: 22px; color: var(--ink);
  background: #fff; border: 1px solid var(--separator); border-bottom-width: 3px;
  border-radius: 14px; padding: 10px 18px;
  box-shadow: 0 12px 26px rgba(29, 29, 31, 0.16);
  animation: bob 6.4s ease-in-out infinite 0.3s;
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ── 事实表 ── */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 8px 0 56px;
}
.facts article {
  background: var(--card); border: 1px solid var(--separator);
  border-radius: var(--radius); padding: 22px 22px 20px;
  box-shadow: var(--shadow-card);
}
.facts span { display: block; font-size: 13px; font-weight: 800; color: var(--secondary); letter-spacing: 0.06em; text-transform: uppercase; }
.facts strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 800; line-height: 1.4; }

/* ── 通用 section ── */
.section { padding: 56px 0; }
.section-kicker {
  font-size: 14px; font-weight: 800; color: var(--pink-deep);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px;
}
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
.section-intro { margin-top: 14px; font-size: 17px; color: var(--ink-soft); font-weight: 600; max-width: 44em; }

/* ── 功能卡 ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feature-card {
  background: var(--card); border: 1px solid var(--separator);
  border-radius: 28px; padding: 30px 26px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(29, 29, 31, 0.12); }
.feat-ico {
  width: 64px; height: 64px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; background: var(--pink-soft); border-radius: 18px;
}
.feature-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 8px; }
.feature-card p { font-size: 15.5px; color: var(--ink-soft); font-weight: 600; }
.feature-card .tag {
  display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 800;
  background: var(--pink-soft); color: var(--pink-deep);
  padding: 5px 12px; border-radius: 999px;
}
.feature-card:nth-child(2) .tag { background: var(--gold-soft); color: #1d7a38; }

/* ── 截图 ── */
.shot-set { margin-top: 34px; }
.shot-set-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.shot-set-head h3 { font-size: 19px; font-weight: 900; }
.shot-set-head span { font-size: 14px; color: var(--secondary); font-weight: 700; }
.shot-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 72vw);
  gap: 18px; overflow-x: auto; padding: 6px 4px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shot-rail::-webkit-scrollbar { height: 8px; }
.shot-rail::-webkit-scrollbar-thumb { background: var(--separator); border-radius: 4px; }
.shot-rail img {
  border-radius: 20px; border: 1px solid var(--separator);
  box-shadow: var(--shadow-card); scroll-snap-align: start;
}

/* ── 隐私横幅 / 联系 ── */
.band {
  margin: 56px 0;
  background: linear-gradient(135deg, #1d1d1f, #3a3a42);
  color: #f5f5f7;
  border-radius: 36px; padding: 52px 48px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center;
  box-shadow: 0 24px 60px rgba(29, 29, 31, 0.3);
}
.band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.25; }
.band p { margin-top: 14px; color: #c7c7cc; font-weight: 600; font-size: 16px; }
.band .band-art { display: flex; justify-content: center; }
.band .band-art img { width: min(220px, 56%); border-radius: 24%; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.35)); }
.band .actions { margin-top: 26px; }
.band .button { border-color: transparent; }
.band-blue { background: linear-gradient(135deg, #0a84ff, #5e5ce6); box-shadow: 0 24px 60px rgba(10, 132, 255, 0.35); }
.mc-mail { position: static; width: min(240px, 70%); transform: rotate(-4deg); }

/* ── 法律页正文 ── */
.legal { padding: 48px 0 72px; max-width: 860px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 900; line-height: 1.2; }
.legal .updated { margin-top: 12px; color: var(--secondary); font-weight: 700; font-size: 14px; }
.legal h2 { margin-top: 40px; font-size: 23px; font-weight: 900; }
.legal h3 { margin-top: 26px; font-size: 18px; font-weight: 800; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-soft); font-weight: 600; font-size: 16px; }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-top: 8px; }
.legal .callout {
  margin-top: 28px; background: var(--pink-soft);
  border: 1px solid #cfe2fb; border-radius: 20px; padding: 20px 24px;
  color: var(--ink-soft); font-weight: 700;
}
.legal .callout.gold { background: var(--gold-soft); border-color: #c4ecd2; }
.legal table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--separator); font-weight: 600; color: var(--ink-soft); }
.legal th { color: var(--ink); font-weight: 800; background: var(--cream-deep); }
.legal a { color: var(--pink-deep); font-weight: 800; text-decoration: underline; }

/* ── FAQ ── */
.faq { margin-top: 32px; display: grid; gap: 14px; max-width: 860px; }
.faq details {
  background: var(--card); border: 1px solid var(--separator);
  border-radius: 20px; padding: 20px 24px;
  box-shadow: var(--shadow-card);
}
.faq summary { font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font-size: 22px; font-weight: 900; color: var(--pink-deep); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-weight: 600; }

/* ── 页脚 ── */
.footer {
  margin-top: 48px; padding: 36px 0 44px;
  border-top: 1px solid var(--separator);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  color: var(--secondary); font-weight: 700; font-size: 14px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }

/* ── 响应式 ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-art { min-height: 380px; order: -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 40px 30px; }
  .topbar { align-items: flex-start; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .nav a { padding: 7px 10px; font-size: 14px; }
}
