/* ===================================
    CSS Variables - 品牌令牌 + 语义令牌
   =================================== */
:root {
  /* --------------------------------------------------------
     品牌令牌 —— 全站单一来源（原首页 page-home.php 的设计令牌）
     语义令牌（--color-*）一律指向这里，不再各自写死色值。
     -------------------------------------------------------- */

  /* 品牌色 */
  --jl-blue: #007BFA;
  --jl-dark: #1A1A1A;
  --jl-light-blue: #66B0FF;
  --jl-text: #7A7A7A;
  --jl-secondary: #54595F;
  --jl-bg-light: #E8F3FF;
  --jl-white: #FFFFFF;

  /* 中性色（Tailwind gray 色阶） */
  --jl-gray-50: #f9fafb;
  --jl-gray-100: #f3f4f6;
  --jl-gray-200: #e5e7eb;
  --jl-gray-300: #d1d5db;
  --jl-gray-400: #9ca3af;
  --jl-gray-500: #6b7280;
  --jl-gray-600: #4b5563;
  --jl-gray-700: #374151;
  --jl-gray-900: #111827;

  /* 布局 */
  --jl-container: 1280px;
  --jl-gutter: 1.5rem;
  --jl-section-y: 6rem;
  --jl-header-h: 5rem;

  /* 字体 */
  --jl-font-heading: 'Oswald', sans-serif;
  --jl-font-body: 'Inter', sans-serif;

  /* --------------------------------------------------------
     语义令牌
     -------------------------------------------------------- */

  /* 主色调 */
  --color-primary: var(--jl-blue);
  --color-primary-hover: var(--jl-dark);
  --color-primary-light: var(--jl-bg-light);
  --color-secondary: var(--jl-secondary);
  --color-secondary-hover: var(--jl-dark);

  /* 文字颜色 */
  --color-text-heading: var(--jl-dark);
  --color-text-body: var(--jl-dark);
  --color-text-secondary: var(--jl-text);
  --color-text-muted: var(--jl-gray-400);

  /* 边框与分割 */
  --color-border: var(--jl-gray-200);
  --color-border-light: var(--jl-gray-100);

  /* 背景色 */
  --color-bg-primary: var(--jl-white);
  --color-bg-secondary: var(--jl-gray-50);
  --color-bg-tertiary: var(--jl-gray-100);
  --color-bg-card: var(--jl-white);

  /* 链接与交互 */
  --color-link: var(--jl-blue);
  --color-link-hover: var(--jl-dark);

  /* 覆盖层 */
  --color-overlay-dark: rgba(17, 24, 39, 0.75);

  /* 标签/徽章背景 */
  --color-tag-bg: var(--jl-gray-100);
  --color-tag-bg-hover: var(--jl-gray-200);

  /* 社交媒体颜色（平台官方品牌色，非项目主色，按需替换） */
  --color-social-facebook: #1877F2;
  --color-social-twitter: #1DA1F2;
  --color-social-linkedin: #0A66C2;
  --color-social-whatsapp: #25D366;
  --color-social-pinterest: #BD081C;
  --color-social-email: #4b5563;

  /* 通用白（彩色背景上的对比文字） */
  --color-white: #ffffff;

  /* 浅遮罩（Mobile 导航，区别于 Modal 的深遮罩） */
  --color-overlay-light: rgba(0, 0, 0, 0.4);

  /* 阴影色 */
  --color-shadow-sm: rgba(0, 0, 0, 0.05);
  --color-shadow-md: rgba(0, 0, 0, 0.1);
  --color-modal-shadow: rgba(17, 24, 39, 0.5);

  /* Modal 专属 */
  --color-modal-close-bg: rgba(255, 255, 255, 0.85);
  --color-modal-panel-from: #111827;
  --color-modal-panel-to: #1f2937;
  --color-modal-text-muted: rgba(255, 255, 255, 0.82);
  --color-modal-text-soft: rgba(255, 255, 255, 0.92);
  --color-modal-accent: #fbbf24;
}

/* ------------------------------------------------------------
   0.1 Base / Reset — 首页作用域版
   原为 Tailwind Preflight 的替身，写在 page-home.php 内联样式里。
   搬进 main.css 后必须限定在 body.jl-page，否则会波及博客/产品等模板
   （尤其 h1-h6 的 uppercase / font-size:inherit 和 ul 的 list-style:none）。

   位置：刻意放在 :root 之后、.btn-primary/.btn-outline 之前。
   原文件里 reset 在最前、按钮规则在后，reset 的
   "button,[type=submit]{background:transparent}" 特异性为 (0,1,0)，
   与 .btn-primary 同级，靠顺序决定胜负；若把 reset 放到文件末尾，
   会把按钮背景压成透明，提交按钮的蓝底会消失。

   作用域前缀一律用 :where() 包裹：:where() 不贡献优先级，
   因此加前缀后每条规则的特异性与原来完全一致，
   不会出现 "body.jl-page h1" (0,1,2) 反过来压过 ".jl-hero__title" (0,1,0) 这类问题。
   ------------------------------------------------------------ */
:where(body.jl-page),
:where(body.jl-page) *,
:where(body.jl-page) *::before,
:where(body.jl-page) *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--jl-gray-200);
}

:where(body.jl-page) {
  margin: 0;
  font-family: var(--jl-font-body);
  line-height: 1.5;
  color: var(--jl-text);
  background-color: var(--jl-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}

:where(body.jl-page) h1,
:where(body.jl-page) h2,
:where(body.jl-page) h3,
:where(body.jl-page) h4,
:where(body.jl-page) h5,
:where(body.jl-page) h6 {
  margin: 0;
  font-family: var(--jl-font-heading);
  font-size: inherit;
  font-weight: inherit;
  text-transform: uppercase;
}

:where(body.jl-page) p,
:where(body.jl-page) figure,
:where(body.jl-page) blockquote,
:where(body.jl-page) dl,
:where(body.jl-page) dd,
:where(body.jl-page) pre {
  margin: 0;
}

:where(body.jl-page) ol,
:where(body.jl-page) ul,
:where(body.jl-page) menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(body.jl-page) a {
  color: inherit;
  text-decoration: inherit;
}

:where(body.jl-page) b,
:where(body.jl-page) strong {
  font-weight: bolder;
}

:where(body.jl-page) small {
  font-size: 80%;
}

:where(body.jl-page) button,
:where(body.jl-page) input,
:where(body.jl-page) optgroup,
:where(body.jl-page) select,
:where(body.jl-page) textarea {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

:where(body.jl-page) button,
:where(body.jl-page) select {
  text-transform: none;
}

:where(body.jl-page) button,
:where(body.jl-page) [type='button'],
:where(body.jl-page) [type='reset'],
:where(body.jl-page) [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

:where(body.jl-page) input::placeholder,
:where(body.jl-page) textarea::placeholder {
  opacity: 1;
  color: var(--jl-gray-400);
}

:where(body.jl-page) textarea {
  resize: vertical;
}

:where(body.jl-page) summary {
  display: list-item;
}

:where(body.jl-page) img,
:where(body.jl-page) svg,
:where(body.jl-page) video,
:where(body.jl-page) canvas,
:where(body.jl-page) audio,
:where(body.jl-page) iframe,
:where(body.jl-page) embed,
:where(body.jl-page) object {
  display: block;
  vertical-align: middle;
}

:where(body.jl-page) img,
:where(body.jl-page) video {
  max-width: 100%;
  height: auto;
}

:where(body.jl-page) table {
  border-collapse: collapse;
  border-color: inherit;
  text-indent: 0;
}

/* ===================================
    Utilities - 通用工具类
   =================================== */
.hidden {
  display: none;
}

.font-heading {
  font-family: var(--jl-font-heading);
  text-transform: uppercase;
}

/* ===================================
    Layout - 布局样式（通用）
   =================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section - 通用区块容器
   页面由多个 section 垂直堆叠而成，统一控制上下间距。
   用法：<section class="section"><div class="container">...</div></section>
   变体：
   - .section--sm / .section--lg：紧凑 / 宽松间距
   - .section--gray / .section--dark：浅灰 / 深色背景，用于交替分块
   - .section--center：内容水平居中（标题组常用）
*/
.section {
  padding: 4rem 0;
}
.section--sm { padding: 2.5rem 0; }
.section--lg { padding: 6rem 0; }

.section--gray { background: var(--color-bg-secondary); }
.section--dark { background: var(--color-text-heading); color: var(--color-white); }

.section--center .container {
  text-align: center;
}

/* 响应式：移动端收紧间距 */
@media (max-width: 768px) {
  .section { padding: 2.5rem 0; }
  .section--sm { padding: 1.5rem 0; }
  .section--lg { padding: 4rem 0; }
}

/* ===================================
    Animations - 滚动显示动画（通用）
   =================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.6s ease forwards;
}

.animate-right {
  opacity: 0;
  transform: translateX(20px);
  animation: fade-left 0.6s ease forwards;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.95);
  animation: scale-in 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-left {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  to { opacity: 1; transform: scale(1); }
}

/* ===================================
    Buttons - 按钮样式（通用）
   =================================== */
.btn-primary {
  background: var(--jl-blue);
  color: var(--color-white);
  padding: 1.25rem 2.5rem;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--jl-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--jl-dark);
  border: 2px solid var(--jl-dark);
  padding: 1.25rem 2.5rem;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--jl-dark);
  border-color: var(--jl-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ===================================
    Card - 卡片样式（通用）
   =================================== */
.card {
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px var(--color-shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

a:hover .card {
  transform: translateY(-5px);
  border-color: var(--color-border);
  box-shadow: 0 10px 15px -3px var(--color-shadow-md);
}

/* ===================================
    Breadcrumb Styles 面包屑组件（通用）
   =================================== */
.wxkn-breadcrumb-wrapper {
  padding: 0.75rem 0;
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border);
}

.wxkn-breadcrumb-wrapper--has-container {
  padding: 0.75rem 0;
}

.wxkn-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-left: 1rem;
}

.wxkn-breadcrumb-wrapper--has-container .wxkn-breadcrumb {
  margin-left: 0;
}

.wxkn-breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.wxkn-breadcrumb a:hover {
  color: var(--color-primary, #4b5563);
}

.wxkn-breadcrumb a:focus-visible {
  outline: 2px solid var(--color-primary, #4b5563);
  outline-offset: 2px;
}

.wxkn-breadcrumb-separator {
  color: var(--color-text-muted);
  margin: 0 0.75rem;
  user-select: none;
}

.wxkn-breadcrumb-current {
  color: var(--color-text-heading);
  font-weight: 600;
}

.wxkn-breadcrumb--light .wxkn-breadcrumb a {
  color: var(--color-text-secondary);
}

.wxkn-breadcrumb--light .wxkn-breadcrumb a:hover {
  color: var(--color-primary, #4b5563);
}

.wxkn-breadcrumb--light .wxkn-breadcrumb-separator {
  color: var(--color-text-muted);
}

.wxkn-breadcrumb--light .wxkn-breadcrumb-current {
  color: var(--color-text-heading);
}

.wxkn-breadcrumb--compact {
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
  border-bottom: none;
}

.wxkn-breadcrumb--compact .wxkn-breadcrumb {
  font-size: 13px;
}

.wxkn-breadcrumb--compact .wxkn-breadcrumb-separator {
  margin: 0 0.5rem;
}

.wxkn-breadcrumb--float {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0;
  background: none;
  border: none;
}

.wxkn-breadcrumb--float .wxkn-breadcrumb {
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-left: 0;
}

.wxkn-breadcrumb--float .wxkn-breadcrumb a {
  color: var(--color-text-secondary);
}

.wxkn-breadcrumb--float .wxkn-breadcrumb a:hover {
  color: var(--color-primary, #4b5563);
}

.wxkn-breadcrumb--float .wxkn-breadcrumb-separator {
  color: var(--color-text-muted);
  margin: 0 8px;
}

.wxkn-breadcrumb--float .wxkn-breadcrumb-current {
  color: var(--color-text-heading);
}

@media (max-width: 767px) {
  .wxkn-breadcrumb-wrapper {
    padding: 0.5rem 0;
  }

  .wxkn-breadcrumb {
    font-size: 13px;
    margin-left: 0;
  }

  .wxkn-breadcrumb-separator {
    margin: 0 0.5rem;
  }

  .wxkn-breadcrumb--float {
    bottom: 12px;
  }

  .wxkn-breadcrumb--float .wxkn-breadcrumb {
    font-size: 13px;
  }

  .wxkn-breadcrumb--float .wxkn-breadcrumb-separator {
    margin: 0 6px;
  }
}

/* ===================================
    Prose - 内容排版样式（通用）
   =================================== */
.prose {
  color: var(--color-text-body);
  line-height: 1.8;
}

.prose h2, .prose h3, .prose h4 {
  color: var(--color-text-heading);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose blockquote {
  border-left: 4px solid var(--color-secondary);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--color-text-heading);
  margin: 2rem 0;
}

.prose img {
  margin: 2.5rem 0;
}

.prose a {
  color: var(--color-link, #4b5563);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: var(--color-link-hover, #374151);
}

/* ===================================
    Single Product Page - 产品详情页
   =================================== */
.single-product-page {

}

.single-product-page .text-body p {
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
}

.single-product-page .text-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-product-page .text-body h2,
.single-product-page .text-body h3,
.single-product-page .text-body h4 {
  color: var(--color-text-heading);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.single-product-page .text-body h2 { font-size: 1.75rem; }
.single-product-page .text-body h3 { font-size: 1.5rem; }
.single-product-page .text-body h4 { font-size: 1.25rem; }

.single-product-page .text-body ul,
.single-product-page .text-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--color-text-secondary);
}

.single-product-page .text-body ul { list-style-type: disc; }
.single-product-page .text-body ol { list-style-type: decimal; }
.single-product-page .text-body li { margin-bottom: 0.5rem; }

.single-product-page .product-card-bento {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.single-product-page .product-card-title {
  color: var(--color-text-heading);
  transition: color 0.3s ease;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}

.single-product-page .card-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.single-product-page .product-card-bento:hover .card-overlay {
  opacity: 1;
}

.single-product-page .card-overlay-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transform: translate(0, 12px);
  opacity: 0;
  transition: all 0.35s ease;
}

.single-product-page .product-card-bento:hover .card-overlay-arrow {
  transform: translate(0, 0);
  opacity: 1;
}

.single-product-page .form-card-hover {
  position: relative;
  overflow: hidden;
}

.single-product-page .form-card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--color-secondary);
  transition: width 0.5s ease;
}

.single-product-page .form-card-hover:hover::before {
  width: 100%;
}

.single-product-page .section-product-matrix {
  background: transparent;
}

/* ===================================
    Single Post Page - 博客详情页
   =================================== */
.single-post-page {

}

.single-post-page .single-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .single-post-page .single-post-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.single-post-page .single-post-main {
  padding-top: 100px;
  background-color: var(--color-bg-secondary);
}

.single-post-page .single-post-section {
  padding-top: 2rem;
}

.single-post-page .post-content .post-featured-image {
  margin-bottom: 2rem;
}

.single-post-page .post-content .post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-post-page .post-content .post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.single-post-page .post-content .post-cat-label {
  color: var(--color-primary, #4b5563);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-post-page .post-content .post-date-label {
  color: var(--color-text-muted);
  font-size: 13px;
}

.single-post-page .post-content .post-title {
  color: var(--color-text-heading);
  margin-bottom: 2rem;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
}

.single-post-page .post-content .post-body {
  color: var(--color-text-body);
  line-height: 1.8;
  font-size: 16px;
}

/* 正文基础排版（the_content 输出裸标签，需主题提供样式）*/
.single-post-page .post-content .post-body p {
  margin: 0 0 1.5rem;
}

.single-post-page .post-content .post-body h2,
.single-post-page .post-content .post-body h3,
.single-post-page .post-content .post-body h4 {
  color: var(--color-text-heading);
  margin: 2.75rem 0 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.single-post-page .post-content .post-body h2 { font-size: 1.75rem; }
.single-post-page .post-content .post-body h3 { font-size: 1.375rem; }
.single-post-page .post-content .post-body h4 { font-size: 1.125rem; }

.single-post-page .post-content .post-body ul,
.single-post-page .post-content .post-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.single-post-page .post-content .post-body ul { list-style-type: disc; }
.single-post-page .post-content .post-body ol { list-style-type: decimal; }
.single-post-page .post-content .post-body li { margin-bottom: 0.5rem; }

.single-post-page .post-content .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 0 1.5rem;
}

.single-post-page .post-content .post-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.single-post-page .post-content .post-body a:hover {
  color: var(--color-text-heading);
}

.single-post-page .post-content .post-body blockquote {
  margin: 0 0 1.5rem;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-tertiary);
  border-radius: 0 8px 8px 0;
  color: var(--color-text-secondary);
  font-style: italic;
}

.single-post-page .post-content .post-body blockquote p:last-child {
  margin-bottom: 0;
}

.single-post-page .post-content .post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.single-post-page .post-content .post-tags .tags-label {
  color: var(--color-text-heading);
  font-size: 14px;
  font-weight: 600;
  margin-right: 0.5rem;
}

.single-post-page .post-content .post-tags a {
  color: var(--color-primary, #4b5563);
  background: var(--color-tag-bg);
  font-size: 13px;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.single-post-page .post-content .post-tags a:hover {
  background: var(--color-tag-bg-hover);
}

.single-post-page .post-content .post-share {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
  border-top: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.single-post-page .post-content .post-share .share-label {
  color: var(--color-text-heading);
  font-size: 14px;
  font-weight: 600;
}

.single-post-page .post-content .post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.single-post-page .post-content .post-share a:hover {
  transform: translateY(-2px);
}

.single-post-page .post-content .post-share a svg {
  width: 18px;
  height: 18px;
}

.single-post-page .post-content .post-share a.share-facebook:hover {
  background-color: var(--color-social-facebook);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-twitter:hover {
  background-color: var(--color-social-twitter);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-linkedin:hover {
  background-color: var(--color-social-linkedin);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-whatsapp:hover {
  background-color: var(--color-social-whatsapp);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-pinterest:hover {
  background-color: var(--color-social-pinterest);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-email:hover {
  background-color: var(--color-social-email);
  color: var(--color-white);
}

.single-post-page .post-content .post-share a.share-copy:hover {
  background-color: var(--color-text-heading);
  color: var(--color-white);
}

/* Meta: author link next to date */
.single-post-page .post-content .post-meta-separator {
  color: var(--color-text-muted);
  font-size: 13px;
}

.single-post-page .post-content .post-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-heading);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-post-page .post-content .post-author-link:hover {
  color: var(--color-primary);
}

.single-post-page .post-content .post-author-link .post-author-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

/* Author Card (end of article) */
.single-post-page .post-content .post-author-card {
  margin-top: 2rem;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

@media (min-width: 600px) {
  .single-post-page .post-content .post-author-card {
    gap: 1.75rem;
    padding: 2.25rem;
  }
}

.single-post-page .post-content .post-author-card-avatar {
  flex-shrink: 0;
  display: block;
}

.single-post-page .post-content .post-author-card-avatar .author-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-bg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 600px) {
  .single-post-page .post-content .post-author-card-avatar .author-avatar-img {
    width: 88px;
    height: 88px;
  }
}

.single-post-page .post-content .post-author-card-body {
  display: flex;
  flex-direction: column;
}

.single-post-page .post-content .post-author-card-label {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.single-post-page .post-content .post-author-card-name {
  color: var(--color-text-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-post-page .post-content .post-author-card-name:hover {
  color: var(--color-primary);
}

.single-post-page .post-content .post-author-card-role {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  margin-top: 0.25rem;
}

.single-post-page .post-content .post-author-card-bio {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.single-post-page .post-content .post-author-card-viewall {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.single-post-page .post-content .post-author-card-viewall svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.single-post-page .post-content .post-author-card-viewall:hover svg {
  transform: translateX(3px);
}

/* Table of Contents (auto H2 outline) */
.single-post-page .post-content .post-toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.single-post-page .post-content .post-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.single-post-page .post-content .post-toc-title {
  color: var(--color-text-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-post-page .post-content .post-toc-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}

.single-post-page .post-content .post-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
  counter-reset: toc;
}

.single-post-page .post-content .post-toc[aria-expanded="false"] .post-toc-list {
  display: none;
}

.single-post-page .post-content .post-toc-list li {
  counter-increment: toc;
}

.single-post-page .post-content .post-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.single-post-page .post-content .post-toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}

.single-post-page .post-content .post-toc-list a:hover,
.single-post-page .post-content .post-toc-list a.is-active {
  color: var(--color-primary);
  background: var(--color-bg-card);
  border-left-color: var(--color-primary);
}

.single-post-page .post-content .post-toc-list a:hover::before,
.single-post-page .post-content .post-toc-list a.is-active::before {
  color: var(--color-primary);
}

/* 锚点偏移：固定页头不遮挡滚到的标题 */
.single-post-page .post-content .post-body h2 {
  scroll-margin-top: calc(var(--header-height, 90px) + 30px);
}

/* Sidebar */
.single-post-page .post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.single-post-page .post-sidebar .sidebar-widget {
  padding: 1.5rem;
}

.single-post-page .post-sidebar .sidebar-widget h4 {
  color: var(--color-text-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

.single-post-page .related-posts-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.single-post-page .related-posts-sidebar .related-item {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 0.2s;
}

.single-post-page .related-posts-sidebar .related-item:last-child {
  border-bottom: none;
}

.single-post-page .related-posts-sidebar .related-item:hover {
  background: var(--color-border-light);
}

.single-post-page .related-posts-sidebar .related-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.single-post-page .related-posts-sidebar .related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-page .related-posts-sidebar .related-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.single-post-page .related-posts-sidebar .related-title {
  color: var(--color-text-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.single-post-page .related-posts-sidebar .related-date {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ===== Exit-Intent Modal ===== */
.wxkn-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.wxkn-modal.is-open { opacity: 1; visibility: visible; }

.wxkn-modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
  backdrop-filter: blur(4px);
}

.wxkn-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 6fr;
  width: min(960px, 94vw);
  max-height: 88vh;
  background: var(--color-bg-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px var(--color-modal-shadow);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.wxkn-modal.is-open .wxkn-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.wxkn-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--color-modal-close-bg);
  color: var(--color-text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.wxkn-modal__close:hover { background: var(--color-white); transform: rotate(90deg); }

.wxkn-modal__left {
  background: linear-gradient(135deg, var(--color-modal-panel-from) 0%, var(--color-modal-panel-to) 100%);
  color: var(--color-white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.wxkn-modal__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-modal-accent);
  margin-bottom: 16px;
}
.wxkn-modal__title {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
}
.wxkn-modal__title em {
  color: var(--color-modal-accent);
  font-style: normal;
}
.wxkn-modal__lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-modal-text-muted);
  margin: 0 0 24px;
}
.wxkn-modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wxkn-modal__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--color-modal-text-soft);
}
.wxkn-modal__list li::before {
  content: "✓";
  color: var(--color-modal-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.wxkn-modal__right {
  padding: 48px 44px;
  overflow-y: auto;
  background: var(--color-bg-card);
}
.wxkn-modal__form-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-text-heading);
}
.wxkn-modal__form-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 24px;
}

/* Lead form inside the modal */
.wxkn-form { display: flex; flex-direction: column; gap: 14px; }
.wxkn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wxkn-form__field { display: flex; flex-direction: column; gap: 6px; }
.wxkn-form__field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.wxkn-form__field input,
.wxkn-form__field textarea,
.wxkn-form__field select {
  width: 100%;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-heading);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}
.wxkn-form__field input:focus,
.wxkn-form__field textarea:focus,
.wxkn-form__field select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-bg-primary);
  box-shadow: 0 0 0 3px var(--color-shadow-md);
}
.wxkn-form__field textarea { min-height: 90px; resize: vertical; }
.wxkn-form__submit {
  margin-top: 8px;
  padding: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.wxkn-form__submit:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--color-shadow-md);
}
.wxkn-form__note {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 10px 0 0;
}

@media (max-width: 768px) {
  .wxkn-modal__dialog {
    grid-template-columns: 1fr;
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  .wxkn-modal__left { display: none; }
  .wxkn-modal__right { padding: 60px 22px 32px; }
  .wxkn-form__row { grid-template-columns: 1fr; }
}


.border-fine-b { border-bottom: 1px solid var(--color-border); }

/* Mobile Navigation */
.wxkn-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--color-overlay-light);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wxkn-mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.wxkn-mobile-nav-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: var(--color-bg-primary);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wxkn-mobile-nav.active .wxkn-mobile-nav-inner {
    transform: translateX(0);
}

.wxkn-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 80px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.wxkn-mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 32px;
}

/* Mobile Nav Groups (accordion) */
.wxkn-mobile-nav-group {
    border-bottom: 1px solid var(--color-border-light);
}

.wxkn-mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-body);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.wxkn-mobile-nav-toggle i {
    transition: transform 0.3s ease;
}

.wxkn-mobile-nav-toggle.active {
    background-color: var(--color-primary, #4b5563);
    color: var(--color-white);
}

.wxkn-mobile-nav-toggle.active i {
    transform: rotate(180deg);
}

.wxkn-mobile-subnav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: var(--color-bg-tertiary);
}

.wxkn-mobile-subnav.active {
    max-height: 800px;
}

.wxkn-mobile-subnav-link {
    display: block;
    padding: 16px 24px 16px 36px;
    font-size: 15px;
    color: var(--color-text-body);
    font-weight: 700;
    text-decoration: none;
    border-top: 1px solid var(--color-border-light);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.wxkn-mobile-subnav-link:hover {
    color: var(--color-primary, #4b5563);
}

/* Mobile Nav Simple Links */
.wxkn-mobile-nav-link {
    display: block;
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-body);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border-light);
}

/* Mobile CTA */
.wxkn-mobile-cta {
    display: block;
    margin: 20px 24px;
    padding: 14px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    background: var(--color-secondary);
    text-decoration: none;
    transition: background 0.2s ease;
}

.wxkn-mobile-cta:hover {
    background: var(--color-secondary-hover);
}

/* ===================================
    Back to Top - 返回顶部浮动按钮
    风格对齐：cubic-bezier(0.4,0,0.2,1)、hover translateY(-2px)、
    focus 2px/2px、卡片级中性阴影、断点 767px；主色引用 --color-primary / --color-primary-hover。
   =================================== */
.gb-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-shadow: 0 4px 6px -1px var(--color-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gb-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gb-back-to-top:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px var(--color-shadow-md);
}

.gb-back-to-top:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gb-back-to-top svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 767px) {
    .gb-back-to-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }
    .gb-back-to-top svg {
        width: 22px;
        height: 22px;
    }
}


/* ===================================
    Home Page — page-home.php
    由 page-home.php 内联 <style> 迁入，仅首页使用。
    生效前提：页面加载 main.css，且 <body> 带 jl-page 类。
    注意：基础 reset 与通用件（.btn-dynamic / .hover-card / .faq-item /
    .cert-logo / .hero-swiper 等）都限定在 body.jl-page 内，
    避免影响博客、产品等其它模板；其中 reset 见上方 0.1。
   =================================== */
.jl-container {
  width: 100%;
  max-width: var(--jl-container);
  margin: 0 auto;
  padding: 0 var(--jl-gutter);
}

/* 居中标题组：标题 + 蓝色斜切短线（S02 / S04 / S07 共用） */
.jl-section-head {
  margin-bottom: 4rem;
  text-align: center;
}

.jl-section-head__title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--jl-dark);
}

.jl-section-head__bar {
  width: 5rem;
  height: 0.25rem;
  margin: 0 auto;
  background-color: var(--jl-blue);
  transform: skewX(-20deg);
}

@media (min-width: 768px) {
  .jl-section-head__title {
    font-size: 3rem;
    line-height: 1;
  }
}


/* ------------------------------------------------------------
 0.4 Components — 跨板块共用组件
 ------------------------------------------------------------ */
/* 抵消全局 .btn-primary / .btn-outline 带来的排版属性。
 本页原先不加载 main.css，按钮自身的字号/字重/大写都继承自父级；
 合并后全局按钮规则会追加 text-transform / font-size / font-weight / letter-spacing，
 这里按"以 page-home 为准"逐条还原，保证本页渲染与迁移前完全一致。
 若希望首页按钮改用 main.css 的按钮排版，删掉下面这条规则即可。 */
:where(body.jl-page) .btn-primary,
:where(body.jl-page) .btn-outline {
  text-transform: none;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
}

/* 按钮尺寸修饰符（配合既有 .btn-dynamic / .btn-primary / .btn-outline）
 数值与原 Tailwind padding 一一对应：
 --xs 原 px-5 py-2.5   --sm 原 px-5 py-3    --md 原 px-6 py-3
 --lg 原 px-6 py-3.5   --xl 原 px-8 py-4 / py-4            */
:where(body.jl-page) .btn-dynamic--xs { padding: 0.625rem 1.25rem; }
:where(body.jl-page) .btn-dynamic--sm { padding: 0.75rem 1.25rem; }
:where(body.jl-page) .btn-dynamic--md { padding: 0.75rem 1.5rem; }
:where(body.jl-page) .btn-dynamic--lg { padding: 0.875rem 1.5rem; }
:where(body.jl-page) .btn-dynamic--xl { padding: 1rem 2rem; }

:where(body.jl-page) .btn-dynamic--block { width: 100%; }
:where(body.jl-page) .btn-dynamic--nowrap { white-space: nowrap; }
:where(body.jl-page) .btn-dynamic--center { text-align: center; }

:where(body.jl-page) .btn-dynamic--text-sm { font-size: 0.875rem; line-height: 1.25rem; }
:where(body.jl-page) .btn-dynamic--text-lg { font-size: 1.125rem; line-height: 1.75rem; }

/* 左标题组 + 右 CTA 的区块头（S03 / S08 共用） */
.jl-section-bar {
  display: flex;
  flex-direction: column;
  /* 手机端按钮与标题左对齐（原先贴右边缘） */
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.jl-section-bar__text {
  max-width: 42rem;
}

.jl-section-bar__title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--jl-dark);
}

.jl-section-bar__desc {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--jl-text);
}

@media (min-width: 768px) {
  .jl-section-bar {
    flex-direction: row;
    /* 按钮顶边与标题顶边齐平（原为 flex-end，贴文本底部） */
    align-items: flex-start;
    justify-content: space-between;
  }

  .jl-section-bar__title {
    font-size: 3rem;
    line-height: 1;
  }
}

/* Dynamic Skew Elements */
:where(body.jl-page) .btn-dynamic {
  transform: skewX(-10deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
:where(body.jl-page) .btn-dynamic-inner {
  transform: skewX(10deg); /* Counter skew for text */
  font-weight: 700;
  letter-spacing: 0.05em;
}
:where(body.jl-page) #cooperation .btn-dynamic {
  transform: none;
}
:where(body.jl-page) #cooperation .btn-dynamic-inner {
  transform: none;
}
:where(body.jl-page) .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
}
:where(body.jl-page) .faq-item summary::-webkit-details-marker {
  display: none;
}
:where(body.jl-page) .faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: var(--jl-blue);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
:where(body.jl-page) .faq-item[open] summary::after {
  transform: rotate(45deg);
}
:where(body.jl-page) .faq-item[open] > p {
  animation: faqSlideDown 0.35s ease-out;
}
@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
:where(body.jl-page) .cert-logo {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
:where(body.jl-page) .cert-logo:hover {
  opacity: 1;
}
:where(body.jl-page) .hero-swiper .btn-outline {
  border-color: var(--jl-white);
  color: var(--jl-white);
}
:where(body.jl-page) .hero-swiper .btn-outline:hover {
  background-color: var(--jl-white);
  color: var(--jl-dark);
}

/* Swiper Customizations */
:where(body.jl-page) .hero-swiper .swiper-button-next,
:where(body.jl-page) .hero-swiper .swiper-button-prev {
  color: var(--jl-white);
  background: transparent;
  width: 50px;
  height: 50px;
  transform: skewX(-10deg);
  border: 2px solid var(--jl-white);
}
:where(body.jl-page) .hero-swiper .swiper-button-next:hover,
:where(body.jl-page) .hero-swiper .swiper-button-prev:hover {
  background: var(--jl-white);
  color: var(--jl-dark);
}
:where(body.jl-page) .hero-swiper .swiper-button-next::after,
:where(body.jl-page) .hero-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
  transform: skewX(10deg);
}

/* 手机端隐藏 Hero 左右箭头（触屏用滑动切换） */
@media (max-width: 767px) {
  :where(body.jl-page) .hero-swiper .swiper-button-next,
  :where(body.jl-page) .hero-swiper .swiper-button-prev {
    display: none;
  }
}

/* S07 step number badge（位置原为 absolute top-0 left-0，已并入本规则） */
.jl-step-num {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--jl-font-heading);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--jl-white);
  background-color: var(--jl-blue);
  padding: 0.5rem 0.75rem;
}

/* Hover effects：卡片抬升的统一实现（S02/S03/S04/S07 共用）
 transition 在此集中声明，各卡片样式不要再重复声明 transition，
 否则会互相覆盖。 */
:where(body.jl-page) .hover-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
:where(body.jl-page) .hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 123, 250, 0.1);
}

/* Keep the sticky header from covering anchor targets */
:where(body.jl-page) section[id] {
  scroll-margin-top: 6rem;
}

/* G01: transparent over the hero, solid once scrolled or when the mobile menu is open */
.jl-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.jl-header .jl-nav-link {
  color: #ffffff;
}
.jl-header .jl-nav-link:hover {
  color: rgba(255, 255, 255, 0.72);
}
.jl-header.is-scrolled,
body.jl-nav-open .jl-header {
  background-color: var(--jl-white);
  border-bottom-color: var(--jl-gray-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.jl-header.is-scrolled .jl-nav-link,
body.jl-nav-open .jl-header .jl-nav-link {
  color: var(--jl-dark);
}
.jl-header.is-scrolled .jl-nav-link:hover,
body.jl-nav-open .jl-header .jl-nav-link:hover {
  color: var(--jl-blue);
}

/* G01: 内页没有深色 hero，header 改为静态实底，避免透明+白字不可读、fixed 压住内容 */
body:not(.jl-page) .jl-header {
  position: static;
  background-color: var(--jl-white);
  border-bottom-color: var(--jl-gray-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body:not(.jl-page) .jl-header .jl-nav-link {
  color: var(--jl-dark);
}

body:not(.jl-page) .jl-header .jl-nav-link:hover {
  color: var(--jl-blue);
}

/* ============================================================
 S03 Who We Serve
 ============================================================ */
.jl-serve {
  padding: var(--jl-section-y) 0;
  background-color: var(--jl-white);
}

.jl-serve__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.jl-serve__card {
  padding: 2.5rem;
  background-color: var(--jl-bg-light);
  border-top: 4px solid transparent;
}

.jl-serve__card:hover {
  border-top-color: var(--jl-blue);
}

.jl-serve__icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  color: var(--jl-blue);
}

.jl-serve__icon svg {
  width: 100%;
  height: 100%;
}

.jl-serve__title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--jl-dark);
}

.jl-serve__text {
  line-height: 1.625;
  color: var(--jl-text);
}

@media (min-width: 768px) {
  .jl-serve__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================================
 S04 Sports Sunglasses for Different Applications
 ============================================================ */
.jl-apps {
  padding: var(--jl-section-y) 0;
  background-color: var(--jl-gray-50);
  border-top: 1px solid var(--jl-gray-200);
  border-bottom: 1px solid var(--jl-gray-200);
}

.jl-apps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.jl-app-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--jl-white);
  border: 1px solid var(--jl-gray-100);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* 说明：原 class="aspect-w-4 aspect-h-3" 来自 @tailwindcss/aspect-ratio 插件，
 而 CDN 核心包不含该类（已实测确认 aspect-w / aspect-h 出现 0 次），
 因此图片一直是按原始比例渲染的。此处刻意不设 aspect-ratio，
 以保持与迁移前完全一致；如需真正固定 4:3 裁切，属于另一项视觉改动。 */
.jl-app-card__media {
  position: relative;
  overflow: hidden;
}

.jl-app-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.jl-app-card:hover .jl-app-card__img {
  transform: scale(1.05);
}

.jl-app-card__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--jl-blue);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.jl-app-card:hover .jl-app-card__overlay {
  opacity: 0.1;
}

.jl-app-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 2rem;
}

.jl-app-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--jl-dark);
}

.jl-app-card__text {
  margin-bottom: 1rem;
  color: var(--jl-text);
}

.jl-app-card__link {
  display: flex;
  align-items: center;
  margin-top: auto;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jl-blue);
  transition: color 0.15s ease;
}

.jl-app-card__link:hover {
  color: var(--jl-dark);
}

.jl-app-card__link-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

@media (min-width: 768px) {
  .jl-apps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .jl-apps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================================
 S05 OEM / ODM / Private Label 合作模式
 ============================================================ */
.jl-coop {
  padding: var(--jl-section-y) 0;
  background-color: var(--jl-white);
}

.jl-coop__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.jl-coop-card {
  display: flex;
  flex-direction: column;
  background-color: var(--jl-white);
  border: 1px solid var(--jl-gray-200);
}

.jl-coop-card__img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: all 0.5s ease;
}

.jl-coop-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 2rem;
  border-top: 4px solid var(--jl-blue);
}

.jl-coop-card__title {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--jl-dark);
}

.jl-coop-card__text {
  margin-bottom: 1.5rem;
  min-height: 80px;
  color: var(--jl-text);
}

.jl-coop-card__cta {
  margin-top: auto;
}

@media (min-width: 768px) {
  .jl-coop__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================================
 S02 About Julong
 ============================================================ */
.jl-about {
  /* 板块局部色板：深邃藏青暗调 + 活力青蓝高亮，不影响全局 token */
  --jl-navy: #0f172a;
  --jl-sky: #38bdf8;
  --jl-slate: #94a3b8;
  /* 暗底描边色：导航按钮 / 缩略图 / 幽灵按钮边框共用，改一处即可统一 */
  --jl-about-line: #334155;
  position: relative;
  padding: var(--jl-section-y) 0;
  overflow: hidden;
  background-color: var(--jl-navy);
  color: var(--jl-white);
}

/* 右侧倾斜装饰块，原 -right-[10%] / w-[50%] / skew-x-[-20deg] */
.jl-about__accent {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background-color: var(--jl-sky);
  opacity: 0.08;
  transform: skewX(-20deg);
}

.jl-about__inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.jl-about__video-frame {
  position: relative;
  overflow: hidden;
  /* 原 aspect-[17/10] 属于核心任意值类，确实生效，需保留 */
  aspect-ratio: 17 / 10;
  background-color: #0b132b;
  border-left: 4px solid var(--jl-sky);
}

/* 主媒体槽：视频常驻铺满框体 */
.jl-about__media-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jl-about__video {
  background-color: #000000;
}

/* 工厂图集轮播：匀速无缝循环滚动，hover 暂停，点击图片灯箱放大 */
.jl-about__thumbs {
  margin-top: 1.25rem;
  min-width: 0;
  overflow-x: auto;
  /* 底部留白：给缩略图的聚焦描边留空间 */
  padding-bottom: 0.75rem;
  /* 隐藏滚动条：仅去掉视觉条（弱化动效时保留手动滚动兜底） */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jl-about__thumbs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* 轮播轨道：整组内容复制一份接尾，位移 -50% 即无缝回卷 */
.jl-about__thumbs.is-marquee-viewport {
  overflow: hidden;
}

.jl-about__thumbs-track {
  display: flex;
  width: max-content;
}

.jl-about__thumbs-track.is-marquee {
  animation: jl-about-marquee var(--jl-marquee-duration, 20s) linear infinite;
}

/* 鼠标悬停整个轮播区时暂停 */
.jl-about__thumbs:hover .jl-about__thumbs-track.is-marquee {
  animation-play-state: paused;
}

@keyframes jl-about-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.jl-about__thumb {
  position: relative;
  flex: none;
  width: 5.5rem;
  /* 间距放每项右边距（而非容器 gap）：轨道 -50% 处间距一致，接缝才无缝 */
  margin-right: 0.75rem;
  padding: 0;
  aspect-ratio: 17 / 10;
  overflow: hidden;
  background: none;
  border: 2px solid var(--jl-about-line);
  cursor: zoom-in;
  transition: border-color 0.25s ease;
}

.jl-about__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.jl-about__thumb:hover {
  border-color: var(--jl-sky);
}

.jl-about__thumb:hover img {
  transform: scale(1.06);
}

.jl-about__thumb:focus-visible {
  outline: 2px solid var(--jl-sky);
  outline-offset: 2px;
}

/* 图片灯箱：点击轮播图放大查看 */
.jl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background-color: rgb(2 6 23 / 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.jl-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.jl-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.jl-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: 2px solid var(--jl-about-line);
  color: var(--jl-white);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.jl-lightbox__close:hover {
  border-color: var(--jl-sky);
}

.jl-lightbox__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.jl-about__title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--jl-white);
}

/* 关键词高亮：活力青蓝 */
.jl-about__title-accent {
  color: var(--jl-sky);
}

.jl-about__desc {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--jl-slate);
}

.jl-about__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 1rem;
  margin-bottom: 2.5rem;
  color: var(--jl-slate);
}

.jl-about__item {
  display: flex;
  align-items: flex-start;
}

.jl-about__check {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.25rem;
  margin-right: 0.75rem;
  color: var(--jl-sky);
}

.jl-about__item-text {
  font-size: 1rem;
  line-height: 1.5rem;
}

.jl-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 深色背景上的描边按钮（非 .btn-outline，配色独立） */
.jl-about__ghost-btn {
  background-color: transparent;
  border: 2px solid var(--jl-about-line);
  color: var(--jl-white);
}

.jl-about__ghost-btn:hover {
  border-color: var(--jl-sky);
}

@media (min-width: 768px) {
  .jl-about__title {
    font-size: 3rem;
    line-height: 1;
  }

  .jl-about__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .jl-about__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
 S06 Why Work with Julong
 ============================================================ */
.jl-why {
  padding: var(--jl-section-y) 0;
  background-color: var(--jl-gray-50);
  border-bottom: 1px solid var(--jl-gray-200);
}

.jl-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4rem;
  align-items: stretch;
}

.jl-why__features {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.jl-why__feature {
  text-align: center;
}

.jl-why__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
  background-color: var(--jl-bg-light);
  color: var(--jl-blue);
  transform: skewX(-10deg);
}

.jl-why__icon-svg {
  width: 1.75rem;
  height: 1.75rem;
  transform: skewX(10deg);
}

.jl-why__feature-title {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--jl-dark);
}

.jl-why__feature-text {
  color: var(--jl-text);
}

.jl-why__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  border: 1px solid var(--jl-gray-200);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* 右侧图集：固定 4:3；第一张留在文档流里撑起高度，其余绝对定位叠上去淡入淡出 */
.jl-why__media {
  position: relative;
  aspect-ratio: 4 / 3;
  /* 必须抵掉 .jl-why__grid 的 stretch，否则高度被拉成文本列高、aspect-ratio 失效 */
  align-self: start;
}

.jl-why__media .jl-why__img {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.jl-why__media .jl-why__img ~ .jl-why__img {
  position: absolute;
  inset: 0;
}

.jl-why__media .jl-why__img.is-active {
  opacity: 1;
}

/* 左侧条目：hover 时高亮，对应右侧切换到的图 */
.jl-why__feature .jl-why__icon {
  transition: background-color 0.25s ease, color 0.25s ease;
}

.jl-why__feature.is-active .jl-why__icon {
  background-color: var(--jl-blue);
  color: var(--jl-white);
}

@media (min-width: 640px) {
  .jl-why__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .jl-why__feature {
    text-align: left;
  }

  .jl-why__icon {
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  /* 头部层已拆出为 .jl-section-bar，这里只剩「特性 | 图集」两列，自动落位 */
  .jl-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
 S06-B Quality Credentials
 ============================================================ */
.jl-certs {
  /* 板块局部色板：深蓝底 + 品牌蓝高亮 + 玻璃拟物卡片，不影响全局 token */
  --jl-deep: #0b1b3d;
  --jl-accent: #0088ff;
  --jl-slate: #94a3b8;
  --jl-slate-200: #cbd5e1;
  padding: var(--jl-section-y) 0;
  background-color: var(--jl-deep);
  color: var(--jl-white);
}

/* 深色底上翻转通用标题与分隔条，仅作用于本板块 */
.jl-certs .jl-section-head__title {
  color: var(--jl-white);
}

.jl-certs .jl-section-head__bar {
  background-color: var(--jl-accent);
}

/* 与上方 .jl-section-head 的 4rem 下边距合并，避免标题与副标题脱节 */
.jl-certs__subtitle {
  max-width: 800px;
  margin: -2rem auto 3rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--jl-slate-200);
}

.jl-certs__swiper {
  padding-bottom: 2.5rem;
}

/* 玻璃拟物卡片：半透明白叠在深蓝底上，等效 #162B56 */
.jl-cert-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  text-align: center;
  background-color: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.25);
}

.jl-certs .jl-cert-card:hover {
  border-color: rgb(0 136 255 / 0.45);
  box-shadow: 0 20px 40px rgb(0 136 255 / 0.18);
}

/* 3:4 证书图位，保留白底让证书/Logo 在深色卡片中突出；换真实素材时只改 img 的 src/alt */
.jl-cert-card__media {
  aspect-ratio: 3 / 4;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 0.375rem;
  background-color: var(--jl-white);
}

/* 证书原件多为 A4 竖版，用 contain 避免裁掉机构名/印章；底色已是白色 */
.jl-cert-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jl-cert-card__name {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--jl-white);
}

.jl-cert-card__desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--jl-slate);
}

/* 深色底上翻转轮播控件，否则会沿用浅色主题的深色图标；配色用板块强调色，与标题蓝条/激活圆点统一 */
.jl-certs__swiper .swiper-button-prev,
.jl-certs__swiper .swiper-button-next {
  color: var(--jl-accent);
}

.jl-certs__swiper .swiper-pagination-bullet {
  background: var(--jl-white);
  opacity: 0.35;
}

.jl-certs__swiper .swiper-pagination-bullet-active {
  background: var(--jl-accent);
  opacity: 1;
}

@media (max-width: 767px) {
  .jl-certs__swiper .swiper-button-prev,
  .jl-certs__swiper .swiper-button-next {
    display: none;
  }
}

/* ============================================================
 S07 From Brief to Production
 ============================================================ */
.jl-steps {
  padding: var(--jl-section-y) 0;
  background-color: var(--jl-white);
}

.jl-steps__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 3rem;
  column-gap: 2rem;
}

.jl-step {
  position: relative;
  z-index: 10;
  background-color: var(--jl-white);
  border: 1px solid var(--jl-gray-100);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* 原 aspect-[4/3] 属于核心任意值类，确实生效，需保留 */
.jl-step__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.jl-step__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jl-step__body {
  padding: 2rem;
  text-align: center;
}

.jl-step__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--jl-dark);
}

.jl-step__text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--jl-text);
}

@media (min-width: 768px) {
  .jl-steps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jl-step__body {
    text-align: left;
  }
}

/* ============================================================
 S08 Latest from Julong
 ============================================================ */
.jl-news {
  padding: var(--jl-section-y) 0;
  background-color: var(--jl-gray-50);
  border-top: 1px solid var(--jl-gray-200);
}

.jl-news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.jl-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--jl-white);
  border: 1px solid var(--jl-gray-200);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.jl-news-card__media {
  display: block;
}

.jl-news-card__img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.jl-news-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 2rem;
}

.jl-news-card__eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jl-blue);
}

.jl-news-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--jl-dark);
}

/* 标题内的链接继承标题颜色（全局 a 已是 color: inherit），仅补 hover 反馈 */
.jl-news-card__title a {
  transition: color 0.15s ease;
}

.jl-news-card__title a:hover {
  color: var(--jl-blue);
}

/* 摘要按 16 词截断，flex-grow 把按钮顶到卡片底部 */
.jl-news-card__text {
  flex-grow: 1;
  margin-bottom: 1rem;
  color: var(--jl-text);
}

/* Read More 按钮：靠 margin-top:auto 压到卡片底部，标题行数不同也不错位 */
.jl-news-card__link {
  align-self: flex-start;
  margin-top: auto;
}

/* 无文章时的兜底提示（横跨整行） */
.jl-news__empty {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: var(--jl-text);
}

@media (min-width: 768px) {
  .jl-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================================
 S09 FAQ + 询盘表单
 ============================================================ */
.jl-contact {
  padding: var(--jl-section-y) 0;
  background-color: var(--jl-dark);
  color: var(--jl-white);
}

.jl-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4rem;
}

.jl-contact__title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--jl-white);
}

.jl-contact__desc {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--jl-gray-300);
}

.jl-contact__points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  color: var(--jl-gray-300);
}

.jl-contact__point {
  display: flex;
  align-items: center;
}

.jl-contact__bullet {
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.75rem;
  background-color: var(--jl-blue);
  transform: skewX(-10deg);
}

/* 原 space-y-6：子元素之间统一 1.5rem 间距 */
.jl-faq > * + * {
  margin-top: 1.5rem;
}

.jl-faq__item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--jl-gray-700);
}

.jl-faq__question {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--jl-white);
}

.jl-faq__answer {
  padding-top: 0.75rem;
  color: var(--jl-gray-400);
}

/* 右侧询盘面板 */
.jl-quote {
  position: relative;
  padding: 2rem;
  background-color: var(--jl-white);
  color: var(--jl-dark);
}

.jl-quote__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background-color: var(--jl-blue);
}

.jl-quote__title {
  margin-bottom: 0.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.jl-quote__desc {
  margin-bottom: 2rem;
  color: var(--jl-text);
}

/* 原 space-y-6 */
.jl-quote__form > * + * {
  margin-top: 1.5rem;
}

.jl-field__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--jl-dark);
}

.jl-field__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--jl-gray-50);
  border-bottom: 2px solid var(--jl-gray-200);
  transition: border-color 0.15s ease;
}

.jl-field__input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-bottom-color: var(--jl-blue);
}

.jl-quote__submit {
  padding-top: 1rem;
}

.jl-quote__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: center;
  color: var(--jl-gray-500);
}

@media (min-width: 640px) {
  .jl-contact__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .jl-contact__title {
    font-size: 3rem;
    line-height: 1;
  }

  .jl-quote {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .jl-contact__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
 G02 Global Footer
 ============================================================ */
.jl-footer {
  background-color: var(--jl-dark);
  color: var(--jl-gray-400);
}

.jl-footer__top {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.jl-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.jl-footer__logo-link {
  display: inline-flex;
}

.jl-footer__logo {
  height: 2rem;
  width: auto;
}

.jl-footer__about {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.625;
}

.jl-footer__certs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 0.75rem;
}

.jl-footer__cert {
  width: 100%;
  height: 1.75rem;
  object-fit: contain;
}

.jl-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.jl-footer__heading {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.025em;
  color: var(--jl-white);
}

.jl-footer__list {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* 原 space-y-2.5：子项之间 0.625rem 间距 */
.jl-footer__list > * + * {
  margin-top: 0.625rem;
}

.jl-footer__link {
  transition: color 0.15s ease;
}

.jl-footer__link:hover {
  color: var(--jl-white);
}

.jl-footer__link--break {
  word-break: break-all;
}

.jl-footer__address {
  line-height: 1.625;
  color: var(--jl-gray-500);
}

/* 联系信息：左侧留出图标位，图标绝对定位（长邮箱换行时不会把图标挤走）
   图标由 lucide 生成并继承 .jl-footer__icon；createIcons() 之前 <i> 为空，不会闪现 */
.jl-footer__contact {
  position: relative;
  padding-left: 1.5rem;
}

.jl-footer__icon {
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 1rem;
  height: 1rem;
  stroke-width: 1.75;
}

.jl-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.jl-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

@media (min-width: 768px) {
  .jl-footer__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .jl-footer__bottom-inner {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .jl-footer__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .jl-footer__brand {
    grid-column: span 4 / span 4;
  }

  .jl-footer__cols {
    grid-column: span 8 / span 8;
  }
}

/* ============================================================
 G01 Global Navigation
 ============================================================ */
.jl-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--jl-header-h);
}

.jl-header__logo-link {
  flex-shrink: 0;
}

.jl-header__logo {
  height: 2rem;
  width: auto;
}

/* 桌面导航 */
.jl-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.jl-nav__item {
  position: relative;
}

.jl-nav__link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.025em;
  transition: color 0.15s ease;
}

.jl-nav__caret {
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.125rem;
}

/* 产品 mega menu，原 w-[min(92vw,1000px)] / top-20 / -translate-x-1/2 */
.jl-mega {
  position: fixed;
  left: 50%;
  top: var(--jl-header-h);
  width: min(92vw, 1000px);
  overflow: hidden;
  background-color: var(--jl-white);
  border: 1px solid var(--jl-gray-200);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(0.25rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

/* 原 group-hover: / focus-within: 的等价实现 */
.jl-nav__item:hover .jl-mega,
.jl-nav__item:focus-within .jl-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.jl-mega__inner {
  display: flex;
}

.jl-mega__aside {
  display: flex;
  flex-direction: column;
  flex: none;
  width: 280px;
  padding: 1.75rem;
  background-color: var(--jl-bg-light);
  border-right: 1px solid var(--jl-gray-200);
}

.jl-mega__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--jl-dark);
}

.jl-mega__desc {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--jl-secondary);
}

.jl-mega__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: background-color 0.15s ease;
}

.jl-mega__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.jl-mega__card {
  display: block;
  border: 1px solid var(--jl-gray-200);
  transition: border-color 0.15s ease;
}

.jl-mega__card:hover {
  border-color: var(--jl-blue);
}

/* 原 aspect-[4/3] 属于核心任意值类，确实生效，需保留 */
.jl-mega__card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--jl-gray-100);
}

.jl-mega__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jl-mega__card:hover .jl-mega__card-img {
  transform: scale(1.05);
}

.jl-mega__card-body {
  display: block;
  padding: 0.75rem;
}

.jl-mega__card-title {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--jl-dark);
}

.jl-mega__card-text {
  display: block;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--jl-secondary);
}

/* Solutions / Why Us 下拉面板 */
.jl-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 16rem;
  padding: 0.75rem 0;
  background-color: var(--jl-white);
  border: 1px solid var(--jl-gray-200);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.25rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.jl-nav__item:hover .jl-dropdown,
.jl-nav__item:focus-within .jl-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.jl-dropdown__link {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--jl-secondary);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.jl-dropdown__link:hover {
  color: var(--jl-blue);
  background-color: var(--jl-bg-light);
}

/* 右侧操作区 */
.jl-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jl-header__quote {
  display: none;
}

.jl-header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.jl-header__toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* 移动端导航
 显示/隐藏由 JS 切换 .hidden 控制，这里只在 lg 以上强制 display:none，
 以免与 .hidden 的开关逻辑互相覆盖。 */
.jl-mobile-nav {
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  background-color: var(--jl-white);
  border-top: 1px solid var(--jl-gray-200);
}

.jl-mobile-nav__inner {
  padding: 1rem 1.5rem;
}

.jl-group-item {
  border-bottom: 1px solid var(--jl-gray-100);
}

.jl-group-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jl-group-item__link,
.jl-group-item__label {
  flex: 1;
  padding: 0.875rem 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--jl-dark);
}

.jl-group-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: -0.5rem;
  color: var(--jl-secondary);
}

.jl-group-toggle__icon {
  width: 1rem;
  height: 1rem;
}

.jl-group-panel {
  padding-bottom: 0.75rem;
}

.jl-group-panel__link {
  display: block;
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--jl-secondary);
}

.jl-mobile-nav__link {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--jl-gray-100);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--jl-dark);
}

.jl-mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .jl-header__quote {
    display: block;
  }
}

@media (min-width: 1024px) {
  .jl-nav {
    display: flex;
  }

  .jl-header__toggle {
    display: none;
  }

  .jl-mobile-nav {
    display: none;
  }
}

/* 一级导航增至 6 项（Case Studies 提到一级），1024–1279px 收窄间距避免挤压右侧 CTA */
@media (min-width: 1024px) and (max-width: 1279px) {
  .jl-nav {
    gap: 1.25rem;
  }
}

/* ============================================================
 S01 Hero Carousel + Data Strip
 ============================================================ */
.jl-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* 原为 var(--jl-header-h)（=5rem，正好让内容避开固定导航）；再上移 1.5rem。
     幻灯片内容自身还有 6rem 顶部内边距，所以文字距 hero 顶仍有约 9.5rem，不会顶到导航 */
  padding-top: calc(var(--jl-header-h) - 1.5rem);
  background-color: var(--jl-dark);
}

.jl-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 原 bg-gradient-to-r from-black/75 via-black/55 to-black/30 */
.jl-hero__scrim {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    rgb(0 0 0 / 0.75),
    rgb(0 0 0 / 0.55),
    rgb(0 0 0 / 0.3)
  );
}

/* 原 min-h-[85vh] lg:min-h-[80vh]（任意值类，确实生效） */
.jl-hero__swiper {
  position: relative;
  z-index: 10;
  min-height: 85vh;
}

.jl-hero__slide {
  display: flex;
  align-items: center;
  min-height: 85vh;
}

.jl-hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-top: 6rem;
  padding-bottom: 8rem;
}

.jl-hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--jl-white);
  background-color: var(--jl-blue);
  transform: skewX(-10deg);
}

.jl-hero__badge-inner {
  display: block;
  transform: skewX(10deg);
}

/* 原 leading-tight 覆盖 text-4xl 的行高 */
.jl-hero__title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--jl-white);
}

.jl-hero__desc {
  max-width: 32rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--jl-gray-200);
}

.jl-hero__list {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--jl-white);
}

/* 原 space-y-2 */
.jl-hero__list > * + * {
  margin-top: 0.5rem;
}

.jl-hero__item {
  display: flex;
  align-items: center;
}

.jl-hero__check {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  color: var(--jl-blue);
}

.jl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 手机端：两个按钮压回同一行——缩字号 + 去字间距 + 收窄内边距/间距（文案不动） */
@media (max-width: 480px) {
  .jl-hero__actions {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .jl-hero__actions .btn-dynamic {
    flex: none;
  }

  .jl-hero__actions .btn-dynamic-inner {
    font-size: 0.8125rem;
    letter-spacing: normal;
    white-space: nowrap;
  }

  .jl-hero__actions .btn-dynamic--lg {
    padding: 0.75rem 0.5rem;
  }
}

/* 数据条：原 -mt-10 上移叠在 hero 底部 */
.jl-stats {
  /* 板块局部色板：玻璃拟物深蓝底 + 青蓝高亮 */
  --jl-stats-bg: rgb(15 23 42 / 0.65);
  --jl-stats-accent: #38bdf8;
  --jl-stats-accent-hover: #7dd3fc;
  --jl-stats-label: #94a3b8;
  --jl-stats-line: rgb(255 255 255 / 0.15);
  position: relative;
  z-index: 20;
  /* 原 Tailwind -mt-10 = -2.5rem，又上移 1.5rem */
  margin-top: -4rem;
}

.jl-stats__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.875rem 1.25rem;
  text-align: center;
  color: var(--jl-white);
  background: var(--jl-stats-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  /* 顶部亮边与分隔线同色 */
  border-top: 1px solid var(--jl-stats-line);
}

/* 单列时用横向分隔线；竖线只在多列布局下生效（见 ≥768px） */
.jl-stats__inner > * + * {
  border-top: 1px solid var(--jl-stats-line);
}

.jl-stats__item {
  position: relative;
  padding: 0 0.9375rem;
}

.jl-stats__value {
  margin-bottom: 0.375rem;
  font-size: 2.25rem;
  line-height: 1.1;
  /* 不换行：过长时由脚本逐级缩小字号（下限 20px） */
  white-space: nowrap;
  color: var(--jl-stats-accent);
  transition: transform 0.25s ease, color 0.25s ease;
}

/* hover 微交互：数字轻微上移并变亮 */
.jl-stats__item:hover .jl-stats__value {
  transform: translateY(-2px);
  color: var(--jl-stats-accent-hover);
}

.jl-stats__label {
  font-size: 0.75rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.0625em;
  text-transform: uppercase;
  color: var(--jl-stats-label);
}

/* 手机端 2×2：第二行加横向分隔线，左右列之间加竖向分隔线；数字缩号并允许折行 */
@media (max-width: 767px) {
  .jl-stats__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
    padding: 1.5rem 1rem;
  }

  .jl-stats__inner > * + * {
    border-top: 0;
  }

  .jl-stats__item:nth-child(n+3) {
    border-top: 1px solid var(--jl-stats-line);
    padding-top: 1.25rem;
  }

  .jl-stats__item {
    padding: 0 0.5rem;
  }

  .jl-stats__item:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background: var(--jl-stats-line);
  }

  .jl-stats__value {
    font-size: 1.5rem;
    white-space: normal;
  }
}

@media (min-width: 768px) {
  .jl-hero__title {
    font-size: 3rem;
    line-height: 1;
  }

  .jl-hero__desc {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .jl-hero__list {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* 原 md:divide-y-0 md:divide-x；改 4 列网格 + 伪元素竖线 */
  .jl-stats__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .jl-stats__inner > * + * {
    border-top: 0;
  }

  .jl-stats__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background: var(--jl-stats-line);
  }
}

@media (min-width: 1024px) {
  .jl-hero__swiper,
  .jl-hero__slide {
    min-height: 75vh;
  }
}

@media (min-width: 1280px) {
  .jl-hero__title {
    font-size: 3.75rem;
    line-height: 1;
  }
}
