@import url('../../css/zc-vertical-tokens.css');

/* solutions/wuliu — 物流 TMS */
:root {
  --wl: #0284c7;
  --wl-dark: #0369a1;
  --wl-deep: #0c4a6e;
  --wl-light: #e0f2fe;
}

.wl-hero {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 45%, #0284c7 100%);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
  border-radius: 16px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.wl-hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(125, 211, 252, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.wl-hero > * { position: relative; z-index: 1; }

.wl-hero .badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #bae6fd;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 14px;
}

.wl-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.25;
}

.wl-hero h1 em {
  font-style: normal;
  color: #7dd3fc;
}

.wl-hero .tagline {
  font-size: 18px;
  font-weight: 600;
  color: #e0f2fe;
  margin: 0 0 12px;
  line-height: 1.5;
}

.wl-hero .desc {
  font-size: 14px;
  color: #bae6fd;
  margin: 0 0 24px;
  line-height: 1.75;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.wl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.wl-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wl-btn--primary {
  background: #fff;
  color: var(--wl-dark);
}

.wl-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #e0f2fe;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.wl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.wl-hero .tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wl-hero .tag {
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(125, 211, 252, 0.3);
  color: #e0f2fe;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.wl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: -8px 0 40px;
}

.wl-stat {
  background: #fff;
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  border-top: 3px solid var(--wl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.wl-stat__num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--wl-dark);
  line-height: 1.2;
}

.wl-stat__lbl {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.sec-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1e293b;
}

.sec-desc {
  text-align: center;
  color: #64748b;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
}

.wl-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.wl-flow__node {
  background: linear-gradient(135deg, var(--wl-deep), #0369a1);
  color: #e0f2fe;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.wl-flow__arrow {
  color: var(--wl);
  font-size: 18px;
  font-weight: 700;
}

.wl-flow-block {
  margin-bottom: 48px;
}

.wl-flow-block h3 {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--wl-dark);
  margin: 0 0 12px;
}

.wl-mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 14px;
  margin-bottom: 48px;
}

.wl-mod {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--wl);
}

.wl-mod h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wl-mod h3 span { font-size: 20px; }

.wl-mod p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.wl-mod ul {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
}

.wl-demo {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  margin-bottom: 48px;
}

.wl-demo h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  text-align: center;
}

.wl-demo__note {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.6;
}

.wl-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: 12px;
}

.wl-portal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.wl-portal:hover {
  border-color: var(--wl);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
  transform: translateY(-2px);
}

.wl-portal strong {
  font-size: 15px;
  color: var(--wl-dark);
}

.wl-portal span {
  font-size: 12px;
  font-family: ui-monospace, monospace;
  color: #64748b;
}

.wl-portal em {
  font-size: 11px;
  font-style: normal;
  color: #94a3b8;
  line-height: 1.4;
}

.wl-cta {
  background: linear-gradient(135deg, var(--wl-dark), var(--wl-deep));
  color: #fff;
  padding: 44px 24px;
  border-radius: 16px;
  text-align: center;
  margin-top: 16px;
}

.wl-cta h2 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #fff;
}

.wl-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 22px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .wl-stats { grid-template-columns: repeat(2, 1fr); }
}
