/* Subtitle SEO landing — design system (#marketing-page.p) */

#marketing-page.p .gd-hero h1 {
  font-size: 40px;
  line-height: 1.22;
}

#marketing-page.p .gd-hero h1 span {
  color: #B58CFF;
}

#marketing-page.p .gd-hero .gd-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

#marketing-page.p .st-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 56px;
}

#marketing-page.p .st-section h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

#marketing-page.p .st-prose p {
  margin: 0 0 14px;
  color: #A9A5BD;
  line-height: 1.75;
  font-size: 16px;
}

#marketing-page.p .st-prose p:last-child {
  margin-bottom: 0;
}

#marketing-page.p .st-prose a,
#marketing-page.p .st-checklist a,
#marketing-page.p .note a,
#marketing-page.p .st-faq a {
  color: #B58CFF;
  font-weight: 700;
  text-decoration: none;
}

#marketing-page.p .st-prose a:hover,
#marketing-page.p .st-checklist a:hover,
#marketing-page.p .note a:hover,
#marketing-page.p .st-faq a:hover {
  text-decoration: underline;
}

#marketing-page.p .st-use h3 {
  font-size: 19px;
  margin: 8px 0 8px;
}

#marketing-page.p .st-use p {
  margin: 0;
  color: #A9A5BD;
  line-height: 1.65;
  font-size: 15px;
}

#marketing-page.p .st-steps .card h3 {
  font-size: 18px;
  margin: 8px 0 8px;
}

#marketing-page.p .st-steps .card p {
  margin: 0;
  color: #A9A5BD;
  line-height: 1.65;
}

#marketing-page.p .st-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#marketing-page.p .st-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #201B30;
  border: 1px solid #2E1B5E;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
}

#marketing-page.p .st-checklist .ok-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1F4A3A;
  color: #7FE0B0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
}

#marketing-page.p .st-sample {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

#marketing-page.p .st-sample-copy {
  flex: 1 1 280px;
  min-width: 0;
}

#marketing-page.p .st-sample-copy h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

#marketing-page.p .st-sample-copy p {
  margin: 0 0 12px;
  color: #A9A5BD;
  line-height: 1.7;
}

#marketing-page.p .st-sample-media {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
}

#marketing-page.p .st-sample-media .sample-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05060a;
  border: 1px solid #4A4A58;
  border-radius: 18px;
  overflow: hidden;
}

#marketing-page.p .st-sample-media .sample-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

#marketing-page.p .st-sample-media .sample-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#marketing-page.p .st-sample-media .sample-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.08) 0%, transparent 40%, rgba(5, 6, 10, 0.45) 100%);
  pointer-events: none;
}

#marketing-page.p .st-sample-media .sample-player.has-started .sample-cover {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
}

#marketing-page.p .st-sample-media .sample-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05060a;
}

#marketing-page.p .st-sample-media .sample-play-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(7, 9, 14, 0.05), rgba(7, 9, 14, 0.35));
  font-family: inherit;
}

#marketing-page.p .st-sample-media .sample-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #6D3BD9;
  box-shadow: 0 8px 28px rgba(109, 59, 217, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

#marketing-page.p .st-sample-media .sample-play-icon::after {
  content: "";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l12-6.5z' fill='%23fff' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

#marketing-page.p .st-sample-media .sample-play-btn:hover .sample-play-icon {
  transform: scale(1.06);
}

#marketing-page.p .st-sample-media .sample-player.is-playing .sample-play-btn {
  opacity: 0;
  pointer-events: none;
}

#marketing-page.p .st-sample-media .sample-subtitle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  z-index: 2;
  padding: 0 12px;
  text-align: center;
  direction: rtl;
  pointer-events: none;
}

#marketing-page.p .st-sample-media .sample-subtitle[hidden] {
  display: none !important;
}

#marketing-page.p .st-sample-media .sample-subtitle span {
  display: inline-block;
  max-width: min(92%, 34rem);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.55;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

#marketing-page.p .st-sample-media .sample-video::cue {
  font-family: Peyda, "Peyda Fallback", Tahoma, sans-serif;
  font-size: 1.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

#marketing-page.p .st-sample-cap {
  margin: 12px 0 0;
  font-size: 13px;
  color: #A9A5BD;
  line-height: 1.55;
}

#marketing-page.p .st-faq.faq {
  max-width: none;
  width: 100%;
}

#marketing-page.p .cta-wrap {
  padding-bottom: 72px;
}

@media (max-width: 720px) {
  #marketing-page.p .gd-hero h1 {
    font-size: 28px;
  }

  #marketing-page.p .gd-hero .gd-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  #marketing-page.p .gd-hero .gd-cta-row .btn {
    width: 100%;
  }

  #marketing-page.p .st-stack {
    padding-bottom: 40px;
  }

  #marketing-page.p .st-section h2,
  #marketing-page.p .st-sample-copy h2 {
    font-size: 22px;
  }

  #marketing-page.p .st-sample {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  #marketing-page.p .st-sample-copy,
  #marketing-page.p .st-sample-media {
    flex: 0 0 auto;
    width: 100%;
  }

  #marketing-page.p .st-checklist li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  #marketing-page.p .gd-hero h1 {
    font-size: 24px;
  }
}
