/* 铎田智联官网 · 全站样式（2026-10-12） */
:root {
  --navy: #0d2137;
  --navy-2: #14314f;
  --teal: #2ec8b4;
  --teal-dark: #1fa897;
  --blue: #1b6dbf;
  --ink: #233242;
  --muted: #6b7a8a;
  --line: #e4e9ee;
  --bg-soft: #f5f8fa;
  --white: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ───── 顶栏 ───── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
header.site .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
header.site img.brand-icon { width: 38px; height: 38px; border-radius: 9px; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.brand-name small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 2px; }
nav.main { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  padding: 8px 14px; border-radius: 6px; color: var(--ink); font-size: 15px;
}
nav.main a:hover { background: var(--bg-soft); text-decoration: none; }
nav.main a.active { color: var(--teal-dark); font-weight: 600; }

/* ───── Hero ───── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #17505f 100%);
  color: #fff; padding: 72px 0 64px;
}
.hero .wrap { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.hero .txt { flex: 1 1 480px; }
.hero h1 { font-size: 40px; letter-spacing: 2px; margin-bottom: 8px; }
.hero h1 .accent { color: var(--teal); }
.hero p.slogan { font-size: 19px; color: #bcd8e2; margin-bottom: 22px; }
.hero p.desc { color: #d7e5ec; font-size: 15.5px; max-width: 560px; }
.hero .cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 8px; font-size: 16px;
  transition: .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--teal); color: #06282a; font-weight: 700; }
.btn.primary:hover { background: #3ad9c4; }
.btn.ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.hero .icon-side { flex: 0 0 200px; text-align: center; }
.hero .icon-side img { width: 180px; height: 180px; border-radius: 40px; margin: 0 auto; box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.hero .icon-side .cap { margin-top: 14px; color: #9fc3cf; font-size: 13px; }

/* ───── 区块 ───── */
section.block { padding: 64px 0; }
section.block.soft { background: var(--bg-soft); }
h2.sec {
  font-size: 27px; color: var(--navy); text-align: center; letter-spacing: 1px;
  margin-bottom: 6px;
}
p.sec-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }
.sec-bar { width: 46px; height: 4px; background: var(--teal); border-radius: 2px; margin: 10px auto 40px; }

/* 功能卡片 */
.grid { display: grid; gap: 22px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid.g3, .grid.g2 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 24px; transition: .15s;
}
.card:hover { box-shadow: 0 10px 28px rgba(13,33,55,.10); transform: translateY(-2px); }
.card .ic {
  width: 46px; height: 46px; border-radius: 10px; background: #e6f7f4;
  display: flex; align-items: center; justify-content: center;
  font-size: 23px; margin-bottom: 14px;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* 截图区 */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } }
.shot {
  border: 1px dashed #b9c6d0; border-radius: 14px; aspect-ratio: 9/18.5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fbfdfe; color: #9aa9b5; font-size: 13px; gap: 8px; padding: 12px; text-align: center;
}
.shot img { border-radius: 12px; }
.shot.filled { border-style: solid; border-color: var(--line); background: #fff; padding: 0; overflow: hidden; }
.shot.filled .cap { padding: 8px; color: var(--muted); }

/* 下载区 */
.download {
  background: linear-gradient(135deg, var(--navy) 0%, #123a4c 100%);
  color: #fff; padding: 58px 0; text-align: center;
}
.download h2 { font-size: 26px; margin-bottom: 8px; }
.download p { color: #b9d3dc; margin-bottom: 26px; }
.dl-box { display: inline-flex; gap: 34px; align-items: center; flex-wrap: wrap; justify-content: center; }
.qr {
  width: 150px; height: 150px; background: #fff; border-radius: 12px; padding: 10px;
  margin: 0 auto;
}
.qr img { width: 100%; height: 100%; object-fit: contain; }
.dl-note { font-size: 13px; color: #8fb3bf; margin-top: 10px; }

/* 文本页（协议/隐私/关于） */
.doc { max-width: 860px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { font-size: 26px; color: var(--navy); margin-bottom: 4px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc h2 { font-size: 19px; color: var(--navy); margin: 30px 0 10px; }
.doc p, .doc li { font-size: 15px; color: #3c4b5b; }
.doc ul, .doc ol { padding-left: 22px; margin: 8px 0; }
.doc li { margin-bottom: 5px; }
.todo {
  background: #fff7dc; border: 1px dashed #d8b73c; color: #7a621a;
  padding: 1px 7px; border-radius: 4px; font-size: 14px;
}

/* 关于页 */
.about-grid { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.about-grid .col { flex: 1 1 320px; }
table.kv { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.kv td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14.5px; }
table.kv td:first-child { background: var(--bg-soft); color: var(--navy); width: 130px; white-space: nowrap; }

/* 页脚 */
footer.site { background: var(--navy); color: #93aebc; padding: 34px 0 26px; font-size: 13.5px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer.site a { color: #c3d8e2; }
footer.site .links { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site .beian { width: 100%; text-align: center; margin-top: 10px; color: #7d97a5; }
