/* WPS Office app — 蓝紫平台货架 p6- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.p6-body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1e1b4b;
  background: #eef2ff;
}

a {
  color: #312e81;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.p6-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px;
}

/* 顶栏 */
.p6-top {
  background: #fff;
  border-bottom: 1px solid #e0e7ff;
}

.p6-top-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.p6-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: #312e81;
}

.p6-brand svg {
  display: block;
  flex-shrink: 0;
}

.p6-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p6-nav a {
  display: inline-block;
  background: #e0e7ff;
  border-radius: 999px;
  padding: 8px 14px;
  color: #312e81;
  font-size: 0.92rem;
  text-decoration: none;
}

.p6-nav a:hover {
  background: #c7d2fe;
  text-decoration: none;
}

.p6-nav a.is-on {
  background: #312e81;
  color: #fff;
}

/* 主区堆叠 */
.p6-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p6-panel {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(49, 46, 129, 0.05);
}

.p6-hero h1 {
  margin: 0 0 12px;
  font-size: 1.65rem;
  line-height: 1.35;
  color: #1e1b4b;
}

.p6-lead {
  margin: 0 0 22px;
  color: #4338ca;
  font-size: 1.02rem;
}

/* 平台货架 */
.p6-shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 22px;
}

.p6-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(49, 46, 129, 0.08);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.p6-card-win {
  border: 2px solid #312e81;
}

.p6-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #312e81;
}

.p6-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #4c4a6e;
  line-height: 1.5;
}

.p6-card svg {
  display: block;
}

/* 能力图标行 */
.p6-caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.p6-caps-hero {
  margin-bottom: 18px;
}

.p6-cap {
  background: #eef2ff;
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #312e81;
  font-weight: 600;
}

.p6-cap svg {
  display: block;
  margin: 0 auto 8px;
}

/* 按钮 */
.p6-btn {
  display: inline-block;
  background: #312e81;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.92rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}

.p6-btn:hover {
  background: #1e1b4b;
  text-decoration: none !important;
}

.p6-btn-light {
  background: #e0e7ff;
  color: #312e81 !important;
}

.p6-btn-light:hover {
  background: #c7d2fe;
}

.p6-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* 标题 */
.p6-panel h2 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  color: #312e81;
}

.p6-panel h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
  color: #3730a3;
}

.p6-panel p {
  margin: 0 0 12px;
}

.p6-panel ul,
.p6-panel ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.p6-panel li {
  margin-bottom: 6px;
}

/* 表格 */
.p6-table-wrap {
  overflow-x: auto;
  margin: 12px 0;
}

.p6-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.p6-table th,
.p6-table td {
  border: 1px solid #c7d2fe;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.p6-table th {
  background: #312e81;
  color: #fff;
  font-weight: 600;
}

.p6-table tr:nth-child(even) td {
  background: #f5f7ff;
}

/* 新闻横向卡 */
.p6-news {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.p6-news-item {
  flex: 1 1 280px;
  background: #eef2ff;
  border-radius: 16px;
  padding: 14px 16px;
  min-width: 0;
}

.p6-news-date {
  display: inline-block;
  background: #e0e7ff;
  color: #312e81;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.p6-news-item strong {
  display: block;
  margin-bottom: 6px;
  color: #1e1b4b;
  font-size: 0.95rem;
  line-height: 1.45;
}

.p6-news-item p {
  margin: 0;
  font-size: 0.88rem;
  color: #4c4a6e;
}

/* FAQ */
.p6-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p6-faq-after-news {
  margin-top: 20px;
}

.p6-faq-item {
  border-bottom: 1px solid #e0e7ff;
  padding-bottom: 14px;
}

.p6-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.p6-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  font-weight: 700;
  color: #1e1b4b;
  font-size: 1rem;
  line-height: 1.45;
}

.p6-tag {
  flex-shrink: 0;
  display: inline-block;
  background: #312e81;
  color: #fff;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.6;
}

.p6-faq-a {
  margin: 0;
  padding-left: 42px;
  color: #3730a3;
  font-size: 0.95rem;
}

.p6-faq-a p {
  margin: 0 0 8px;
}

.p6-faq-a p:last-child {
  margin-bottom: 0;
}

/* 页脚 */
.p6-foot {
  margin-top: 28px;
  padding: 24px 20px 36px;
  text-align: center;
  color: #4c4a6e;
  font-size: 0.88rem;
  line-height: 1.7;
}

.p6-foot p {
  margin: 0 0 8px;
}

/* 响应式 */
@media (max-width: 860px) {
  .p6-shelf {
    grid-template-columns: repeat(2, 1fr);
  }

  .p6-caps {
    grid-template-columns: repeat(2, 1fr);
  }

  .p6-hero h1 {
    font-size: 1.35rem;
  }
}

@media (max-width: 520px) {
  .p6-shelf {
    grid-template-columns: 1fr;
  }

  .p6-caps {
    grid-template-columns: 1fr;
  }

  .p6-faq-a {
    padding-left: 0;
  }

  .p6-panel {
    padding: 20px;
  }
}
