/* WPS Office 落地站 · 第1套 · 深色中轴首屏 + 四列白卡 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2a2a2a;
  background: #f5f6f8;
  min-width: 320px;
}

a {
  color: #c41e3a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* —— 顶栏 —— */
.p1-top {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #e8e8ea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.p1-top-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p1-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c41e3a;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.p1-brand:hover {
  text-decoration: none;
}

.p1-brand svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.p1-nav {
  display: flex;
  gap: 8px;
  list-style: none;
}

.p1-nav a {
  display: block;
  padding: 8px 14px;
  color: #333;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
}

.p1-nav a:hover {
  background: #f5f6f8;
  text-decoration: none;
}

.p1-nav a.is-on {
  color: #c41e3a;
  font-weight: 600;
  background: #fce8ec;
}

/* —— Hero —— */
.p1-hero {
  background: #1c1c1c;
  color: #fff;
  text-align: center;
  padding: 72px 20px;
}

.p1-hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto 16px;
}

.p1-hero-lead {
  font-size: 16px;
  color: #c8c8c8;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.p1-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.p1-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #c41e3a;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.p1-btn:hover {
  background: #a01830;
  text-decoration: none !important;
}

.p1-btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-decoration: none !important;
}

.p1-btn-ghost:hover {
  border-color: #fff;
  text-decoration: none !important;
}

.p1-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.p1-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  color: #eee;
  font-size: 14px;
}

.p1-chip svg {
  width: 16px;
  height: 16px;
}

.p1-dl-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.p1-dl-row .p1-btn,
.p1-dl-row a.p1-btn-outline {
  font-size: 14px;
  padding: 10px 18px;
}

.p1-btn-outline {
  display: inline-block;
  padding: 10px 18px;
  background: transparent;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none !important;
}

.p1-btn-outline:hover {
  border-color: #fff;
  text-decoration: none !important;
}

/* —— 通用区块 —— */
.p1-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
}

.p1-wrap-tight {
  padding-top: 0;
}

.p1-sec-title {
  font-size: 22px;
  font-weight: 700;
  color: #1c1c1c;
  text-align: center;
  margin-bottom: 12px;
}

.p1-sec-desc {
  text-align: center;
  color: #666;
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 15px;
}

.p1-sec-body {
  color: #444;
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.p1-sec-body p {
  margin-bottom: 14px;
}

/* —— 四列白卡 —— */
.p1-cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.p1-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.p1-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: #c41e3a;
}

.p1-card h3 {
  font-size: 17px;
  font-weight: 650;
  color: #1c1c1c;
  margin-bottom: 10px;
}

.p1-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* —— 白底两列 —— */
.p1-band-white {
  background: #fff;
}

.p1-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.p1-two h2 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 22px;
  margin-bottom: 4px;
}

.p1-two-intro {
  grid-column: 1 / -1;
  text-align: center;
  color: #666;
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 15px;
}

.p1-two-col h3 {
  font-size: 17px;
  color: #c41e3a;
  margin-bottom: 12px;
}

.p1-two-col p {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
}

/* —— 对比表 —— */
.p1-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

.p1-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  font-size: 14px;
}

.p1-table th,
.p1-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #ececec;
}

.p1-table th {
  background: #1c1c1c;
  color: #fff;
  font-weight: 600;
}

.p1-table tr:last-child td {
  border-bottom: none;
}

.p1-table tr:nth-child(even) td {
  background: #fafafa;
}

/* —— 三列步骤 —— */
.p1-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.p1-step {
  background: #fff;
  border-radius: 8px;
  padding: 28px 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.p1-step-num {
  font-size: 36px;
  font-weight: 700;
  color: #c41e3a;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.p1-step h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #1c1c1c;
}

.p1-step p {
  font-size: 14px;
  color: #555;
  text-align: left;
}

/* —— 下载入口区 —— */
.p1-dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.p1-dl-item {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.p1-dl-item h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #1c1c1c;
}

.p1-dl-item p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

.p1-dl-item .p1-btn {
  font-size: 14px;
  padding: 10px 20px;
}

/* —— 新闻网格 —— */
.p1-news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.p1-news-item {
  background: #fff;
  border-radius: 8px;
  padding: 22px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.p1-news-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.p1-news-item h3 {
  font-size: 16px;
  color: #1c1c1c;
  margin-bottom: 8px;
  line-height: 1.45;
}

.p1-news-item time {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}

.p1-news-item p {
  font-size: 14px;
  color: #555;
}

/* —— FAQ —— */
.p1-faq {
  max-width: 860px;
  margin: 0 auto;
}

.p1-faq-item {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.p1-faq-item:first-child {
  padding-top: 0;
}

.p1-faq-q {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 10px;
}

.p1-faq-a {
  font-size: 14px;
  color: #444;
  line-height: 1.75;
}

.p1-faq-a p {
  margin-bottom: 8px;
}

.p1-faq-a p:last-child {
  margin-bottom: 0;
}

/* —— 场景/列表 —— */
.p1-scene-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.p1-scene {
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.p1-scene h3 {
  font-size: 16px;
  color: #c41e3a;
  margin-bottom: 10px;
}

.p1-scene p {
  font-size: 14px;
  color: #555;
}

/* —— 中文页 CTA —— */
.p1-cta-box {
  background: #fff;
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-top: 8px;
}

.p1-cta-box p {
  font-size: 15px;
  color: #444;
  margin-bottom: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.p1-cta-gap {
  margin-bottom: 20px;
}

.p1-btn-dark {
  background: #1c1c1c !important;
}

.p1-btn-dark:hover {
  background: #333 !important;
}

.p1-mt {
  margin-top: 24px;
}

.p1-mt-lg {
  margin-top: 28px;
}

/* —— 页脚 —— */
.p1-foot {
  background: #1c1c1c;
  color: #b0b0b0;
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  line-height: 1.8;
}

.p1-foot p {
  margin-bottom: 8px;
}

.p1-foot a {
  color: #e8a0ab;
}

.p1-foot a:hover {
  color: #fff;
}

/* —— 响应式 —— */
@media (max-width: 800px) {
  .p1-hero {
    padding: 48px 16px;
  }

  .p1-hero h1 {
    font-size: 22px;
  }

  .p1-nav {
    gap: 2px;
  }

  .p1-nav a {
    padding: 6px 8px;
    font-size: 13px;
  }

  .p1-brand span {
    font-size: 15px;
  }

  .p1-cards4,
  .p1-steps,
  .p1-two,
  .p1-dl-grid,
  .p1-news,
  .p1-scene-list {
    grid-template-columns: 1fr;
  }

  .p1-news-item:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .p1-wrap {
    padding: 36px 16px;
  }

  .p1-sec-title,
  .p1-two h2 {
    font-size: 20px;
  }
}
