

/* Gallery slider for TQT screenshots */
.tqt-gallery {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a2436;
  border: 1px solid var(--border);
}
.tqt-gallery-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a2436;
}
.tqt-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.tqt-slide.active {
  opacity: 1;
}
.tqt-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}
.tqt-gallery-arrow:hover {
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.35);
}
.tqt-gallery-arrow-prev { left: 12px; }
.tqt-gallery-arrow-next { right: 12px; }
.tqt-gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.tqt-gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s;
}
.tqt-gallery-dot:hover {
  background: rgba(255,255,255,0.6);
}
.tqt-gallery-dot.active {
  background: var(--accent);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.2);
}

/* Documentation link in page-header */
.tqt-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  max-width: 760px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}
.tqt-doc-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.tqt-doc-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.tqt-doc-text i {
  color: #5ddfff;
  margin-right: 8px;
}
.page-header .tqt-doc-card .btn-mm {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.30);
  color: #fff;
  padding: 8px 18px;
  font-size: 11px;
  flex-shrink: 0;
}
.page-header .tqt-doc-card .btn-mm:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}/* ═══ TopoQt page specific styles ═══ */

/* Description blocks */
.tqt-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.tqt-desc-lg {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Certificate badges */
.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  border: 1px solid rgba(0,119,204,0.2);
  border-radius: 8px;
  padding: 10px 16px;
}
.cert-badge i {
  color: var(--accent);
}
.cert-badge span {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}

/* Interface mockup */
.feature-visual-mockup {
  min-height: 320px;
  padding: 0;
}
.mockup-window {
  width: 100%;
  height: 320px;
  background: #1a2436;
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
}
.mockup-titlebar {
  background: #0f1825;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot-red    { background: #ff5f57; }
.mockup-dot-yellow { background: #febc2e; }
.mockup-dot-green  { background: #28c840; }
.mockup-title {
  margin-left: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
}
.mockup-menubar {
  background: #151f2e;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-menu-item {
  color: rgba(255,255,255,0.5);
}
.mockup-body {
  display: flex;
  height: 252px;
}
.mockup-sidebar {
  width: 140px;
  background: #111b29;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 10px 8px;
  flex-shrink: 0;
}
.mockup-sidebar-title {
  color: rgba(255,255,255,0.3);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mockup-layer-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-layer-item {
  border-radius: 3px;
  padding: 4px 6px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
}
.mockup-layer-item.active {
  background: rgba(0,119,204,0.25);
  border-left: 2px solid #0077cc;
  color: rgba(255,255,255,0.85);
}
.mockup-qa-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mockup-qa-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}
.mockup-qa-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.mockup-qa-dot.green  { background: #28c840; }
.mockup-qa-dot.yellow { background: #febc2e; }
.mockup-qa-dot.red    { background: #ff5f57; }
.mockup-qa-label {
  color: rgba(255,255,255,0.5);
}
.mockup-canvas {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.mockup-canvas-svg {
  width: 100%;
  height: 252px;
}

/* Section title small */
.section-title-sm {
  font-size: 22px;
  margin-bottom: 18px;
}

/* Lists */
.tqt-list {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Small buttons */
.btn-sm {
  font-size: 11px;
}

/* Feature visual medium */
.feature-visual-md {
  min-height: 260px;
}

/* Icon grid */
.icon-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
}
.icon-grid-item {
  width: 70px;
  height: 70px;
  background: var(--accent-bg);
  border: 1px solid var(--border-md);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 24px;
}

/* Narrow content */
.narrow {
  max-width: 560px;
}

/* Second sidebar title (QA) */
.mockup-sidebar-title + .mockup-sidebar-title {
  margin-top: 12px;
}

/* Documentation link in page-header */
.tqt-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  max-width: 760px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}
.tqt-doc-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.tqt-doc-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.tqt-doc-text i {
  color: #5ddfff;
  margin-right: 8px;
}
.page-header .tqt-doc-card .btn-mm {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.30);
  color: #fff;
  padding: 8px 18px;
  font-size: 11px;
  flex-shrink: 0;
}
.page-header .tqt-doc-card .btn-mm:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
