/* DataOS 数字管家官网 · 全站样式（轻量、无框架、三端响应式） */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --c-primary: #2563eb;
  --c-primary-dark: #1e40af;
  --c-bg: #ffffff;
  --c-bg-soft: #f4f7fb;
  --c-text: #1f2937;
  --c-text-muted: #6b7280;
  --c-border: #e5e7eb;
  --c-green: #059669;
  --radius: 10px;
  --maxw: 1080px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--c-text); }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--c-text-muted); }
.nav a:hover { color: var(--c-primary); }
.nav .btn-nav {
  background: var(--c-primary); color: #fff; padding: 8px 18px;
  border-radius: 8px; font-weight: 600;
}
.nav .btn-nav:hover { background: var(--c-primary-dark); text-decoration: none; color: #fff; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  padding: 72px 0 64px;
  text-align: center;
}
.hero h1 { font-size: 40px; line-height: 1.3; font-weight: 800; letter-spacing: .5px; }
.hero .hero-sub { font-size: 19px; color: var(--c-text-muted); margin: 18px 0 8px; }
.hero .hero-tag { font-size: 15px; color: var(--c-text-muted); }
.hero-pains {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin: 36px auto 0; max-width: 860px; text-align: left;
}
.hero-pains .pain {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 16px 18px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start;
}
.pain .ico { font-size: 20px; line-height: 1.4; }
.hero-cta { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 10px;
  font-size: 17px; font-weight: 700; cursor: pointer; border: none;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); text-decoration: none; color: #fff; }
.btn-ghost { background: #fff; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
.btn-ghost:hover { background: #eff6ff; text-decoration: none; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--c-text-muted); }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--c-bg-soft); }
.section-title { text-align: center; font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--c-text-muted); font-size: 16px; margin-bottom: 44px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .f-ico {
  width: 44px; height: 44px; border-radius: 10px; font-size: 22px;
  background: #eff6ff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--c-text-muted); }
.feature .status { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--c-green); background: #ecfdf5; border-radius: 6px; padding: 2px 10px; }

/* ---------- guides index ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.guide-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px; display: block; color: var(--c-text);
  transition: box-shadow .2s, transform .2s;
}
.guide-card:hover { text-decoration: none; box-shadow: 0 8px 24px rgba(37,99,235,.12); transform: translateY(-2px); }
.guide-card .g-cat { font-size: 12.5px; color: var(--c-primary); font-weight: 600; margin-bottom: 8px; }
.guide-card h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 8px; }
.guide-card p { font-size: 14px; color: var(--c-text-muted); }

/* ---------- article ---------- */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 48px 20px 80px; }
.breadcrumb { font-size: 13.5px; color: var(--c-text-muted); margin-bottom: 22px; }
.article-wrap h1 { font-size: 30px; line-height: 1.4; margin-bottom: 14px; }
.article-meta { font-size: 13.5px; color: var(--c-text-muted); margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--c-border); }
.article-wrap h2 { font-size: 22px; margin: 36px 0 14px; padding-left: 12px; border-left: 4px solid var(--c-primary); }
.article-wrap h3 { font-size: 18px; margin: 26px 0 10px; }
.article-wrap p { margin: 12px 0; font-size: 16px; }
.article-wrap ul, .article-wrap ol { margin: 12px 0 12px 26px; }
.article-wrap li { margin: 7px 0; font-size: 16px; }
.article-wrap blockquote {
  margin: 18px 0; padding: 14px 18px; background: var(--c-bg-soft);
  border-left: 4px solid var(--c-primary); border-radius: 6px; color: #374151; font-size: 15px;
}
.article-wrap table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.article-wrap th, .article-wrap td { border: 1px solid var(--c-border); padding: 9px 12px; text-align: left; }
.article-wrap th { background: var(--c-bg-soft); }
.article-cta {
  margin-top: 44px; background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1px solid #dbeafe; border-radius: 14px; padding: 28px; text-align: center;
}
.article-cta h3 { margin-top: 0 !important; font-size: 19px; }
.article-cta p { color: var(--c-text-muted); font-size: 14.5px; margin-bottom: 18px; }
.related { margin-top: 40px; }
.related h3 { font-size: 17px; margin-bottom: 14px; }
.related ul { list-style: none; margin-left: 0 !important; }
.related li { padding: 9px 0; border-bottom: 1px dashed var(--c-border); }
.related li:last-child { border-bottom: none; }

/* ---------- download page ---------- */
.dl-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
  padding: 36px; max-width: 720px; margin: 0 auto;
}
.dl-card .dl-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.dl-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0; }
.dl-meta .m { background: var(--c-bg-soft); border-radius: 8px; padding: 12px 14px; }
.dl-meta .m .k { font-size: 12px; color: var(--c-text-muted); }
.dl-meta .m .v { font-size: 14px; font-weight: 600; word-break: break-all; }
.dl-btn-row { text-align: center; margin: 26px 0; }
.dl-note { font-size: 13px; color: var(--c-text-muted); text-align: center; }
.sys-req { font-size: 14.5px; color: var(--c-text-muted); margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer { background: #111827; color: #9ca3af; padding: 40px 0 32px; font-size: 14px; }
.site-footer .container { display: grid; gap: 20px; grid-template-columns: 2fr 1fr 1fr; }
.site-footer h4 { color: #e5e7eb; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: #9ca3af; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid #1f2937; font-size: 13px; color: #6b7280; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero h1 { font-size: 28px; }
  .hero .hero-sub { font-size: 16px; }
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-m { display: none; }
  .section { padding: 44px 0; }
  .section-title { font-size: 24px; }
  .article-wrap h1 { font-size: 24px; }
  .article-wrap { padding-top: 28px; }
  .site-footer .container { grid-template-columns: 1fr; }
  .btn { width: 100%; max-width: 320px; }
}
