/* ============ 卡牌评级官网 - Pokemon 主题样式 ============ */
:root {
  --navy: #1b2a6b;        /* 宝可梦深蓝 */
  --navy-2: #2b3f9e;
  --yellow: #ffcb05;      /* 皮卡丘黄 */
  --red: #ee1515;         /* 精灵球红 */
  --blue: #3b4cca;        /* 宝可梦蓝 */
  --gold: #f5b700;
  --gold-light: #ffd93b;
  --ink: #1d2333;
  --gray: #66707f;
  --bg: #f4f6fb;
  --white: #ffffff;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- 精灵球装饰 ---- */
.pokeball {
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 44%, var(--ink) 44% 56%, #f5f7ff 56% 100%);
  border: 6px solid rgba(255,255,255,0.85);
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.pokeball::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 22%; height: 22%; transform: translate(-50%, -50%);
  background: #f5f7ff; border: 4px solid var(--ink); border-radius: 50%;
}

/* ---- 导航栏（皮卡丘黄） ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--yellow);
  border-bottom: 4px solid var(--navy);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 20px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 44%, var(--ink) 44% 56%, #fff 56% 100%);
  border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 900;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  box-shadow: 0 3px 8px rgba(27,42,107,0.35);
}
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  color: var(--navy); font-size: 15px; font-weight: 700;
  padding: 6px 2px; border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); border-bottom-color: var(--red); }

/* 移动端汉堡菜单 */
.nav-toggle { display: none; }
.nav-burger {
  display: none; font-size: 28px; color: var(--navy);
  cursor: pointer; user-select: none; line-height: 1;
  padding: 4px 10px; border: 2px solid var(--navy); border-radius: 8px;
}

/* ---- Hero（宝可梦蓝 + 精灵球） ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(255,203,5,0.18), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 96px 0 110px; text-align: center;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 44%, rgba(0,0,0,0.55) 44% 56%, #f5f7ff 56% 100%);
  border: 8px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.hero::before { width: 380px; height: 380px; right: -120px; top: -110px; opacity: 0.22; transform: rotate(-18deg); }
.hero::after  { width: 460px; height: 460px; left: -150px; bottom: -190px; opacity: 0.16; transform: rotate(14deg); }
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--yellow); border: 2px solid rgba(255,203,5,0.6);
  background: rgba(255,203,5,0.08);
  padding: 7px 20px; border-radius: 999px; margin-bottom: 28px;
}
.hero h1 { font-size: 44px; font-weight: 900; letter-spacing: 0.5px; }
.hero h1 .en { display: block; font-size: 28px; font-weight: 300; color: rgba(255,255,255,0.85); margin-top: 10px; letter-spacing: 2px; }
.hero p.sub { margin: 22px auto 0; max-width: 620px; color: rgba(255,255,255,0.75); font-size: 16px; }
.hero-cards { display: flex; justify-content: center; gap: 28px; margin-top: 56px; flex-wrap: wrap; }
.hero-cards svg { width: 190px; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45)); }
.hero-btns { margin-top: 48px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 999px;
  font-size: 15px; font-weight: 800; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--yellow), #f5b700);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(255,203,5,0.35);
}
.btn-ghost { border: 2px solid rgba(255,255,255,0.55); color: #fff; }

/* ---- 区块通用 ---- */
section.block { padding: 80px 0; }
.block-head { text-align: center; margin-bottom: 52px; }
.block-head .tag { color: var(--red); font-size: 14px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.block-head h2 { font-size: 32px; margin-top: 10px; color: var(--navy); }
.block-head p { color: var(--gray); margin-top: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---- 卡片 ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: 0 4px 20px rgba(27,42,107,0.08);
  transition: transform .2s, box-shadow .2s;
  border-top: 4px solid transparent;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(27,42,107,0.14); border-top-color: var(--red); }
.card .icon {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 18px;
  background: #fff3c4; border: 2px solid var(--yellow);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; color: var(--navy); }
.card p { color: var(--gray); font-size: 14.5px; }

/* ---- 数字亮点条（精灵球红） ---- */
.stats {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--red), #c40f0f);
  color: #fff; padding: 56px 0;
}
.stats::after {
  content: ""; position: absolute; border-radius: 50%;
  width: 260px; height: 260px; right: -70px; top: -70px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0 44%, rgba(0,0,0,0.4) 44% 56%, rgba(255,255,255,0.9) 56% 100%);
  opacity: 0.15; pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; position: relative; }
.stat b { font-size: 36px; color: var(--yellow); display: block; }
.stat span { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600; }

/* ---- 流程时间线 ---- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 18px rgba(27,42,107,0.08); position: relative; margin-top: 16px; border: 2px solid #e8ecf7; }
.step .num {
  position: absolute; top: -18px; left: 24px; width: 40px; height: 40px;
  border-radius: 50%; background: linear-gradient(180deg, var(--red) 0 44%, var(--ink) 44% 56%, #fff 56% 100%);
  color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--navy);
  box-shadow: 0 5px 12px rgba(238,21,21,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.step h3 { font-size: 17px; margin: 10px 0 8px; color: var(--navy); }
.step p { color: var(--gray); font-size: 14px; }

/* ---- 表格 ---- */
.table-wrap { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(27,42,107,0.08); border: 2px solid #e8ecf7; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { background: var(--navy); color: #fff; padding: 15px 20px; text-align: left; font-weight: 700; }
th:first-child { color: var(--yellow); }
td { padding: 14px 20px; border-bottom: 1px solid #eef0f3; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fffbe8; }
.score-chip { display: inline-block; min-width: 52px; text-align: center; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; background: #e8ecfb; color: var(--blue); }
.score-chip.high { background: #fff3c4; color: #a67c00; }
.score-chip.mid { background: #e8ecfb; color: var(--blue); }
.score-chip.low { background: #fdeaea; color: var(--red); }

/* ---- 证书查询 ---- */
.verify-box {
  max-width: 640px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius); padding: 40px; text-align: center;
  box-shadow: 0 8px 30px rgba(27,42,107,0.1);
  border-top: 6px solid var(--yellow);
}
.verify-box input {
  width: 100%; padding: 14px 18px; font-size: 16px;
  border: 2px solid #dfe4f2; border-radius: 999px; outline: none; margin: 18px 0;
  transition: border-color .2s; text-align: center;
}
.verify-box input:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,203,5,0.2); }
.verify-result {
  margin-top: 20px; text-align: left; background: #f2faf4; border: 1px solid #cfe6d4;
  border-radius: 10px; padding: 20px; font-size: 14.5px; display: none;
}
.verify-result.show { display: block; }
.verify-result b { color: #1e8e4f; }

/* ---- 页脚 ---- */
footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 56px 0 30px; font-size: 14px; border-top: 5px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--yellow); font-size: 15px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--yellow); }
.copyright { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .timeline, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .hero h1 .en { font-size: 20px; }
  /* 汉堡菜单 */
  .nav-burger { display: block; }
  .nav-links { display: none; }
  .nav-toggle:checked ~ .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 68px; left: -24px; right: -24px;
    background: var(--yellow);
    padding: 14px 28px 18px;
    border-bottom: 4px solid var(--navy);
    box-shadow: 0 14px 24px rgba(27,42,107,0.18);
  }
  .nav-toggle:checked ~ .nav-links li { padding: 4px 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .timeline, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 84px; }
  .hero-cards svg { width: 140px; }
  section.block { padding: 60px 0; }
}
