/*
Theme Name: 东营晨曦环境科技 (Chenxi Aurora)
Theme URI: https://example.com/chenxi-aurora
Author: Momo王
Author URI: https://example.com/momowang
Description: 为东营晨曦环境科技有限公司(虚构演示公司)打造的极光渐变 SaaS 风企业主题。纯白底 + 紫粉蓝弥散光斑,浅玻璃卡片,渐变文字标题,SaaS pricing 式治理方案区,喷淋塔 SVG 在线监测标注。废气治理,晨曦一下。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chenxi-aurora
Tags: custom-logo, custom-menu, featured-images, translation-ready, one-column
*/

/* --------------------------------------------------
   0. 设计令牌(极光渐变 SaaS 体系)
-------------------------------------------------- */
:root {
  --cx-violet: #8b5cf6;
  --cx-blue: #3b82f6;
  --cx-cyan: #06b6d4;
  --cx-pink: #ec4899;
  --cx-ink: #0f172a;
  --cx-slate: #475569;
  --cx-muted: #94a3b8;
  --cx-line: #e2e8f0;
  --cx-bg: #ffffff;
  --cx-soft: #f8fafc;
  --cx-glass: rgba(255, 255, 255, 0.72);
  --cx-grad: linear-gradient(120deg, var(--cx-violet), var(--cx-blue) 52%, var(--cx-cyan));
  --cx-grad-soft: linear-gradient(120deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.1) 52%, rgba(6, 182, 212, 0.12));
  --cx-radius: 16px;
  --cx-radius-lg: 24px;
  --cx-shadow: 0 10px 34px rgba(99, 102, 241, 0.1);
  --cx-shadow-lift: 0 18px 48px rgba(99, 102, 241, 0.18);
  --cx-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --------------------------------------------------
   1. 基础重置
-------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--cx-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--cx-slate);
  background: var(--cx-bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--cx-blue); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--cx-violet); }
h1, h2, h3, h4, h5, h6 { color: var(--cx-ink); line-height: 1.3; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cx-blue); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto; clip-path: none; height: auto; width: auto;
  background: #fff; color: var(--cx-ink); padding: 12px 20px;
  left: 8px; top: 8px; z-index: 100000; border-radius: 8px;
  box-shadow: var(--cx-shadow);
}

/* WordPress 核心类 */
.alignleft { float: left; margin: 0.4em 1.4em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.4em; }
.aligncenter { display: block; margin: 1.4em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.85rem; color: var(--cx-muted); text-align: center; padding: 6px 0; }
.sticky { position: relative; }
.sticky::after {
  content: "置顶"; position: absolute; top: 16px; right: 16px;
  font-size: 12px; padding: 2px 10px; border-radius: 999px;
  background: var(--cx-grad); color: #fff;
}
.bypostauthor { display: block; }

/* --------------------------------------------------
   2. 极光弥散背景(多层 radial-gradient + blur)
-------------------------------------------------- */
.cx-aurora {
  position: fixed; inset: -40px; z-index: -1;
  overflow: hidden; pointer-events: none;
  transform: translate3d(calc(var(--ax, 0) * 1px), calc(var(--ay, 0) * 1px), 0);
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.cx-aurora i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); will-change: transform;
}
.cx-aurora i:nth-child(1) {
  width: 56vw; height: 56vw; min-width: 480px; min-height: 480px;
  top: -22vw; left: -14vw; opacity: 0.5;
  background: radial-gradient(circle at 40% 40%, #c4b5fd 0%, rgba(196, 181, 253, 0) 68%);
  animation: cx-drift-a 32s ease-in-out infinite alternate;
}
.cx-aurora i:nth-child(2) {
  width: 48vw; height: 48vw; min-width: 420px; min-height: 420px;
  top: -10vw; right: -16vw; opacity: 0.42;
  background: radial-gradient(circle at 60% 40%, #93c5fd 0%, rgba(147, 197, 253, 0) 66%);
  animation: cx-drift-b 38s ease-in-out infinite alternate;
}
.cx-aurora i:nth-child(3) {
  width: 42vw; height: 42vw; min-width: 380px; min-height: 380px;
  bottom: -18vw; left: 28vw; opacity: 0.34;
  background: radial-gradient(circle at 50% 50%, #a5f3fc 0%, #fbcfe8 42%, rgba(251, 207, 232, 0) 72%);
  animation: cx-drift-c 44s ease-in-out infinite alternate;
}
@keyframes cx-drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(7vw, 5vh, 0) scale(1.12); } }
@keyframes cx-drift-b { from { transform: translate3d(0, 0, 0) scale(1.08); } to { transform: translate3d(-6vw, 7vh, 0) scale(0.94); } }
@keyframes cx-drift-c { from { transform: translate3d(0, 0, 0) scale(0.96); } to { transform: translate3d(5vw, -6vh, 0) scale(1.1); } }

/* --------------------------------------------------
   3. 通用布局与组件
-------------------------------------------------- */
.cx-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.cx-section { padding: 96px 0; position: relative; }
.cx-section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }

.cx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--cx-blue); background: var(--cx-grad-soft);
  border: 1px solid rgba(139, 92, 246, 0.22);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.cx-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cx-grad);
}
.cx-h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: 0.01em; }
.cx-sub { color: var(--cx-muted); font-size: 1.02rem; }

.grad-text {
  background: var(--cx-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* 浅玻璃卡片 */
.glass {
  background: var(--cx-glass);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--cx-radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--cx-shadow);
}

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-grad {
  background: linear-gradient(120deg, var(--cx-violet), var(--cx-blue) 60%, var(--cx-cyan));
  background-size: 160% 100%; background-position: 0 0;
  color: #fff; box-shadow: 0 12px 28px rgba(99, 102, 241, 0.32);
}
.btn-grad:hover { color: #fff; background-position: 90% 0; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(99, 102, 241, 0.4); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.75); color: var(--cx-ink);
  border: 1px solid var(--cx-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--cx-blue); border-color: rgba(59, 130, 246, 0.45); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--cx-violet); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18); }
.btn-light:hover { color: var(--cx-blue); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* 小徽章 */
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; padding: 3px 10px; border-radius: 999px;
  color: #fff; vertical-align: middle;
}
.badge-new { background: linear-gradient(120deg, var(--cx-cyan), var(--cx-blue)); }
.badge-pro { background: linear-gradient(120deg, var(--cx-violet), var(--cx-pink)); }
.badge-soft {
  background: var(--cx-grad-soft); color: var(--cx-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* 网格 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* 入场动画(仅 html.js 下隐藏,no-js 兜底) */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------
   4. 页头
-------------------------------------------------- */
.cx-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  padding: 18px 0; transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.cx-header.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.08);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.cx-header-inner { display: flex; align-items: center; gap: 32px; }
.cx-brand { display: flex; align-items: center; }
.cx-brand .custom-logo { max-height: 44px; width: auto; }
.cx-logo { display: inline-flex; align-items: center; gap: 10px; }
.cx-logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--cx-grad); color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.3);
}
.cx-logo-text { font-size: 1.05rem; font-weight: 700; color: var(--cx-ink); }
.cx-logo:hover .cx-logo-text { color: var(--cx-blue); }

.cx-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.cx-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.cx-menu li { position: relative; }
.cx-menu a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--cx-ink); font-size: 15px; font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease;
}
.cx-menu a:hover,
.cx-menu .current-menu-item > a,
.cx-menu .current_page_item > a {
  color: var(--cx-blue); background: var(--cx-grad-soft);
}
.cx-nav-cta { flex-shrink: 0; }

.cx-burger {
  display: none; position: relative; z-index: 95;
  width: 44px; height: 44px; border: 1px solid var(--cx-line);
  border-radius: 12px; background: rgba(255, 255, 255, 0.8); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  margin-left: auto;
}
.cx-burger span:not(.screen-reader-text) {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--cx-ink); transition: transform 0.3s ease, opacity 0.3s ease;
}
body.nav-open .cx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .cx-burger span:nth-child(2) { opacity: 0; }
body.nav-open .cx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------
   5. Hero(极光缓移 + 数据条)
-------------------------------------------------- */
.cx-hero { position: relative; padding: 170px 0 80px; overflow: hidden; }
.cx-hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 70vw; height: 70vw; min-width: 560px; min-height: 560px;
  top: -30vw; left: 50%; margin-left: -35vw;
  background:
    radial-gradient(closest-side, rgba(196, 181, 253, 0.5), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(165, 243, 252, 0.42), transparent 68%),
    radial-gradient(closest-side at 30% 65%, rgba(251, 207, 232, 0.38), transparent 66%);
  filter: blur(60px); border-radius: 50%;
  animation: cx-hero-shift 22s ease-in-out infinite alternate;
}
@keyframes cx-hero-shift {
  from { transform: translate3d(-4%, 0, 0) rotate(0deg) scale(1); }
  to { transform: translate3d(4%, 6%, 0) rotate(10deg) scale(1.08); }
}
.cx-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.cx-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.cx-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: 0.01em; margin-bottom: 20px; }
.cx-hero-sub { font-size: 1.1rem; color: var(--cx-slate); max-width: 34em; margin-bottom: 32px; }
.cx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.cx-hero-figure { position: relative; display: flex; justify-content: center; }
.cx-hero-figure .cx-tower-wrap { width: min(100%, 400px); }

.cx-statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cx-stat { padding: 18px 20px; text-align: center; }
.cx-stat b {
  display: block; font-size: 1.5rem; font-weight: 800;
  background: var(--cx-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-stat span { font-size: 0.82rem; color: var(--cx-muted); }

/* 喷淋塔 SVG 与监测脉冲点 */
.cx-tower-wrap { position: relative; }
.cx-tower-svg { display: block; width: 100%; height: auto; }
.cx-tower-svg .ping {
  transform-box: fill-box; transform-origin: center;
  animation: cx-ping 2.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}
.cx-tower-svg .ping.d2 { animation-delay: 0.7s; }
.cx-tower-svg .ping.d3 { animation-delay: 1.3s; }
.cx-tower-svg .ping.d4 { animation-delay: 1.9s; }
@keyframes cx-ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}

/* --------------------------------------------------
   6. 接入流程(SaaS onboarding)
-------------------------------------------------- */
.cx-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: cxstep; }
.cx-flow-card { position: relative; padding: 30px 24px 26px; }
.cx-flow-card::before {
  counter-increment: cxstep; content: "0" counter(cxstep);
  display: block; font-size: 1.9rem; font-weight: 800; line-height: 1;
  margin-bottom: 14px;
  background: var(--cx-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-flow-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.cx-flow-card p { font-size: 0.92rem; color: var(--cx-muted); margin: 0; }
.cx-flow-card::after {
  content: ""; position: absolute; top: 44px; right: -14px;
  width: 8px; height: 8px; border-top: 2px solid var(--cx-muted); border-right: 2px solid var(--cx-muted);
  transform: rotate(45deg); opacity: 0.55;
}
.cx-flow-card:last-child::after { display: none; }

/* --------------------------------------------------
   7. 产品方案(SaaS pricing 三栏)
-------------------------------------------------- */
.cx-plans { position: relative; }
.cx-plans::before {
  content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 10%; bottom: 6%;
  background:
    radial-gradient(closest-side at 22% 30%, rgba(196, 181, 253, 0.34), transparent 70%),
    radial-gradient(closest-side at 80% 68%, rgba(165, 243, 252, 0.3), transparent 70%);
  filter: blur(56px);
}
.cx-plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cx-plan:hover { transform: translateY(-6px); box-shadow: var(--cx-shadow-lift); }
.cx-plan-featured {
  border: 1px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)) padding-box, var(--cx-grad) border-box;
  box-shadow: var(--cx-shadow-lift);
}
.cx-plan-name { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 4px; }
.cx-plan-cap { font-size: 0.88rem; color: var(--cx-muted); margin-bottom: 18px; }
.cx-plan-metric { font-size: 1.7rem; font-weight: 800; line-height: 1.2; margin-bottom: 2px; }
.cx-plan-metric small { font-size: 0.85rem; font-weight: 500; color: var(--cx-muted); }
.cx-plan-note { font-size: 0.8rem; color: var(--cx-muted); margin-bottom: 20px; }
.cx-plan ul { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px dashed var(--cx-line); flex: 1; }
.cx-plan li { position: relative; padding: 5px 0 5px 26px; font-size: 0.92rem; }
.cx-plan li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 14px; height: 7px;
  border-left: 2px solid var(--cx-cyan); border-bottom: 2px solid var(--cx-blue);
  transform: rotate(-45deg) scale(0.9);
}
.cx-plan .btn { width: 100%; }

/* 对比表 */
.cx-table-scroll { overflow-x: auto; border-radius: var(--cx-radius); }
.cx-compare { min-width: 640px; background: var(--cx-glass); border-radius: var(--cx-radius); overflow: hidden; }
.cx-compare th, .cx-compare td { padding: 14px 18px; text-align: center; font-size: 0.92rem; border-bottom: 1px solid rgba(226, 232, 240, 0.8); }
.cx-compare th { color: var(--cx-ink); font-weight: 700; background: rgba(248, 250, 252, 0.85); }
.cx-compare td:first-child, .cx-compare th:first-child { text-align: left; color: var(--cx-slate); font-weight: 600; }
.cx-compare tr:last-child td { border-bottom: 0; }
.cx-yes {
  display: inline-block; width: 15px; height: 8px;
  border-left: 2.5px solid var(--cx-violet); border-bottom: 2.5px solid var(--cx-cyan);
  transform: rotate(-45deg); margin-bottom: 3px;
}
.cx-no { color: var(--cx-muted); }

/* 扩展组件迷你卡 */
.cx-addon-cap {
  text-align: center; margin: 44px 0 18px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; color: var(--cx-muted);
}
.cx-addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cx-addon { padding: 20px 24px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cx-addon:hover { transform: translateY(-3px); box-shadow: var(--cx-shadow-lift); }
.cx-addon h3 { font-size: 1rem; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.cx-addon p { font-size: 0.88rem; color: var(--cx-muted); margin: 0; }

/* --------------------------------------------------
   8. 材质工艺(金浩丰)
-------------------------------------------------- */
.cx-material-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.cx-material-points { list-style: none; margin: 0 0 26px; padding: 0; }
.cx-material-points li { position: relative; padding: 8px 0 8px 30px; }
.cx-material-points li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--cx-grad); opacity: 0.16;
}
.cx-material-points li::after {
  content: ""; position: absolute; left: 5px; top: 21px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cx-grad);
}
.cx-material-points b { color: var(--cx-ink); }
.cx-supplier-card { padding: 30px; position: relative; overflow: hidden; }
.cx-supplier-card::before {
  content: ""; position: absolute; top: -40%; right: -30%;
  width: 70%; height: 110%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.16), transparent 72%);
  filter: blur(30px);
}
.cx-supplier-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cx-supplier-head h3 { margin: 0; font-size: 1.05rem; }
.cx-supplier-meter { margin-top: 18px; }
.cx-supplier-meter .bar {
  height: 10px; border-radius: 999px; background: rgba(226, 232, 240, 0.9); overflow: hidden;
}
.cx-supplier-meter .bar i { display: block; height: 100%; width: 100%; border-radius: 999px; background: var(--cx-grad); }
.cx-supplier-meter .cap { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--cx-muted); margin-top: 6px; }

/* --------------------------------------------------
   9. 应用行业
-------------------------------------------------- */
.cx-industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cx-industry { padding: 26px 24px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cx-industry:hover { transform: translateY(-4px); box-shadow: var(--cx-shadow-lift); }
.cx-industry-dot {
  display: inline-block; width: 34px; height: 34px; border-radius: 11px;
  background: var(--cx-grad-soft); border: 1px solid rgba(139, 92, 246, 0.2);
  position: relative; margin-bottom: 14px;
}
.cx-industry-dot::after {
  content: ""; position: absolute; inset: 10px; border-radius: 6px; background: var(--cx-grad);
}
.cx-industry h3 { font-size: 1.04rem; margin-bottom: 6px; }
.cx-industry p { font-size: 0.9rem; color: var(--cx-muted); margin: 0; }

/* --------------------------------------------------
   10. 客户成功(数据看板措辞)
-------------------------------------------------- */
.cx-case { display: flex; flex-direction: column; padding: 28px 26px; }
.cx-case-tag { font-size: 12px; color: var(--cx-blue); font-weight: 600; letter-spacing: 0.06em; margin-bottom: 10px; }
.cx-case h3 { font-size: 1.1rem; margin-bottom: 10px; }
.cx-case p { font-size: 0.92rem; color: var(--cx-slate); flex: 1; }
.cx-case-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--cx-line); }
.cx-case-kpis b {
  display: block; font-size: 1.12rem; font-weight: 800;
  background: var(--cx-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-case-kpis span { font-size: 0.74rem; color: var(--cx-muted); }

/* --------------------------------------------------
   11. 晨曦观察(新闻卡)
-------------------------------------------------- */
.cx-post-card { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cx-post-card:hover { transform: translateY(-4px); box-shadow: var(--cx-shadow-lift); }
.cx-post-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cx-grad-soft); position: relative; }
.cx-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-post-thumb-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cx-post-thumb-ph svg { width: 52px; height: 52px; }
.cx-post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cx-post-meta { font-size: 0.78rem; color: var(--cx-muted); margin-bottom: 8px; letter-spacing: 0.04em; }
.cx-post-body h3 { font-size: 1.06rem; margin-bottom: 8px; }
.cx-post-body h3 a { color: var(--cx-ink); }
.cx-post-body h3 a:hover { color: var(--cx-blue); }
.cx-post-body p { font-size: 0.9rem; color: var(--cx-muted); flex: 1; margin-bottom: 12px; }
.cx-more-link { font-size: 0.88rem; font-weight: 600; color: var(--cx-blue); }
.cx-more-link:hover { color: var(--cx-violet); }

/* --------------------------------------------------
   12. 关于 / 联系 CTA
-------------------------------------------------- */
.cx-about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; }
.cx-about-figure { padding: 34px; text-align: center; }
.cx-about-figure .num {
  font-size: 2.6rem; font-weight: 800; line-height: 1.1;
  background: var(--cx-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-about-figure .cap { font-size: 0.85rem; color: var(--cx-muted); }
.cx-about-cells { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cx-about-cells > div { padding: 20px; }

.cx-contact-card { padding: 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.cx-contact-list { list-style: none; margin: 0; padding: 0; }
.cx-contact-list li { display: flex; gap: 12px; padding: 9px 0; align-items: baseline; }
.cx-contact-list .k { flex-shrink: 0; font-size: 0.82rem; color: var(--cx-muted); width: 64px; }
.cx-contact-list .v { color: var(--cx-ink); font-weight: 600; }
.cx-contact-side { text-align: center; padding: 30px 24px; }

/* --------------------------------------------------
   13. 页脚前渐变大 CTA 横条 + 页脚
-------------------------------------------------- */
.cx-mega-cta { padding: 0 24px; margin: 40px 0 0; }
.cx-mega-cta-inner {
  max-width: 1180px; margin: 0 auto; padding: 60px 48px;
  border-radius: var(--cx-radius-lg); text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(115deg, #7c3aed 0%, #3b82f6 55%, #06b6d4 100%);
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.35);
}
.cx-mega-cta-inner::before {
  content: ""; position: absolute; top: -60%; left: 10%;
  width: 60%; height: 160%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), transparent 70%);
  filter: blur(30px);
}
.cx-mega-cta-inner::after {
  content: ""; position: absolute; bottom: -70%; right: 4%;
  width: 50%; height: 170%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.35), transparent 72%);
  filter: blur(36px);
}
.cx-mega-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; position: relative; z-index: 1; }
.cx-mega-cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; position: relative; z-index: 1; }
.cx-mega-cta .btn { position: relative; z-index: 1; }

.cx-footer { margin-top: -60px; padding: 140px 0 36px; position: relative; }
.cx-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(241, 245, 249, 0.9) 30%, #eef2ff 100%);
}
.cx-footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr; gap: 36px; margin-bottom: 40px; }
.cx-footer h3 { font-size: 0.95rem; margin-bottom: 14px; color: var(--cx-ink); }
.cx-footer p { font-size: 0.88rem; color: var(--cx-muted); }
.cx-footer-menu, .cx-footer ul { list-style: none; margin: 0; padding: 0; }
.cx-footer-menu li { padding: 4px 0; }
.cx-footer-menu a { color: var(--cx-slate); font-size: 0.9rem; }
.cx-footer-menu a:hover { color: var(--cx-blue); }
.cx-footer-contact li { padding: 4px 0; font-size: 0.88rem; color: var(--cx-slate); }
.cx-footer-supplier { padding: 20px; font-size: 0.85rem; }
.cx-footer-supplier b { color: var(--cx-ink); }
.cx-footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.9); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 0.8rem; color: var(--cx-muted);
}

/* --------------------------------------------------
   14. 内页通用(archive / single / page / search / 404)
-------------------------------------------------- */
.cx-page-hero { position: relative; padding: 160px 0 56px; text-align: center; overflow: hidden; }
.cx-page-hero::before {
  content: ""; position: absolute; z-index: -1; left: 20%; right: 20%; top: -40%; height: 130%;
  background:
    radial-gradient(closest-side at 40% 40%, rgba(196, 181, 253, 0.4), transparent 70%),
    radial-gradient(closest-side at 65% 60%, rgba(165, 243, 252, 0.36), transparent 70%);
  filter: blur(54px);
}
.cx-page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cx-page-hero .desc { color: var(--cx-muted); max-width: 560px; margin: 0 auto; }

.cx-main { padding: 24px 0 90px; }
.cx-loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cx-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.cx-with-sidebar .cx-loop-grid { grid-template-columns: repeat(2, 1fr); }

.widget { padding: 24px; margin-bottom: 20px; }
.widget-title { font-size: 1rem; margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 5px 0; font-size: 0.9rem; }

.cx-article { max-width: 780px; margin: 0 auto; }
.cx-article-card { padding: 40px 44px; }
.cx-article .entry-thumb { border-radius: var(--cx-radius); overflow: hidden; margin-bottom: 28px; }
.entry-content { font-size: 1.02rem; }
.entry-content h2 { font-size: 1.4rem; margin-top: 1.8em; }
.entry-content h2::before { content: "# "; background: var(--cx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.entry-content h3 { font-size: 1.18rem; margin-top: 1.5em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote {
  margin: 1.5em 0; padding: 16px 22px; border-left: 3px solid transparent;
  border-image: var(--cx-grad) 1; background: var(--cx-soft); border-radius: 0 12px 12px 0;
  color: var(--cx-slate);
}
.entry-content code { background: var(--cx-soft); border: 1px solid var(--cx-line); border-radius: 6px; padding: 1px 7px; font-size: 0.9em; }
.entry-content pre { background: #0f172a; color: #e2e8f0; padding: 20px; border-radius: 12px; overflow-x: auto; }
.entry-content pre code { background: none; border: 0; color: inherit; }
.entry-content table td, .entry-content table th { border: 1px solid var(--cx-line); padding: 10px 14px; }
.entry-meta { font-size: 0.85rem; color: var(--cx-muted); margin-bottom: 24px; }
.entry-meta a { color: var(--cx-blue); }
.entry-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a {
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
  background: var(--cx-grad-soft); border: 1px solid rgba(59, 130, 246, 0.18); color: var(--cx-blue);
}

/* 分页 */
.cx-pagination { margin-top: 44px; text-align: center; }
.cx-pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cx-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--cx-line);
  color: var(--cx-ink); font-size: 0.9rem;
}
.cx-pagination .page-numbers.current { background: var(--cx-grad); color: #fff; border-color: transparent; }
.cx-pagination .page-numbers:hover { border-color: rgba(59, 130, 246, 0.5); color: var(--cx-blue); }
.cx-pagination .page-numbers.current:hover { color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; }
.post-nav a { flex: 1; padding: 16px 20px; font-size: 0.9rem; }
.post-nav .lab { display: block; font-size: 0.75rem; color: var(--cx-muted); margin-bottom: 4px; }

/* 搜索表单 */
.cx-search { display: flex; gap: 10px; max-width: 460px; }
.cx-search input[type="search"] {
  flex: 1; padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--cx-line); background: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem; color: var(--cx-ink); min-width: 0;
}
.cx-search input[type="search"]:focus { outline: none; border-color: var(--cx-blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }

/* 评论区 */
.comments-area { max-width: 780px; margin: 30px auto 0; padding: 34px 38px; }
.comments-title, .comment-reply-title { font-size: 1.2rem; margin-bottom: 18px; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-list .comment-body {
  padding: 16px 0; border-bottom: 1px dashed var(--cx-line);
  font-size: 0.95rem;
}
.comment-list .comment-meta { font-size: 0.8rem; color: var(--cx-muted); margin-bottom: 6px; }
.comment-list .comment-author .fn { font-style: normal; font-weight: 700; color: var(--cx-ink); }
.comment-list .reply a { font-size: 0.82rem; font-weight: 600; color: var(--cx-blue); }
.comment-notes { font-size: 0.85rem; color: var(--cx-muted); }
.comment-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--cx-ink); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 11px 16px; margin-bottom: 14px;
  border: 1px solid var(--cx-line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.85); font-size: 0.95rem; color: var(--cx-ink);
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--cx-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.no-comments { font-size: 0.9rem; color: var(--cx-muted); }

/* 空状态演示卡 */
.cx-empty { text-align: center; padding: 60px 30px; }
.cx-empty h2 { font-size: 1.3rem; }
.cx-empty p { color: var(--cx-muted); }

/* 404 */
.cx-404 { text-align: center; padding: 190px 24px 110px; }
.cx-404 .code {
  font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1;
  background: var(--cx-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-404 h1 { font-size: 1.5rem; }
.cx-404 .cx-search { margin: 26px auto; }
.cx-404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------
   15. 产品(archive-product / single-product)
-------------------------------------------------- */
.cx-product-card { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cx-product-card:hover { transform: translateY(-5px); box-shadow: var(--cx-shadow-lift); }
.cx-product-thumb { aspect-ratio: 4 / 3; background: var(--cx-grad-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cx-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cx-product-thumb svg { width: 46%; height: auto; }
.cx-product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cx-product-body h3, .cx-product-body h2 { font-size: 1.08rem; margin-bottom: 6px; }
.cx-product-body h3 a, .cx-product-body h2 a { color: var(--cx-ink); }
.cx-product-body h3 a:hover, .cx-product-body h2 a:hover { color: var(--cx-blue); }
.cx-product-flow { font-size: 0.78rem; color: var(--cx-blue); font-weight: 600; margin-bottom: 8px; letter-spacing: 0.04em; }
.cx-product-body p { font-size: 0.9rem; color: var(--cx-muted); flex: 1; margin-bottom: 14px; }

.cx-product-single { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: start; }
.cx-product-media { padding: 30px; position: sticky; top: 100px; }
.cx-product-media img { border-radius: 12px; display: block; }
.cx-spec-table { width: 100%; margin: 18px 0 6px; }
.cx-spec-table th, .cx-spec-table td { padding: 12px 16px; font-size: 0.92rem; text-align: left; border-bottom: 1px solid rgba(226, 232, 240, 0.85); }
.cx-spec-table th { width: 34%; color: var(--cx-muted); font-weight: 500; }
.cx-spec-table td { color: var(--cx-ink); font-weight: 600; }
.cx-spec-note { font-size: 0.8rem; color: var(--cx-muted); }
.cx-inquiry {
  margin-top: 34px; padding: 30px; display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.cx-inquiry-info b { display: block; color: var(--cx-ink); font-size: 1.05rem; }
.cx-inquiry-info span { font-size: 0.88rem; color: var(--cx-muted); }
.cx-related { margin-top: 70px; }
.cx-related > h2 { font-size: 1.4rem; margin-bottom: 24px; }

/* --------------------------------------------------
   16. 响应式
-------------------------------------------------- */
@media (max-width: 1024px) {
  .cx-hero-grid { grid-template-columns: 1fr; }
  .cx-hero-figure { order: -1; }
  .cx-hero-figure .cx-tower-wrap { width: min(80%, 340px); }
  .cx-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-flow-card::after { display: none; }
  .cx-addon-grid { grid-template-columns: repeat(3, 1fr); }
  .cx-material-grid, .cx-about-grid { grid-template-columns: 1fr; }
  .cx-industry-grid, .cx-loop-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cx-with-sidebar { grid-template-columns: 1fr; }
  .cx-with-sidebar .cx-loop-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-product-single { grid-template-columns: 1fr; }
  .cx-product-media { position: static; }
  .cx-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cx-section { padding: 64px 0; }
  .cx-hero { padding: 130px 0 56px; }

  /* 汉堡导航 */
  .cx-burger { display: flex; }
  .cx-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 94;
    width: min(78vw, 320px); margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 10px; padding: 96px 28px 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--cx-line);
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.12);
    transform: translateX(105%); transition: transform 0.35s ease;
  }
  body.nav-open .cx-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .cx-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .cx-menu a { padding: 12px 16px; border-radius: 12px; font-size: 1.02rem; }
  .cx-nav-cta { margin-top: 12px; }

  .cx-statbar, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cx-statbar { grid-template-columns: repeat(2, 1fr); }
  .cx-flow-grid, .cx-industry-grid, .cx-loop-grid,
  .cx-with-sidebar .cx-loop-grid, .cx-about-cells, .cx-addon-grid { grid-template-columns: 1fr; }
  .cx-contact-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .cx-mega-cta-inner { padding: 44px 26px; }
  .cx-footer-grid { grid-template-columns: 1fr; }
  .cx-article-card { padding: 28px 22px; }
  .cx-case-kpis { grid-template-columns: repeat(3, 1fr); }
  .cx-hero-actions .btn { width: 100%; }
  .post-nav { flex-direction: column; }
}

/* --------------------------------------------------
   17. 动效降级(prefers-reduced-motion)
-------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .cx-aurora i, .cx-hero::before, .cx-tower-svg .ping { animation: none !important; }
  .cx-tower-svg .ping { opacity: 0; }
}
