/* Date 官网通用样式 */
:root {
  --purple: #6C4CF1;
  --purple-deep: #4B2FD6;
  --purple-light: #F1EDFF;
  --ink: #1C1730;
  --ink-2: #5A5570;
  --bg: #FFFFFF;
  --card: #F8F7FC;
  --line: #E8E5F2;
  --radius: 16px;
  --max: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* 顶部导航 */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--ink); }
.logo-badge {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff; font-style: italic; font-family: Georgia, serif; font-size: 20px; font-weight: 700;
}
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover, .nav-links a.active { color: var(--purple); text-decoration: none; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(108,76,241,.14), transparent 60%),
    radial-gradient(700px 380px at 85% 10%, rgba(196,181,253,.25), transparent 60%),
    #fff;
  padding: 88px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.25; letter-spacing: -.5px; }
.hero h1 em { color: var(--purple); font-style: italic; font-family: Georgia, serif; }
.hero p.sub { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 520px; }
.hero-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: var(--purple-light); color: var(--purple-deep); font-weight: 500;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-size: 16px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: #fff; box-shadow: 0 10px 24px rgba(108,76,241,.32); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }

/* 手机样机 */
.phones { display: flex; justify-content: center; gap: 20px; }
.phone {
  width: 210px; height: 420px; border-radius: 34px; padding: 10px;
  background: linear-gradient(160deg, #2A2140, #1C1730);
  box-shadow: 0 30px 60px rgba(28,23,48,.28);
}
.phone:nth-child(2) { transform: translateY(26px); }
.screen {
  width: 100%; height: 100%; border-radius: 26px; overflow: hidden;
  background: #FAFAFE; display: flex; flex-direction: column;
}
.screen-bar { height: 34px; display: flex; align-items: center; justify-content: center; }
.screen-bar .dot { width: 80px; height: 18px; border-radius: 10px; background: #1C1730; }
.screen-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.card-m { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 2px 10px rgba(28,23,48,.06); }
.card-m .line-a { height: 10px; border-radius: 5px; background: #E9E5F7; width: 65%; margin-bottom: 8px; }
.card-m .line-b { height: 8px; border-radius: 4px; background: #F0EEF6; width: 90%; margin-bottom: 6px; }
.pill-row { display: flex; gap: 8px; }
.pill { height: 22px; padding: 0 10px; border-radius: 999px; background: var(--purple-light); }
.pill.p2 { background: #FFE9F1; }
.banner-m {
  border-radius: 14px; padding: 14px; color: #fff; font-weight: 600; font-size: 13px;
  background: linear-gradient(135deg, var(--purple), #9F7BFF);
}
.banner-m.m2 { background: linear-gradient(135deg, #FF7BA9, #FF9E7B); }

/* 区块 */
.section { padding: 76px 0; }
.section.alt { background: var(--card); }
.section-title { text-align: center; font-size: 32px; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--ink-2); margin-bottom: 44px; font-size: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
}
.feature:hover { box-shadow: 0 16px 40px rgba(28,23,48,.10); transform: translateY(-3px); }
.feature .ico {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--purple-light); font-size: 24px; margin-bottom: 16px;
}
.feature .ico svg { width: 26px; height: 26px; stroke: var(--purple); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-2); }

/* 合规承诺 */
.compliance-band {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  border-radius: 22px; color: #fff; padding: 44px; margin: 0 0;
}
.compliance-band h2 { font-size: 26px; margin-bottom: 8px; }
.compliance-band p.lead { opacity: .85; margin-bottom: 26px; }
.compliance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.compliance-item { background: rgba(255,255,255,.12); border-radius: 14px; padding: 18px; }
.compliance-item b { display: block; font-size: 15px; margin-bottom: 6px; }
.compliance-item span { font-size: 13px; opacity: .82; line-height: 1.6; display: block; }

/* 下载区 */
.download-box {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 0 auto;
}
.download-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 30px; text-align: center;
}
.download-card .os { font-size: 34px; }
.download-card h3 { margin: 10px 0 4px; font-size: 18px; }
.download-card p { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.qr {
  margin: 0 auto 16px; width: 120px; height: 120px; border-radius: 12px;
  background: repeating-linear-gradient(45deg, #ECE9F6 0 8px, #fff 8px 16px);
  display: flex; align-items: center; justify-content: center; color: #A9A3C2; font-size: 12px;
}

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 40px 0 32px; background: #FBFAFE; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-grid h4 { font-size: 14px; margin-bottom: 12px; color: var(--ink); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 13.5px; }
.footer-grid a, .footer-grid li { color: var(--ink-2); }
.footer-brand p { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; max-width: 420px; }
.copyright {
  border-top: 1px solid var(--line); padding-top: 20px;
  font-size: 12.5px; color: #9A95B0; text-align: center; line-height: 2;
}
.copyright a { color: #9A95B0; }

/* 文档页（隐私政策/协议） */
.doc { max-width: 860px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: 30px; margin-bottom: 6px; }
.doc .meta { color: var(--ink-2); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 34px 0 12px; padding-left: 12px; border-left: 4px solid var(--purple); }
.doc h3 { font-size: 16px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 14.5px; color: #3C374F; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--purple-light); color: var(--purple-deep); font-weight: 600; }
.doc .notice {
  background: #FFF7E8; border: 1px solid #F5DFAE; border-radius: 10px;
  padding: 14px 16px; font-size: 13.5px; margin: 18px 0; color: #7A5A17;
}
.doc .toc {
  background: var(--card); border-radius: 12px; padding: 18px 22px; margin-bottom: 28px;
}
.doc .toc b { display: block; margin-bottom: 8px; }
.doc .toc ol { columns: 2; column-gap: 40px; margin: 0; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .download-box { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .phones { display: none; }
  .nav-links { gap: 16px; font-size: 13.5px; }
  .doc .toc ol { columns: 1; }
}

/* 待补信息占位（上线前由运营替换真实值） */
.todo {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed #C9A227;
  border-radius: 6px;
  color: #8A6D00;
  background: #FFF8E1;
  font-size: 13px;
}
