/* ============ Pixfanta 官网（企业版） ============ */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fb;
  --text: #16181d;
  --text-2: #454c58;
  --dim: #7a8391;
  --line: #e9edf2;
  --line-strong: #d8dee6;
  --cyan: #04EBFA;
  --cyan-deep: #00a8bd;
  --cyan-key: #00879c;
  --cyan-soft: rgba(4, 235, 250, 0.12);
  --ink: #0c1622;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-hover: 0 14px 34px rgba(16, 24, 40, 0.10);
  --font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; }

::selection { background: var(--cyan); color: #04121a; }

section[id] { scroll-margin-top: 76px; }

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(16, 24, 40, 0.04);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 15px;
  color: var(--text-2);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero（像素未来城 banner） ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 150px 0 120px;
  background: url('../images/hero-city.png') center 32% / cover no-repeat, #070d1a;
}
/* 压暗遮罩保证文字可读 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 10, 22, 0.68), rgba(5, 10, 22, 0.30) 46%, rgba(5, 10, 22, 0.60));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
}
.hero-eyebrow .px {
  width: 8px; height: 8px;
  background: var(--cyan);
  flex-shrink: 0;
}
.hero-title {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.45);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin: 0 auto 46px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 按钮（品牌铁律：控件一律近黑墨底 #0c1622 + 亮青文字） */
.btn {
  display: inline-block;
  padding: 13px 36px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-cn);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--ink);
  color: var(--cyan);
  border: 1px solid var(--ink);
}
.btn-primary:hover {
  background: #050d17;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 22, 34, 0.28);
}
/* Hero 深色 banner 上的幽灵按钮 */
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Hero 入场动画 */
.stagger {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-eyebrow.stagger { animation-delay: 0.1s; }
.hero-title.stagger { animation-delay: 0.22s; }
.hero-sub.stagger { animation-delay: 0.36s; }
.hero-cta.stagger { animation-delay: 0.5s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ 通用 section ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.head-en {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--cyan-key);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.head-note {
  font-size: 15px;
  color: var(--dim);
  margin-top: 14px;
}

/* 滚动进场（无 JS 时直接可见） */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ============ 关于我们 ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  max-width: 1020px;
  margin: 0 auto;
}
.about-text p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 18px;
}
.about-art img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
}
.about-stats {
  max-width: 780px;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-num {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: var(--dim); }

/* ============ 业务领域 ============ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(4, 235, 250, 0.55);
}
.biz-img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.biz-body { padding: 24px 26px 28px; text-align: center; }
.biz-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}
.biz-en {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--dim);
  margin-bottom: 14px;
}
.biz-desc { font-size: 14px; color: var(--text-2); }

/* ============ 产品服务 ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(4, 235, 250, 0.55);
}
.card-cover { border-bottom: 1px solid var(--line); }
.card-img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.card-body { padding: 24px 26px 26px; }
.card-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-body > p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 18px;
  min-height: 1.7em;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 999px;
}
.tag-live {
  color: var(--cyan-deep);
  background: var(--cyan-soft);
}
.tag-soon {
  color: var(--dim);
  background: #f2f4f7;
}
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan-deep);
}
.card-more svg { width: 14px; height: 14px; }
/* 整卡可点的透明链接层 */
.card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* ============ 发展历程 ============ */
.road { position: relative; }
.road-line {
  position: absolute;
  left: 0; right: 0;
  top: 7px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 6%, var(--line-strong) 94%, transparent);
}
.road-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.road-node { position: relative; padding-top: 34px; }
.road-dot {
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  background: var(--text);
  border: 3px solid #fff;
  outline: 1px solid var(--line-strong);
}
.road-dot-live { background: var(--cyan); }
.road-dot-hollow { background: #fff; }
.road-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-deep);
  margin-bottom: 8px;
}
.road-node h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.road-node p { font-size: 14px; color: var(--dim); }

/* ============ 联系我们 ============ */
.contact-inner { max-width: 720px; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 38px 36px;
  box-shadow: var(--shadow-card);
}
.form-field { margin-bottom: 24px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}
.form-opt {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 400;
  color: var(--dim);
}
.form-field textarea,
.form-field input[type="text"] {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.7;
  padding: 12px 16px;
  outline: none;
  border-radius: 8px;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input[type="text"] { height: 46px; }
.form-field textarea:focus,
.form-field input[type="text"]:focus {
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(4, 235, 250, 0.16);
}
.form-field ::placeholder { color: #a8b0bc; }
.form-count {
  text-align: right;
  font-size: 12px;
  color: var(--dim);
  margin-top: 6px;
}
.form-submit {
  display: block;
  width: 100%;
}
.form-submit:disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.form-msg {
  font-size: 14px;
  color: var(--dim);
  min-height: 1.6em;
  text-align: center;
  margin-top: 14px;
}
.form-msg.ok { color: var(--cyan-deep); }
/* 蜜罐字段隐藏 */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

/* ============ 页脚 ============ */
.footer {
  background: var(--ink);
  padding: 64px 0 42px;
  text-align: center;
}
.footer-inner { padding: 0 24px; }
.footer-logo {
  height: 22px;
  width: auto;
  margin: 0 auto 24px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: 26px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-company {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 6px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .biz-grid, .product-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-stats { grid-template-columns: 1fr; gap: 14px; }
  .road-line { display: none; }
  .road-grid { grid-template-columns: 1fr; gap: 30px; }
  .road-node {
    padding-top: 0;
    padding-left: 36px;
    border-left: 2px solid var(--line);
  }
  .road-dot { top: 2px; left: -9px; }
  .hero { min-height: 76vh; padding: 130px 0 90px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 27px; }
  .contact-form { padding: 28px 20px 26px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.08);
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 13px 0;
    font-size: 15px;
    border-top: 1px solid var(--line);
  }
  .nav-links a:first-child { border-top: none; }
  .nav-links a::after { display: none; }
}

/* 降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .stagger, html.js .reveal { animation: none; transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
