.qy-speed-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.qy-speed-hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18, 99, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 99, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 74% 48%, #000000, transparent 62%);
  pointer-events: none;
}

.qy-speed-hero__inner {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 54px;
  padding: 86px 0;
}

.qy-speed-hero__content h1 {
  margin: 24px 0 18px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.qy-speed-hero__content p {
  max-width: 720px;
  margin: 0;
  color: var(--qy-text);
  font-size: 18px;
  line-height: 1.9;
}

.qy-speed-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.qy-speed-hero-card {
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--qy-shadow-md);
  backdrop-filter: blur(14px);
}

.qy-speed-hero-card__title span {
  display: block;
  color: var(--qy-muted);
  font-size: 13px;
  font-weight: 900;
}

.qy-speed-hero-card__title strong {
  display: block;
  margin-top: 8px;
  color: var(--qy-title);
  font-size: 22px;
}

.qy-speed-hero-card__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.qy-speed-hero-card__grid div {
  padding: 20px;
  border: 1px solid var(--qy-line);
  border-radius: 20px;
  background: linear-gradient(90deg, #ffffff, #f8fbff);
}

.qy-speed-hero-card__grid b {
  display: block;
  color: var(--qy-primary);
  font-size: 30px;
  line-height: 1;
}

.qy-speed-hero-card__grid em {
  display: block;
  margin-top: 8px;
  color: var(--qy-muted);
  font-size: 13px;
  font-style: normal;
}

.qy-speed-section {
  padding: 84px 0;
  background: #ffffff;
}

.qy-speed-section--soft {
  background: var(--qy-bg);
}

.qy-speed-command-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 22px;
  align-items: start;
}

.qy-speed-command-info {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid #dbeafe;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f6faff);
  box-shadow: var(--qy-shadow-sm);
}

.qy-speed-command-info h3 {
  margin: 0 0 16px;
  color: var(--qy-title);
  font-size: 22px;
}

.qy-speed-command-info ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qy-speed-command-info li {
  position: relative;
  padding-left: 22px;
  color: var(--qy-text);
  font-size: 14px;
  line-height: 1.7;
}

.qy-speed-command-info li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--qy-primary);
}

.qy-speed-command-card,
.qy-speed-node-card,
.qy-speed-result-box,
.qy-speed-features article,
.qy-speed-systems article,
.qy-speed-scenes article {
  border: 1px solid var(--qy-line);
  border-radius: 28px;
  background: var(--qy-white);
  box-shadow: var(--qy-shadow-sm);
}

.qy-speed-command-card {
  overflow: hidden;
}

.qy-speed-command-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--qy-soft-line);
  background: linear-gradient(90deg, #ffffff, #f8fbff);
}

.qy-speed-command-card__head span {
  color: var(--qy-primary);
  font-size: 12px;
  font-weight: 900;
}

.qy-speed-command-card__head h3 {
  margin: 6px 0 0;
  color: var(--qy-title);
  font-size: 20px;
}

.qy-speed-command-card__head button {
  height: 38px;
  min-width: 74px;
  padding: 0 16px;
  color: var(--qy-white);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--qy-primary), var(--qy-sky));
  font-size: 13px;
  font-weight: 900;
}

.qy-speed-command-card__head button.is-copied {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.qy-speed-command-card pre,
.qy-speed-result-box pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  background: #07142f;
}

.qy-speed-command-card code,
.qy-speed-result-box code {
  color: #dbeafe;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre;
}

.qy-speed-node-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.qy-speed-node-card {
  padding: 28px;
}

.qy-speed-node-card__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--qy-soft-line);
}

.qy-speed-node-card__head span {
  color: var(--qy-title);
  font-size: 22px;
  font-weight: 900;
}

.qy-speed-node-card__head strong {
  color: var(--qy-primary);
  font-size: 15px;
}

.qy-speed-node-card ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 22px;
}

.qy-speed-node-card li {
  color: var(--qy-title);
  line-height: 1.6;
}

.qy-speed-node-card b {
  font-size: 15px;
}

.qy-speed-node-card em {
  display: inline-flex;
  margin-left: 8px;
  color: var(--qy-muted);
  font-size: 13px;
  font-style: normal;
}

.qy-speed-result-box {
  overflow: hidden;
}

.qy-speed-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.qy-speed-systems,
.qy-speed-scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.qy-speed-features article,
.qy-speed-systems article,
.qy-speed-scenes article {
  padding: 28px;
  transition: 0.2s ease;
}

.qy-speed-features article:hover,
.qy-speed-systems article:hover,
.qy-speed-scenes article:hover {
  transform: translateY(-5px);
  border-color: #c7d7ff;
  box-shadow: var(--qy-shadow-md);
}

.qy-speed-features span {
  width: 54px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--qy-primary);
  border-radius: 16px;
  background: var(--qy-primary-light);
  font-size: 13px;
  font-weight: 900;
}

.qy-speed-features h3,
.qy-speed-scenes h3 {
  margin: 22px 0 10px;
  color: var(--qy-title);
  font-size: 21px;
  line-height: 1.25;
}

.qy-speed-scenes h3 {
  margin-top: 0;
}

.qy-speed-features p,
.qy-speed-scenes p {
  margin: 0;
  color: var(--qy-text);
  font-size: 14px;
  line-height: 1.8;
}

.qy-speed-systems span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--qy-primary);
  border-radius: 999px;
  background: var(--qy-primary-light);
  font-size: 13px;
  font-weight: 900;
}

.qy-speed-systems strong {
  display: block;
  margin-top: 18px;
  color: var(--qy-title);
  font-size: 20px;
  line-height: 1.35;
}

.qy-speed-systems em {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  color: #16a34a;
  border-radius: 50%;
  background: #dcfce7;
  font-style: normal;
  font-weight: 900;
}

.qy-speed-cta {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #07142f, #1263ff);
}

.qy-speed-cta::before {
  position: absolute;
  top: -120px;
  right: 8%;
  width: 360px;
  height: 360px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.qy-speed-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.qy-speed-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}

.qy-speed-cta p {
  max-width: 720px;
  margin: 0;
  color: #dbeafe;
  line-height: 1.85;
}

.qy-speed-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .qy-speed-hero__inner,
  .qy-speed-command-layout,
  .qy-speed-node-layout {
    grid-template-columns: 1fr;
  }

  .qy-speed-command-info {
    position: static;
  }

  .qy-speed-features,
  .qy-speed-systems,
  .qy-speed-scenes {
    grid-template-columns: repeat(2, 1fr);
  }

  .qy-speed-cta__inner {
    display: block;
  }

  .qy-speed-cta__actions {
    margin-top: 24px;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .qy-speed-hero__inner {
    min-height: auto;
    padding: 58px 0;
  }

  .qy-speed-hero__content p {
    font-size: 16px;
  }

  .qy-speed-section {
    padding: 62px 0;
  }

  .qy-speed-hero-card__grid,
  .qy-speed-features,
  .qy-speed-systems,
  .qy-speed-scenes {
    grid-template-columns: 1fr;
  }

  .qy-speed-command-card__head,
  .qy-speed-node-card__head {
    display: block;
  }

  .qy-speed-command-card__head button {
    margin-top: 14px;
  }

  .qy-speed-command-card code,
  .qy-speed-result-box code {
    font-size: 12px;
  }

  .qy-speed-node-card em {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }

  .qy-speed-hero__actions,
  .qy-speed-cta__actions {
    width: 100%;
  }
}
