/* ===== 思记官网 · 明亮清爽风 ===== */
:root {
  --bg: #f7f9fc;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --text: #1a2333;
  --text-muted: #5b6b84;
  --primary: #4f7cff;
  --primary-dark: #3a63e0;
  --primary-soft: #eef3ff;
  --accent: #6b7bff;
  --grad: linear-gradient(135deg, #4f7cff 0%, #7a6bff 100%);
  --border: #e6ebf5;
  --shadow: 0 10px 30px rgba(31, 52, 110, 0.08);
  --radius: 18px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 渐变文字 */
.grad {
  background: var(--grad);
  -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, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff; font-weight: 700; font-size: 18px;
  border-radius: 10px;
  overflow: hidden;
}
.brand-mark img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.brand-name { font-weight: 700; font-size: 18px; }
.brand-name em { font-style: normal; font-weight: 600; color: var(--text-muted); font-size: 13px; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.btn-nav {
  padding: 8px 20px;
  background: var(--grad);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(79,124,255,.25);
}
.btn-nav:hover { opacity: .92; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(122,107,255,.12), transparent 60%),
    radial-gradient(700px 400px at 0% 20%, rgba(79,124,255,.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-title { font-size: 56px; line-height: 1.15; font-weight: 800; letter-spacing: -1px; }
.hero-sub { margin: 22px 0 30px; font-size: 18px; color: var(--text-muted); }
.hero-actions { display: flex; gap: 14px; margin-bottom: 30px; }

.btn {
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(79,124,255,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(79,124,255,.4); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.hero-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta span {
  font-size: 13px; color: var(--text-muted);
  background: #fff; border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
}

/* 模拟设备 */
.hero-device { position: relative; }
.device-window {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow), 0 30px 60px rgba(31,52,110,.12);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: rotate(-2deg);
}
.device-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #fbfcff;
  border-bottom: 1px solid var(--border);
}
.device-topbar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.device-title { margin-left: 8px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.device-body { padding: 18px; display: grid; gap: 14px; }

.note-card {
  background: #fff; border-radius: 12px; padding: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(31,52,110,.06);
  border-left: 4px solid;
}
.note-head { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.note-line { height: 8px; background: #eef1f8; border-radius: 4px; margin-top: 6px; }
.note-line.short { width: 60%; }
.note-card.pink { border-left-color: #ff7a9e; }
.note-card.blue { border-left-color: #5aa7ff; }
.note-card.green { border-left-color: #34c98d; }
.note-card.yellow { border-left-color: #ffc542; }

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.chip-ai { top: -14px; right: -6px; color: var(--accent); }
.chip-sync { bottom: 18px; left: -18px; color: var(--primary-dark); }

/* ===== Section 通用 ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary);
}
.section-title { font-size: 36px; font-weight: 800; margin: 10px 0 12px; letter-spacing: -.5px; }
.section-desc { color: var(--text-muted); font-size: 16px; }

/* 特性卡片 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: all .25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* 技术卡片 */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  border-top: 3px solid var(--grad);
}
.tech-card h3 { font-size: 18px; margin-bottom: 8px; }
.tech-card p { color: var(--text-muted); font-size: 15px; }

/* 平台 */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center; transition: all .25s;
}
.platform-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pf-icon { font-size: 30px; display: block; margin-bottom: 10px; }
.platform-item b { display: block; font-size: 17px; }
.platform-item small { color: var(--text-muted); font-size: 13px; }
.platform-item.soon { opacity: .72; border-style: dashed; }

/* 时间线 */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px;
  width: 2px; background: var(--border);
}
.tl-item { position: relative; display: flex; gap: 22px; padding: 16px 0; }
.tl-badge {
  width: 54px; height: 54px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 50%; z-index: 1;
  box-shadow: var(--shadow);
}
.tl-body { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; flex: 1; }
.tl-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 8px;
}
.tl-item.done .tl-tag { background: #e7f8ef; color: #1f9d63; }
.tl-item.active .tl-tag { background: var(--primary-soft); color: var(--primary-dark); }
.tl-item.soon .tl-tag { background: #f0f2f8; color: var(--text-muted); }
.tl-body h4 { font-size: 18px; margin-bottom: 4px; }
.tl-body p { color: var(--text-muted); font-size: 15px; }

/* 下载 */
.download-card {
  background: var(--grad);
  color: #fff;
  text-align: center;
  border-radius: 26px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}
.download-card::before, .download-card::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.download-card::before { width: 260px; height: 260px; top: -90px; right: -60px; }
.download-card::after { width: 200px; height: 200px; bottom: -80px; left: -40px; }
.download-card h2 { font-size: 34px; margin-bottom: 12px; position: relative; z-index: 1; }
.download-card p { opacity: .92; font-size: 16px; margin-bottom: 26px; position: relative; z-index: 1; }
.download-actions { display: flex; justify-content: center; gap: 16px; position: relative; z-index: 1; }
.download-actions .btn-ghost { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); color: #fff; }
.download-actions .btn-ghost:hover { background: rgba(255,255,255,.26); }
.dl-note { font-size: 13px; opacity: .75; margin-top: 18px; margin-bottom: 0; }

/* 页脚 */
.site-footer { background: #101a30; color: #aab6cf; padding: 56px 0 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer-brand .brand-name em { color: #7d8fb0; }
.footer-tag { font-size: 14px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #aab6cf; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-copy { text-align: center; margin-top: 34px; font-size: 13px; color: #6b7a9a; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; }

/* ===== 隐私政策页 ===== */
.legal-page {
  background:
    radial-gradient(700px 320px at 90% -10%, rgba(122,107,255,.10), transparent 60%),
    var(--bg);
  padding: 64px 0 90px;
}
.legal-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}
.legal-head .badge { margin-bottom: 16px; }
.legal-head h1 { font-size: 40px; font-weight: 800; letter-spacing: -.5px; }
.legal-head p { color: var(--text-muted); margin-top: 12px; font-size: 15px; }
.legal-updated {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.legal-toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 30px;
  margin-bottom: 34px;
}
.legal-toc h3 { font-size: 15px; margin-bottom: 14px; color: var(--text); }
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.legal-toc li { counter-increment: toc; font-size: 14px; color: var(--text-muted); }
.legal-toc li::before { content: counter(toc, decimal-leading-zero); color: var(--primary); font-weight: 700; margin-right: 8px; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--primary); }

.legal-body { max-width: 760px; margin: 0 auto; }
.legal-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-bottom: 20px;
}
.legal-section h2 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--grad);
  display: flex; align-items: center; gap: 10px;
}
.legal-section h2 .ls-num { color: var(--primary); }
.legal-section p { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.legal-section ul, .legal-section ol { padding-left: 20px; margin-bottom: 12px; }
.legal-section li { color: var(--text-muted); font-size: 15px; margin-bottom: 8px; }
.legal-section strong { color: var(--text); }
.legal-section .hl { color: var(--primary-dark); font-weight: 600; }
.legal-note {
  background: var(--primary-soft);
  border: 1px solid #d7e2ff;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--primary-dark);
  margin: 16px 0;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-page { padding: 44px 0 70px; }
  .legal-head h1 { font-size: 32px; }
  .hero .container { grid-template-columns: 1fr; gap: 50px; }
  .hero-title { font-size: 42px; }
  .hero-device { max-width: 420px; margin: 0 auto; }
  .feature-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; top: 68px;
    flex-direction: column; align-items: center; justify-content: center;
    background: rgba(255,255,255,.98);
    gap: 30px; font-size: 20px;
    transform: translateX(100%); transition: transform .3s;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; }
  .feature-grid, .tech-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-title { font-size: 30px; }
  .hero { padding: 56px 0 40px; }
  .download-actions { flex-direction: column; }
}
