/* ============================================================
   Rekky Design System — Scheme A: Clinical Blue + Clean Silver
   Single shared stylesheet for all deep-dive pages
   WCAG AA · Mobile-First Responsive
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --teal:        #0B5394;
  --teal-dark:   #07406F;
  --teal-light:  #00838F;
  --sand:        #D9E2EC;
  --sand-light:  #EDF1F6;
  --bg:          #F4F6F8;
  --card:        #FFFFFF;
  --ink:         #1F2A37;
  --muted:       #5B6672;
  --coral:       #F59E0B;
  --coral-dark:  #D97706;
  --coral-deep:  #B45309;
  --border:      #DEE4EB;
  --success:     #10B981;
  --warning:     #F59E0B;
  --error:       #EF4444;

  --radius:      16px;
  --radius-sm:   12px;
  --shadow-sm:   0 1px 3px rgba(31,42,55,.06);
  --shadow-md:   0 6px 18px rgba(31,42,55,.08);
  --max:        1200px;

  --font-serif: Georgia, "Times New Roman", "Songti SC", serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                "Microsoft YaHei", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* Accessibility */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--sand { background: var(--sand-light); }
.section--teal { background: var(--teal); color: #fff; }
.section--teal h2, .section--teal h3 { color: #fff; }
.section-head { max-width: 920px; margin: 0 auto 40px; text-align: center; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); }
.section-sub { color: var(--muted); font-size: 17px; }
.section--teal .section-sub { color: rgba(255,255,255,.85); }
.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 12px;
}

/* ---------- Top Bar ---------- */
.topbar { background: var(--teal); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #fff; }
.topbar-left span, .topbar-left a { margin-right: 18px; opacity: .95; }
.topbar-right a { margin-left: 14px; opacity: .9; }
.topbar-right a:hover, .topbar-left a:hover { opacity: 1; color: #fff; }

/* ---------- Header / Nav ---------- */
.header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; transition: box-shadow .25s ease; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(31,42,55,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--teal); letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.logo .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); display: inline-block; }
.logo-img { max-height: 70px; width: auto; height: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-link { font-weight: 600; color: var(--ink); font-size: 18px; padding: 6px 0; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--coral); transition: width .25s ease; }
.nav-link:hover { color: var(--teal); }
.nav-link:hover::after { width: 100%; }
/* 当前栏目（is-active）常驻黄色下划线标记 - BuddyQiao 2026-09-14 */
/*.nav-item.is-active > .nav-link { color: var(--coral); }
*/.nav-item.is-active > .nav-link::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle { display: none; }

/* ---------- Nav Dropdowns ---------- */
.nav-item { position: relative; }
.has-dropdown > .nav-link { cursor: pointer; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; transform: translateY(8px);
  min-width: 264px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 10px; opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 50;
}
.dropdown::before {
  content: ""; position: absolute; top: -7px; left: 24px; transform: rotate(45deg);
  width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--border); border-top: 1px solid var(--border);
}
.dropdown::after { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown--cols2 { min-width: 480px; }
.dropdown-inner { display: grid; grid-template-columns: 1fr; gap: 2px; }
.dropdown--cols2 .dropdown-inner { grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.dropdown-item { display: block; padding: 10px 12px; border-radius: 10px; transition: background .15s ease; }
.dropdown-item:hover { background: var(--sand-light); }
.dd-title { display: block; font-size: 16px; color: var(--ink); font-family: var(--font-sans); }
.dropdown-item:hover .dd-title { color: var(--teal); }
.dd-desc { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Products Mega Menu (category -> product flyout) ---------- */
.has-mega > .nav-link { cursor: pointer; }
.mega {
  position: absolute; top: calc(100% + 8px); left: 0; transform: translateY(8px);
  min-width: 272px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 50;
}
.has-mega:hover > .mega,
.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega::after { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.mega-cats { list-style: none; margin: 0; padding: 0; }
.mega-cat { position: relative; }
.mega-cat:hover, .mega-cat:focus-within { z-index: 2; }
.mega-cat-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-radius: 10px; color: var(--ink);
  font-weight: 600; font-size: 16px; font-family: var(--font-sans);
  border-left: 3px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.mega-cat-link:hover, .mega-cat:focus-within > .mega-cat-link {
  background: var(--sand-light); color: var(--teal); border-left-color: var(--teal);
}
.mega-cat-arr { color: var(--muted); font-size: 20px; line-height: 1; transition: transform .15s ease, color .15s ease; }
.mega-cat-en { white-space: nowrap; }
.mega-prod { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-cat-link:hover .mega-cat-arr,
.mega-cat:focus-within > .mega-cat-link .mega-cat-arr { color: var(--teal); transform: translateX(2px); }
.mega-flyout {
  position: absolute; left: 100%; top: 0; min-width: 320px; max-width: 344px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 10px; opacity: 0; visibility: hidden; transform: translateX(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 51;
}
.mega-cat:hover > .mega-flyout,
.mega-cat:focus-within > .mega-flyout { opacity: 1; visibility: visible; transform: translateX(0); }
.mega-flyout-head { padding: 2px 10px 8px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.mega-flyout-head a { font-size: 13px; font-weight: 700; color: var(--teal); }
.mega-prod { display: block; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 14.5px; font-family: var(--font-sans); transition: background .15s ease, color .15s ease; }
.mega-prod:hover { background: var(--sand-light); color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover { background: var(--coral-dark); box-shadow: var(--shadow-md); color: var(--ink); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.section--teal .btn-outline { color: #fff; border-color: #fff; }
.section--teal .btn-outline:hover { background: #fff; color: var(--teal); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { background: var(--sand-light); box-shadow: var(--shadow-md); }

/* ---------- Hero ---------- */
.hero { background: #062238; position: relative; overflow: hidden; padding: 50px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.hero-bg-slide.is-active { opacity: 1; }
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6 20 35 / 88%) 0%, rgba(6 20 35 / 65%) 30%, rgba(6 20 35 / 32%) 55%, rgba(6 20 35 / 8%) 75%, transparent 100%);
}
.hero::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  background: rgba(0,131,143,0.25); border-radius: 50%; opacity: .5; z-index: 1; pointer-events: none;
}
.hero-grid { width: 100%; display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; padding: 50px 0; position: relative; z-index: 2; }
.hero-title { font-size: clamp(30px, 5vw, 48px); font-weight: 700; }
.hero-title .accent { color: var(--teal); }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.hero-dot { width: 40px; height: 5px; margin: 5px 10px; padding: 0; border-radius: 20%; border: 3px solid var(--teal); background: transparent; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hero-dot:hover { background: var(--teal-light); }
.hero-dot.is-active { background: var(--teal); transform: scale(1.3); }

/* ---- Hero dark-background overrides ---- */
.hero .eyebrow { color: #F59E0B; }
.hero .hero-title { color: #fff; }
.hero .hero-title .accent { color: #5DADE2; }
.hero .hero-sub { color: rgba(255,255,255,0.80); }
.hero .btn-primary { background: #F59E0B; color: #fff; border-color: #F59E0B; }
.hero .btn-primary:hover { background: #D97706; color: #fff; border-color: #D97706; }
.hero .btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.hero .badge-pill { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.25); }
.hero .hero-dot { border-color: rgba(255,255,255,0.55); }
.hero .hero-dot:hover { background: rgba(255,255,255,0.3); }
.hero .hero-dot.is-active { background: #fff; border-color: #fff; }

/* Hero decorative visual (original tube-stack) */
.hero-visual { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.tube-stack { position: relative; width: 100%; height: 100%; }
.tube { position: absolute; border-radius: 999px; box-shadow: 0 20px 50px rgba(11,83,148,.18); }
.tube-1 { width: 320px; height: 70px; top: 70px; left: 20px; transform: rotate(-12deg);
  background: linear-gradient(120deg, var(--teal-dark) 0%, var(--teal-light) 50%, var(--teal) 100%); }
.tube-2 { width: 260px; height: 56px; top: 190px; right: 0; transform: rotate(18deg);
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-light) 60%, #7FC9D6 100%); }
.tube-3 { width: 300px; height: 64px; bottom: 90px; left: 40px; transform: rotate(-6deg);
  background: linear-gradient(120deg, var(--coral) 0%, #FBCB6B 60%, var(--sand) 100%); opacity: .92; }
.tube::after { content: ""; position: absolute; inset: 6px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,0) 50%, rgba(255,255,255,.12)); }
.hero-orb { position: absolute; border-radius: 50%; }
.hero-orb-1 { width: 90px; height: 90px; top: 20px; right: 60px; background: radial-gradient(circle at 30% 30%, #EAF0F6, var(--sand)); }
.hero-orb-2 { width: 56px; height: 56px; bottom: 50px; right: 110px; background: radial-gradient(circle at 30% 30%, #FDE3B0, var(--coral)); opacity: .85; }
.hero-orb-3 { width: 38px; height: 38px; top: 230px; left: 0; background: var(--teal); opacity: .85; }
.hero-stat-card { position: absolute; bottom: 0; right: 10px; background: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: 0 12px 36px rgba(0,0,0,.10); border: 1px solid var(--border);
  display: flex; gap: 14px; align-items: center; }
.hero-stat-card .num { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--teal); line-height: 1; }
.hero-stat-card .lbl { font-size: 12px; color: var(--muted); line-height: 1.3; }
.hero-stat-card .divider-v { width: 1px; height: 32px; background: var(--border); }

@media (max-width: 1023px) {
  .hero-visual { height: 380px; }
}
@media (max-width: 640px) {
  .hero-visual { height: 320px; }
  .tube-1 { width: 240px; height: 54px; top: 40px; left: 10px; }
  .tube-2 { width: 200px; height: 44px; top: 150px; right: 0; }
  .tube-3 { width: 230px; height: 50px; bottom: 60px; left: 20px; }
  .hero-orb-1 { width: 70px; height: 70px; right: 30px; }
  .hero-orb-2 { right: 70px; bottom: 40px; }
  .hero-stat-card { right: 0; padding: 14px 16px; }
  .hero-stat-card .num { font-size: 22px; }
}

/* Trust badges */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--sand-light);
  color: var(--teal-dark); border: 1px solid var(--sand); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
}

/* Hero: text-on-top + image-on-bottom layout */
.hero-text { max-width: 820px; margin: 0 auto; text-align: center; padding-bottom: 24px; }
.hero-text .hero-cta { justify-content: center; }
.hero-text .trust-badges { justify-content: center; }
.hero-image { width: 100%; position: relative; overflow: hidden; line-height: 0; }
.hero-img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: cover; }
@media (max-width: 768px) {
  .hero-grid { padding: 40px 0; }
  .hero-text { padding-bottom: 16px; }
  .hero-img { max-height: 260px; }
}
@media (max-width: 480px) {
  .hero-img { max-height: 200px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span.sep { margin: 0 8px; opacity: .5; }
.breadcrumb span.current { color: var(--teal); font-weight: 600; }

/* ---------- Product Grid ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-light); }
.product-thumb { aspect-ratio: 4 / 3; background: var(--sand-light); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.product-card h3 { font-size: 19px; margin: 0 0 8px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--teal); }
/* 产品 hub 页分类区：长标题允许换行，避免被省略号截断 - BuddyQiao 2026-08-25 */
.detail-section .product-card h3 { white-space: normal; overflow: visible; text-overflow: clip; }
.product-desc { color: var(--muted); font-size: 14.5px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-link { margin-top: 14px; font-weight: 700; color: var(--teal); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.product-link:hover { gap: 10px; }

/* ---------- Article List (Resources / News / About) ---------- */
.article-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.article-card {
  display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-light); }
.article-card h3 { font-size: 19px; margin: 0 0 10px; color: var(--ink); }
.article-card:hover h3 { color: var(--teal); }
.article-desc { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-link { font-weight: 700; color: var(--teal); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.article-card:hover .article-link { gap: 10px; }
.empty-state { text-align: center; color: var(--muted); font-size: 16px; padding: 40px 0; }

/* ---------- Product Carousel (2-row sliding switch) ---------- */
.product-carousel { position: relative; }
.product-viewport { overflow: hidden; }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 24px; } /* fallback = responsive grid */
.product-carousel.is-active .product-grid {
  display: flex; flex-wrap: nowrap; gap: 0;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.product-carousel.is-active .product-slide {
  flex: 0 0 100%; display: grid; gap: 24px; align-content: start;
}
/* Prev / Next arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--teal); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); cursor: pointer; z-index: 6;
  display: none; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease, transform .15s ease, opacity .2s ease;
}
.product-carousel.is-active .carousel-arrow { display: flex; }
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover:not(:disabled) { background: var(--teal); color: #fff; }
.carousel-arrow:active:not(:disabled) { transform: translateY(-50%) scale(.92); }
.carousel-arrow:disabled { opacity: .35; cursor: not-allowed; }
.carousel-prev { left: -100px; }
.carousel-next { right: -100px; }

/* On viewports without a wide enough gutter, pull arrows back inside the track */
@media (max-width: 1366px) {
  .carousel-prev { left: 6px; }
  .carousel-next { right: 6px; }
}
/* Page dots */
.carousel-dots { display: none; }
.product-carousel.is-active .carousel-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 26px;
}
.carousel-dot {
  width: 11px; height: 11px; padding: 0; border-radius: 50%;
  border: 2px solid var(--teal); background: transparent; cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.carousel-dot:hover { background: var(--teal-light); }
.carousel-dot.is-active { background: var(--teal); transform: scale(1.3); }

/* ---------- Industry Grid ---------- */
.industry-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.industry-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
  display: flex; gap: 18px; align-items: flex-start;
}
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry-card:hover .industry-icon { background: var(--coral); }
.industry-icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .2s ease;
}
.industry-icon svg { width: 28px; height: 28px; }
.industry-card h3 { font-size: 19px; margin: 0 0 6px; }
.industry-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cert-card {
  background: rgba(255,255,255,.15); /*border: 1px solid rgba(255,255,255,.25);*/
  border-radius: var(--radius-sm); padding: 22px; display: flex; align-items: center; gap: 14px;
  transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 12px 28px rgba(6,20,35,.35);
}
.cert-check { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; transition: transform .28s ease, box-shadow .28s ease; }
.cert-check svg { width: 20px; height: 20px; }
.cert-card:hover .cert-check { transform: scale(1.12); box-shadow: 0 4px 12px rgba(245,158,11,.45); }
.cert-card strong { display: block; font-size: 16px; }
.cert-card span { font-size: 13px; opacity: .8; }

/* ---------- Features (Why Choose) ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: 0 14px 32px rgba(31,42,55,.12); }
.feature-icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--sand-light); color: var(--teal); display: flex; align-items: center; justify-content: center; transition: transform .28s ease, background .28s ease, color .28s ease; }
.feature-icon svg { width: 30px; height: 30px; }
.feature-card:hover .feature-icon { background: var(--teal); color: #fff; transform: translateY(-2px) scale(1.05); }
.feature-card h3 { font-size: 18px; margin: 0 0 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .cert-card, .cert-check, .feature-card, .feature-icon { transition: none; }
  .cert-card:hover, .feature-card:hover,
  .cert-card:hover .cert-check, .feature-card:hover .feature-icon { transform: none; }
}

/* ---------- CTA Band ---------- */
.cta-band { background: var(--teal); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: rgba(255,255,255,.88); font-size: 17px; max-width: 920px; margin: 8px auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C9D2DC; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
/* Hide the Products / Resources / About footer modules on all viewports */
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 15px; letter-spacing: .5px; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #C9D2DC; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
/* [修改] footer-col 子栏目横向不换行 - jiman 2026-09-14 */
.footer-col ul { list-style: none; padding: 0; overflow: hidden; gap: 14px; }
.footer-col ul li { margin-bottom: 10px; flex-shrink: 0; white-space: nowrap; }
.footer-more { color: var(--coral); font-weight: 600; }
.footer-more:hover { color: #fff; }
.showblock { display: block; }
.footer-about { font-size: 14.5px; max-width: 320px; }
.footer-bottom { margin-top: 40px; }
.footer-bottom-inner { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 13.5px; }
.footer-copy { text-align: right; margin-left: auto; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badges span { background: rgba(255,255,255,.1); border-radius: 6px; padding: 5px 10px; font-size: 12px; }

/* ---------- Product Detail ---------- */
.detail-hero { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--sand-light); }
.gallery-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; border: 2px solid var(--border); cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--teal); }
.detail-info h1 { font-size: clamp(26px, 3.4vw, 36px); }
.detail-lede { color: var(--muted); font-size: 17px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.spec-table th { width: 38%; color: var(--teal-dark); font-weight: 700; background: var(--sand-light); }
.detail-body h2 { font-size: 22px; margin-top: 32px; }
.detail-body ul.checklist li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.detail-body ul.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 639px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ---------- Forms (Contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 14.5px; }
.input, .textarea, .select {
  width: 100%; font-family: var(--font-sans); font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,83,148,.12); }
.textarea { min-height: 140px; resize: vertical; }
.info-card { background: var(--sand-light); border: 1px solid var(--sand); border-radius: var(--radius); padding: 28px; }
.info-card h3 { font-size: 18px; }
.info-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.info-list li:last-child { border-bottom: none; }
.info-list .ico { color: var(--teal); flex: 0 0 22px; }
.info-list .muted { color: var(--muted); }
.muted { color: var(--muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; }
.form-alt { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.form-alt a { color: var(--teal); }

/* ---------- Page Header (sub pages) ---------- */
.page-head { background: var(--sand-light); padding: 48px 0 36px; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); }
.page-head p { color: var(--muted); max-width: 640px; font-size: 17px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span.sep { color: var(--teal-dark); }
.breadcrumb span.current { color: var(--ink); font-weight: 600; }

/* ---------- CTA Band ---------- */
.cta-band { background: var(--teal); color: #fff; padding: 44px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; }
.cta-band h2 { color: #fff; font-size: 26px; margin: 0; }
.cta-band .cta-text p { color: rgba(255,255,255,.85); margin: 6px 0 0; font-size: 16px; }
.cta-band .btn-primary { background: var(--coral); border-color: var(--coral); }
.cta-band .btn-primary:hover { background: #D97706; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
/* Two-column CTA text block (about/products/etc.) — override inherited center alignment */
.cta-band .cta-text { text-align: left; flex: 1 1 320px; }
.cta-band .cta-text h2 { margin: 0; }

/* ---------- Q & A Marker Icons ---------- */
.qa-badge {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  font-family: var(--font-serif); font-weight: 700; font-size: 15px; line-height: 1;
}
.qa-badge--q { background: var(--teal); color: #fff; }
.qa-badge--a { background: var(--coral); color: var(--ink); }

/* ---------- FAQ Accordion ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--ink); padding: 18px 44px 18px 0; position: relative; cursor: pointer; transition: color .2s ease; display: flex; align-items: center; gap: 14px; }
.faq-q:hover { color: var(--teal); }
.faq-q .qa-badge { flex: 0 0 30px; }
.faq-q::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-65%) rotate(45deg); transition: transform .25s ease; }
.faq-item.is-open .faq-q::after { transform: translateY(-35%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.is-open .faq-a { max-height: 800px; }
.faq-a-inner { padding: 0 44px 20px 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; display: flex; gap: 14px; align-items: flex-start; }

/* [修改] FAQ Read detailed answer 链接样式 - jiman 2026-09-14 */
.faq-a-inner .qa-badge { flex: 0 0 30px; margin-top: 2px; }

/* FAQ category grouping on list page */
.faq-cat { font-size: 20px; margin: 36px 0 6px; color: var(--teal-dark); }
.faq-cat:first-of-type { margin-top: 10px; }

/* Section header with "view all" link (hub pages) */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.view-all { font-weight: 600; color: var(--teal); font-size: 15px; white-space: nowrap; }
.view-all:hover { color: var(--teal-dark); }

/* FAQ detail page layout */
.qa-hero { display: flex; gap: 18px; align-items: flex-start; }
.qa-hero .qa-badge { width: 46px; height: 46px; font-size: 22px; flex: 0 0 46px; margin-top: 4px; }
.qa-hero h1 { margin: 0; }
.qa-answer { display: flex; gap: 18px; align-items: flex-start; margin-top: 14px; }
.qa-answer .qa-badge { width: 42px; height: 42px; font-size: 20px; flex: 0 0 42px; margin-top: 2px; }
.qa-answer .qa-body { flex: 1; min-width: 0; }
.related-qa { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.related-qa li { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 14px; align-items: center; transition: box-shadow .2s ease, transform .2s ease; background: var(--card); }
.related-qa li:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.related-qa .qa-badge { flex: 0 0 30px; }
.related-qa a { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 15.5px; }
.related-qa a:hover { color: var(--teal); }

/* ---------- Tabs (product detail) ---------- */
.tab-bar { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn { background: none; border: none; font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; color: var(--muted); padding: 12px 22px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .2s ease, border-color .2s ease; }
.tab-btn:hover { color: var(--teal); }
.tab-btn.is-active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Detail layout extras ---------- */
.detail-section { padding: 40px 0; }
.detail-section--alt { background: var(--sand-light); }
.feature-list { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
.feature-list-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-list-item .ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; }
.feature-list-item .ico svg { width: 20px; height: 20px; }
.feature-list-item h4 { font-size: 16px; margin: 0 0 4px; }
.feature-list-item p { font-size: 14.5px; color: var(--muted); margin: 0; }
.compare-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.compare-table th, .compare-table td { text-align: center; padding: 12px 14px; border: 1px solid var(--border); }
.compare-table th { background: var(--sand-light); color: var(--ink); font-weight: 600; }
.compare-table td:first-child { text-align: left; font-weight: 600; background: var(--sand-light); }
.compare-table .yes { color: var(--teal); font-weight: 700; }
.compare-table .no { color: var(--muted); }

/* ---------- Form extras ---------- */
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-group .req { color: var(--coral); }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.form-check input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); }
.form-check label { font-weight: 400; font-size: 14.5px; margin: 0; }
.form-success { background: rgba(11,83,148,.1); border: 1px solid var(--teal); border-radius: var(--radius-sm); padding: 16px 20px; color: var(--teal-dark); font-size: 15px; display: none; }
.form-success.is-visible { display: block; }
.checkbox-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.gated-card { display: flex; gap: 24px; align-items: center; background: var(--sand-light); border: 1px solid var(--sand); border-radius: var(--radius); padding: 28px; margin-bottom: 28px; }
.gated-card .gated-icon { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; }
.gated-card .gated-icon svg { width: 30px; height: 30px; }

/* ---------- Section utilities ---------- */
.section--tight { padding: 40px 0; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--border); margin: 40px 0; border: none; }
.stat-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 32px 0; }
.stat-box { text-align: center; padding: 24px 16px; background: var(--sand-light); border-radius: var(--radius); }
.stat-box .num { font-size: 36px; font-weight: 700; color: var(--teal); font-family: var(--font-serif); }
.stat-box .label { font-size: 14px; color: var(--muted); margin-top: 4px; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before { content: ""; position: absolute; left: -24px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; }
.timeline-item h4 { font-size: 16px; margin: 0 0 4px; }
.timeline-item p { font-size: 14.5px; color: var(--muted); margin: 0; }
.tag-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(11,83,148,.1); color: var(--teal-dark); border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.resource-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: box-shadow .25s ease, transform .25s ease; display: flex; flex-direction: column; gap: 8px; }
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-card .res-type { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--coral); }
.resource-card h3 { font-size: 17px; }
.resource-card p { font-size: 14px; color: var(--muted); flex: 1; }
.resource-card .res-link { font-size: 14px; font-weight: 600; color: var(--teal); }

/* ---------- Responsive Breakpoints ---------- */
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1.2fr 1fr; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .detail-hero { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .checkbox-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .cert-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1280px) {
  .container { padding: 0 24px; }
}

/* Mobile navigation (burger) */
@media (max-width: 768px) {
  .showblock{display: none;}
}
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--card);
    border-bottom: 1px solid var(--border); padding: 12px 20px 22px; box-shadow: var(--shadow-md);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--border); }
  .nav-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 20px; }
  .nav-link::after { display: none; }
  /* Chevron indicator on dropdown parents (mobile accordion) */
  .has-dropdown > .nav-link::after {
    content: ""; display: block; flex: 0 0 auto; position: static; width: 9px; height: 9px; margin-left: 12px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .25s ease; opacity: .6;
  }
  .has-dropdown.is-open > .nav-link::after { transform: rotate(-135deg); }
  .nav-actions { margin: 16px 0 0; }
  .nav-actions .btn { width: 100%; }
  .nav-toggle:checked ~ .nav-menu { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Dropdowns collapse by default; expand as an accordion on mobile */
  .dropdown { position: static; opacity: 0; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 16px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease, opacity .25s ease, padding .25s ease; }
  .has-dropdown.is-open > .dropdown { max-height: 60vh; opacity: 1; padding: 4px 0 12px 16px; overflow-y: auto; }
  .dropdown::before { display: none; }
  .dropdown::after { display: none; }
  .dropdown-inner { grid-template-columns: 1fr; }
  .dropdown--cols2 { min-width: 0; }
  .dropdown--cols2 .dropdown-inner { grid-template-columns: 1fr; }
  .dropdown-item { padding: 9px 10px; }
  .dd-desc { display: none; }

  /* Products mega menu -> stacked accordion on mobile (category links; products via hub) */
  .mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 0;
    min-width: 0; max-height: 0; overflow: hidden;
    transition: max-height .3s ease, opacity .25s ease, padding .25s ease;
  }
  .has-dropdown.is-open > .mega { max-height: 80vh; opacity: 1; padding: 4px 0 12px 16px; overflow-y: auto; }
  .mega-cat { position: static; }
  .mega-cat-link { padding: 12px 6px; border-left: none; border-bottom: 1px solid var(--border); border-radius: 0; }
  .mega-cat-arr { display: none; }
  .mega-flyout {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 0 0 0 14px;
    min-width: 0; max-width: none; max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .25s ease;
  }
  .mega-flyout-head { display: none; }
  .mega-prod { padding: 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
   News (列表页 + 详情页)
   ============================================================ */
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.news-filter button { font-family: var(--font-sans); font-size: 14px; font-weight: 600; padding: 9px 22px; border: 1px solid var(--border); background: var(--card, #fff); color: var(--ink); border-radius: 999px; cursor: pointer; transition: all .2s ease; }
.news-filter button:hover { border-color: var(--teal); color: var(--teal); }
.news-filter button.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--card, #fff); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card.hidden { display: none; }
.news-img { display: block; height: 205px; overflow: hidden; text-align: center; background: var(--sand-light, #f5f1ea); }
.news-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.news-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand-light); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.news-card:hover .news-cover img { transform: scale(1.05); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-cat { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 11px; border-radius: 999px; }
.news-cat--company { background: rgba(11,83,148,.12); color: var(--teal-dark); }
.news-cat--industry { background: rgba(245,158,11,.15); color: var(--coral-deep); }
.news-card h3 { font-size: 18px; line-height: 1.35; margin: 0; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--teal); }
.news-excerpt { font-size: 14.5px; color: var(--muted); flex: 1; line-height: 1.6; }
.news-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.news-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: .6; display: inline-block; }

/* News detail */
.news-detail-cover { aspect-ratio: 21 / 9; max-height: 420px; overflow: hidden; border-radius: var(--radius); background: var(--sand-light); margin: 24px 0 0; }
.news-detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-meta-bar { display: flex; flex-wrap: wrap; gap: 14px 30px; padding: 22px 0; margin: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.news-meta-bar .meta-item { display: flex; flex-direction: column; gap: 3px; }
.news-meta-bar .meta-label { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.news-meta-bar .meta-value { font-size: 15px; font-weight: 600; color: var(--ink); }
.news-article { max-width: 760px; }
.news-article p { font-size: 16.5px; line-height: 1.85; color: #37414F; margin: 0 0 18px; }
.news-article h2 { font-size: 23px; margin: 32px 0 14px; }
.news-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal); margin-top: 10px; }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-filter button { padding: 8px 16px; font-size: 13px; }
}

/* ---------- Floating action rail (live chat / email / back to top) ---------- */
.float-rail { position: fixed; right: 22px; bottom: 96px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn { position: relative; width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; padding: 0; transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease; }
.float-btn svg { width: 22px; height: 22px; }
.float-btn:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.float-btn--primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.float-btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.float-tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px); background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.float-btn:hover .float-tip, .float-btn:focus-visible .float-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px) {
  .float-rail { right: 12px; bottom: 72px; gap: 10px; }
  .float-btn { width: 42px; height: 42px; border-radius: 12px; }
  .float-btn svg { width: 20px; height: 20px; }
}

/* ===== Hero carousel: multi-slide switching ===== */
.hero { padding: 0; height: 600px; }
.hero-track { display: grid; grid-template-rows: 100%; height: 100%; position: relative; z-index: 2; }
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide .hero-bg { position: absolute; inset: 0; }
.hero-slide .hero-bg-slide { opacity: 1; transition: none; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255,255,255,.85);
  color: var(--ink); font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: background .2s ease, color .2s ease;
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--teal); color: #fff; outline: none; }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots { bottom: 22px; }
@media (max-width: 640px) {
  .hero-arrow { width: 40px; height: 40px; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .hero-dots { bottom: 14px; }
}

/* ---------- Products hub & detail (rebuild) ---------- */
.dd-group { display: flex; flex-direction: column; min-width: 210px; }
.dd-group-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; }
.dropdown-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.cat-head { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.cat-cn { color: var(--muted); margin: 2px 0 0; font-size: 15px; }
.cat-intro { max-width: 520px; color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s ease; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.industry-filter { background: var(--sand-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.industry-filter-label { font-weight: 700; color: var(--teal); }
.industry-filter-tags { color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 14px; }
.app-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: all .25s ease; }
.app-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.app-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.app-card p { margin: 0; color: var(--muted); font-size: 14px; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 14px; overflow: hidden; border-radius: var(--radius); }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; font-size: 14.5px; vertical-align: top; }
.compare-table thead th { background: var(--sand-light); color: var(--ink); font-weight: 600; }
.compare-table td:first-child, .compare-table th:first-child { font-weight: 600; color: var(--ink); width: 34%; }
.xsection-wrap { background: var(--sand-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.xsection-wrap svg { border-radius: var(--radius); }

/* [新增] News Detail Page Styles - jiman 2026-09-18 */
.detail-content { max-width: 880px; margin: 0 auto; }
.detail-content h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--ink, #1a1a1a); margin-bottom: 10px; line-height: 1.3; }
.detail-date { display: block; color: var(--muted, #666); font-size: 14px; margin-bottom: 24px; }
.detail-body { font-size: 16px; line-height: 1.8; color: var(--ink, #1a1a1a); }
.detail-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 16px auto; display: block; }
.detail-downloads { margin-top: 32px; padding: 20px; background: var(--sand-light, #f8f6f1); border-radius: 8px; border: 1px solid var(--border, #e5e5e5); }
.detail-downloads h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--ink, #1a1a1a); }
.detail-downloads a { display: inline-block; margin-right: 16px; margin-bottom: 8px; color: var(--accent, #2862f0); text-decoration: none; font-size: 14px; }
.detail-downloads a:hover { text-decoration: underline; }
/* Previous / Next navigation */
.detail-nav { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border, #e5e5e5); }
.detail-nav .prev, .detail-nav .next { display: inline-flex; align-items: center; gap: 8px; max-width: 48%; font-size: 14.5px; color: var(--accent, #2862f0); text-decoration: none; line-height: 1.4; }
.detail-nav .prev { text-align: left; }
.detail-nav .next { text-align: right; margin-left: auto; }
.detail-nav .prev:hover, .detail-nav .next:hover { text-decoration: underline; }
.detail-nav .disabled { color: var(--muted, #aaa); cursor: not-allowed; opacity: 0.6; }
.detail-nav .disabled:hover { text-decoration: none; }
