.qts-section {
    --qts-brand: #294A70;
    --qts-brand-dark: #1e3754;
    --qts-brand-light: #3a6094;
    --qts-accent: #F39C2A;
    --qts-accent-dark: #d4861d;
    --qts-bg-soft: #F4F6F8;
    --qts-text: #212529;
    --qts-muted: #6c757d;
    --qts-border: #e3e8ec;
    --qts-ua-blue: #005BBB;
    --qts-ua-yellow: #FFD500;

    font-family: 'Manrope', -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--qts-text);
    line-height: 1.65;
  }

  .qts-footer-logo {
  margin-top: 14px;
  text-align: center;
}

.qts-footer-logo img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: inline-block;
}
  .qts-hero {
    background:
      radial-gradient(circle at 85% 25%, rgba(243,156,42,0.18) 0%, transparent 45%),
      radial-gradient(circle at 15% 85%, rgba(58,96,148,0.25) 0%, transparent 50%),
      linear-gradient(135deg, var(--qts-brand) 0%, var(--qts-brand-dark) 100%);
    color: white;
    padding: 3rem 0 5rem;
    margin-bottom: 3.5rem;
    border-radius: 0 0 24px 24px;
    position: relative;
    overflow: hidden;
  }
  .qts-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(243,156,42,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  
  .qts-hero-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .qts-hero-header img {
    height: 52px;
    width: auto;
    flex-shrink: 0;
  }
  .qts-hero-header .qts-org-text {
    color: rgba(255,255,255,0.95);
    line-height: 1.35;
  }
  .qts-hero-header .qts-org-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
  }
  .qts-hero-header .qts-org-base {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    margin-top: 2px;
  }

  .qts-hero .qts-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--qts-accent);
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(243,156,42,0.4);
    border-radius: 50px;
    background: rgba(243,156,42,0.08);
  }

  .qts-hero .qts-product-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: white;
  }
  .qts-hero .qts-product-name .qts-acronym {
    background: linear-gradient(135deg, var(--qts-accent) 0%, #ffb556 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
  }
  .qts-hero .qts-product-en {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 1.5rem;
  }
  .qts-hero h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.95);
  }
  .qts-hero .qts-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .qts-hero .qts-build-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
  }
  .qts-hero .qts-build-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
  }
  .qts-hero .qts-build-badge strong {
    color: white;
    font-weight: 700;
  }
  .qts-hero .qts-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 1.5rem;
  }
  .qts-hero .qts-quick-stats .qts-stat {
    border-left: 3px solid var(--qts-accent);
    padding-left: 1rem;
  }
  .qts-hero .qts-quick-stats .qts-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
  }
  .qts-hero .qts-quick-stats .qts-stat-lbl {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin-top: 0.25rem;
  }

.qts-screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.qts-shot {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--qts-border);
  background: #fff;
  transition: all 0.25s ease;
}

.qts-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(41,74,112,0.15);
  border-color: var(--qts-brand-light);
}

.qts-shot img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.qts-shot-modal {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

#qtsShotModalImg {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.qts-shot-close {
  position: absolute;
  top: 12px;
  right: 12px;
  filter: invert(1);
}

.qts-shot-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.qts-shot-nav.prev { left: 10px; }
.qts-shot-nav.next { right: 10px; }

.qts-shot-nav:hover {
  background: rgba(0,0,0,0.8);
}

.qts-docs {
  background: linear-gradient(135deg, white 0%, var(--qts-bg-soft) 100%);
  border: 1px solid var(--qts-border);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(41,74,112,0.08);
}

.qts-docs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 6px;
  background: linear-gradient(180deg, var(--qts-brand), var(--qts-accent));
}

.qts-docs-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--qts-accent-dark);
  background: rgba(243,156,42,0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.qts-docs-content h2 {
  margin-bottom: 0.75rem;
}

.qts-docs-text {
  color: var(--qts-muted);
  font-size: 1rem;
  max-width: 700px;
}

.qts-docs-actions {
  margin-top: 1.5rem;
}

.qts-docs-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--qts-brand), var(--qts-brand-light));
  color: white;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(41,74,112,0.25);
}

.qts-docs-btn:hover {
  background: linear-gradient(135deg, var(--qts-accent), var(--qts-accent-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(243,156,42,0.35);
  color: white;
}
/* Грід замість лінійного списку — карточки по 2-3 в ряд */
.qts-oss-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.qts-oss-item {
    background: white;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.qts-oss-item:hover {
    border-color: #294A70;
    box-shadow: 0 4px 14px rgba(41, 74, 112, 0.08);
    transform: translateY(-1px);
}

.qts-oss-name {
    font-weight: 600;
    color: #294A70;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.qts-oss-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.qts-oss-license {
    background: #eef1f5;
    color: #294A70;
    padding: 2px 9px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.74rem;
    white-space: nowrap;
}

.qts-oss-meta a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.qts-oss-meta a:hover {
    color: #294A70;
    text-decoration: underline;
}
.qts-oss-meta a::before {
    content: "↗";
    font-size: 0.78rem;
    opacity: 0.6;
}

.qts-oss-desc {
    font-size: 0.86rem;
    color: #5a6470;
    line-height: 1.5;
    margin: 0;
    margin-top: auto;  /* підштовхує опис донизу, щоб усі картки були однакової висоти */
    padding-top: 4px;
    border-top: 1px solid #f0f2f5;
    padding-top: 10px;
}

.qts-oss-desc code {
    background: #f4f7fa;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.82em;
    color: #b1830d;
}

/* Responsive: на мобільних — одна колонка */
@media (max-width: 540px) {
    .qts-oss-list {
        grid-template-columns: 1fr;
    }
}
  .qts-section h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--qts-brand);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
  }
  .qts-section h2 + .qts-section-lead {
    color: var(--qts-muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin-bottom: 2.25rem;
  }
  .qts-section .qts-block {
    margin-bottom: 4rem;
  }

  
  .qts-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
  }
  .qts-feat {
    background: white;
    border: 1px solid var(--qts-border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
  }
  .qts-feat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(41,74,112,0.12);
    border-color: var(--qts-brand-light);
  }
  .qts-feat-icon {
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--qts-brand) 0%, var(--qts-brand-light) 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
  .qts-feat h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--qts-brand);
    margin-bottom: 0.5rem;
  }
  .qts-feat p {
    color: var(--qts-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.55;
  }

  
  .qts-qtype {
    background: linear-gradient(135deg, white 0%, var(--qts-bg-soft) 100%);
    border: 1px solid var(--qts-border);
    border-left: 4px solid var(--qts-accent);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    height: 100%;
  }
  .qts-qtype-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--qts-accent-dark);
    background: rgba(243,156,42,0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
  }
  .qts-qtype h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--qts-brand);
    margin-bottom: 0.4rem;
  }
  .qts-qtype p {
    color: var(--qts-muted);
    font-size: 0.92rem;
    margin: 0;
  }

  
  .qts-process {
    counter-reset: qts-step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    position: relative;
  }
  .qts-step {
    background: white;
    border: 1px solid var(--qts-border);
    border-radius: 12px;
    padding: 1.75rem 1.5rem 1.5rem;
    position: relative;
  }
  .qts-step::before {
    counter-increment: qts-step;
    content: counter(qts-step, decimal-leading-zero);
    position: absolute;
    top: -16px;
    left: 1.5rem;
    background: var(--qts-accent);
    color: white;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(243,156,42,0.35);
  }
  .qts-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--qts-brand);
    margin: 0.5rem 0 0.6rem;
  }
  .qts-step p {
    color: var(--qts-muted);
    font-size: 0.93rem;
    margin: 0;
  }

.qts-feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.qts-feedback-card {
  background: white;
  border: 1px solid var(--qts-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.qts-feedback-question {
  border-top: 5px solid var(--qts-brand-light);
}

.qts-feedback-error {
  border-top: 5px solid var(--qts-accent);
}

.qts-feedback-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: var(--qts-bg-soft);
}

.qts-feedback-card h3 {
  color: var(--qts-brand);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.qts-feedback-card p,
.qts-feedback-list {
  color: var(--qts-muted);
  font-size: 0.95rem;
}

.qts-feedback-list {
  padding-left: 1.1rem;
  margin-bottom: 1.25rem;
}

.qts-feedback-btn {
  display: inline-block;
  background: var(--qts-brand);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.qts-feedback-error .qts-feedback-btn {
  background: var(--qts-accent);
}

.qts-feedback-btn:hover {
  color: white;
  transform: translateY(-2px);
  opacity: 0.92;
}

.qts-copy-email {
  margin-left: 0.5rem;
  margin-top: 0.6rem;
  border: 1px solid var(--qts-border);
  background: white;
  color: var(--qts-brand);
  border-radius: 50px;
  padding: 0.68rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}
  
  .qts-audience {
    background: linear-gradient(135deg, var(--qts-bg-soft) 0%, white 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
  }
  .qts-audience ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1.5rem;
  }
  .qts-audience li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--qts-text);
    font-size: 0.97rem;
  }
  .qts-audience li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.55em;
    width: 12px; height: 12px;
    background: var(--qts-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(243,156,42,0.18);
  }

  
  .qts-security {
    background: white;
    border: 1px solid var(--qts-border);
    border-radius: 14px;
    padding: 2rem;
  }
  .qts-security ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .qts-security li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--qts-border);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .qts-security li:last-child { border-bottom: none; }
  .qts-security li .qts-check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: #d1e7dd;
    color: #146c43;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    margin-top: 2px;
  }
  .qts-security li strong {
    color: var(--qts-brand);
    display: block;
    font-size: 0.97rem;
    margin-bottom: 0.1rem;
  }
  .qts-security li span {
    color: var(--qts-muted);
    font-size: 0.9rem;
    display: block;
  }

  
  .qts-testhub {
    background:
      radial-gradient(circle at 90% 10%, rgba(243,156,42,0.12) 0%, transparent 36%),
      linear-gradient(135deg, white 0%, var(--qts-bg-soft) 100%);
    border: 1px solid var(--qts-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }
  .qts-testhub::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--qts-brand) 0%, var(--qts-accent) 100%);
  }
  .qts-testhub-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  .qts-testhub-icon {
    flex-shrink: 0;
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--qts-brand) 0%, var(--qts-brand-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 8px 22px rgba(41,74,112,0.16);
  }
  .qts-testhub-title {
    margin: 0 0 0.35rem;
    color: var(--qts-brand);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .qts-testhub-subtitle {
    color: var(--qts-muted);
    margin: 0;
    font-size: 0.98rem;
    max-width: 860px;
  }
  .qts-testhub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }
  .qts-testhub-item {
    background: white;
    border: 1px solid var(--qts-border);
    border-radius: 14px;
    padding: 1.25rem 1.15rem;
    transition: all 0.25s ease;
  }
  .qts-testhub-item:hover {
    transform: translateY(-3px);
    border-color: var(--qts-brand-light);
    box-shadow: 0 10px 26px rgba(41,74,112,0.1);
  }
  .qts-testhub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--qts-accent-dark);
    background: rgba(243,156,42,0.12);
    border-radius: 50px;
    padding: 0.22rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
  }
  .qts-testhub-item h4 {
    color: var(--qts-brand);
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
  }
  .qts-testhub-item p {
    color: var(--qts-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
  }
  .qts-testhub-flow {
    margin-top: 1.25rem;
    background: rgba(41,74,112,0.06);
    border: 1px dashed rgba(41,74,112,0.22);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    color: var(--qts-brand-dark);
    font-size: 0.93rem;
  }
  .qts-testhub-flow code {
    background: white;
    border: 1px solid var(--qts-border);
    color: var(--qts-brand-dark);
    border-radius: 5px;
    padding: 0.08rem 0.35rem;
    font-size: 0.88em;
  }

  
  .qts-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
  }
  .qts-team-card {
    background: white;
    border: 1px solid var(--qts-border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
  }
  .qts-team-card:hover {
    border-color: var(--qts-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(41,74,112,0.1);
  }
  .qts-team-card.qts-team-lead {
    background: linear-gradient(135deg, var(--qts-brand) 0%, var(--qts-brand-dark) 100%);
    color: white;
    border-color: var(--qts-brand-dark);
  }
  .qts-team-card.qts-team-lead:hover {
    border-color: var(--qts-accent);
  }
  .qts-team-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--qts-accent) 0%, var(--qts-accent-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 18px rgba(243,156,42,0.35);
  }
  .qts-team-card.qts-team-lead .qts-team-avatar {
    background: linear-gradient(135deg, var(--qts-accent) 0%, #ffb556 100%);
    box-shadow: 0 6px 18px rgba(243,156,42,0.5);
  }
  .qts-team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--qts-brand);
    margin-bottom: 0.35rem;
  }
  .qts-team-card.qts-team-lead .qts-team-name { color: white; }
  .qts-team-role {
    font-size: 0.82rem;
    color: var(--qts-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.65rem;
  }
  .qts-team-card.qts-team-lead .qts-team-role {
    color: var(--qts-accent);
  }
  .qts-team-detail {
    font-size: 0.88rem;
    color: var(--qts-muted);
    margin: 0;
  }
  .qts-team-card.qts-team-lead .qts-team-detail {
    color: rgba(255,255,255,0.8);
  }

  
  .qts-license {
    background: var(--qts-bg-soft);
    border: 1px dashed var(--qts-border);
    border-radius: 12px;
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
  }
  .qts-license-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    background: white;
    border: 2px solid var(--qts-brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--qts-brand);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }
  .qts-license-body strong {
    display: block;
    color: var(--qts-brand);
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }
  .qts-license-body p {
    margin: 0;
    color: var(--qts-muted);
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .qts-license-body code {
    background: white;
    border: 1px solid var(--qts-border);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--qts-brand-dark);
  }

  
  .qts-tribute {
    background:
      linear-gradient(135deg, rgba(0,91,187,0.04) 0%, rgba(255,213,0,0.04) 100%),
      white;
    border: 1px solid var(--qts-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .qts-tribute::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--qts-ua-blue) 0%, var(--qts-ua-blue) 50%, var(--qts-ua-yellow) 50%, var(--qts-ua-yellow) 100%);
  }
  .qts-tribute-emblem {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--qts-ua-blue);
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(0,91,187,0.06);
    border-radius: 50px;
  }
  .qts-tribute-emblem::before,
  .qts-tribute-emblem::after {
    content: '';
    width: 14px; height: 14px;
    border-radius: 50%;
  }
  .qts-tribute-emblem::before { background: var(--qts-ua-blue); }
  .qts-tribute-emblem::after { background: var(--qts-ua-yellow); }
  .qts-tribute h2 {
    color: var(--qts-brand);
    margin-bottom: 1rem;
  }
  .qts-tribute .qts-tribute-text {
    color: var(--qts-text);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 1.5rem;
  }
  .qts-tribute .qts-tribute-text strong {
    color: var(--qts-brand);
    font-weight: 700;
  }
  .qts-tribute-signature {
    display: inline-block;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, var(--qts-ua-blue), var(--qts-ua-yellow)) 1;
    font-style: italic;
    color: var(--qts-muted);
    font-size: 0.92rem;
  }

  
  .qts-cta {
    background: linear-gradient(135deg, var(--qts-brand) 0%, var(--qts-brand-dark) 100%);
    color: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .qts-cta::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(243,156,42,0.15) 0%, transparent 60%);
  }
  .qts-cta h2 {
    color: white;
    position: relative;
  }
  .qts-cta p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0.5rem auto 1.75rem;
    position: relative;
  }
  .qts-cta .qts-btn-primary {
    background: var(--qts-accent);
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(243,156,42,0.35);
    position: relative;
  }
  .qts-cta .qts-btn-primary:hover {
    background: var(--qts-accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(243,156,42,0.5);
  }
  .qts-cta .qts-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-left: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
  }
  .qts-cta .qts-btn-secondary:hover {
    background: white;
    color: var(--qts-brand);
    border-color: white;
  }

  
  .qts-footnote {
    text-align: center;
    color: var(--qts-muted);
    font-size: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--qts-border);
  }
  .qts-footnote a { color: var(--qts-brand); text-decoration: none; font-weight: 600; }
  .qts-footnote a:hover { color: var(--qts-accent-dark); }

  @media (max-width: 575px) {
    .qts-hero { padding: 2rem 0 3.5rem; border-radius: 0; }
    .qts-hero-header { flex-wrap: wrap; gap: 0.75rem; }
    .qts-hero-header img { height: 44px; }
    .qts-cta { padding: 2.25rem 1.25rem; }
    .qts-cta .qts-btn-secondary { margin-left: 0; margin-top: 0.6rem; }
    .qts-license { flex-direction: column; }
  }
