/* 电竞派单系统 — 官网样式（与打手端赛博深色风格一致） */
:root {
  --bg-deep: #070a0f;
  --bg-card: rgba(12, 18, 28, 0.72);
  --cyan: #00e8ff;
  --cyan-dim: rgba(0, 232, 255, 0.35);
  --magenta: #ff2d95;
  --text: #e8eef5;
  --muted: #8b9aaf;
  --border: rgba(0, 232, 255, 0.22);
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 14px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 背景网格与光晕 */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 232, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 45, 149, 0.06), transparent),
    linear-gradient(180deg, #070a0f 0%, #0a1018 50%, #070a0f 100%);
}

.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 232, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 232, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  pointer-events: none;
}

/* 顶栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(7, 10, 15, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: var(--cyan);
}

.nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1rem;
}
.nav-desktop a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-desktop a:hover {
  color: var(--cyan);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 15, 0.95);
}
.nav-mobile.is-open {
  display: flex;
}
.nav-mobile a {
  color: var(--muted);
  padding: 0.35rem 0;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* 区块通用 */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.section__lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 5rem 1.25rem 4rem;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.35rem;
  background: linear-gradient(120deg, #fff 0%, var(--cyan) 45%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__deck {
  margin: 0 0 1.25rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #00c8e8, #00a0c0);
  color: #020508;
  box-shadow: 0 0 28px rgba(0, 232, 255, 0.35);
}
.btn--primary:hover {
  box-shadow: 0 0 36px rgba(0, 232, 255, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(0, 232, 255, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 行业介绍 / 市场前景：宽屏左右分栏 */
.industry-split {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .industry-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    align-items: stretch;
  }

  .industry-split--reverse .industry-split__intro {
    order: 2;
  }

  .industry-split--reverse .industry-panel {
    order: 1;
  }
}

.industry-split__intro .section__lead {
  max-width: none;
  margin-bottom: 1.25rem;
}

.industry-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-highlights li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.industry-highlights li:last-child {
  margin-bottom: 0;
}

.industry-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-dim);
}

.industry-highlights strong {
  color: var(--text);
  font-weight: 600;
}

.industry-panel {
  max-width: none;
  margin: 0;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  line-height: 1.75;
  min-height: 100%;
}

.industry-panel p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

.industry-panel p:last-child {
  margin-bottom: 0;
}

.industry-panel strong {
  color: var(--text);
  font-weight: 600;
}

/* 角色表 */
.roles-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.roles-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.roles-table th,
.roles-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 232, 255, 0.1);
}

.roles-table th {
  color: var(--cyan);
  font-weight: 600;
  white-space: nowrap;
}

.roles-table tr:last-child td {
  border-bottom: none;
}

.roles-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

/* 流程 */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  margin-top: 1.5rem;
}

.flow__step {
  background: rgba(0, 232, 255, 0.08);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text);
}

.flow__arrow {
  color: var(--muted);
  font-size: 0.85rem;
}

/* 技术栈 */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA */
.cta {
  text-align: center;
  padding: 3.5rem 1.25rem;
  margin: 2rem auto 0;
  max-width: var(--max);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(0, 232, 255, 0.08), rgba(255, 45, 149, 0.04));
}

.cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.cta p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.cta__hint {
  margin: 1.25rem 0 0 !important;
  font-size: 0.88rem;
  color: var(--muted);
}

.cta__hint strong {
  color: var(--cyan);
  font-weight: 600;
}

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer__wx {
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.85;
}

.site-footer a {
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--cyan);
}
