/**
 * 物图科技官网 - 公共样式
 */

:root {
  --surface-base: #f7fafc;
  --surface-soft: #ffffff;
  --surface-muted: #f8fafc;
  --surface-elevated: rgba(255, 255, 255, 0.9);
  --line-subtle: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text-strong: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --brand-emerald: #10b981;
  --brand-cyan: #06b6d4;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 22px 48px rgba(15, 23, 42, 0.1);
  --shadow-float: 0 28px 56px rgba(15, 23, 42, 0.14);
  --radius-panel: 28px;
  --radius-card: 22px;
}

/* 阅读进度条 */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* 全局基础 */
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome, Safari, Opera */
}

body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  color: var(--text-body);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.06), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #f7fafc 100%);
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome, Safari, Opera */
}

/* 固定品牌 Logo 尺寸，避免图片加载后引发布局抖动 */
.brand-logo-header {
  width: 83px;
  height: 35px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.brand-logo-footer {
  width: 95px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

/* 顶部导航栏渐变背景 */
header.site-header {
  background:
    linear-gradient(180deg, rgba(7, 21, 36, 0.9) 0%, rgba(15, 23, 42, 0.94) 100%) !important;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* 导航链接悬停轻微上浮 */
.header-nav a {
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.header-nav a:hover {
  transform: translateY(-1px);
}
.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-emerald), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.header-nav a:hover::after {
  transform: scaleX(1);
}
.header-nav a.text-emerald-300::after,
.header-nav a.text-emerald-400::after {
  transform: scaleX(1);
}
/* 主按钮悬停放大 */
.btn-primary {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  border-radius: 999px;
  min-height: 52px;
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(16, 185, 129, 0.24);
}
.btn-primary:active {
  transform: translateY(0);
}
/* 卡片悬停上浮与阴影 */
.card-hover {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.22s ease, background-color 0.22s ease;
  box-shadow: var(--shadow-soft);
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
/* 图片容器内图片悬停放大 */
.img-zoom-hover img {
  transition: transform 0.6s ease, filter 0.4s ease;
}
.img-zoom-hover:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

/* 案例图片顶部马赛克遮罩（1–8.png） */
.case-img-mosaic-top {
  position: relative;
}
.case-img-mosaic-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16%;
  min-height: 32px;
  background: rgba(240, 240, 240, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  border-radius: 1rem 1rem 0 0;
}

/* 首页 Hero 能力标签（8 个卡片按钮）动效与样式 */
.hero-cap-tag {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.hero-cap-tag:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background-color: rgba(30, 41, 59, 0.75);
  border-color: rgba(255, 255, 255, 0.2);
}
.hero-cap-tag:hover span {
  color: rgb(255, 255, 255);
}
.hero-cap-tag:active {
  transform: translateY(-1px) scale(0.99);
}

/* 文字渐变 */
.text-gradient {
  background: linear-gradient(135deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 毛玻璃卡片 */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* section 标题装饰线 */
.section-title-line {
  position: relative;
  display: inline-block;
}
.section-title-line::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
}
.section-title-line--center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* 装饰性浮动圆 */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.08;
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

main section {
  position: relative;
}

main section.py-20,
main section.py-24 {
  padding-top: clamp(2.75rem, 4.8vw, 4rem);
  padding-bottom: clamp(2.75rem, 4.8vw, 4rem);
}

body.page-home main section,
body.page-solutions main section,
body.page-services main section,
body.page-about main section,
body.page-news-list main section,
body.page-contact main section,
body.page-404 main,
body.page-news-detail main {
  isolation: isolate;
}

body.page-solutions main > section:first-of-type,
body.page-services main > section:first-of-type,
body.page-about main > section:first-of-type,
body.page-news-list main > section:first-of-type,
body.page-contact main > section:first-of-type {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 30%),
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.08), transparent 22%),
    linear-gradient(180deg, #f9fbfc 0%, #f4f8fb 100%);
}

body.page-solutions main > section:first-of-type .max-w-3xl,
body.page-services main > section:first-of-type .max-w-3xl,
body.page-about main > section:first-of-type .max-w-3xl,
body.page-news-list main > section:first-of-type .max-w-3xl,
body.page-contact main > section:first-of-type .max-w-3xl {
  max-width: 52rem;
}

body.page-solutions main > section:first-of-type p,
body.page-services main > section:first-of-type p,
body.page-about main > section:first-of-type p,
body.page-news-list main > section:first-of-type p,
body.page-contact main > section:first-of-type p {
  max-width: 46rem;
  color: var(--text-muted);
}

body.page-home h1,
body.page-home h2,
body.page-solutions h1,
body.page-solutions h2,
body.page-services h1,
body.page-services h2,
body.page-about h1,
body.page-about h2,
body.page-news-list h1,
body.page-news-list h2,
body.page-contact h1,
body.page-contact h2,
body.page-404 h1 {
  letter-spacing: -0.035em;
}

body.page-solutions main > section:first-of-type h1,
body.page-services main > section:first-of-type h1,
body.page-about main > section:first-of-type h1,
body.page-news-list main > section:first-of-type h1,
body.page-contact main > section:first-of-type h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin-bottom: 0.85rem;
}

body.page-solutions main > section:first-of-type h1 + p,
body.page-services main > section:first-of-type h1 + p,
body.page-about main > section:first-of-type h1 + p,
body.page-news-list main > section:first-of-type h1 + p,
body.page-contact main > section:first-of-type h1 + p {
  margin-top: 0.55rem;
}

/* 仅正文 main 内段落用深色，避免覆盖 footer 内简介（footer 在 main 外） */
body.page-home main p,
body.page-solutions main p,
body.page-services main p,
body.page-about main p,
body.page-news-list main p,
body.page-contact main p,
body.page-news-detail main p,
body.page-404 main p {
  color: var(--text-body);
}

body.page-about {
  --about-accent: #111827;
  --about-accent-strong: #0f172a;
  --about-accent-soft: #cbd5e1;
  --about-accent-surface: #f3f6fb;
  --about-cyan: #334155;
  --about-deep: #020617;
  --about-deeper: #0f172a;
}

body.page-about .section-title-line::after {
  background: linear-gradient(90deg, var(--about-accent), var(--about-cyan));
}

body.page-about .header-nav a.text-emerald-300,
body.page-about #nav-menu a.text-emerald-300 {
  color: #70d1ca;
}

body.page-home #hero {
  background:
    radial-gradient(circle at top, rgba(6, 182, 212, 0.18), transparent 32%),
    linear-gradient(180deg, #071726 0%, #0f172a 48%, #eef4f7 100%);
}

body.page-home #hero-video {
  filter: saturate(0.92) contrast(0.98) brightness(0.9);
  opacity: 0;
  transition: opacity 220ms ease;
}

body.page-home #hero-video.is-ready {
  opacity: 1;
}

body.page-home #hero-video-fallback {
  background:
    radial-gradient(circle at top, rgba(16, 185, 129, 0.18), transparent 34%),
    linear-gradient(180deg, #071726 0%, #0f172a 100%);
}

body.page-home #hero .absolute.inset-0.bg-gradient-to-b {
  background: linear-gradient(180deg, rgba(7, 21, 36, 0.38) 0%, rgba(10, 42, 63, 0.12) 44%, rgba(226, 232, 240, 0.34) 100%);
}

body.page-home #hero .relative.z-10.max-w-7xl {
  margin-top: 0;
  padding-top: clamp(3rem, 7vw, 6rem);
}

body.page-home #hero h1 {
  max-width: 10.5em;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 14px 40px rgba(2, 8, 23, 0.38);
}

body.page-home #hero p {
  max-width: 42rem;
  color: rgba(226, 232, 240, 0.92);
}

body.page-home #services article,
body.page-services article.card-hover,
body.page-about article.card-hover,
body.page-news-list article.card-hover,
body.page-solutions .card-hover,
body.page-contact .card-hover {
  border-color: var(--line-subtle);
  box-shadow: var(--shadow-soft);
}

body.page-home #services article:hover,
body.page-services article.card-hover:hover,
body.page-about article.card-hover:hover,
body.page-news-list article.card-hover:hover,
body.page-solutions .card-hover:hover,
body.page-contact .card-hover:hover {
  border-color: rgba(16, 185, 129, 0.24);
}

body.page-home #services article .absolute.inset-0.bg-white\/70,
body.page-services article .absolute.inset-0.bg-white\/90 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.9));
}

body.page-home #services article:hover .absolute.inset-0.bg-white\/70,
body.page-services article:hover .absolute.inset-0.bg-white\/90 {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.9));
}

body.page-home #case-prev-btn,
body.page-home #case-next-btn {
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

body.page-home #case-studies-track article .card-hover {
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--line-subtle);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

body.page-home #case-studies-track article .card-hover:hover {
  border-color: rgba(16, 185, 129, 0.24);
}

body.page-home #case-studies-track article h3 {
  line-height: 1.4;
}

body.page-home #case-indicators button {
  transition: width 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

body.page-home #case-indicators button:hover {
  transform: translateY(-1px);
}

body.page-home #about ul li {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.24);
  padding-bottom: 0.8rem;
}

body.page-home #about ul li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.page-about main > section[aria-labelledby="stats-heading"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.page-about main > section[aria-labelledby="stats-heading"] {
  background:
    radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(51, 65, 85, 0.16), transparent 34%),
    linear-gradient(135deg, var(--about-deep) 0%, var(--about-deeper) 100%) !important;
}

body.page-about main > section[aria-labelledby="stats-heading"] .deco-circle {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.8), rgba(30, 41, 59, 0.92)) !important;
}

body.page-about main > section[aria-labelledby="stats-heading"] p.text-4xl,
body.page-about main > section[aria-labelledby="stats-heading"] p.text-4xl span,
body.page-about main > section[aria-labelledby="stats-heading"] p.text-5xl,
body.page-about main > section[aria-labelledby="stats-heading"] p.text-5xl span {
  color: #f8fafc;
  text-shadow: 0 14px 30px rgba(2, 6, 23, 0.42);
}

body.page-about main > section[aria-labelledby="stats-heading"] p.text-4xl,
body.page-about main > section[aria-labelledby="stats-heading"] p.text-5xl {
  letter-spacing: -0.04em;
}

body.page-about main > section[aria-labelledby="stats-heading"] span.text-emerald-300 {
  color: #93c5fd;
}

body.page-about main > section[aria-labelledby="stats-heading"] p.text-sm {
  color: rgba(226, 232, 240, 0.72);
}

body.page-about main > section[aria-labelledby="stats-heading"] .grid > div {
  padding: 1.25rem 0.75rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.14));
  border: 1px solid rgba(148, 163, 184, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.page-about main > section[aria-labelledby="stats-heading"] .grid > div:hover {
  border-color: rgba(148, 163, 184, 0.18);
}

body.page-about main > section[aria-labelledby="stats-heading"] .grid {
  gap: 1rem;
}

body.page-about main > section[aria-labelledby="values-heading"] article,
body.page-about main > section[aria-labelledby="location-heading"] .card-hover {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
}

body.page-about article.accent-bar-emerald {
  border-top-color: var(--about-accent);
}

body.page-about article.accent-bar-emerald .bg-emerald-50,
body.page-about section[aria-labelledby="location-heading"] .w-12.h-12 {
  background: linear-gradient(135deg, var(--about-accent-surface), #e5f4fa) !important;
}

body.page-about article.accent-bar-emerald svg.text-emerald-500,
body.page-about section[aria-labelledby="location-heading"] svg.text-emerald-600 {
  color: var(--about-accent-strong);
}

body.page-about section[aria-labelledby="company-profile-heading"] {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

body.page-about .about-profile-panel {
  align-items: stretch;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: var(--shadow-soft);
}

body.page-about .about-profile-eyebrow {
  margin-bottom: 0.9rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.page-about .about-profile-copy p {
  max-width: none;
}

body.page-about .about-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.page-about .about-profile-body p {
  color: var(--text-body);
  line-height: 1.95;
  text-indent: 2em;
}

body.page-about .about-profile-highlights {
  display: grid;
  gap: 1rem;
}

body.page-about .about-profile-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
}

body.page-about .about-profile-highlight p {
  color: var(--text-muted);
  line-height: 1.75;
}

body.page-about .about-profile-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e2e8f0, #edf2f7);
  color: var(--about-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (max-width: 1023px) {
  body.page-about .about-profile-panel {
    gap: 1.5rem;
  }

  body.page-about .about-profile-copy,
  body.page-about .about-profile-highlights,
  body.page-about .about-profile-highlight {
    height: auto;
  }
}

@media (min-width: 1024px) {
  body.page-about .about-profile-highlights {
    height: 100%;
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }
}

body.page-news-list #news-list article,
body.page-news-list #news-list article > div:last-child {
  background: #fff;
}

body.page-news-list #news-list article {
  border-radius: 24px;
  overflow: hidden;
}

body.page-news-list #news-list article .h-48 {
  height: auto;
  aspect-ratio: 16 / 10;
}

body.page-news-list #news-list article h2 {
  line-height: 1.35;
}

body.page-news-list #news-list article p.text-slate-600 {
  color: var(--text-muted);
}

body.page-news-list .btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: var(--line-strong);
  color: var(--text-body);
  box-shadow: var(--shadow-soft);
}

body.page-news-list .btn-primary:hover {
  color: var(--brand-emerald);
  border-color: rgba(16, 185, 129, 0.28);
}

body.page-news-detail #article-root .article-hero-bg {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, #f4f8fb 100%);
}

body.page-news-detail #article-root .article-body,
body.page-news-detail #article-root #article-sidebar > div,
body.page-news-detail #article-root article > .mt-8 {
  box-shadow: var(--shadow-soft);
}

body.page-news-detail #article-root .article-body {
  border-color: rgba(226, 232, 240, 0.9);
}

body.page-news-detail #article-root .article-body a {
  color: #059669;
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.3);
  text-underline-offset: 3px;
}

body.page-news-detail #article-root .article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

body.page-news-detail #article-root #article-sidebar {
  position: relative;
}

body.page-news-detail #article-root #sidebar-article-list li a {
  transition: color 0.2s ease, background-color 0.2s ease;
}

body.page-news-detail #article-root #sidebar-article-list li a:hover {
  color: #059669;
}

body.page-contact #contact-message-form input,
body.page-contact #contact-message-form textarea {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.page-contact #contact-message-form input:focus,
body.page-contact #contact-message-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

body.page-contact #contact-map-wrap,
body.page-contact aside .bg-white,
body.page-contact .lg\:col-span-2 .bg-white {
  box-shadow: var(--shadow-soft);
}

body.page-contact [aria-labelledby="message-title"] > div {
  box-shadow: var(--shadow-card);
}

body.page-contact [aria-labelledby="message-title"] > div > .grid > div:first-child {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.26), transparent 36%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

/* 联系页「客户留言」左侧深色区：提升文字对比度，避免被 main p 规则压暗 */
body.page-contact [aria-labelledby="message-title"] > div > .grid > div:first-child p {
  color: rgba(226, 232, 240, 0.9);
}

body.page-contact [aria-labelledby="message-title"] > div > .grid > div:first-child .text-slate-300 {
  color: rgba(226, 232, 240, 0.9) !important;
}

body.page-contact [aria-labelledby="message-title"] > div > .grid > div:last-child {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.page-404 main .text-center {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-panel);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-soft);
}

body.page-solutions #case-studies-container > article {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 32px;
  border: 1px solid var(--line-subtle);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.22s ease;
}

body.page-solutions #case-studies-container > article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(16, 185, 129, 0.22);
}

body.page-solutions #case-studies-container > article > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.page-solutions #case-studies-container h2 {
  line-height: 1.18;
  letter-spacing: -0.03em;
}

body.page-solutions #case-studies-container p {
  color: var(--text-muted);
}

body.page-solutions #case-studies-container .btn-primary {
  align-self: flex-start;
}

body.page-services article .font-mono {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.8);
}

body.page-services .step-connector,
body.page-services .grid > .card-hover:not(article) {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
}

body .site-footer,
body footer {
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body .site-footer > div:first-child,
body footer > div:first-child {
  opacity: 0.8;
}

body footer .max-w-7xl,
body .site-footer .max-w-7xl {
  position: relative;
}

body footer .max-w-7xl::before,
body .site-footer .max-w-7xl::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 68%);
  pointer-events: none;
  filter: blur(12px);
}

/* 研发流程步骤连线 */
.step-connector {
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1rem;
  width: calc(2rem);
  height: 2px;
  background: linear-gradient(90deg, #d1d5db, #10b981);
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .step-connector::after {
    display: none;
  }
}

/* 理念卡片顶部装饰条 */
.accent-bar-emerald { border-top: 3px solid #10b981; }
.accent-bar-cyan { border-top: 3px solid #06b6d4; }
.accent-bar-violet { border-top: 3px solid #8b5cf6; }

/* 淡入上浮动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

/* 数字计数渐变 */
.stat-number {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 联系方式图标容器 */
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecfdf5, #e0f2fe);
  color: #10b981;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  body.page-home #hero .relative.z-10.max-w-7xl {
    padding-top: 4rem;
  }
}

@media (max-width: 767px) {
  .brand-logo-header {
    width: 76px;
    height: 32px;
  }

  main section.py-20,
  main section.py-24 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  body.page-home #hero {
    min-height: auto;
  }

  body.page-home #hero h1 {
    max-width: 9.5em;
  }

  body.page-solutions #case-studies-container > article {
    padding: 1.25rem;
    border-radius: 24px;
  }

  body.page-solutions #case-studies-container article {
    gap: 1.25rem;
  }

  body.page-home #case-prev-btn,
  body.page-home #case-next-btn {
    display: none;
  }

  body.page-404 main .text-center {
    padding: 2.25rem 1.5rem;
  }
}
