/* =====================================================
   components.css —— 关于/服务/流程/产品/联系 各区块组件
   ===================================================== */

/* ---------- 关于 ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.about__text p {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 500;
  color: var(--ink-soft);
}
.about__text p + p { margin-top: 26px; }
.about__text mark { color: var(--ink); font-weight: 700; }

/* 数据卡 */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.stat {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.stat:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-ink);
  background: var(--lime);
}
.stat__value {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .01em;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.stat:hover .stat__label { color: var(--ink); }

/* ---------- 服务列表（色块洪水交互） ---------- */
.srv-list { border-top: var(--line); }

.srv__row {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1.15fr auto 64px;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 3.4vw, 40px) clamp(14px, 2vw, 28px);
  border-bottom: var(--line);
  overflow: hidden;
  transition: color .35s;
}
.srv__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--srv-c, var(--lime));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .38s cubic-bezier(.65, 0, .35, 1);
  z-index: 0;
}
.srv__row:hover::before { transform: scaleY(1); }
.srv__row > * { position: relative; z-index: 1; }
.srv__row:hover { color: var(--srv-ink, var(--ink)); }
.srv__row:hover .srv__desc { color: var(--srv-ink, var(--ink)); }

.srv__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: color .35s;
}
.srv__row:hover .srv__num { color: var(--srv-ink, var(--ink)); }

.srv__title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 900;
  line-height: 1.2;
  transition: transform .35s;
}
.srv__row:hover .srv__title { transform: translateX(10px); }

.srv__desc {
  margin-top: 8px;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: color .35s;
  max-width: 44ch;
}

.srv__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 220px;
}
.srv__tags li {
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  opacity: .75;
}

.srv__arrow {
  justify-self: end;
  font-size: 1.7rem;
  font-weight: 900;
  transition: transform .35s;
}
.srv__row:hover .srv__arrow { transform: translateX(10px) rotate(-45deg); }

.services__note {
  margin-top: 34px;
  font-weight: 700;
  color: var(--ink-soft);
}
.services__note a {
  color: var(--ink);
  border-bottom: 3px solid var(--orange);
  transition: background .2s;
}
.services__note a:hover { background: var(--lime); }

/* ---------- 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 18px;
  border-top: 2px dashed rgba(246, 241, 230, .3);
  transition: border-color .3s;
}
.step:hover { border-top-color: var(--orange); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime);
  margin-bottom: 14px;
  transition: color .3s;
}
.step:hover .step__num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.step h3 {
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.step p {
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(246, 241, 230, .62);
}

/* ---------- 产品 ---------- */
.product {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.chip--live { box-shadow: 4px 4px 0 var(--pink); }

.product__name {
  margin-top: 24px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
}
.product__name em {
  display: block;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .34em;
  color: var(--ink-soft);
  margin-top: 10px;
}

.product__desc {
  margin-top: 22px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 46ch;
}

.product__feats {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
  font-size: .95rem;
}

.product__cta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.product__wechat { font-size: .95rem; color: var(--ink-soft); }
.product__wechat strong { color: var(--ink); border-bottom: 3px solid var(--lime); }

/* 手机模型 */
.product__visual {
  perspective: 1000px;
  display: grid;
  place-items: center;
  padding: 20px 0;
}
.phone {
  width: min(290px, 74vw);
  aspect-ratio: 9 / 18.6;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  border: var(--line);
  box-shadow: var(--shadow-ink);
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.phone__notch {
  position: absolute;
  top: 24px; left: 50%;
  width: 34%; height: 20px;
  transform: translateX(-50%);
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}
.phone { position: relative; }

.phone__screen {
  height: 100%;
  background: var(--paper);
  border-radius: 30px;
  padding: 52px 16px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: .95rem;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed rgba(20, 18, 14, .25);
}
.phone__bar span { color: var(--orange); }

.phone__card {
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
}
.phone__card--alert { background: var(--lime); }
.phone__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.phone__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 500;
  padding-block: 5px;
}
.phone__row b { font-weight: 900; white-space: nowrap; }
.phone__row b em {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--orange);
  margin-left: 4px;
}
.phone__row b.in { color: #FF5A4D; }   /* 收入 · 珊瑚红（配色铁律） */
.phone__row b.out { color: #1FA05A; }  /* 支出 · 薄荷绿（配色铁律） */

/* 更多产品占位卡 */
.product-more {
  margin-top: clamp(40px, 6vw, 64px);
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.product-more:hover {
  background: var(--paper-2);
  box-shadow: var(--shadow-orange);
  transform: translate(-3px, -3px);
}
.product-more__star {
  font-size: 2.2rem;
  color: var(--orange);
  animation: spin 8s linear infinite;
  display: inline-block;
}
.product-more h3 { font-size: 1.15rem; font-weight: 900; }
.product-more p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- 联系 ---------- */
.ct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.ct-item {
  position: relative;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px 24px 46px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.ct-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lime);
  background: #fff;
}
.ct-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ct-value {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 900;
  word-break: break-all;
  line-height: 1.45;
}
a.ct-value:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.ct-copy {
  position: absolute;
  right: 16px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  transition: background .2s, color .2s, transform .2s;
}
.ct-copy:hover {
  background: var(--ink);
  color: var(--lime);
  transform: scale(1.06);
}

.contact__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .ct-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .product { grid-template-columns: 1fr; }
  .product__visual { order: -1; }
  .phone { width: min(250px, 66vw); }
}

@media (max-width: 640px) {
  .srv__row {
    grid-template-columns: 44px 1fr 40px;
    grid-template-areas:
      "num main arrow"
      "num tags arrow";
    row-gap: 12px;
  }
  .srv__num { grid-area: num; }
  .srv__main { grid-area: main; }
  .srv__tags { grid-area: tags; justify-content: flex-start; max-width: none; }
  .srv__arrow { grid-area: arrow; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ct-grid { grid-template-columns: 1fr; }
  .contact__cta .btn { flex: 1; }
}
