:root {
  --bg: #1a1a1a;
  --bg-deep: #111111;
  --bg-footer: #0c0c0c;
  --orange: #ff6a00;
  --orange-hot: #ff7a1a;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.5);
  --card: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #666666;
  --line: rgba(255, 106, 0, 0.9);
  --page-w: 1920px;
  --content: 1600px;
  --radius: 14px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  border: 0;
  cursor: pointer;
  background: none;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  width: 100%;
  margin: 0;
  background: var(--bg);
  overflow: clip;
}

/* ---------- Hero ---------- */
/* 首屏压缩空白：数据卡更靠近主视觉，减少与下方服务区空隙 */
.hero {
  position: relative;
  height: 920px;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #121212;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.35) 0%, rgba(18, 18, 18, 0.08) 42%, rgba(18, 18, 18, 0.72) 100%),
    radial-gradient(ellipse 70% 55% at 50% 58%, rgba(255, 90, 0, 0.22), transparent 68%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 8px 160px 0;
}

.nav-logo img {
  height: 41px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 43px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.hero-stage {
  position: absolute;
  left: 160px;
  right: 160px;
  top: 72px;
  height: 780px;
  z-index: 2;
}

.hero-ring-img {
  position: absolute;
  left: 50%;
  top: 60px;
  width: min(720px, 62vw);
  height: auto;
  aspect-ratio: 1;
  transform: translateX(-50%);
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  animation: pulse 4.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.02); }
}

.hero-center {
  position: absolute;
  left: 50%;
  top: 150px;
  transform: translateX(-50%);
  width: 720px;
  text-align: center;
  z-index: 3;
}

.hero-title-img {
  width: 480px;
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 0 24px rgba(80, 160, 255, 0.55));
}

.hero-sub {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-slogan {
  margin: 16px 0 0;
  font-size: 20px;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 56px;
  border-radius: 999px;
  font-size: 24px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: #111;
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.float-tag {
  position: absolute;
  z-index: 3;
  height: auto;
  width: auto;
  max-width: 420px;
  animation: floaty 5s ease-in-out infinite;
  pointer-events: none;
}

.tag-1 { left: 40px; top: 90px; width: 280px; animation-delay: 0s; }
.tag-2 { left: -10px; top: 250px; width: 320px; animation-delay: 0.4s; }
.tag-3 { left: 10px; top: 400px; width: 300px; animation-delay: 0.8s; }
.tag-4 { left: 30px; top: 550px; width: 360px; animation-delay: 1.2s; }
.tag-5 { right: 40px; top: 100px; width: 340px; animation-delay: 0.2s; }
.tag-6 { right: 20px; top: 260px; width: 280px; animation-delay: 0.6s; }
.tag-7 { right: 40px; top: 410px; width: 320px; animation-delay: 1s; }
.tag-8 { right: -10px; top: 555px; width: 400px; animation-delay: 1.4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 数据卡垂直居中卡在首屏 / 服务区衔接线 */
.stats {
  position: absolute;
  left: 160px;
  right: 160px;
  top: auto;
  bottom: -70px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  height: 140px;
  margin: 0;
  padding: 0;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  height: 140px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.stat-num {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  color: var(--orange);
  line-height: 1;
}

.stat-num span {
  font-size: 52px;
  font-weight: 700;
}

.stat-num em {
  font-style: normal;
  font-size: 36px;
  font-weight: 700;
  padding-bottom: 8px;
}

.stat-num sup {
  font-size: 40px;
  font-weight: 700;
  top: -0.35em;
  padding-bottom: 4px;
}

.stat-label {
  margin-top: 8px;
  font-size: 20px;
  color: #333;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 100px 160px 120px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 18px auto 0;
  background: var(--orange);
  border-radius: 2px;
}

.section-head p {
  margin: 24px auto 0;
  max-width: 820px;
  font-size: 21px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Services — 紧贴首屏；上内边距留给跨界数据卡下半部分 */
.services {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 106, 0, 0.12), transparent 60%),
    var(--bg);
  padding-top: 110px;
}

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

.service-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 36px 32px 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.service-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 22px;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.service-card a {
  margin-top: 22px;
  color: var(--orange);
  font-size: 20px;
  font-weight: 500;
}

.service-card a span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.service-card a:hover span {
  transform: translateX(4px);
}

/* Cases */
.cases {
  background: #161616;
}

.case-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.chip {
  min-width: 108px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 24px;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip.active,
.chip:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

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

.case-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
}

.case-cover {
  position: relative;
  height: 420px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-cover.c1 {
  background-image:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35)),
    linear-gradient(135deg, #1e3a8a, #0ea5e9 45%, #f59e0b);
}
.case-cover.c2 {
  background-image:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35)),
    linear-gradient(135deg, #7f1d1d, #ef4444 50%, #fca5a5);
}
.case-cover.c3 {
  background-image:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35)),
    linear-gradient(135deg, #831843, #ec4899 45%, #fda4af);
}
.case-cover.c4 {
  background-image:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35)),
    linear-gradient(135deg, #14532d, #22c55e 50%, #86efac);
}

.case-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 24px;
  backdrop-filter: blur(6px);
}

.case-body {
  padding: 22px 24px 26px;
}

.case-body h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.case-meta {
  display: flex;
  gap: 28px;
  font-size: 20px;
  color: #888;
}

/* About */
.about {
  background:
    radial-gradient(ellipse 60% 40% at 50% 20%, rgba(255, 106, 0, 0.08), transparent 70%),
    var(--bg);
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 40px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 60px;
  bottom: 40px;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--orange), rgba(255, 106, 0, 0.2));
}

.timeline-logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  z-index: 2;
}

.tl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin: 70px 0;
  position: relative;
  z-index: 1;
}

.tl-copy {
  max-width: 421px;
  justify-self: end;
  text-align: left;
}

.tl-copy.right {
  justify-self: start;
}

.tl-year {
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
}

.tl-copy h3 {
  margin: 10px 0 14px;
  font-size: 28px;
}

.tl-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
}

.tl-media {
  width: 421px;
  height: 250px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.tl-row.reverse .tl-media {
  justify-self: end;
}

/* Partners */
.partners {
  background: #151515;
}

.partners-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer — 仅保留备案行 */
.footer {
  display: block;
  background: var(--bg-footer);
  padding: 28px 160px;
}

.footer-main {
  display: none;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.9fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 47px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand h3 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 500;
}

.footer-brand p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 421px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h4 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.footer-col a,
.contact-col p {
  margin: 0;
  font-size: 18px;
  color: var(--text-dim);
}

.footer-col a:hover {
  color: var(--orange);
}

.qr {
  width: 110px;
  height: 110px;
  margin-top: 8px;
  border-radius: 8px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(0deg, #111 0 4px, #fff 4px 8px) border-box;
  border: 6px solid transparent;
  position: relative;
}

.qr::after {
  content: "K";
  position: absolute;
  inset: 28px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  border-radius: 4px;
}

.footer-bottom {
  padding-top: 0;
  text-align: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .nav {
    padding-left: 48px;
    padding-right: 48px;
  }
  .hero-stage {
    left: 48px;
    right: 48px;
  }
  .stats {
    left: 48px;
    right: 48px;
  }
  .section,
  .footer {
    padding-left: 48px;
    padding-right: 48px;
  }
  .float-tag { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero {
    height: auto;
    min-height: 720px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .hero-stage {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    height: 560px;
    margin: 0 24px;
  }
  .stats {
    position: absolute;
    left: 24px;
    right: 24px;
    top: auto;
    bottom: -60px;
    height: auto;
    gap: 12px;
  }
  .stat-card {
    height: 120px;
    min-height: 120px;
  }
  .hero-title-img { width: min(420px, 80vw); }
  .hero-sub { font-size: 22px; }
  .hero-slogan { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 16px; }
  .btn { min-width: 180px; height: 52px; font-size: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section-head h2 { font-size: 36px; }
  .section-head p { font-size: 16px; }
  .services { padding-top: 100px; }
  .service-grid,
  .case-grid { grid-template-columns: 1fr; }
  .tl-row,
  .tl-row.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tl-copy,
  .tl-copy.right,
  .tl-media,
  .tl-media.m2 {
    justify-self: center;
    text-align: center;
  }
  .timeline-line { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
