/* 校享团 · 演示入口导航页 */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #060a12;
  color: #e8edf5;
  min-height: 100vh;
  overflow-x: hidden;
}

.hub-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(82, 196, 26, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 80%, rgba(79, 110, 247, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 30% at 5% 70%, rgba(255, 107, 53, 0.08), transparent 45%),
    linear-gradient(180deg, #060a12 0%, #0a1018 50%, #060a12 100%);
}
.hub-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}

.hub {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Hero ── */
.hub-hero {
  text-align: center;
  margin-bottom: 48px;
  animation: hubFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #86efac;
  background: rgba(82, 196, 26, 0.1);
  border: 1px solid rgba(82, 196, 26, 0.25);
}
.hub-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #52c41a;
  box-shadow: 0 0 8px #52c41a;
  animation: hubPulse 2s ease-in-out infinite;
}
@keyframes hubPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.logo {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffb347 0%, #ff6b35 40%, #ffc947 80%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.25));
}
.subtitle {
  font-size: 18px;
  margin-top: 12px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.desc {
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.hub-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hub-stat {
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  min-width: 100px;
}
.hub-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-family: "DIN Alternate", "Segoe UI", sans-serif;
}
.hub-stat span { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; display: block; }
.hub-stat.accent strong { color: #52c41a; }
.hub-stat.blue strong { color: #60a5fa; }
.hub-stat.orange strong { color: #fb923c; }

/* ── CTA ── */
.demo-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 12px;
}
.btn-start-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s;
}
.btn-start-demo.primary {
  background: linear-gradient(135deg, #52c41a, #73d13d);
  box-shadow: 0 4px 24px rgba(82, 196, 26, 0.35);
}
.btn-start-demo.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(82, 196, 26, 0.45);
}
.btn-start-demo.secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}
.btn-start-demo.secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-start-demo.blue {
  background: linear-gradient(135deg, #4f6ef7, #6366f1);
  box-shadow: 0 4px 24px rgba(79, 110, 247, 0.35);
}
.btn-start-demo.blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 110, 247, 0.45);
}
.hub-hint {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 48px;
}

/* ── Section ── */
.hub-section {
  margin-bottom: 40px;
  animation: hubFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hub-section:nth-child(2) { animation-delay: 0.05s; }
.hub-section:nth-child(3) { animation-delay: 0.1s; }
.hub-section:nth-child(4) { animation-delay: 0.15s; }

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.section-head .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent);
}
.section-head .tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

@keyframes hubFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── 商业模式三栏 ── */
.biz-model {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 768px) { .biz-model { grid-template-columns: 1fr; } }

.biz-card {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, transform 0.2s;
}
.biz-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.16); }
.biz-card .biz-icon { font-size: 32px; margin-bottom: 12px; }
.biz-card .biz-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.biz-card.supplier .biz-role { color: #818cf8; }
.biz-card.platform .biz-role { color: #52c41a; }
.biz-card.consumer .biz-role { color: #fb923c; }
.biz-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.biz-card p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.biz-card ul {
  list-style: none;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}
.biz-card ul li::before { content: '· '; color: rgba(255,255,255,0.25); }
.biz-card .biz-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.biz-card .biz-link:hover { opacity: 1; }
.biz-card.supplier .biz-link { color: #a5b4fc; }
.biz-card.platform .biz-link { color: #86efac; }
.biz-card.consumer .biz-link { color: #fdba74; }

/* ── 全链路时间轴 ── */
.chain-track {
  position: relative;
  padding: 24px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
}
.chain-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 0 8px;
}
.chain-step {
  flex: 0 0 auto;
  width: 118px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 8px 4px;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}
.chain-step:hover { background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.chain-step .step-num {
  width: 36px; height: 36px;
  line-height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  transition: box-shadow 0.2s;
}
.chain-step:hover .step-num { box-shadow: 0 0 16px rgba(255,255,255,0.1); }
.chain-step.s1 .step-num { background: rgba(79,110,247,0.2); border-color: rgba(129,140,248,0.4); color: #a5b4fc; }
.chain-step.s2 .step-num { background: rgba(79,110,247,0.15); border-color: rgba(129,140,248,0.3); color: #a5b4fc; }
.chain-step.s3 .step-num { background: rgba(52,211,153,0.15); border-color: rgba(52,211,153,0.35); color: #6ee7b7; }
.chain-step.s4 .step-num { background: rgba(52,196,26,0.15); border-color: rgba(82,196,26,0.35); color: #86efac; }
.chain-step.s5 .step-num { background: rgba(0,229,255,0.12); border-color: rgba(0,229,255,0.3); color: #67e8f9; }
.chain-step.s6 .step-num { background: rgba(255,107,53,0.15); border-color: rgba(251,146,60,0.35); color: #fdba74; }
.chain-step.s7 .step-num { background: rgba(255,107,53,0.2); border-color: rgba(251,146,60,0.4); color: #fb923c; }
.chain-step .step-title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.9); }
.chain-step .step-sub { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 4px; line-height: 1.4; }
.chain-arrow {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 18px;
  color: rgba(255,255,255,0.15);
  font-size: 14px;
}

/* ── 资金分账 ── */
.money-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) { .money-flow { grid-template-columns: 1fr; } }

.money-box {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}
.money-box h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.money-box h4 .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.money-box.b2b h4 .dot { background: #818cf8; box-shadow: 0 0 8px #818cf8; }
.money-box.b2c h4 .dot { background: #fb923c; box-shadow: 0 0 8px #fb923c; }
.money-box p { font-size: 12px; line-height: 1.75; color: rgba(255,255,255,0.5); }
.money-box .flow-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.money-box .flow-mini span {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.65);
}

/* ── 三端入口卡片 ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) { .cards { grid-template-columns: 1fr; } }

.card {
  display: block;
  padding: 26px 22px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,0.35); }
.card:hover::after { opacity: 1; }
.card-supplier { background: linear-gradient(145deg, #3730a3 0%, #4f46e5 50%, #6366f1 100%); }
.card-admin { background: linear-gradient(145deg, #14532d 0%, #166534 50%, #15803d 100%); }
.card-mini { background: linear-gradient(145deg, #c2410c 0%, #ea580c 50%, #f97316 100%); }
.card-icon { font-size: 36px; margin-bottom: 14px; position: relative; z-index: 1; }
.card h2 { font-size: 18px; font-weight: 700; margin-bottom: 6px; position: relative; z-index: 1; }
.card p { font-size: 13px; opacity: 0.88; line-height: 1.55; position: relative; z-index: 1; }
.card .tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.card .card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 18px;
  opacity: 0.4;
  z-index: 1;
  transition: transform 0.2s, opacity 0.2s;
}
.card:hover .card-arrow { transform: translateX(4px); opacity: 0.8; }

/* ── 快速入口 ── */
.hub .role-entry-grid .role-entry {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 14px;
}
.hub .role-entry-grid .role-entry h3 { color: #fff; }
.hub .role-entry-grid .role-entry p { color: rgba(255,255,255,0.5); }
.hub .role-entry-grid .role-entry:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* ── 技术对接 ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 640px) { .tech-grid { grid-template-columns: 1fr; } }

.tech-col {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}
.tech-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.tech-col.supplier-side h4 { color: #818cf8; }
.tech-col.platform-side h4 { color: #52c41a; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill {
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.tech-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.tech-note {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
}

/* ── 财务核心条 ── */
.finance-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.35), rgba(6, 40, 24, 0.2));
}
.finance-banner .fb-text h3 { font-size: 15px; font-weight: 700; color: #6ee7b7; margin-bottom: 6px; }
.finance-banner .fb-text p { font-size: 12px; line-height: 1.65; color: rgba(255,255,255,0.5); max-width: 520px; }
.finance-banner .fb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.finance-banner .fb-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  transition: background 0.15s;
}
.finance-banner .fb-btn:hover { background: rgba(52, 211, 153, 0.2); }
.finance-banner .fb-btn.primary {
  background: linear-gradient(135deg, #059669, #34d399);
  border-color: transparent;
  color: #fff;
}

footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  .hub-hero, .hub-section { animation: none; }
  .hub-badge .pulse { animation: none; }
}
