:root {
  --brand: #1677ff;
  --brand-dark: #075fdb;
  --brand-soft: #eaf3ff;
  --ink: #162033;
  --muted: #667085;
  --line: #e7ebf2;
  --surface: #f6f9fd;
  --old-bg: #eceef1;
  --old-ink: #6b7280;
  --white: #fff;
  --shadow: 0 18px 60px rgba(30, 72, 130, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(231, 235, 242, .8);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}
.nav { min-height: 68px; display: flex; align-items: center; gap: 34px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; }
.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #35a5ff, #126cff);
  box-shadow: 0 8px 20px rgba(22, 119, 255, .25);
}
.nav-links { display: flex; align-items: center; gap: 28px; margin-right: auto; color: #475467; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; padding: 8px; border: 0; background: transparent; font-size: 24px; }

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 650;
  transition: .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #1989ff, #1265ed); box-shadow: 0 10px 24px rgba(22, 119, 255, .24); }
.btn-secondary { border-color: #cfd8e6; color: #344054; background: #fff; }
.btn-light { color: var(--brand); background: #fff; }
.btn-sm { min-height: 40px; padding: 0 17px; border-radius: 10px; font-size: 14px; }

/* ===== 首屏：双屏对比 ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 72px;
  background:
    radial-gradient(circle at 85% 12%, rgba(90, 183, 255, .20), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .22;
  background-image: linear-gradient(#dce9f8 1px, transparent 1px), linear-gradient(90deg, #dce9f8 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 54px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #cfe3ff;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #19b37a; box-shadow: 0 0 0 5px rgba(25, 179, 122, .12); }
h1 { margin: 22px 0 18px; font-size: clamp(40px, 5vw, 62px); line-height: 1.1; letter-spacing: -.045em; }
.gradient-text { color: transparent; background: linear-gradient(100deg, #0f6df4, #3aa4ff); background-clip: text; }
.hero-copy { max-width: 560px; margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.requirements { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: #7b8495; font-size: 13px; }

.compare {
  position: relative;
  height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.compare-panel { position: absolute; inset: 0; padding: 30px; }
.pane-tag {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}
.pane-tag.gray { left: 18px; color: #4b5563; background: #dde1e7; }
.pane-tag.blue { right: 18px; color: #fff; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.compare-left {
  color: var(--old-ink);
  background:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(107, 114, 128, .06) 30px 31px),
    var(--old-bg);
}
.old-list { display: grid; gap: 14px; margin-top: 56px; padding: 0; list-style: none; }
.old-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px dashed #c4c9d1;
  border-radius: 13px;
  background: rgba(255, 255, 255, .72);
  filter: grayscale(.4);
}
.old-ic {
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #6b7280;
  background: #e2e5ea;
  font-weight: 700;
}
.old-list b { display: block; color: #4b5563; font-size: 15px; }
.old-list small { color: #9aa1ad; }
.compare-right {
  color: #fff;
  background: linear-gradient(135deg, #0b63e5, #2ea3ff 65%, #5ec3ff);
  clip-path: inset(0 0 0 50%);
}
.new-shot {
  position: relative;
  height: 100%;
  padding-top: 52px;
}
.new-shot img {
  width: 100%;
  height: calc(100% - 52px);
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, .55);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(4, 45, 110, .35);
}
.ai-chip {
  position: absolute;
  right: 14px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #0b63e5;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 26px rgba(4, 45, 110, .28);
  font-size: 13px;
  font-weight: 700;
}
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 60, 120, .12), 0 0 18px rgba(20, 60, 120, .25);
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 60, 120, .3);
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -2px;
}
.compare-hint { margin-top: 14px; color: #98a2b3; text-align: center; font-size: 13px; }

/* ===== 通用区块 ===== */
section { padding: 92px 0; }
.section-soft { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-kicker { margin-bottom: 10px; color: var(--brand); font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -.025em; }
.section-head p, .lead { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }

.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.download-card, .feature-card, .news-card, .help-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: .25s ease;
}
.download-card:hover, .feature-card:hover, .news-card:hover, .help-card:hover { transform: translateY(-6px); border-color: #bdd8ff; box-shadow: var(--shadow); }
.download-card { padding: 25px; }
.os-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 22px; border-radius: 15px; color: var(--brand); background: var(--brand-soft); font-size: 21px; font-weight: 800; }
.download-card h3 { margin: 0 0 7px; font-size: 21px; }
.download-card .sub { min-height: 42px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.meta-list { margin: 18px 0; padding: 16px 0; border-block: 1px solid var(--line); color: #667085; font-size: 13px; line-height: 2; }
.meta-list b { float: right; color: #344054; font-weight: 600; }
.download-card .btn { width: 100%; }

.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature-card { padding: 25px 20px; }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 19px; border-radius: 14px; color: var(--brand); background: var(--brand-soft); font-size: 20px; font-weight: 700; }
.feature-card h3 { margin: 0 0 9px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* 对比卡：传统 vs 钉钉AI */
.vs-block { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.vs-card { padding: 30px; border-radius: var(--radius); }
.vs-card.old { border: 1px dashed #c4c9d1; color: var(--old-ink); background: var(--old-bg); }
.vs-card.new { color: #fff; background: linear-gradient(135deg, #0b63e5, #35a5ff); box-shadow: var(--shadow); }
.vs-card h3 { margin: 0 0 18px; font-size: 20px; }
.vs-card ul { display: grid; gap: 12px; padding: 0; list-style: none; }
.vs-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.vs-card.old li::before { content: "×"; font-weight: 800; color: #9aa1ad; }
.vs-card.new li::before { content: "✓"; font-weight: 800; }
.vs-mid {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1989ff, #1265ed);
  box-shadow: 0 12px 30px rgba(22, 119, 255, .35);
  transform: translate(-50%, -50%);
  font-weight: 800;
}

.solution-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 68px; }
.solution-row + .solution-row { margin-top: 80px; }
.solution-row.reverse .solution-copy { order: 2; }
.solution-row.reverse .solution-visual { order: 1; }
.solution-copy h2 { font-size: 38px; }
.solution-copy p { color: var(--muted); line-height: 1.9; }
.check-list { display: grid; gap: 13px; margin: 25px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.check { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: 12px; font-weight: 700; }
.solution-visual { padding: 12px; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow); }
.solution-visual img { width: 100%; min-height: 340px; object-fit: cover; border-radius: 17px; background: #eef5fd; }

.trust { padding: 70px 0; border-block: 1px solid var(--line); }
.trust-number { margin-bottom: 34px; text-align: center; font-size: 24px; font-weight: 750; }
.trust-number strong { color: var(--brand); font-size: 38px; }
.brand-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.brand-item { padding: 20px 10px; border-radius: 14px; color: #5d6878; background: #f7f9fc; text-align: center; font-size: 19px; font-weight: 750; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { overflow: hidden; }
.news-card img { width: 100%; height: 190px; object-fit: cover; background: #e8f2ff; }
.news-body { padding: 23px; }
.news-tag { color: var(--brand); font-size: 13px; font-weight: 700; }
.news-card h3 { margin: 10px 0; font-size: 18px; line-height: 1.55; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.faq-wrap { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; width: 100%; justify-content: space-between; padding: 22px 0; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; font-size: 17px; font-weight: 650; }
.faq-answer { display: none; padding: 0 40px 22px 0; color: var(--muted); line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .plus { transform: rotate(45deg); }
.plus { color: var(--brand); font-size: 24px; transition: .2s; }

.page-hero { padding: 74px 0 62px; background: linear-gradient(180deg, #f3f8ff, #fff); text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 56px); }
.page-hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 17px; line-height: 1.8; }
.platform-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.platform-panel { display: flex; gap: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.platform-panel .os-icon { flex: 0 0 52px; margin: 0; }
.platform-panel h3 { margin: 2px 0 7px; }
.platform-panel p { margin: 0 0 17px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card { padding: 26px; }
.help-card h3 { margin: 13px 0 8px; }
.help-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.search-box { display: flex; max-width: 620px; margin: 30px auto 0; padding: 7px; border: 1px solid #cfe0f6; border-radius: 14px; background: #fff; box-shadow: 0 10px 35px rgba(29, 83, 148, .08); }
.search-box input { flex: 1; min-width: 0; padding: 0 14px; border: 0; outline: 0; }

.cta-section { padding: 82px 0; }
.cta-box { position: relative; overflow: hidden; padding: 58px; border-radius: 30px; color: #fff; background: linear-gradient(120deg, #0b6bf2, #26a4ff); }
.cta-box::after { position: absolute; width: 320px; height: 320px; right: -70px; top: -150px; border: 60px solid rgba(255, 255, 255, .1); border-radius: 50%; content: ""; }
.cta-box h2 { position: relative; margin-bottom: 12px; }
.cta-box p { position: relative; color: rgba(255, 255, 255, .85); }
.cta-benefits { position: relative; display: flex; flex-wrap: wrap; gap: 22px; margin: 24px 0 30px; color: rgba(255, 255, 255, .92); font-size: 14px; }

footer { padding: 55px 0 30px; color: #98a2b3; background: #101828; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { max-width: 330px; font-size: 14px; line-height: 1.8; }
.footer-title { margin-bottom: 17px; color: #fff; font-weight: 700; }
.footer-links { display: grid; gap: 11px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.copyright { margin-top: 40px; padding-top: 24px; border-top: 1px solid #273244; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(20px); transition: .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 20px; border-bottom: 1px solid var(--line); background: #fff; }
  .nav-links.open { display: grid; }
  .menu-btn { display: block; margin-left: auto; }
  .nav-actions .btn-secondary { display: none; }
  .hero-grid, .solution-row { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .vs-block { grid-template-columns: 1fr; gap: 20px; }
  .vs-mid { display: none; }
  .solution-row.reverse .solution-copy, .solution-row.reverse .solution-visual { order: initial; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  section { padding: 68px 0; }
  .nav-actions .btn-primary { display: none; }
  .hero { padding: 56px 0 50px; }
  h1 { font-size: 40px; }
  .hero-copy { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .compare { height: 380px; }
  .compare-panel { padding: 20px; }
  .old-list li { padding: 10px 12px; }
  .old-list small { display: none; }
  .download-grid, .feature-grid, .news-grid, .platform-detail, .help-grid { grid-template-columns: 1fr; }
  .brand-row { grid-template-columns: repeat(2, 1fr); }
  .solution-row { gap: 35px; }
  .solution-visual img { min-height: 230px; }
  .cta-box { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
