:root {
  --ink: #17212b;
  --muted: #65717d;
  --line: #d9e0e6;
  --paper: #f6f8f9;
  --panel: #ffffff;
  --sea: #0b6f84;
  --deep: #083445;
  --signal: #d59c32;
  --soft: #e9eff2;
  --radius: 8px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(8,52,69,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8,52,69,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 24px;
}
.brand img { width: 220px; display: block; }
nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
nav a:hover { color: var(--sea); }
main { max-width: 1320px; margin: 0 auto; padding: 0 24px 64px; }
.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(0, .78fr);
  align-items: stretch;
  gap: 28px;
  padding: 32px 0 44px;
}
.hero-copy {
  background: var(--deep);
  color: white;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.22);
  transform: rotate(28deg);
}
.eyebrow {
  margin: 0 0 18px;
  color: #8bd2df;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}
.english {
  margin: 14px 0 0;
  font-size: clamp(18px, 2.4vw, 30px);
  color: #d9eef2;
  font-weight: 800;
}
.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d7e1e6;
  font-size: 18px;
  line-height: 1.75;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
}
.hero-facts div {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  padding: 12px;
}
.hero-facts dt {
  color: #8bd2df;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 5px;
}
.hero-facts dd {
  margin: 0;
  color: white;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}
.hero-carousel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.carousel-frame {
  position: relative;
  min-height: 390px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 28px rgba(8,52,69,.16));
}
.carousel-slide figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.carousel-slide figcaption strong {
  font-size: 24px;
  color: var(--deep);
}
.carousel-slide figcaption span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--deep);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.carousel-btn:hover { border-color: var(--sea); color: var(--sea); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid var(--sea);
  background: transparent;
  cursor: pointer;
}
.carousel-dot.active { background: var(--sea); }
.section {
  margin-top: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.section-head { margin-bottom: 18px; }
.section-head p {
  margin: 0 0 4px;
  color: var(--sea);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}
.section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.model-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.model-image {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, #eef3f5);
  padding: 18px;
}
.model-image img { width: 100%; height: 100%; object-fit: contain; }
.model-body { padding: 16px; border-top: 1px solid var(--line); }
.model-body h3 { margin: 0 0 8px; font-size: 21px; }
.model-body p { margin: 0; color: var(--muted); line-height: 1.6; }
.page-card { color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.page-card:hover { transform: translateY(-3px); border-color: rgba(11,111,132,.42); }
.table-shell {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.compare-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
  vertical-align: middle;
  font-size: 15px;
}
.compare-table thead th {
  background: #f9fbfc;
  font-size: 18px;
  color: #2f3740;
  border-bottom: 2px solid #7e878d;
}
.compare-table tbody tr:nth-child(even) td,
.compare-table tbody tr:nth-child(even) .item-cell {
  background: #ebe9e8;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
}
.spec-table td { white-space: pre-line; color: #2d3841; line-height: 1.55; min-width: 190px; }
.spec-table tbody th {
  text-align: left;
  color: var(--deep);
  font-size: 15px;
  min-width: 140px;
}
.matrix-legend {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}
.matrix-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 3px solid #241e1f;
  vertical-align: middle;
}
.dot.yes { background: #241e1f; }
.dot.no { background: transparent; }
.matrix-table .group-col { min-width: 130px; }
.group-cell {
  text-align: left;
  color: var(--deep);
  font-size: 18px;
  background: white;
  border-right: 1px solid var(--line);
}
.item-cell { color: #2e3338; min-width: 220px; }
.mark-cell { text-align: center; min-width: 110px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 34px;
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.feature-list li {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  border-radius: var(--radius);
  padding: 13px 14px;
  line-height: 1.65;
}
.app-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.app-tags span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--deep);
  font-weight: 800;
}
.source-band {
  margin-top: 34px;
  background: var(--deep);
  color: white;
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.source-band p {
  margin: 0 0 3px;
  color: #8bd2df;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}
.source-band h2 { margin: 0 0 6px; }
.source-band span { color: #d7e1e6; }
.source-band a {
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  white-space: nowrap;
}
.footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 30px; }
  .hero-facts { grid-template-columns: 1fr; }
  .carousel-frame { min-height: 360px; }
  .carousel-slide figcaption { align-items: flex-start; flex-direction: column; }
  .carousel-slide figcaption span { text-align: left; }
  .split, .source-band { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .footer-actions { justify-content: flex-start; }
  .compare-table { min-width: 720px; }
}

/* BotDirectPro product-page extensions for Boya Gongdao category pages */
.prod-nav {
  padding-top: 20px;
  padding-bottom: 14px;
}
.prod-nav-links a {
  color: #56616c;
}
.boya-lang-toggle {
  min-width: 44px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--deep);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.boya-lang-toggle:hover,
.boya-lang-toggle:focus-visible {
  border-color: var(--sea);
  color: var(--sea);
}
.boya-hero {
  align-items: stretch;
  grid-template-columns: minmax(420px, .95fr) minmax(0, .88fr);
  margin-top: 18px;
}
.boya-carousel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #eef5f7);
  min-height: 470px;
}
.boya-carousel .prod-carousel-track {
  height: 100%;
}
.boya-control {
  text-decoration: none;
}
.boya-carousel .prod-carousel-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}
.boya-carousel .prod-carousel-slide {
  min-height: 470px;
  flex-direction: column;
  gap: 12px;
  padding: 28px 30px 24px;
}
.boya-carousel .prod-carousel-slide img {
  height: 340px;
  aspect-ratio: auto;
  padding: 0;
  filter: drop-shadow(0 20px 28px rgba(8,52,69,.15));
}
.boya-slide-caption {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.boya-slide-caption strong {
  color: var(--deep);
  font-size: 24px;
}
.boya-slide-caption span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}
.prod-hero-body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #083445;
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 54px);
}
.prod-hero-body .prod-hero-company,
.prod-hero-body .prod-hero-tagline {
  color: #cdebf1;
}
.prod-hero-body .prod-hero-name {
  color: #fff;
}
.boya-english {
  margin: 0 0 18px;
  color: #99d9e6;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .03em;
}
.boya-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.boya-hero-facts div {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255,255,255,.06);
}
.boya-hero-facts dt {
  color: #8bd2df;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 4px;
}
.boya-hero-facts dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
}
.boya-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 28px 18px;
  align-items: start;
}
.boya-app-item {
  min-height: 112px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  text-align: center;
}
.boya-app-icon {
  width: 78px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #2da3df;
}
.boya-app-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.boya-app-label {
  color: #343434;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}
.prod-feature {
  border-left-color: var(--sea);
}
.prod-feature-title {
  line-height: 1.6;
}
.prod-bottom {
  margin-top: 20px;
}
@media (max-width: 900px) {
  .boya-hero {
    grid-template-columns: 1fr;
  }
  .boya-carousel,
  .boya-carousel .prod-carousel-slide {
    min-height: 380px;
  }
  .boya-carousel .prod-carousel-slide img {
    height: 250px;
  }
  .boya-hero-facts {
    grid-template-columns: 1fr;
  }
  .boya-app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .boya-app-icon {
    width: 58px;
    height: 54px;
  }
  .boya-app-label {
    font-size: 15px;
  }
}
