.video-editor {
  padding-block: 6vi;
  background: var(--color-white);
}

.video-editor__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* Header */
.video-editor__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-inline-size: 800px;
}

.video-editor__heading {
  font-size: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.video-editor__heading strong {
  font-weight: 900;
}

.video-editor__subtitle {
  font-size: clamp(0.875rem, 0.6rem + 0.7vw, 1.25rem);
  line-height: 1.4;
  color: var(--color-text);
  opacity: 0.6;
}

/* Main screenshot */
.video-editor__screenshot {
  width: 100%;
  max-width: 1119px;
}

.video-editor__screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Feature pills */
.video-editor__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 900px;
}

.video-editor__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 10px;
  background: var(--color-white);
  white-space: nowrap;
}

.video-editor__pill img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.video-editor__pill span {
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--color-text);
}

/* Sub-header */
.video-editor__subheader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-inline-size: 800px;
}

.video-editor__subheading {
  font-size: clamp(1.25rem, 0.8rem + 1.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

.video-editor__subdescription {
  font-size: clamp(0.875rem, 0.6rem + 0.7vw, 1.125rem);
  line-height: 1.5;
  color: var(--color-text);
  opacity: 0.6;
}

/* Content cards */
.video-editor__cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

/* Regular cards: one full background */
.video-editor__card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  background: rgba(26, 26, 26, 0.02);
  border-radius: 24px;
}

/* Reversed cards: two separate panel backgrounds */
.video-editor__card--reversed {
  flex-direction: row-reverse;
  background: none;
  padding: 0;
  gap: 32px;
  align-items: stretch;
}

.video-editor__card-media {
  flex: 1;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
}

.video-editor__card--reversed .video-editor__card-media {
  background: #f5f9fe;
}

.video-editor__card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  justify-content: center;
}

.video-editor__card--reversed .video-editor__card-content {
  background: rgba(26, 26, 26, 0.02);
  border-radius: 24px;
  padding: 40px;
}

.video-editor__card-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.video-editor__card-content h3 {
  font-weight: 400;
  font-size: clamp(1.25rem, 0.8rem + 1.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.video-editor__card-content p {
  font-size: clamp(0.9375rem, 0.75rem + 0.7vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .video-editor__card {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }

  .video-editor__card--reversed {
    flex-direction: column;
  }

  .video-editor__pills {
    justify-content: flex-start;
  }
}
