:root {
  --bg: #06111f;
  --bg-soft: #0b1b31;
  --panel: rgba(12, 24, 45, 0.9);
  --panel-strong: #102541;
  --panel-soft: #0e2139;
  --line: rgba(128, 173, 255, 0.16);
  --line-strong: rgba(109, 198, 255, 0.35);
  --text: #edf5ff;
  --muted: #8fa7c6;
  --muted-strong: #b2c7e0;
  --accent: #4dc8ff;
  --accent-strong: #95e3ff;
  --accent-soft: rgba(77, 200, 255, 0.14);
  --success: #66ffd1;
  --shadow: 0 20px 60px rgba(2, 10, 22, 0.48);
  --radius: 22px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(58, 153, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(0, 240, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #06111f 0%, #091726 48%, #050d18 100%);
}

a { color: inherit; text-decoration: none; transition: .2s ease; }
img { max-width: 100%; display: block; }
main { padding-bottom: 36px; }
.container { width: min(var(--max-width), calc(100% - 32px)); margin: 0 auto; }
.section, .hero { padding: 32px 0; }
.section-title, .section-intro, .muted { color: var(--muted); }
.eyebrow, .card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before, .card-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 10, 20, 0.72);
  border-bottom: 1px solid rgba(131, 168, 255, 0.08);
  backdrop-filter: blur(18px);
}
.site-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand { display: flex; align-items: center; gap: 14px; }
.site-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #06111f;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 24px rgba(77, 200, 255, 0.28);
}
.site-brand-copy strong { display: block; font-size: 18px; }
.site-brand-copy small { display: block; color: var(--muted); font-size: 12px; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(133, 170, 255, 0.12);
  background: rgba(9, 19, 35, 0.78);
}
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}
.site-nav a.active, .site-nav a:hover {
  color: var(--text);
  background: rgba(77, 200, 255, 0.12);
}

.hero-panel, .panel, .card, .detail-panel, .empty-state, .search-panel, .info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 37, 65, 0.92), rgba(9, 21, 39, 0.96));
  box-shadow: var(--shadow);
}
.hero-panel {
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .9fr);
  gap: 28px;
  overflow: hidden;
}
.hero-copy h1, .page-head h1, .detail-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}
.hero-copy p, .page-head p { max-width: 720px; margin: 0; color: var(--muted-strong); font-size: 17px; }
.hero-actions, .quick-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-side, .capability-grid, .stats, .grid, .detail-columns, .footer-grid { display: grid; gap: 18px; }
.stats { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.stat, .capability-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(147, 188, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 25, 46, 0.92), rgba(7, 19, 35, 0.96));
}
.stat strong { display: block; font-size: 32px; line-height: 1; margin-bottom: 8px; color: var(--accent-strong); }
.capability-grid, .grid.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.section-head h2, .detail-section h2, .detail-section h3 { margin: 8px 0 10px; }

.page-head, .search-panel { padding: 26px; margin-bottom: 22px; }
.search-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 18px;
  background: rgba(5, 14, 27, 0.6);
  border: 1px solid rgba(133, 170, 255, 0.12);
}
.search-form input {
  flex: 1 1 320px;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(11, 27, 49, 0.82);
  color: var(--text);
}
.search-form input::placeholder { color: #7793b7; }

.card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card h3 { margin: 0; font-size: 22px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); }
.card-meta {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card-link, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(125, 212, 255, 0.28);
  color: var(--text);
  background: rgba(12, 33, 58, 0.72);
}
.button.primary, .card-link:hover, .button:hover {
  border-color: rgba(149, 227, 255, 0.55);
  background: linear-gradient(135deg, rgba(41, 153, 255, 0.22), rgba(77, 200, 255, 0.18));
}

.pill-row, .pagination { display: flex; flex-wrap: wrap; gap: 10px; }
.page-link {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(131, 168, 255, 0.14);
  background: rgba(10, 20, 38, 0.74);
  color: var(--muted);
}
.page-link.active, .page-link:hover {
  color: var(--text);
  border-color: rgba(149, 227, 255, 0.45);
  background: rgba(77, 200, 255, 0.14);
}
.page-link.disabled {
  pointer-events: none;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  min-width: auto;
  padding: 0 6px;
}

.breadcrumbs {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}
.detail-panel { padding: 28px; }
.detail-hero { padding-bottom: 24px; border-bottom: 1px solid rgba(131, 168, 255, 0.12); margin-bottom: 24px; }
.detail-meta { color: var(--muted); margin-bottom: 12px; }
.detail-columns { grid-template-columns: minmax(0, 1.7fr) minmax(290px, .9fr); }
.detail-stack { display: grid; gap: 16px; }
.detail-section + .detail-section { margin-top: 20px; }
.detail-section p, .detail-section li { color: var(--muted-strong); }
.list-reset { list-style: none; padding: 0; margin: 0; }
.spec-list li { padding: 12px 0; border-bottom: 1px solid rgba(131, 168, 255, 0.1); }
.empty-state { padding: 56px 28px; text-align: center; }
.video-player,
.video-frame {
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: #02070f;
  min-height: 320px;
  margin-bottom: 14px;
}
.chat-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(131, 168, 255, 0.14);
  background: rgba(6, 16, 29, 0.82);
  color: var(--text);
  resize: vertical;
}
.chat-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.consultation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr);
  gap: 20px;
  align-items: start;
}
.consultation-hero { margin-bottom: 18px; }
.consultation-main,
.consultation-sidebar { min-width: 0; }
.consultation-sidebar { display: grid; gap: 16px; }
.consultation-card {
  display: flex;
  flex-direction: column;
  min-height: 680px;
  max-height: calc(100vh - 150px);
}
.consultation-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 8px;
}
.consultation-card-head h3 { margin: 0 0 6px; }
.consultation-card-head p { margin: 0; color: var(--muted); }
.consultation-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  border: 1px solid rgba(131, 168, 255, 0.14);
}
.consultation-status.enabled { background: rgba(77, 200, 255, 0.12); color: var(--accent-strong); }
.consultation-status.disabled { background: rgba(255, 180, 180, 0.1); color: #ffb4b4; }
.consultation-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.quick-topic-list { gap: 10px; }
.quick-topic {
  padding: 9px 14px;
  border: 1px solid rgba(131, 168, 255, 0.16);
  border-radius: 999px;
  background: rgba(77, 200, 255, 0.08);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.quick-topic:hover {
  border-color: rgba(149, 227, 255, 0.38);
  background: rgba(77, 200, 255, 0.14);
  transform: translateY(-1px);
}
.quick-topic:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}
.chat-log { display: grid; gap: 12px; margin-top: 18px; }
.consultation-log {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  min-height: 260px;
}
.chat-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(131, 168, 255, 0.12);
  background: rgba(7, 18, 33, 0.82);
}
.chat-bubble.user {
  background: rgba(77, 200, 255, 0.12);
  border-color: rgba(149, 227, 255, 0.28);
}
.chat-error { color: #ffb4b4; margin-top: 14px; }

/* --- Product Detail Page --- */
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 37, 65, 0.92), rgba(9, 21, 39, 0.96));
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.product-layout { display: flex; gap: 36px; }
.gallery { width: 480px; flex-shrink: 0; }
.main-img {
  width: 100%; height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 12px;
  border: 1px solid var(--line);
  position: relative;
}
.main-img img, .main-img video { width: 100%; height: 100%; object-fit: cover; }
.main-img video { object-fit: contain; background: #000; }
.main-img .img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
}
.thumbs { display: flex; gap: 8px; }
.thumb {
  width: 80px; height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  opacity: .5;
}
.thumb.active, .thumb:hover { border-color: var(--accent); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-video { position: relative; }
.thumb-video::after {
  content: '\25B6';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  pointer-events: none;
}
.info { flex: 1; min-width: 0; }
.product-title {
  font-size: 26px; font-weight: 700; line-height: 1.35;
  margin: 10px 0 16px;
}
.company-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.company-row .avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: var(--bg);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.company-row a { font-size: 14px; color: var(--accent); font-weight: 500; }
.company-row a:hover { text-decoration: underline; }
.price {
  font-size: 22px; font-weight: 700; color: var(--accent);
  margin-bottom: 16px;
}
.desc { font-size: 14px; color: var(--muted-strong); line-height: 1.8; margin-bottom: 20px; }
.ai-summary {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
  background: rgba(6, 17, 31, 0.5);
}
.ai-summary-title {
  font-size: 13px; font-weight: 600;
  letter-spacing: .4px;
  color: var(--accent-strong);
  margin-bottom: 10px;
}
.ai-summary-list { display: grid; gap: 8px; }
.ai-summary-item { font-size: 14px; color: var(--muted-strong); line-height: 1.7; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.specs-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 37, 65, 0.92), rgba(9, 21, 39, 0.96));
  box-shadow: var(--shadow);
  padding: 28px;
  margin-top: 24px;
  position: relative;
}
.specs-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.section-heading {
  font-size: 18px; font-weight: 600;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-heading .more-link { font-size: 13px; color: var(--muted); font-weight: 400; }
.section-heading .more-link:hover { color: var(--accent); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.spec-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.spec-name { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
.spec-value { font-size: 15px; color: var(--text); line-height: 1.7; word-break: break-word; }

.product-body {
  font-size: 14px; color: var(--muted-strong); line-height: 1.9; word-break: break-word;
}
.product-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 12px 0; }
.product-body table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.product-body table td, .product-body table th {
  padding: 10px 14px; border: 1px solid var(--line); font-size: 14px;
}
.product-body p { margin-bottom: 12px; }
.product-body h2, .product-body h3, .product-body h4 { color: var(--text); margin: 18px 0 10px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.related-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: all .3s ease;
}
.related-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.related-img { height: 180px; overflow: hidden; background: var(--bg-soft); }
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-item:hover .related-img img { transform: scale(1.04); }
.related-img .img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
}
.related-img .img-placeholder.small { font-size: 12px; }
.related-body { padding: 14px; }
.related-name {
  font-size: 14px; font-weight: 500; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.related-price { font-size: 14px; color: var(--accent); font-weight: 600; }

/* --- Product Listing Cards --- */
.product-card-item { padding: 0; overflow: hidden; }
.product-card-img {
  height: 170px;
  background-size: cover; background-position: center;
  background-color: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.product-card-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.product-card-placeholder .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--bg); font-weight: 700;
  background: var(--accent);
}
.product-card-placeholder .label { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 1px; }
.product-card-body { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card-body h3 { font-size: 16px; }
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.product-card-footer .price { font-size: 14px; font-weight: 700; color: var(--accent); margin: 0; }
.tag-pill {
  padding: 2px 10px; border-radius: 12px; font-size: 11px;
  background: var(--accent-soft); color: var(--accent-strong); font-weight: 500;
  border: 1px solid rgba(77, 200, 255, 0.18);
}

/* --- Filter Bar --- */
.filter-bar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 22px;
  background: linear-gradient(180deg, rgba(16, 37, 65, 0.92), rgba(9, 21, 39, 0.96));
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  position: relative;
}
.filter-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.filter-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 6px 16px; border-radius: 20px;
  font-size: 13px; color: var(--muted-strong);
  background: var(--bg-soft); cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.pill:hover { border-color: var(--line-strong); color: var(--accent); background: var(--accent-soft); }
.pill.active { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; }

/* --- Responsive product detail --- */
@media (max-width: 1024px) {
  .product-layout { flex-direction: column; }
  .gallery { width: 100%; }
  .main-img { height: auto; aspect-ratio: 4/3; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .product-card { padding: 20px; }
  .specs-card { padding: 20px; }
  .related-grid { grid-template-columns: 1fr; }
}

.site-footer {
  padding: 48px 0 36px;
  background: rgba(7, 17, 31, 0.95);
  border-top: 1px solid rgba(131, 168, 255, 0.08);
  margin-top: 48px;
}
.footer-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.footer-brand h3, .footer-nav h4 { margin: 0 0 10px; }
.footer-brand p, .footer-nav a, .footer-note { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }

/* ── Article detail page ── */
.card-cover {
  height: 160px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--panel-strong); margin: -24px -24px 16px; position: relative;
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-cover-video { position: relative; }
.card-cover-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; background: rgba(77,200,255,.85);
  display: flex; align-items: center; justify-content: center;
}
.card-cover-play svg { width: 18px; height: 18px; color: var(--bg); }
.supplier-avatar-sm {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: var(--bg);
  font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.article-page { max-width: 860px; margin: 0 auto; }
.article-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 36px; position: relative; margin-bottom: 20px;
}
.article-card::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--accent-soft),transparent); }
.article-tag {
  display: inline-block; padding: 4px 14px; border-radius: 16px; font-size: 12px;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; margin-bottom: 16px; border: 1px solid var(--line);
}
.article-title { font-size: 28px; font-weight: 700; line-height: 1.4; margin: 0 0 16px; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.article-avatar {
  width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--bg);
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.article-meta a { color: var(--accent); font-weight: 500; }
.article-meta a:hover { text-decoration: underline; }
.article-meta .dot { color: var(--line); }
.article-summary {
  margin-top: 20px; padding: 16px 18px; background: rgba(6,17,31,.6);
  border: 1px solid var(--line); border-radius: 14px;
}
.article-summary-title { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .5px; margin-bottom: 8px; text-transform: uppercase; }
.article-summary-item { font-size: 14px; color: var(--muted-strong); line-height: 1.8; }
.article-cover { margin-top: 20px; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; background: var(--panel-strong); border: 1px solid var(--line); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; margin-bottom: 20px; position: relative;
}
.article-body-card::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--accent-soft),transparent); }
.article-body { font-size: 16px; color: var(--muted-strong); line-height: 2; }
.article-body p { margin-bottom: 18px; }
.article-body h2, .article-body h3 { color: var(--text); margin: 32px 0 14px; font-weight: 700; }
.article-body h2::before { content:''; display:inline-block; width:3px; height:18px; background:var(--accent); border-radius:2px; margin-right:10px; vertical-align:middle; }
.article-body ul, .article-body ol { margin: 14px 0 20px 1.5em; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 16px 20px; background: var(--accent-soft); border-radius: 0 14px 14px 0; margin: 24px 0; font-style: italic; }
.article-body img { max-width: 100%; border-radius: 14px; margin: 14px 0; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.article-body td, .article-body th { padding: 8px 12px; border: 1px solid var(--line); font-size: 14px; }
.tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-pill { padding: 5px 14px; border-radius: 16px; font-size: 12px; background: var(--accent-soft); color: var(--muted); border: 1px solid var(--line); }
.article-columns { display: grid; grid-template-columns: 1fr 280px; gap: 24px; }
.article-side { display: flex; flex-direction: column; gap: 16px; }
.related-section { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.related-title { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.side-related-grid { display: grid; gap: 12px; }
.side-related-item {
  display: flex; gap: 14px; padding: 12px; border-radius: 14px;
  border: 1px solid var(--line); transition: all .2s; cursor: pointer;
}
.side-related-item:hover { border-color: var(--line-strong); background: var(--accent-soft); }
.side-related-thumb { width: 100px; height: 68px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--panel-strong); }
.side-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-related-detail { flex: 1; min-width: 0; }
.side-related-t { font-size: 14px; font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-related-item:hover .side-related-t { color: var(--accent); }
.side-related-m { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ── Supplier detail page ── */
.supplier-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; display: flex; align-items: center; gap: 20px; position: relative; margin-bottom: 16px;
}
.supplier-card::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--line-strong),transparent); }
.supplier-card-left { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.supplier-avatar {
  width: 56px; height: 56px; border-radius: 14px; background: var(--accent); color: var(--bg);
  font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.supplier-name { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; }
.supplier-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.supplier-tag {
  display: inline-flex; padding: 3px 10px; border-radius: 4px; font-size: 12px;
  color: var(--muted-strong); background: rgba(6,17,31,.6); border: 1px solid var(--line);
}
.supplier-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.supplier-stats { font-size: 14px; color: var(--muted-strong); white-space: nowrap; }
.supplier-stats strong { color: var(--accent); font-weight: 600; }
.supplier-summary {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 24px; margin-bottom: 16px; position: relative;
}
.supplier-summary::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--accent-soft),transparent); }
.supplier-summary-title { font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; }
.supplier-summary-item { font-size: 14px; line-height: 1.8; color: var(--muted-strong); }

/* Tabs */
.tabs {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
  display: flex; gap: 0; border-bottom: 1px solid var(--line); padding: 0 24px; position: relative;
}
.tabs::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--accent-soft),transparent); }
.tab {
  padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--muted);
  cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; transition: .2s;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content {
  background: var(--panel); border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 var(--radius) var(--radius); padding: 24px; min-height: 260px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Supplier feed (articles tab) */
.supplier-feed { display: flex; flex-direction: column; }
.feed-item {
  display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(131,168,255,.08);
  transition: .2s; cursor: pointer;
}
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: var(--accent-soft); margin: 0 -24px; padding: 14px 24px; }
.feed-thumb {
  width: 140px; height: 94px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: var(--panel-strong); background-size: cover; background-position: center;
}
.feed-body { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.feed-title { font-size: 15px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-item:hover .feed-title { color: var(--accent); }
.feed-meta { display: flex; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.feed-type { padding: 2px 10px; border-radius: 4px; font-size: 11px; font-weight: 500; background: var(--accent-soft); color: var(--accent); }

/* Supplier about */
.supplier-about { font-size: 15px; color: var(--muted-strong); line-height: 1.9; }
.supplier-about p { margin: 0 0 14px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.info-item { padding: 16px; background: rgba(6,17,31,.6); border: 1px solid var(--line); border-radius: 14px; }
.info-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; letter-spacing: .5px; text-transform: uppercase; }
.info-value { font-size: 15px; font-weight: 500; color: var(--text); }

/* Supplier products grid */
.supplier-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod-card {
  background: var(--panel-strong); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: .2s; cursor: pointer;
}
.prod-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.prod-card:hover .prod-title { color: var(--accent); }
.prod-img { height: 140px; overflow: hidden; background: var(--panel-strong); background-size: cover; background-position: center; }
.prod-body { padding: 12px 14px; }
.prod-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-price { font-size: 14px; font-weight: 600; color: var(--accent); }

/* Supplier videos grid */
.supplier-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.vid-card {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  aspect-ratio: 16/9; background: var(--panel-strong); border: 1px solid var(--line);
}
.vid-card:hover { border-color: var(--line-strong); }
.vid-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%; background: rgba(77,200,255,.8);
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.vid-card:hover .vid-play { transform: translate(-50%,-50%) scale(1.1); }
.vid-play svg { width: 20px; height: 20px; color: var(--bg); }
.vid-title {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: 14px; font-weight: 500; color: #fff;
}

@media (max-width: 960px) {
  .hero-panel, .capability-grid, .grid.cards-3, .grid.cards-2, .detail-columns, .consultation-layout, .footer-grid, .stats {
    grid-template-columns: 1fr;
  }
  .hero-panel { padding: 30px; }
  .site-header-inner, .section-head, .search-panel-top { align-items: start; }
  .consultation-card { min-height: auto; max-height: none; }
  .article-columns { grid-template-columns: 1fr; }
  .supplier-card { flex-direction: column; align-items: flex-start; }
  .supplier-card-right { align-items: flex-start; width: 100%; }
  .supplier-products { grid-template-columns: repeat(2, 1fr); }
  .supplier-videos { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .tabs { padding: 0 12px; overflow-x: auto; }
  .feed-item:hover { margin: 0 -12px; padding: 12px; }
  .feed-thumb { width: 100px; height: 68px; }
}
@media (max-width: 600px) {
  .article-card { padding: 20px; }
  .article-body-card { padding: 20px; }
  .article-title { font-size: 22px; }
  .supplier-products { grid-template-columns: 1fr; }
}

/* ── AI Chat Page ── */
.ai-page { padding-top: 16px; }
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.ai-chat-panel {
  background: var(--panel);
  border: 1px solid rgba(131, 168, 255, 0.12);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 140px);
  min-height: 500px;
  position: sticky;
  top: 80px;
}
.ai-chat-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(131, 168, 255, 0.1);
}
.ai-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-chat-title h1 {
  font-size: 20px;
  margin: 0;
  color: var(--text);
}
.ai-chat-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.ai-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ai-status-dot.on {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}
.ai-status-dot.off {
  background: #f87171;
}
.ai-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-chat-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ai-chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ai-msg-user {
  flex-direction: row-reverse;
}
.ai-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.ai-msg-bot .ai-msg-avatar {
  background: rgba(77, 200, 255, 0.15);
  color: var(--accent);
}
.ai-msg-user .ai-msg-avatar {
  background: rgba(131, 168, 255, 0.2);
  color: var(--text);
}
.ai-msg-text {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.ai-msg-bot .ai-msg-text {
  background: rgba(12, 24, 45, 0.8);
  border: 1px solid rgba(131, 168, 255, 0.1);
}
.ai-msg-user .ai-msg-text {
  background: rgba(77, 200, 255, 0.12);
  border: 1px solid rgba(77, 200, 255, 0.2);
}
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  background: rgba(12, 24, 45, 0.8);
  border: 1px solid rgba(131, 168, 255, 0.1);
  border-radius: 12px;
  width: fit-content;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: ai-bounce 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}
.ai-error {
  padding: 8px 24px;
  color: #f87171;
  font-size: 13px;
}
.ai-quick-row {
  padding: 8px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid rgba(131, 168, 255, 0.08);
}
.ai-quick-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(131, 168, 255, 0.2);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.ai-quick-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.ai-quick-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ai-input-row {
  padding: 12px 24px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(131, 168, 255, 0.1);
}
.ai-input-row input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(131, 168, 255, 0.15);
  background: rgba(6, 17, 31, 0.6);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.ai-input-row input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
}
.ai-input-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
/* Side panel */
.ai-side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-side-card {
  background: var(--panel);
  border: 1px solid rgba(131, 168, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
}
.ai-side-card h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 12px;
}
.ai-company-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.ai-company-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 200, 255, 0.12);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.ai-company-head h3 {
  font-size: 16px;
  margin: 0;
  color: var(--text);
}
.ai-company-loc {
  font-size: 13px;
  color: var(--muted);
}
.ai-company-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.ai-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-side-list li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.ai-side-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}
@media (max-width: 960px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-chat-panel { height: auto; min-height: 60vh; position: static; }
  .ai-side-panel { order: -1; }
}
@media (max-width: 600px) {
  .ai-quick-row { padding: 6px 16px; }
  .ai-input-row { padding: 8px 16px 12px; flex-direction: column; }
  .ai-chat-header { padding: 16px; }
  .ai-chat-log { padding: 12px 16px; }
}
