/* ═══════════════════════════════════════════
   TodoWall 官网 · 单页样式
   品牌色青绿 #0d9488（与产品图标、软件界面一致）
   零依赖 · 纯 CSS · 响应式
   ═══════════════════════════════════════════ */

:root {
  --brand: #0d9488;
  --brand-d: #0f766e;
  --brand-dd: #115e59;
  --brand-l: #5eead4;
  --brand-soft: #f0fdfa;
  --brand-soft2: #ccfbf1;

  --ink: #0f172a;
  --ink2: #475569;
  --ink3: #94a3b8;

  --line: #e2e8f0;
  --line2: #f1f5f9;
  --bg: #ffffff;
  --bg2: #f8fafc;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-s: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .05);
  --shadow-l: 0 2px 6px rgba(15, 23, 42, .07), 0 18px 44px rgba(15, 23, 42, .09);

  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15.5px/1.75 "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { color: var(--brand-dd); }

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

/* ───────── 顶栏 ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--wrap); margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-ico { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.brand-ico.sm { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 7px 12px; border-radius: 8px; font-size: 14.5px;
  color: var(--ink2); white-space: nowrap;
}
.nav-links a:hover { background: var(--brand-soft); color: var(--brand-dd); }
.nav-links a.lang-sw {
  font-weight: 600; color: var(--brand-d);
  border-left: 1px solid var(--line); border-radius: 0 8px 8px 0;
  margin-left: 4px; padding-left: 15px;
}

/* ───────── 按钮 ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4;
  cursor: pointer; white-space: nowrap; transition: background .16s, color .16s, border-color .16s, transform .16s, box-shadow .16s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(13, 148, 136, .28); }
.btn-primary:hover { background: var(--brand-d); color: #fff; transform: translateY(-1px); box-shadow: 0 7px 20px rgba(13, 148, 136, .32); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dd); background: var(--brand-soft); }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn-lg { padding: 13px 27px; font-size: 16px; border-radius: 11px; }
.btn-block { display: flex; width: 100%; }

/* ───────── 首屏 ───────── */
.hero {
  background: linear-gradient(135deg, #0b1a1c 0%, #0e332f 52%, #0d6b60 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: -180px; width: 720px; height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(94, 234, 212, .16), transparent 66%);
  pointer-events: none;
}
.hero-in {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 72px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.kicker {
  margin: 0 0 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  color: #7fd8cd; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 18px; font-size: 40px; line-height: 1.3;
  font-weight: 700; letter-spacing: -.02em;
}
.hero .lead { margin: 0 0 28px; font-size: 16.5px; line-height: 1.85; color: #c4dcd8; max-width: 30em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero-note { margin: 18px 0 0; font-size: 13.5px; color: #8fb8b2; }
.hero-shot svg { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }

/* ───────── 通用段落 ───────── */
.sec { padding: 76px 0; }
.sec-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 {
  margin: 0 0 12px; font-size: 29px; line-height: 1.4;
  font-weight: 700; letter-spacing: -.015em; text-align: center;
}
.sec-lead {
  margin: 0 auto 42px; max-width: 44em; text-align: center;
  font-size: 16px; color: var(--ink2);
}

/* ───────── 场景 ───────── */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scene { margin: 0; }
.scene svg { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.scene figcaption { margin-top: 13px; display: flex; flex-direction: column; gap: 3px; }
.scene figcaption b { font-size: 15px; }
.scene figcaption span { font-size: 13.5px; color: var(--ink3); }

/* ───────── 功能四宫格 ───────── */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 26px; box-shadow: var(--shadow-s);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-soft2); }
.feat-ic {
  width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 15px;
}
.feat-ic svg { width: 21px; height: 21px; fill: var(--brand-d); }
.feat h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; }
.feat p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink2); }

/* ───────── 对比表 ───────── */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; min-width: 620px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--brand-soft); color: var(--brand-dd); font-weight: 600; white-space: nowrap; }
thead th.hl { background: var(--brand); color: #fff; }
tbody td { color: var(--ink2); }
tbody tr:last-child td { border-bottom: 0; }
td.hl { background: #f6fefc; color: var(--ink); font-weight: 600; }
thead th:first-child, td:first-child { padding-left: 22px; }
.yes { color: var(--brand-d); }
.no { color: var(--ink3); }

/* ───────── 四步 ───────── */
.steps {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  counter-reset: st;
}
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px 20px; box-shadow: var(--shadow-s);
}
.steps li::before {
  counter-increment: st; content: counter(st);
  position: absolute; top: -13px; left: 18px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(13, 148, 136, .34);
}
.steps b { display: block; font-size: 16px; margin-bottom: 5px; }
.steps span { font-size: 13.5px; color: var(--ink2); line-height: 1.7; }

.reqs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.req {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 17px; font-size: 13.5px; color: var(--ink2);
}
.req b { color: var(--ink); font-weight: 600; margin-right: 7px; }

/* ───────── 价格 ───────── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 20px 22px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-s);
}
.plan-main { border: 2px solid var(--brand); box-shadow: var(--shadow-l); padding: 24px 20px 22px; }
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 13px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.price { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.price .cur { font-size: 19px; font-weight: 600; margin-right: 1px; }
.price .unit { font-size: 13px; font-weight: 500; color: var(--ink3); margin-left: 5px; letter-spacing: 0; }
.plan-note { margin: 11px 0 16px; font-size: 13px; line-height: 1.65; color: var(--ink3); min-height: 42px; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; font-size: 13.5px; color: var(--ink2); }
.plan li { position: relative; padding-left: 19px; margin-bottom: 7px; line-height: 1.65; }
.plan li::before {
  content: ""; position: absolute; left: 3px; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-l);
}
.plan .btn { margin-top: auto; }

.plans-extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.extra {
  background: var(--brand-soft); border: 1px solid var(--brand-soft2);
  border-radius: var(--radius); padding: 15px 19px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.extra b { font-size: 15px; color: var(--brand-dd); }
.extra span { font-size: 13.5px; color: var(--ink2); }

.buy-steps { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 30px; box-shadow: var(--shadow-s); }
.buy-steps h3 { margin: 0 0 14px; font-size: 17px; font-weight: 700; }
.buy-steps ol { margin: 0; padding-left: 22px; color: var(--ink2); font-size: 14.5px; }
.buy-steps li { margin-bottom: 8px; }
.buy-steps li b { color: var(--brand-dd); }
.buy-note { margin: 14px 0 0; font-size: 13.5px; color: var(--ink3); }

/* ───────── FAQ ───────── */
.faqs { max-width: 820px; margin: 0 auto; }
.faqs details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 11px; box-shadow: var(--shadow-s); overflow: hidden;
}
.faqs summary {
  cursor: pointer; padding: 17px 48px 17px 22px; position: relative;
  font-size: 15.5px; font-weight: 600; color: var(--ink); list-style: none;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after {
  content: ""; position: absolute; right: 21px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--ink3); border-bottom: 2px solid var(--ink3);
  transform: rotate(45deg); transition: transform .2s;
}
.faqs details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faqs details[open] summary { color: var(--brand-dd); }
.faqs details > p {
  margin: 0; padding: 0 22px 19px; font-size: 14.5px; line-height: 1.85; color: var(--ink2);
}
.faqs details + details { margin-top: 0; }
.faq-more { text-align: center; margin: 24px 0 0; font-size: 14.5px; color: var(--ink2); }

/* ───────── 联系 ───────── */
.cta {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px;
  background: linear-gradient(135deg, #0b1a1c 0%, #0e332f 55%, #0d6b60 100%);
  color: #fff; border-radius: var(--radius-xl); padding: 44px 46px;
  box-shadow: var(--shadow-l);
}
.cta h2 { margin: 0 0 14px; font-size: 26px; text-align: left; color: #fff; }
.cta-txt p { margin: 0 0 14px; color: #c4dcd8; font-size: 15.5px; max-width: 32em; }
.cta-promise { color: var(--brand-l) !important; font-weight: 600; }
.cta-contact { display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: flex; align-items: baseline; gap: 14px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px; padding: 12px 17px; color: #fff;
}
a.contact-row:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.c-label { font-size: 12.5px; color: #8fb8b2; flex: none; min-width: 30px; }
.c-val { font-size: 14.5px; font-weight: 600; word-break: break-all; }
.cta-contact .btn-primary { background: var(--brand-l); color: #073b35; box-shadow: none; }
.cta-contact .btn-primary:hover { background: #99f6e4; color: #073b35; }
.c-hint { margin: 4px 0 0; font-size: 12.5px; color: #8fb8b2; line-height: 1.7; }

/* QQ 群没有免登录加群链接，只能复制群号 —— 加一个显式复制按钮 */
.contact-row.has-copy { align-items: center; }
.c-copy {
  margin-left: auto; flex: none; cursor: pointer; font-family: inherit;
  font-size: 12px; line-height: 1; color: #c4dcd8;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px; padding: 5px 10px;
}
.c-copy:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.c-copy.ok { background: var(--brand-l); border-color: var(--brand-l); color: #073b35; }

/* ───────── 页脚 ───────── */
.foot { background: var(--bg2); border-top: 1px solid var(--line); padding: 40px 0 46px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand div { display: flex; flex-direction: column; }
.foot-brand b { font-size: 15.5px; }
.foot-brand span { font-size: 13px; color: var(--ink3); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot-nav a { padding: 5px 10px; border-radius: 7px; font-size: 13.5px; color: var(--ink2); }
.foot-nav a:hover { background: var(--brand-soft); color: var(--brand-dd); }
.foot-meta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px;
  font-size: 13px; color: var(--ink3);
  border-top: 1px solid var(--line); padding-top: 20px;
}
.foot-copy { margin-left: auto; }

/* ───────── 备案号与回门户入口 ───────── */
.foot-nav a.foot-portal { font-weight: 600; color: var(--brand-d); }
.foot-nav a.foot-portal:hover { background: var(--brand-soft); color: var(--brand-dd); }
.foot-icp { color: var(--ink2); }
.foot-icp:hover { color: var(--brand-dd); }

/* ───────── 响应式 ───────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 46px 24px 54px; }
  .hero h1 { font-size: 31px; }
  .sec { padding: 56px 0; }
  .sec h2 { font-size: 24px; }
  .scenes { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-extra { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 32px 26px; }
  .cta h2 { font-size: 22px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-copy { margin-left: 0; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 26px; }
  .hero .btn-lg, .hero-btns .btn { width: 100%; }
  .hero-btns { flex-direction: column; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan-main { padding-top: 26px; }
  .buy-steps { padding: 22px 20px; }
  .cta { padding: 28px 20px; }
  .sec-lead { margin-bottom: 30px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ───────── 功能卡：整宽高亮（新功能） ───────── */
.feat-wide { grid-column: 1 / -1; border-color: var(--brand-soft2); background: linear-gradient(180deg, #f6fefc, #fff); }

/* ───────── 更新日志 ───────── */
.log { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.log-item { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-s); }
.log-date { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand-d); font-size: 14px; padding-top: 2px; min-width: 92px; }
.log-body { flex: 1 1 auto; min-width: 0; }
.log-body h3 { margin: 0 0 8px; font-size: 16.5px; }
.log-body ul { margin: 0; padding-left: 18px; }
.log-body li { font-size: 14.5px; line-height: 1.85; color: var(--ink2); }
