/* ============================================================
   八零八零 (8080电竞) 官网样式
   主题：蓝白高端商务风  主色 #4a9eff
   纯静态，无任何框架依赖
   ============================================================ */

:root {
  --primary: #4a9eff;
  --primary-deep: #2f7de0;
  --primary-grad: linear-gradient(135deg, #4a9eff 0%, #667eea 100%);
  --ink: #1a2233;
  --ink-2: #4a5568;
  --muted: #8899b0;
  --hint: #a0aec0;
  --bg: #f6f9fc;
  --bg-soft: #eef4fb;
  --line: rgba(74, 158, 255, 0.14);
  --card-shadow: 0 10px 40px rgba(31, 78, 140, 0.08);
  --card-shadow-hover: 0 18px 60px rgba(31, 78, 140, 0.16);
  --radius: 18px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand .b-name { font-size: 20px; font-weight: 800; letter-spacing: 1px; color: var(--ink); }
.brand .b-en { font-size: 12px; color: var(--muted); letter-spacing: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: 10px; font-size: 15px; color: var(--ink-2);
  font-weight: 500; transition: all .2s ease;
}
.nav-links a:hover { color: var(--primary-deep); background: var(--bg-soft); }
.nav-links a.active { color: #fff; background: var(--primary-grad); box-shadow: 0 6px 16px rgba(74,158,255,.35); }
.nav-toggle { display: none; font-size: 26px; color: var(--ink); background: none; border: none; cursor: pointer; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.alt { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--primary-deep); text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: 36px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.section-sub { font-size: 16px; color: var(--muted); margin-top: 14px; max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(102,126,234,.18), transparent 60%),
    radial-gradient(900px 460px at 5% 20%, rgba(74,158,255,.16), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: 96px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.18; font-weight: 900; letter-spacing: .5px; }
.hero h1 .grad {
  background: var(--primary-grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.nowrap { white-space: nowrap; }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 22px 0 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-badges .hb { display: flex; flex-direction: column; }
.hero-badges .hb b { font-size: 30px; font-weight: 900; color: var(--primary-deep); }
.hero-badges .hb span { font-size: 14px; color: var(--muted); }

.hero-visual {
  position: relative; border-radius: 26px; padding: 36px;
  background: linear-gradient(150deg, #ffffff, #f0f6ff);
  box-shadow: var(--card-shadow); border: 1px solid var(--line);
}
.hero-visual .ring {
  position: absolute; inset: -2px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(74,158,255,.5), transparent 40%);
  z-index: -1; filter: blur(8px); opacity: .6;
}
.mockup-row { display: flex; gap: 16px; }
.mockup {
  flex: 1; background: #fff; border-radius: 16px; padding: 20px;
  border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(31,78,140,.06);
}
.mockup .m-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-grad);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px;
}
.mockup h4 { font-size: 16px; margin-bottom: 6px; }
.mockup p { font-size: 13px; color: var(--muted); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 14px 30px; border-radius: 50px; font-size: 16px; font-weight: 700;
  border: none; transition: all .25s ease;
}
.btn-primary { background: var(--primary-grad); color: #fff; box-shadow: 0 10px 26px rgba(74,158,255,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(74,158,255,.5); }
.btn-ghost { background: #fff; color: var(--primary-deep); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-3px); }

/* ---------- 特性卡片网格 ---------- */
.grid { display: grid; gap: 26px; margin-top: 52px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
.card .icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--primary-grad);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  margin-bottom: 22px; box-shadow: 0 8px 20px rgba(74,158,255,.32);
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15px; }

/* ---------- 业务大卡（左右图文） ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-text h3 { font-size: 30px; margin-bottom: 10px; }
.feature-text .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary-deep); letter-spacing: 2px; margin-bottom: 14px; }
.feature-text p { color: var(--ink-2); font-size: 16px; margin-bottom: 20px; }
.feature-text ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-text li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15px; }
.feature-text li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--primary-grad);
  color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.feature-visual {
  border-radius: 22px; min-height: 320px; padding: 40px;
  background: linear-gradient(150deg, #eaf3ff, #f5f9ff);
  border: 1px solid var(--line); box-shadow: var(--card-shadow);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.feature-visual .big-emoji { font-size: 96px; filter: drop-shadow(0 12px 24px rgba(74,158,255,.3)); }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 30px 24px; border: 1px solid var(--line); box-shadow: var(--card-shadow); position: relative; }
.step .n {
  width: 44px; height: 44px; border-radius: 12px; background: var(--primary-grad); color: #fff;
  font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  margin: 0 auto; max-width: var(--maxw);
  background: var(--primary-grad); border-radius: 28px; padding: 60px 48px;
  text-align: center; color: #fff; box-shadow: 0 24px 60px rgba(74,158,255,.4);
}
.cta-banner h2 { font-size: 34px; font-weight: 900; margin-bottom: 14px; }
.cta-banner p { font-size: 17px; opacity: .92; margin-bottom: 30px; }
.cta-banner .btn-ghost { background: #fff; color: var(--primary-deep); border: none; }

/* ---------- 正文文档（协议/隐私） ---------- */
.doc { background: #fff; max-width: 920px; margin: 0 auto; padding: 56px 60px;
  border-radius: var(--radius); box-shadow: var(--card-shadow); border: 1px solid var(--line); }
.doc h1 { font-size: 32px; margin-bottom: 8px; }
.doc .doc-meta { color: var(--muted); font-size: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 21px; margin: 32px 0 12px; color: var(--ink); }
.doc h3 { font-size: 17px; margin: 22px 0 8px; color: var(--ink-2); }
.doc p, .doc li { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 24px; margin-bottom: 12px; }
.doc li { margin-bottom: 8px; }
.page-head { padding: 60px 0 20px; text-align: center; }
.page-head h1 { font-size: 40px; font-weight: 900; }
.page-head p { color: var(--muted); margin-top: 12px; }

/* ---------- 页脚 ---------- */
.footer { background: #0f1b2d; color: #c3cee0; padding: 56px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .f-brand img { height: 36px; }
.footer .f-brand b { font-size: 19px; color: #fff; }
.footer .f-desc { font-size: 14px; color: #8595ad; max-width: 320px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a, .footer ul li span { font-size: 14px; color: #8595ad; transition: color .2s; }
.footer ul li a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  text-align: center; font-size: 13px; color: #6b7a96; line-height: 2;
}
.footer-bottom a { color: #8595ad; }
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom .beian { display: inline-flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* ---------- 进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid, .feature-row, .feature-row.reverse .feature-text { grid-template-columns: 1fr; order: 0; }
  .hero h1 { font-size: 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px;
    display: none; box-shadow: 0 12px 30px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 12px; }
  .nav-toggle { display: block; }
  .section { padding: 56px 0; }
  .section-title, .page-head h1 { font-size: 28px; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 33px; }
  .grid-2, .grid-3, .grid-4, .steps, .footer-grid { grid-template-columns: 1fr; }
  .doc { padding: 36px 22px; }
  .cta-banner { padding: 44px 24px; }
  .mockup-row { flex-direction: column; }
}
