/* ==========================================================================
   鲸算盘科技 · 组件样式
   ========================================================================== */

/* ---------- 数据指标条 ---------- */
.metrics {
  position: relative;
  z-index: 5;
  margin-top: 0;
}

.metrics__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 10px;
  border: 1px solid rgba(227, 234, 245, 0.9);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(16, 38, 76, 0.1);
}

.metric {
  position: relative;
  padding: 22px 16px;
  text-align: center;
}

.metric + .metric::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 38px;
  background: var(--line);
  transform: translateY(-50%);
}

.metric__value {
  display: block;
  color: var(--ink);
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.metric__label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.product-card:hover {
  border-color: #cfdef4;
  box-shadow: 0 22px 46px rgba(16, 38, 76, 0.11);
  transform: translateY(-5px);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  margin: 12px 12px 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f2f7ff, #e9f1ff);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__num {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.product-card__body h3 {
  font-size: 19px;
  line-height: 1.4;
}

.product-card__body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.product-card__body .link-arrow {
  margin-top: auto;
  padding-top: 18px;
}

/* ---------- 选项卡 ---------- */
.tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: 7px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.tab:hover {
  color: var(--brand);
  background: var(--brand-soft-2);
}

.tab[aria-selected="true"],
.tab.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(33, 81, 209, 0.2);
}

.tab__count {
  display: inline-grid;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  place-items: center;
  border-radius: 9px;
  background: rgba(33, 81, 209, 0.08);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
}

.tab[aria-selected="true"] .tab__count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ---------- 产品展示（带标签页） ---------- */
.showcase__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.showcase__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.showcase__tab {
  position: relative;
  padding: 0 4px 16px;
  margin-right: 34px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.showcase__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.showcase__tab:hover {
  color: var(--ink);
}

.showcase__tab[aria-selected="true"] {
  color: var(--brand);
}

.showcase__tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.showcase-panel {
  display: none;
}

.showcase-panel.is-active {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  animation: panel-in 0.45s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.showcase-panel__copy h3 {
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.showcase-panel__copy > p {
  margin-top: 16px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.9;
}

.showcase-panel__copy .check-list {
  margin-top: 22px;
}

.showcase-panel__copy .btn {
  margin-top: 28px;
}

.showcase-panel__eyebrow {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- 浏览器窗口画框 ---------- */
.browser {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(203, 216, 234, 0.9);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(16, 38, 76, 0.14);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid #edf2fa;
  background: #f8fafe;
}

.browser__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9e2f0;
}

.browser__dot:nth-child(1) {
  background: #f6b0ab;
}

.browser__dot:nth-child(2) {
  background: #f5d493;
}

.browser__dot:nth-child(3) {
  background: #a8dcae;
}

.browser__url {
  flex: 1;
  max-width: 260px;
  margin-left: 10px;
  padding: 3px 10px;
  overflow: hidden;
  border: 1px solid #e6edf8;
  border-radius: 5px;
  background: #fff;
  color: #93a2b8;
  font-size: 10.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser__media {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f6f9ff;
}

.browser__media img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  object-position: center;
  background: #f8fbff;
}

.browser__media--contain img {
  object-fit: contain;
  padding: 10px;
}

.browser--flat {
  box-shadow: var(--shadow);
}

/* ---------- 清单 ---------- */
.check-list {
  display: grid;
  gap: 11px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.65;
}

.check-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--brand);
}

.check-list--light li {
  color: rgba(255, 255, 255, 0.72);
}

.check-list--light .icon {
  color: #6fd0ff;
}

/* ---------- 新闻 ---------- */
.news-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.news-tab {
  position: relative;
  padding: 0 2px 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.news-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.news-tab[aria-selected="true"] {
  color: var(--ink);
}

.news-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.news-panel {
  display: none;
}

.news-panel.is-active {
  display: grid;
  animation: panel-in 0.4s var(--ease);
}

.news-feature {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 28px;
}

.news-feature__main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.news-feature__main:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.news-feature__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--bg);
}

.news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.news-feature__main:hover .news-feature__media img {
  transform: scale(1.03);
}

.news-feature__media .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}

.news-feature__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 30px 28px;
}

.news-feature__date {
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.news-feature__body h3 {
  margin: 8px 0 10px;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
}

.news-feature__body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.news-feature__body .link-arrow {
  margin-top: 18px;
}

.news-mini {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.news-mini li {
  border-bottom: 1px solid var(--line);
}

.news-mini a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 19px 0;
  align-items: start;
}

.news-mini__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 0;
  border-radius: 8px;
  background: var(--bg);
  color: var(--brand);
  line-height: 1.2;
}

.news-mini__date strong {
  font-size: 19px;
  font-weight: 600;
}

.news-mini__date span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.news-mini h4 {
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.2s var(--ease);
}

.news-mini a:hover h4 {
  color: var(--brand);
}

.news-mini p {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 新闻卡片网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.news-card:hover {
  border-color: #d3e0f3;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.news-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 9.4;
  background: var(--bg);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.035);
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 12px;
}

.news-card__meta time {
  letter-spacing: 0.02em;
}

.news-card h3 {
  display: -webkit-box;
  margin-top: 9px;
  overflow: hidden;
  font-size: 17.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card p {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted-2);
  font-size: 12px;
}

.news-card__foot .link-arrow {
  font-size: 13px;
}

/* 图片占位 */
.media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eaf2ff, #f6f9ff);
  color: #9db9e8;
}

.media-placeholder .icon {
  width: 42px;
  height: 42px;
}

/* ---------- 日期块 ---------- */
.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  flex: none;
  padding: 10px 0;
  border-radius: 10px;
  background: var(--bg);
  color: var(--brand);
  line-height: 1.15;
}

.date-block strong {
  font-size: 22px;
  font-weight: 600;
}

.date-block span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

/* ---------- 数据带 ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-tile {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.stat-tile strong {
  display: block;
  color: var(--brand);
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-tile span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
}

.stat-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-grid-2 .stat-tile strong {
  font-size: clamp(22px, 2vw, 30px);
}

.stat-tile--dark {
  border-color: transparent;
  background: linear-gradient(135deg, #10328c, #2151d1);
  color: rgba(255, 255, 255, 0.7);
}

.stat-tile--dark strong {
  color: #fff;
}

.stat-tile--dark span {
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.feature-card:hover {
  border-color: #d2e0f4;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-card__icon .icon {
  width: 23px;
  height: 23px;
}

.feature-card h3 {
  font-size: 19px;
  line-height: 1.5;
}

.feature-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* 图文功能格 */
.feature-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-media-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.feature-media-card:hover {
  border-color: #d2e0f4;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-media-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 16px;
  background: linear-gradient(150deg, #f4f8ff, #edf4ff);
}

.feature-media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.feature-media-card__body {
  padding: 22px 24px 26px;
}

.feature-media-card__body h3 {
  font-size: 18px;
  line-height: 1.5;
}

.feature-media-card__body p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- 左右分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.split--wide-right {
  grid-template-columns: 0.9fr 1.1fr;
}

.split--wide-left {
  grid-template-columns: 1.1fr 0.9fr;
}

.split__copy h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.4;
}

.split__copy > p {
  margin-top: 16px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.9;
}

.split__copy .check-list {
  margin-top: 22px;
}

.split__media img {
  width: 100%;
  border-radius: 16px;
}

.split__media--shadow img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* ---------- 对比表 ---------- */
.compare {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare thead th {
  padding: 20px 22px;
  background: #f7faff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.compare thead th:nth-child(3) {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.compare tbody th {
  width: 118px;
  padding: 22px;
  border-top: 1px solid var(--line);
  background: #fbfcff;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}

.compare tbody td {
  padding: 22px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
  vertical-align: top;
}

.compare tbody td.is-saas {
  background: #f8fbff;
  color: var(--ink);
}

.compare tbody td.is-value {
  width: 150px;
}

.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 5px;
  background: #eafbf2;
  color: #0b8a52;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.compare-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, var(--brand-soft), #fff);
  color: var(--ink);
  font-size: 14.5px;
}

.compare-note .icon {
  color: var(--brand);
  flex: none;
}

.compare-note strong {
  color: var(--brand);
  font-size: 18px;
}

/* ---------- 成本对比 ---------- */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.cost-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.cost-card--ai {
  border-color: #bcd5ff;
  background: linear-gradient(150deg, #f8fbff, #edf5ff);
  box-shadow: 0 20px 50px rgba(33, 81, 209, 0.09);
}

.cost-card__price {
  color: var(--ink);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.cost-card--ai .cost-card__price {
  color: var(--brand);
}

.cost-card__price small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.cost-card h3 {
  margin-top: 10px;
  font-size: 17px;
}

.cost-card ul {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cost-card li {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.cost-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  flex: none;
}

.cost-vs {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- 深色功能卡 ---------- */
.call-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.call-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.call-card:hover {
  border-color: rgba(88, 160, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

.call-card__num {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.call-card h3 {
  margin-top: 14px;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.call-card p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.75;
}

.call-card__media {
  margin: 20px -8px 0;
}

.call-card__media img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

/* ---------- 工具卡 ---------- */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.tool-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.tool-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 22px;
  background: linear-gradient(150deg, #f3f8ff, #eaf2ff);
}

.tool-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 28px;
}

.tool-card__body h3 {
  font-size: 20px;
}

.tool-card__body .check-list {
  margin-top: 16px;
}

.tool-card__body .btn {
  align-self: flex-start;
  margin-top: 22px;
}

/* ---------- 蓝色转化条 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 66px;
  background: linear-gradient(112deg, #10328c 0%, #2151d1 55%, #3467f4 100%);
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 200, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.35;
}

.cta-band p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

/* ---------- 联系 / 二维码条 ---------- */
.contact-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 4vw, 52px);
  border-radius: 20px;
  background: linear-gradient(115deg, #10328c 0%, #2151d1 62%, #3467f4 100%);
  color: #fff;
}

.contact-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: 24%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 208, 255, 0.22), transparent 65%);
}

.contact-band__copy {
  position: relative;
  z-index: 1;
}

.contact-band h2 {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.4;
}

.contact-band p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.8;
}

.contact-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-band__qr {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.qr-item {
  padding: 9px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.qr-item img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.qr-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 46px;
}

.page-btn {
  display: grid;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.page-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.page-btn.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.page-info {
  margin-left: 8px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 侧栏 ---------- */
.aside-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.aside-card + .aside-card {
  margin-top: 18px;
}

.aside-card h2 {
  margin-bottom: 14px;
  font-size: 15px;
}

.aside-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eff4fa;
  color: var(--text);
  font-size: 13.5px;
  transition: color 0.2s var(--ease);
}

.aside-list a:first-child {
  border-top: 0;
}

.aside-list a:hover {
  color: var(--brand);
}

.aside-list .icon {
  width: 14px;
  height: 14px;
  color: var(--muted-2);
}

.aside-card--cta {
  position: relative;
  overflow: hidden;
  border: 0;
  background: linear-gradient(150deg, #10328c, #2151d1);
  color: rgba(255, 255, 255, 0.72);
}

.aside-card--cta h2 {
  color: #fff;
  font-size: 18px;
}

.aside-card--cta p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
}

.aside-card--cta .btn {
  margin-top: 16px;
}

.aside-card--cta .aside-phone {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.aside-card--cta .aside-phone span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
  font-weight: 400;
}

/* ---------- 文章正文 ---------- */
.article-head {
  padding-block: 36px 38px;
  background: linear-gradient(180deg, #f5f9ff, #fff);
  border-bottom: 1px solid #eef3fa;
}

.article-head__inner {
  max-width: 900px;
  margin-inline: auto;
}

.article-head h1 {
  margin: 16px 0 20px;
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 13px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta .icon {
  width: 15px;
  height: 15px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 300px;
  gap: clamp(36px, 5vw, 64px);
  justify-content: center;
  padding-block: 44px 80px;
  align-items: start;
}

.article-hero {
  max-width: 1000px;
  margin: 0 auto 40px;
}

.article-hero img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.article-hero figcaption {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
}

.article-body {
  color: #3c4a60;
  font-size: 16.5px;
  line-height: 2;
}

.article-body > p {
  margin-bottom: 20px;
}

.article-body .article-lead {
  margin-bottom: 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: var(--brand-soft-2);
  color: var(--text);
  font-size: 17px;
  line-height: 1.9;
}

.article-body h2 {
  position: relative;
  margin: 42px 0 16px;
  padding-left: 14px;
  font-size: 24px;
  line-height: 1.5;
  scroll-margin-top: 110px;
}

.article-body h2::before {
  content: "";
  position: absolute;
  top: 0.34em;
  bottom: 0.34em;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--brand);
}

.article-body h3 {
  margin: 30px 0 12px;
  font-size: 20px;
  line-height: 1.55;
}

.article-body h2 strong,
.article-body h3 strong {
  font-weight: 600;
}

.article-body a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body strong {
  color: var(--ink);
}

.article-body img {
  width: auto;
  max-width: 100%;
  margin: 26px auto;
  border-radius: 10px;
}

.article-body figure {
  margin: 26px 0;
  text-align: center;
}

.article-body figure img {
  margin: 0 auto;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
  list-style: revert;
}

.article-body li {
  margin-bottom: 7px;
}

.article-body blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: var(--brand-soft-2);
  color: var(--ink-2);
}

.article-body table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  font-size: 14.5px;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-body th {
  background: var(--bg);
  color: var(--ink);
}

.article-body br {
  line-height: 1;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.article-share__btns {
  display: flex;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font-size: 12.5px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.share-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.share-btn .icon {
  width: 15px;
  height: 15px;
}

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 34px;
}

.article-pager a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.article-pager a:hover {
  border-color: #c7d9f2;
  box-shadow: var(--shadow-sm);
}

.article-pager span {
  color: var(--muted-2);
  font-size: 11.5px;
}

.article-pager strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-pager a:last-child {
  text-align: right;
}

.article-pager a:last-child strong {
  margin-left: auto;
}

.article-pager--single {
  grid-template-columns: 1fr;
}

/* 相关阅读 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.related-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.related-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.related-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg);
}

.related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__body {
  padding: 18px 20px 20px;
}

.related-card__body time {
  color: var(--muted-2);
  font-size: 11.5px;
}

.related-card__body h3 {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ---------- 通用页头 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #f4f8ff 0%, #edf4ff 55%, #f8fbff 100%);
  border-bottom: 1px solid #edf3fb;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(33, 81, 209, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 81, 209, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 72%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 30px 64px;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .page-hero__inner {
  padding-block: 38px 68px;
}

.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.page-hero__lead {
  max-width: 660px;
  margin-top: 16px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
}

.page-hero--center .page-hero__lead {
  margin-inline: auto;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero--center .page-hero__actions {
  justify-content: center;
}

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 80px 0;
  text-align: center;
}

.not-found__code {
  color: var(--brand-soft);
  font-size: clamp(100px, 16vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px #cfe0fb;
}

.not-found h1 {
  margin-top: -20px;
  font-size: clamp(26px, 3vw, 34px);
}

.not-found p {
  margin-top: 12px;
  color: var(--muted);
}

.not-found__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .call-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .article-aside .aside-card + .aside-card {
    margin-top: 0;
  }
}

@media (max-width: 880px) {
  .metrics {
    margin-top: 0;
  }

  .metrics__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric:nth-child(4)::before,
  .metric:nth-child(1)::before {
    display: none;
  }

  .metric:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .metric:nth-child(5) {
    grid-column: span 2;
  }

  .showcase-panel.is-active {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-panel__copy {
    order: 1;
  }

  .showcase-panel__media {
    order: 2;
  }

  .news-feature {
    grid-template-columns: 1fr;
  }

  .news-mini {
    border-top: 1px solid var(--line);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split--wide-right,
  .split--wide-left {
    grid-template-columns: 1fr;
  }

  .split__media {
    order: 2;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-tile {
    padding: 20px 18px;
  }

  .stat-tile strong {
    font-size: 24px;
    white-space: nowrap;
  }

  .cost-grid {
    grid-template-columns: 1fr;
  }

  .cost-vs {
    margin-inline: auto;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    display: block;
  }

  .cta-band__actions {
    margin-top: 24px;
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-band__qr {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .metrics__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 6px;
    border-radius: 16px;
  }

  .metric {
    padding: 18px 10px;
  }

  .metric:nth-child(3)::before {
    display: none;
  }

  .metric:nth-child(5) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .metric__label {
    font-size: 12px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card__media {
    aspect-ratio: 16 / 9;
  }

  .call-grid,
  .news-grid,
  .related-grid,
  .feature-grid,
  .feature-media-grid {
    grid-template-columns: 1fr;
  }

  .news-feature__body {
    padding: 20px 20px 22px;
  }

  .news-grid {
    gap: 18px;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-tile {
    padding: 20px 18px;
  }

  .stat-tile strong {
    font-size: 24px;
    white-space: nowrap;
  }

  .cost-card {
    padding: 24px;
  }

  .article-head h1 {
    font-size: 27px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.95;
  }

  .article-body h2 {
    font-size: 21px;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-pager a:last-child {
    text-align: left;
  }

  .article-pager a:last-child strong {
    margin-left: 0;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .qr-item img {
    width: 86px;
    height: 86px;
  }

  .contact-band__qr {
    gap: 10px;
  }

  .cta-band {
    padding-block: 48px;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .showcase__head {
    display: block;
  }

  .showcase__head .text-link {
    margin-top: 12px;
  }

  .showcase__tab {
    margin-right: 20px;
    font-size: 15px;
  }

  .tabs {
    width: 100%;
    overflow-x: auto;
  }

  .tab {
    padding: 0 14px;
  }
}

/* 首页产品卡：图片已聚焦 UI，去掉覆盖在界面上的编号 */
.product-card__num {
  display: none;
}

/* AI财务工厂成本对比：AI 侧作为深蓝主卡 */
.cost-card--ai {
  border-color: transparent;
  background: linear-gradient(135deg, #10328c 0%, #2151d1 55%, #3467f4 100%);
  box-shadow: 0 20px 46px rgba(0, 64, 170, 0.18);
}

.cost-card--ai .cost-card__price,
.cost-card--ai h3 {
  color: #fff;
}

.cost-card--ai .cost-card__price small {
  color: rgba(255, 255, 255, 0.62);
}

.cost-card--ai ul {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.cost-card--ai li {
  color: rgba(255, 255, 255, 0.8);
}

.cost-card--ai li::before {
  background: rgba(125, 211, 252, 0.9);
}

.cost-card--ai li strong {
  color: #fff;
}

/* ==========================================================================
   合伙人申请弹窗（关于我们）
   ========================================================================== */
.partner-modal {
  --partner-offset: clamp(64px, 17vh, 120px);
  width: min(960px, 90vw);
  max-height: calc(100vh - 32px - var(--partner-offset));
  margin-top: var(--partner-offset);
  margin-bottom: auto;
  overflow: hidden;
  border-radius: 18px;
}

.partner-modal:focus,
.partner-modal:focus-visible {
  outline: none;
}

.partner-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.partner-application {
  position: relative;
  display: grid;
  grid-template-columns: 45% minmax(0, 1fr);
  min-height: min(520px, calc(100vh - 32px - var(--partner-offset, 120px)));
  max-height: calc(100vh - 32px - var(--partner-offset, 120px));
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.partner-application__intro {
  position: relative;
  min-width: 0;
  background-color: #e8f1ff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.partner-application__intro-copy {
  position: relative;
  z-index: 1;
  padding: 56px 44px 0;
  color: #101828;
}

.partner-application__intro-copy h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.partner-application__intro-copy h2 span {
  color: #2868f2;
}

.partner-application__intro-copy strong {
  display: block;
  padding-left: 10px;
  border-left: 3px solid #2868f2;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.partner-application__intro-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.partner-application__intro-copy li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}

.partner-application__intro-copy li::before {
  position: absolute;
  left: 0;
  color: #2868f2;
  content: "✓";
  font-weight: 700;
}

.partner-application__form-panel {
  min-width: 0;
  padding: 24px 60px;
  overflow-y: auto;
}

.partner-application__form-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.partner-application__note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.partner-application__note span,
.partner-application__field label span {
  color: #e53935;
}

.partner-application__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 520px;
  gap: 10px 20px;
}

.partner-application__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.partner-application__field label {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.partner-application__field input,
.partner-application__field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #e1e9f3;
  border-radius: 6px;
  outline: none;
  background: #f2f6fb;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.partner-application__field input {
  height: 44px;
  padding: 0 14px;
}

.partner-application__field input::placeholder,
.partner-application__field textarea::placeholder {
  color: #98a2b3;
}

.partner-application__field input:focus,
.partner-application__field textarea:focus {
  border-color: #75a1ff;
  box-shadow: 0 0 0 2px rgba(33, 81, 209, 0.12);
}

.partner-application__field textarea {
  min-height: 92px;
  padding: 11px 14px;
  resize: vertical;
}

.partner-application__field small {
  color: #d92d20;
  font-size: 11px;
  line-height: 14px;
}

.partner-application__field--wide {
  grid-column: 1 / -1;
}

.partner-application__actions {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 6px;
}

.partner-application__actions button {
  min-width: 148px;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: #2868f2;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.partner-application__actions button:hover {
  background: #1f57d3;
  transform: translateY(-1px);
}

.partner-application__actions button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  background: #8aa8f2;
  transform: none;
}

.partner-application__actions button:focus-visible {
  outline: 2px solid #174bbd;
  outline-offset: 3px;
}

.partner-application__actions p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

@media (max-width: 700px) {
  .partner-application {
    display: block;
    min-height: 0;
    max-height: calc(100vh - 32px - var(--partner-offset, 120px));
  }

  .partner-application__intro {
    display: none;
  }

  .partner-application__form-panel {
    max-height: calc(100vh - 32px - var(--partner-offset, 120px));
    padding: 28px 24px 30px;
  }

  .partner-application__form {
    gap: 14px 16px;
  }

  .partner-application__field input {
    height: 42px;
  }

  .partner-application__field textarea {
    min-height: 80px;
  }
}

@media (max-width: 420px) {
  .partner-application__form-panel {
    padding-inline: 18px;
  }

  .partner-application__form {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .partner-application__field--wide,
  .partner-application__actions {
    grid-column: auto;
  }
}

/* ---------- 全局提示 ---------- */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 4000;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 38, 76, 0.16);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  transform: translateX(-50%);
}

.toast--success {
  border-left: 4px solid #67c23a;
}

.toast--error {
  border-left: 4px solid #f56c6c;
}

.toast--info {
  border-left: 4px solid #909399;
}
