:root {
  --bg: #080a12;
  --panel: #101522;
  --panel-2: #131a29;
  --ink: #f4f7fb;
  --muted: #8b95a7;
  --soft: #5b6475;
  --blue: #0b74ff;
  --blue-2: #1aa4ff;
  --gold: #f5b942;
  --gold-2: #ffd773;
  --gold-soft: rgba(245,185,66,.12);
  --line: rgba(255,255,255,.09);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

html[lang="en"] body,
body:lang(en) {
  font-family: "Sora", "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(8, 10, 18, .08);
}

.nav,
.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #111827;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.footer-brand strong {
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1.2px;
}

.brand em,
.footer-brand em {
  color: #667085;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a.nav-games-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #ff1f5a, #ff6600);
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 31, 90, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.nav-links a.nav-games-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 31, 90, 0.4);
  filter: brightness(1.08);
}

.nav-links a.nav-games-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(255, 31, 90, 0.2);
}


.hero {
  position: relative;
  min-height: 780px;
  padding: 150px 0 90px;
  overflow: hidden;
  background: #06133a url("../line-bg.png") left center / cover no-repeat;
}

.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 680px);
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0;
  color: #7db8ff;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 600px;
  color: rgba(244,247,251,.72);
  font-size: 19px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
}

.btn.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(11,116,255,.28);
}

.btn.secondary {
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.22);
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.section-copy h2,
.section-head h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.16;
}

.section-copy p:not(.section-label),
.section-head p:not(.section-label) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.about {
  background: #0b0e17;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 90px;
  align-items: center;
}

.stat-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-panel div {
  min-height: 170px;
  padding: 28px;
  background: var(--panel);
}

.stat-panel strong {
  display: block;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.stat-panel span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.services {
  background: var(--bg);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #7db8ff;
  background: rgba(11,116,255,.1);
  border: 1px solid rgba(125,184,255,.16);
}

.icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 76px 0 0;
  font-size: 23px;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tags span {
  padding: 4px 10px;
  border-radius: 999px;
  color: #9ccaff;
  background: rgba(11,116,255,.08);
  font-size: 12px;
}

.approach {
  background: #0b0e17;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 84px;
  align-items: start;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-list article {
  display: grid;
  grid-template-columns: 62px 190px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.approach-list span,
.culture-grid span,
.vision-cards span {
  color: #7db8ff;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 1.4px;
}

.approach-list strong {
  font-size: 20px;
}

.approach-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.culture {
  background: var(--bg);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.culture-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.culture-grid strong {
  display: block;
  margin-top: 72px;
  font-size: 23px;
}

.culture-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.vision {
  background:
    linear-gradient(90deg, rgba(8,10,18,.96), rgba(8,10,18,.72)),
    url("../line-bg.png") center right / cover no-repeat;
}

.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.vision-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vision-cards article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(10,18,32,.62);
}

.vision-cards strong {
  display: block;
  margin-top: 86px;
  font-size: 21px;
}

.vision-cards p {
  margin: 14px 0 0;
  color: rgba(244,247,251,.68);
  font-size: 14px;
  line-height: 1.8;
}

.footer {
  padding: 46px 0;
  background: #fff;
  color: #111827;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #667085;
  font-size: 14px;
  font-weight: 650;
}

.footer-contact {
  font-size: 13px;
  color: #667085;
  line-height: 1.8;
}

.footer-contact a {
  color: #344054;
  font-weight: 600;
}

.footer-legal {
  grid-column: 1 / 4;
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(8,10,18,.08);
  font-size: 12px;
  color: #98a2b3;
}

.footer-legal a:hover {
  color: #344054;
}

.footer-beian {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  padding-top: 14px;
  font-size: 12px;
  color: #98a2b3;
  text-align: center;
}

.footer-beian a {
  color: #98a2b3;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-beian a:hover {
  color: #344054;
  text-decoration: underline;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #667085;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #111827;
}

.lang-switch span {
  color: #d0d5dd;
}

.menu-toggle {
  display: none;
}

@media (max-width: 1100px) {
  /* 重构为侧滑抽屉导航 */
  .nav-links {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(8, 10, 18, 0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 20px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
  }
  .nav-links a {
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(8, 10, 18, 0.05);
  }
  .nav-links a.nav-games-btn {
    width: auto;
    margin-top: 10px;
    justify-content: center;
    border-bottom: none;
  }
  
  /* 抽屉打开状态 */
  .nav.menu-open .nav-links {
    right: 0;
  }

  /* 模糊遮罩背景 */
  .nav::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 18, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 98;
  }
  .nav.menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  /* 汉堡按钮 */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    flex-shrink: 0;
  }
  .menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #111827;
    transition: all 0.3s ease;
    border-radius: 1px;
  }

  /* 汉堡转换为 X */
  .nav.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav {
    gap: 16px;
  }
  .hero-inner,
  .about-grid,
  .approach-layout,
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    justify-self: start;
    width: min(100%, 420px);
  }
  .service-grid,
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vision-cards {
    grid-template-columns: 1fr;
  }
  .approach-list article {
    grid-template-columns: 52px 1fr;
  }
  .approach-list p {
    grid-column: 2;
  }
  .footer-inner {
    grid-template-columns: auto 1fr;
  }
  .footer-legal {
    grid-column: 1 / 3;
  }
}

@media (max-width: 700px) {
  .brand em {
    font-size: 10px;
  }
  .nav,
  .section-inner,
  .hero-inner {
    width: min(100% - 32px, 1180px);
  }
  .hero {
    min-height: auto;
    padding: 118px 0 72px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .hero-card {
    min-height: 280px;
  }
  .section {
    padding: 78px 0;
  }
  .service-grid,
  .culture-grid,
  .stat-panel {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-row: auto;
  }
  .footer-legal {
    grid-column: 1;
  }
  .footer nav {
    flex-wrap: wrap;
  }
  .job-body {
    grid-template-columns: 1fr;
  }
  .job-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
  }
  .job-col:last-child {
    border-bottom: none;
  }
  .job-header {
    flex-wrap: wrap;
  }
  .job-apply-btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

/* Legal page styles */
.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.legal-page .section-inner {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.16;
  margin: 0 0 12px;
}

.legal-page .last-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-page section {
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}

.legal-page p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* Careers page styles */
.careers-page {
  padding-top: 76px;
}

.careers-hero {
  min-height: 440px;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
}

.careers-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(40px, 6vw, 72px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-badges span {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(11,116,255,.12);
  border: 1px solid rgba(125,184,255,.2);
  color: #7db8ff;
  font-size: 13px;
  font-weight: 600;
}

.careers-section {
  background: #0b0e17;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.job-card:hover {
  border-color: rgba(125,184,255,.3);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.job-card--priority {
  position: relative;
  overflow: visible;
  border-color: rgba(245,185,66,.45);
  background:
    radial-gradient(1200px 200px at 0% 0%, rgba(245,185,66,.10), transparent 60%),
    var(--panel);
  box-shadow: 0 12px 40px rgba(245,185,66,.08);
}

.job-card--priority:hover {
  border-color: rgba(245,185,66,.7);
  box-shadow: 0 16px 48px rgba(245,185,66,.16);
}

.job-card--priority .job-icon {
  background: var(--gold-soft);
  border-color: rgba(245,185,66,.4);
  color: var(--gold-2);
}

.job-priority-badge {
  position: absolute;
  top: -1px;
  left: 32px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1300;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(245,185,66,.4);
}

.job-priority-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1300;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.7); }
}

.job-priority-badge-en {
  letter-spacing: .8px;
}

.job-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
}

.job-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(11,116,255,.1);
  border: 1px solid rgba(125,184,255,.16);
  color: #7db8ff;
  flex-shrink: 0;
}

.job-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.job-title-area {
  flex: 1;
}

.job-card h3 {
  font-size: 22px;
  margin: 0 0 8px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-meta span {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(11,116,255,.08);
  color: #9ccaff;
  font-size: 11px;
  font-weight: 600;
}

.job-apply-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

.job-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.job-col {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}

.job-col:last-child {
  border-right: none;
}

.job-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: #7db8ff;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.job-col p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.job-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-col ul li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.job-col ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #7db8ff;
  font-weight: bold;
}

.other-opportunities {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  text-align: center;
}

.other-opportunities h2 {
  font-size: 24px;
  margin: 0 0 16px;
}

.other-opportunities p {
  color: var(--muted);
  font-size: 15px;
}

.other-opportunities a {
  color: #7db8ff;
  font-weight: 600;
}

@media (max-width: 700px) {
  .job-body {
    grid-template-columns: 1fr;
  }
  .job-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
  }
  .job-col:last-child {
    border-bottom: none;
  }
  .job-header {
    flex-wrap: wrap;
  }
  .job-apply-btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

/* ============================================================
   First Publication Certificate (软件首次发表证明)
   ============================================================ */
.fp-page {
  padding: 110px 0 60px;
  min-height: 100vh;
  color: #1f2937;
}

.fp-page .section-inner {
  max-width: 960px;
  color: #1f2937;
}

.fp-card {
  background: #ffffff;
  border: 1px solid rgba(8, 10, 18, .08);
  border-radius: 20px;
  padding: 56px 64px 48px;
  box-shadow: 0 12px 48px rgba(8, 10, 18, .08);
  position: relative;
  overflow: hidden;
}

.fp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #f5b942 0%, rgba(245,185,66,0) 25%, rgba(245,185,66,0) 75%, #0b74ff 100%) 1;
  border-radius: 20px;
}

.fp-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.fp-watermark span {
  font-size: 140px;
  font-weight: 900;
  letter-spacing: 16px;
  color: rgba(11, 116, 255, .025);
  transform: rotate(-18deg);
  white-space: nowrap;
  user-select: none;
}

.fp-card > * {
  position: relative;
  z-index: 1;
}

.fp-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 2px solid #0b74ff;
  margin-bottom: 36px;
}

.fp-header h1 {
  margin: 0 0 6px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  color: #0b1730;
  letter-spacing: 4px;
}

.fp-header .fp-subtitle {
  margin: 0;
  color: #5b6475;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.fp-section {
  margin-bottom: 40px;
}

.fp-section:last-of-type {
  margin-bottom: 0;
}

.fp-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: #0b1730;
}

.fp-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #0b74ff, #f5b942);
  border-radius: 2px;
  flex-shrink: 0;
}

.fp-table {
  width: 100%;
  border-collapse: collapse;
  background: #f7f9fc;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  overflow: hidden;
}

.fp-table tr + tr {
  border-top: 1px solid #e5e9f0;
}

.fp-table th,
.fp-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  vertical-align: top;
}

.fp-table th {
  width: 32%;
  background: #eef2f8;
  color: #4a5568;
  font-weight: 600;
}

.fp-table td {
  color: #1f2937;
  font-weight: 500;
}

.fp-statement {
  background: #f7f9fc;
  border-left: 4px solid #0b74ff;
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  font-size: 16px;
  line-height: 2;
  color: #2d3748;
}

.fp-statement p {
  margin: 0 0 12px;
}

.fp-statement p:last-child {
  margin-bottom: 0;
}

.fp-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fp-channel {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .2s ease;
}

.fp-channel:hover {
  border-color: #0b74ff;
  box-shadow: 0 6px 18px rgba(11, 116, 255, .12);
}

.fp-channel-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #5b6475;
  text-transform: uppercase;
}

.fp-channel-name {
  font-size: 16px;
  font-weight: 700;
  color: #0b1730;
}

.fp-channel-link {
  font-size: 13px;
  color: #0b74ff;
  word-break: break-all;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.fp-channel-note {
  font-size: 13px;
  color: #5b6475;
  margin: 14px 0 0;
  line-height: 1.7;
}

.fp-intro {
  font-size: 16px;
  line-height: 1.9;
  color: #2d3748;
  margin: 0;
}

.fp-rights {
  background: linear-gradient(135deg, rgba(11,116,255,.04), rgba(245,185,66,.04));
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 24px 28px;
}

.fp-rights p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #2d3748;
}

.fp-rights p:last-child {
  margin-bottom: 0;
  color: #5b6475;
  font-size: 13px;
}

.fp-seal-block {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px dashed #cbd2dc;
  display: flex;
  justify-content: flex-end;
}

.fp-signoff {
  text-align: right;
  min-width: 320px;
}

.fp-signoff-label {
  margin: 0 0 8px;
  font-size: 13px;
  color: #5b6475;
  letter-spacing: 1px;
}

.fp-signoff-date-block {
  position: relative;
  display: inline-block;
  padding: 20px 6px 4px;
}

.fp-signoff-date {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #0b1730;
  font-family: "KaiTi", "STKaiti", "Kaiti SC", "FangSong", "STFangsong", "PingFang SC", "Microsoft YaHei", "Noto Serif CJK SC", serif;
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

/* 公章：骑年盖月 —— 印章中心骑在"年 / 月"日期字中央，左沿"盖"在月字 */
.fp-seal-img {
  position: absolute;
  left: 50%;
  top: 18px; /* 下移少量，让印章重心从 padding 空白区落至日期文字行中央 */
  transform: translateX(-28%); /* 与日期文字水平中线对齐（"年"字偏左，"日"字偏右） */
  width: 96px;
  height: 96px;
  z-index: 1;
  pointer-events: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.fp-signoff-company {
  margin: 24px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: #0b1730;
  font-family: "KaiTi", "STKaiti", "Kaiti SC", "FangSong", "STFangsong", "PingFang SC", "Microsoft YaHei", "Noto Serif CJK SC", serif;
}

.fp-signoff-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: #8b95a7;
  letter-spacing: 1px;
}

.fp-seal-line {
  font-size: 14px;
  color: #5b6475;
  margin: 0 0 4px;
}

.fp-seal-value {
  font-size: 17px;
  font-weight: 700;
  color: #0b1730;
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", serif;
}

.fp-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

.fp-actions .btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.fp-actions .btn.secondary {
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #cbd2dc;
}

.fp-actions .btn.secondary:hover {
  border-color: #0b74ff;
  color: #0b74ff;
}

.fp-actions .btn.primary {
  color: #fff;
  background: var(--blue);
}

.fp-footer {
  text-align: center;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.fp-footer .fp-footer-brand {
  font-weight: 600;
  color: #1f2937;
}

@media (max-width: 760px) {
  .fp-page {
    padding: 100px 0 48px;
  }

  .fp-card {
    padding: 64px 22px 32px;
    border-radius: 16px;
  }

  .fp-header {
    padding-bottom: 20px;
    margin-bottom: 24px;
  }

  .fp-header h1 {
    font-size: 26px;
    letter-spacing: 2px;
  }

  .fp-header .fp-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .fp-actions {
    top: 14px;
    right: 14px;
    left: 14px;
    justify-content: flex-end;
  }

  .fp-actions .btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .fp-table th,
  .fp-table td {
    padding: 12px 14px;
    font-size: 14px;
  }

  .fp-table th {
    width: 38%;
  }

  .fp-channels {
    grid-template-columns: 1fr;
  }

  .fp-statement,
  .fp-rights {
    padding: 18px 18px;
  }

  .fp-seal-block {
    justify-content: center;
  }

  .fp-signoff {
    text-align: center;
    min-width: 0;
    width: 100%;
  }

  .fp-signoff-date-block {
    display: block;
  }

  .fp-watermark span {
    font-size: 80px;
    letter-spacing: 8px;
  }
}

/* Print: remove chrome, full-bleed certificate */
@media print {
  html,
  body {
    background: #fff !important;
  }

  .site-header,
  .footer,
  .fp-actions,
  .fp-watermark,
  .fp-footer {
    display: none !important;
  }

  .fp-page {
    padding: 0;
    min-height: auto;
  }

  .fp-page .section-inner {
    max-width: 100%;
    width: 100%;
  }

  .fp-card {
    box-shadow: none;
    border: 2px solid #0b1730;
    border-radius: 0;
    padding: 36px 40px;
  }

  .fp-card::before {
    border-image: none;
    border: none;
  }

  .fp-header h1 {
    color: #000;
  }

  a {
    color: inherit !important;
    text-decoration: none !important;
  }

  @page {
    size: A4;
    margin: 16mm 14mm;
  }
}
